A lightweight skill that provides Claude Code with Bit CLI command reference using progressive disclosure.
The skill uses a two-level approach to minimize token usage:
- SKILL.md (~800 tokens) - Command index with descriptions, loaded when you ask about bit commands
- CLI_REFERENCE.md (~2000 tokens) - Subcommands, arguments, and flags, loaded only when needed
- Fallback -
bit <command> --helpfor anything not covered
No bash scripts, no permission prompts, minimal context usage.
mkdir -p ~/.claude/skills/bit-cli
curl -fsL https://raw.githubusercontent.com/teambit/bit/master/contrib/claude-skill-bit-cli/SKILL.md \
-o ~/.claude/skills/bit-cli/SKILL.md
curl -fsL https://raw.githubusercontent.com/teambit/bit/master/contrib/claude-skill-bit-cli/CLI_REFERENCE.md \
-o ~/.claude/skills/bit-cli/CLI_REFERENCE.mdmkdir -p ~/.claude/skills/bit-cli && cd ~/.claude/skills/bit-cli && curl -fsLO https://raw.githubusercontent.com/teambit/bit/master/contrib/claude-skill-bit-cli/SKILL.md && curl -fsLO https://raw.githubusercontent.com/teambit/bit/master/contrib/claude-skill-bit-cli/CLI_REFERENCE.md- All public commands organized by category
- One-line descriptions
- Auto-generated from
bit cli generate --skill commands
- Full command reference with subcommands, arguments, and flags
- Auto-generated from
bit cli generate --skill reference - Fallback to
bit --helpfor more details
| Scenario | Tokens Used |
|---|---|
| Skill metadata (always) | ~100 |
| Command lookup | ~800 |
| Need reference details | ~800 + ~2000 |
| Edge case | Uses bit --help |
cd ~/.claude/skills/bit-cli
curl -fsLO https://raw.githubusercontent.com/teambit/bit/master/contrib/claude-skill-bit-cli/SKILL.md
curl -fsLO https://raw.githubusercontent.com/teambit/bit/master/contrib/claude-skill-bit-cli/CLI_REFERENCE.mdThe skill files are auto-generated from the Bit CLI:
# Generate command list (SKILL.md body)
bit cli generate --skill commands
# Generate command reference (CLI_REFERENCE.md)
bit cli generate --skill referenceFor a more comprehensive solution with real-time command discovery, consider using the Bit MCP server instead:
bit mcp-server setup claude-codeThe MCP server provides dynamic access to all commands but requires more resources.