1. Context-First Workflow

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.

2. Token Efficiency

CCS exists to reduce token waste. Every query that reads the index instead of exploring the filesystem saves significant cost and latency.

3. Branch Hygiene

Branch-aware context means you never lose your place when switching between features. Each branch carries its own context reference.

4. Git Workflow Pipeline

The recommended end-to-end flow for any feature, from branch creation to merge:

Recommended Flow: Branch → Build → Test → PR → Merge
# Step 1: Create branch with context
$ /ccs-branch create feature-x

# Step 2: Build with tracked context
$ /ccs-build "implement feature"

# Step 3: Run tests, auto-fix failures
$ /ccs-test

# Step 4: Generate PR with blast radius analysis
$ /ccs-pr main

# Step 5: Merge with dependency checking
$ /ccs-merge feature-x

5. Model Selection Guide

Each command is assigned to the optimal model for its task type. This is handled automatically — you don't need to configure anything.

ModelTask TypeCommands
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.

6. OS-Specific Setup

macOS / Linux

Terminal (bash / zsh)
$ npx codebase-context-skill init

# Git is typically pre-installed on macOS and most Linux distros
# Works with bash, zsh, and fish shells

Windows

PowerShell / Git Bash
> npx codebase-context-skill init

# Works with PowerShell and Git Bash
# If git is not installed:
> winget install Git.Git

Linux (no Node.js)

Terminal
# Install via curl (no npm needed)
$ curl -fsSL https://contextcode.thinqmesh.com/install.sh | bash

# Install git if needed
$ sudo apt install git   # Debian / Ubuntu
$ sudo dnf install git   # Fedora

7. Multi-Client Compatibility

CCS generates standard markdown files and exposes tools via MCP. This means its context architecture works across multiple AI coding tools.

ClientIntegrationDetails
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

8. Session Management

CCS maintains persistent state across your entire session. Here's how to make the most of it.

Developed by Anit Chaudhary