Add Cli Command
ClickHouse/clickhousectl/.agents/skills/add-cli-commandcodingOfficial
Official Provider SkillView repo
Adds or changes a clickhousectl command, subcommand or flag, for local commands (`local ...`) or ClickHouse Cloud commands (`cloud ...`). Covers the clap definition, dispatch, handler, output, Cloud permissions, tests and help. Use when adding a command or flag, exposing a `clickhouse-cloud-api` method in the CLI, or changing what a command sends or prints.
Files3 files
SKILL.md41 lines
Loading editor…
Install
RecommendedOne command — your agent picks it up automatically.
Select an AI agent above to see the install command.
or
Manual Install
More stepsDownload the archive and add the files to your project manually.
Skill details
Versionv1.0.0
AuthorClickHouse
Categorycoding
Skill IDClickHouse/clickhousectl/.agents/skills/add-cli-command
Files3 files
Related skills
Cli Help TextWrites and reviews `clickhousectl` `--help` text — command `about` lines, flag help, option order, and the `CONTEXT FOR AGENTS:` block — so people and coding agents can learn the CLI from help alone. Use when adding or changing a command or flag, editing clap `about`/`after_help`/arg doc comments, reviewing help in a PR, or fixing a help-structure test failure.Openapi Drift RemediationRemediates drift between the live ClickHouse Cloud OpenAPI spec and this repo — plans the split into API-library and CLI pull requests, fixes `clickhouse-cloud-api` against the spec, then exposes the change in `clickhousectl`. Use when working an OpenAPI drift issue, when `scripts/check-openapi-drift.py` or `spec_coverage_test` reports findings, or when the Cloud API spec has changed.ReleaseReleases a new `clickhousectl` and `clickhouse-cloud-api` version — bumps versions in lockstep, tags, watches the release workflow (which also uploads the binaries to builds.clickhouse.com), then verifies the downloads. Use when cutting, tagging, or publishing a release, bumping the version, or when `clickhousectl update`, `install.sh` or `npm install` cannot download the latest version.BisectBisect a ClickHouse regression using pre-built master binaries from CI. Use when the user wants to find the commit that introduced a bug.Clean Old Worktrees GlobalFind and delete unused git worktrees and build directories under the home directory (or another root), treating everything not modified within a given age (default one day) as unused. Use when the user asks to clean up old worktrees, stale build directories, or free disk space across all checkouts.Clickhouse Pr DescriptionGenerate PR descriptions for ClickHouse/ClickHouse that match maintainer expectations. Use when creating or updating PR descriptions.