Get the most out of codebase-context-skill with any CLI
The single most important habit is to let CCS build context before you start working. Resist the urge to explore manually — the index is faster and more accurate.
/ccs-init before starting work on any project — this generates the full context map that powers every other command/ccs-query before any fix or build to preview which files would be selected for your task/ccs-refresh after major changes (not after every edit) — the index stays accurate for routine editsCCS exists to reduce token waste. Every query that reads the index instead of exploring the filesystem saves significant cost and latency.
/ccs-status to check your current token savings estimate and index health.ccs/file-index.md first instead of using Glob/Grep blindlyBranch-aware context means you never lose your place when switching between features. Each branch carries its own context reference.
/ccs-branch for every feature — creates a context reference file tied to the branch/ccs-diff before merging to understand the full blast radius of your changes/ccs-pr to generate structured PR descriptions with dependency analysis and test coverageThe recommended end-to-end flow for any feature, from branch creation to merge:
/ccs-branch create feature-x — Creates the branch and a context reference file so CCS knows what you're working on/ccs-build "implement feature" — Builds with full tracked context, logging every change to task.md/ccs-test — Runs your test suite, diagnoses failures, and can auto-fix them with --fix/ccs-pr main — Generates a structured PR description with blast radius analysis/ccs-merge feature-x — Merges with dependency checking to catch integration issuesEach command is assigned to the optimal model for its task type. This is handled automatically — you don't need to configure anything.
| Model | Task Type | Commands |
|---|---|---|
| Haiku 4.5 | Fast lookups, low token cost | status, query, refresh, track, stash, log |
| Sonnet 4.6 | Coding execution, medium cost | build, fix, test, branch, sync |
| Opus 4.6 | Deep reasoning, highest quality | init, plan, refactor, audit, review, research, deploy, pr, merge, diff |
The principle: use the smallest model that can do the job well. Scanning an index doesn't need Opus. Planning an architecture refactor doesn't benefit from Haiku.
CCS generates standard markdown files and exposes tools via MCP. This means its context architecture works across multiple AI coding tools.
| Client | Integration | Details |
|---|---|---|
| Claude Code | Full native support | All 22 slash commands available directly |
| Codex CLI | Context files as reference | Feed .ccs/ files as context to any query |
| ChatGPT | WebMCP connection | Connect via WebMCP at contextcode.thinqmesh.com for tool access |
| Cursor / VS Code | Context documents | Copy .ccs/ files as context documents in your editor |
CCS maintains persistent state across your entire session. Here's how to make the most of it.
/ccs-status to check index freshness and see if a refresh is needed/ccs-track to see all changes made during the session.ccs/task.md persists across sessions — your history is never lost, even after restarting Claude CodeDeveloped by Anit Chaudhary