Adding A Command
Creates a new CLI command following the Commander.js pattern in src/commands/. Handles command registration in src/cli.ts, telemetry…
- Type
- Skill
- Repository
- caliber-ai-org/ai-setup
- GitHub stars
- 1.3k
- License
- MIT
- Repo last updated
- Sep 24, 2026
- Source file
- README.md
What Adding A Command is
Adding A Command is a skill published in the caliber-ai-org/ai-setup repository on GitHub, which has about 1.3k stars. The repository describes itself as: “Continuously sync your AI setups with one command. Codebase tailor suited agent skills, MCPs and config files for Claude Code, Cursor, and Codex.”
A skill is a folder with a SKILL.md file: frontmatter with a name and a description, followed by instructions Claude follows. Claude loads a skill automatically when a task matches its description, and you can also run it directly with a slash and its name.
Skills work in Claude Code and in Claude Cowork, which makes Adding A Command a portable way to give Claude the same method everywhere.
How to install Adding A Command
Claude Code
- Download the adding-a-command folder from the repository.
- Save it as ~/.claude/skills/<skill-name>/SKILL.md for all projects, or .claude/skills/<skill-name>/SKILL.md for one project.
- Claude loads it automatically when a task matches; you can also run it with / and its name.
Claude Cowork
- Zip the skill folder so SKILL.md sits at the top level of the folder.
- Open Customize → Skills, click +, then upload the ZIP.
- Start a task that matches the description, or call it by name with /.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from README.md, shared under the repository's MIT license. Read the full file on GitHub.
The open-source context layer for coding agents. Claude Code · Cursor · Codex · OpenCode · GitHub Copilot
Start
npx @rely-ai/caliber bootstrapThen, in Claude Code or the Cursor CLI, run /setup-caliber. Your agent writes CLAUDE.md, Cursor rules, AGENTS.md and Copilot instructions, shows you the diff, and installs the hooks that keep them current. No agent handy? caliber init does the same as a wizard.
Node 20+. Runs on your Claude Code or Cursor seat, or your own Anthropic, OpenAI, MiniMax or Vertex key. Bootstrap, scoring and sync run fully local.
Fresh
A pre-commit hook reads your diff and refreshes the context files your agents read. caliber score checks them against the repo, with no LLM: do the paths exist, are the commands real, has anything drifted.
caliber score --compare mainShared
Write a skill, rule, plugin or MCP server in one agent and caliber sync puts it in every other one. It's deterministic, degrades where an agent lacks a feature (a skill becomes a Copilot instruction file), and never overwrites a file you edited by hand.
caliber sync --statusLean: Jev compaction new
/compact summarizes, and summaries forget the file path, the error and the constraint you gave an hour ago. TypeSafe's Jev scores every tool call, drops the stale ones, and keeps everything else byte-for-byte.
Claude Code: a plugin that replaces /compact.
export CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1
export AI_GATEWAY_API_KEY=... # or TYPESAFE_API_KEY
claude plugin marketplace add caliber-ai-org/ai-setup
claude plugin install caliber-jev-compaction@caliberCursor, Codex and any other agent: the same scoring from the CLI.
caliber compact --provider cursor --transcript <jsonl>
caliber compact --provider generic --transcript ./session.json --writeBring your own Vercel AI Gateway or TypeSafe key. If Jev is unavailable, Claude Code falls back to its built-in compaction. Setup and verification: FUNCTIONAL_CHECKLIST.md.
Commands
Every write is shown as a diff first and backed up to .caliber/backups/. Anonymous usage analytics (command names, never code) can be turned off with CALIBER_TELEMETRY_DISABLED=1.
Contributing
git clone https://github.com/caliber-ai-org/ai-setup.git && cd ai-setup
npm install && npm run testSee CONTRIBUTING.md. MIT licensed.
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Adding A Command?
Adding A Command is a skill for Claude Code and Claude Cowork from the caliber-ai-org/ai-setup repository on GitHub. Creates a new CLI command following the Commander.js pattern in src/commands/. Handles command registration in src/cli.ts, telemetry…
How do I install Adding A Command in Claude Code?
Download the adding-a-command folder from the repository. Save it as ~/.claude/skills/<skill-name>/SKILL.md for all projects, or .claude/skills/<skill-name>/SKILL.md for one project. Claude loads it automatically when a task matches; you can also run it with / and its name.
Can I use Adding A Command in Claude Cowork?
Zip the skill folder so SKILL.md sits at the top level of the folder. Open Customize → Skills, click +, then upload the ZIP. Start a task that matches the description, or call it by name with /.
Is Adding A Command safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Claude Typer Render a Claude-style prompt typing animation video by calling Remotion CLI against the remote site https://www.laosunwendao.com. Use when the user asks for "做一个 claude 的提示词打字机动画", "做 Claude 打字动画", "创建提示词动画", or similar requests that convert a text prompt into a typing-animation video. Skill · vibe-motion/skills
- Create Skill Create new skills for Claude Code. Use when users ask to create a skill, add a skill, make a new command, build a skill, add a slash… Skill · moazbuilds/claudeclaw
- Ios Simulator Skill 21 production-ready scripts for iOS app testing, building, and automation. Provides semantic UI navigation, build automation… Skill · conorluddy/ios-simulator-skill
- Wiki LLM-compiled knowledge base manager for Codex. Use it to initialize, ingest, import source collections, collect catalogs, track inventory… Skill · nvk/llm-wiki
- Harness Moaiadk Best Practices moai-adk-go best-practices reference for the 4 harness specialists (cli-template-specialist, quality-specialist, workflow-specialist… Skill · modu-ai/moai-adk
- 360 Feedback Template Design a 360-degree feedback survey or write a structured 360 feedback report. Use when asked to build a 360 feedback process, write 360… Skill · mohitagw15856/pm-claude-skills
- Agent Browser Agent-browser usage guide. Read this before running any agent-browser commands. Covers the snapshot-and-ref workflow, navigating pages… Skill · fcakyon/claude-codex-settings
- A11y Audit Audit a UI or design against WCAG 2.2 AA/AAA and ARIA patterns, returning criterion-referenced findings with severity and specific fixes. Use when the user wants an accessibility check, contrast verification, keyboard/screen-reader review, or wants to confirm a component meets POUR. Skill · plugin87/ux-ui-agent-skills