cld

Community

Run cld commands safely in sandbox

AuthorRoyMcCrain
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Many cld subcommands that interact with Google Cloud fail or behave incorrectly in a sandboxed devbox environment because the CLOUDSDK_PROXY_TYPE is set to https by default. This Skill fixes the proxy setting to enable GCP-accessing cld operations while preserving normal behavior for non-GCP tasks.

Core Features & Use Cases

  • Automatic GCP proxy correction: Prefixes cld invocations that require GCP access with CLOUDSDK_PROXY_TYPE=http to ensure connectivity.
  • Selective execution: Applies the proxy fix only to commands that need GCP (db query, db connect, db migrate apply, db proxy, ssh) and runs other development commands unchanged (tests, lint, generate, build).
  • Developer workflows: Useful for inspecting production/dev databases in read-only mode, running migrations, starting Cloud SQL Proxy, performing SSH into instances, and running local test/lint/generate tasks.

Quick Start

Ask the assistant to run the desired cld subcommand and prefix it with CLOUDSDK_PROXY_TYPE=http when the operation requires Google Cloud access, otherwise run cld normally.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cld
Download link: https://github.com/RoyMcCrain/dotsfile/archive/main.zip#cld

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.