brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
This skill should be used when code search is needed (whether explicitly requested or as part of completing a task), when indexing the codebase after changes, or when the user asks about ccc, cocoindex-code, or the codebase index. Trigger phrases include 'search the codebase',
Claude Code
$ npx -y skills add cocoindex-io/cocoindex-code --skill ccc --agent claude-code
Codex
$ npx skills add cocoindex-io/cocoindex-code --skill ccc -a codex -y
Cursor
$ npx skills add cocoindex-io/cocoindex-code --skill ccc -a cursor -y
Gemini CLI
$ npx skills add cocoindex-io/cocoindex-code --skill ccc -a gemini-cli -y
GitHub Copilot
$ npx skills add cocoindex-io/cocoindex-code --skill ccc -a github-copilot -y
OpenCode
$ npx skills add cocoindex-io/cocoindex-code --skill ccc -a opencode -y
Windsurf
$ npx skills add cocoindex-io/cocoindex-code --skill ccc -a windsurf -y
name: ccc description: "This skill should be used when code search is needed (whether explicitly requested or as part of completing a task), when indexing the codebase after changes, or when the user asks about ccc, cocoindex-code, or the codebase index. Trigger phrases include 'search the codebase', 'find code related to', 'update the index', 'ccc', 'cocoindex-code'."
`ccc` is the CLI for CocoIndex Code, providing semantic search over the current codebase and index management.
The agent owns the `ccc` lifecycle for the current project — initialization, indexing, and searching. Do not ask the user to perform these steps; handle them automatically.
To perform a semantic search:
ccc search <query terms>
The query should describe the concept, functionality, or behavior to find, not exact code syntax. For example:
ccc search database connection pooling ccc search user authentication flow ccc search error handling retry logic
ccc search --lang python --lang markdown database schema
ccc search --path 'src/api/*' request validation
Results default to the first page. To retrieve additional results:
ccc search --offset 5 --limit 5 database schema
If all returned results look relevant, use `--offset` to fetch the next page — there are likely more useful matches beyond the first page.
Search results include file paths and line ranges. To explore a result in more detail:
To view or edit embedding model configuration, include/exclude patterns, or language overrides, see [settings.md](references/settings.md).
For installation, initialization, daemon management, troubleshooting, and cleanup commands, see [management.md](references/management.md).
A super light-weight embedded code search engine CLI (AST based) that just works - improves speed and efficiency for coding agent 🌟 Star if you like it!
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.