
Description
ccc is the command-line tool for CocoIndex Code, which provides semantic search over the current codebase and manages its index. This agent skill tells the agent to own the ccc lifecycle for the project, meaning initialisation, indexing and searching, so you are not asked to run those steps yourself. If a search or index command fails with an initialisation error, the agent runs ccc init from the project root, then ccc index to build the index, and retries the original command. It keeps the index fresh by running ccc index, or ccc search with the refresh option, at the start of a session and after significant code changes such as new files, refactors and renamed modules. It does not re-index between consecutive searches when no code has changed. The skill has safeguards: it will not run ccc init in the directory that holds ccc's user settings, which is usually your home directory, and it leaves decisions about which project to use to you. If ccc is not installed, the agent points to the management reference for installation and tells you about it.…
Highlights
- Semantic code search over your project
- Keeps the index fresh automatically
- Initialises and indexes projects on demand
Ratings & Reviews
No ratings yet
Be the first to rate ccc.
People also visit

infino-ai/code-context
Local code search for coding agents: hybrid keyword and semantic search
ccc FAQ
What does this skill do?
It lets an agent run semantic search over your codebase with the ccc CLI, and keeps the index up to date.
Do I have to run ccc init myself?
No. The skill says the agent handles initialisation, indexing and searching when an initialisation error appears.
When is the index refreshed?
At the start of a session, and after significant code changes such as new files, refactors and renamed modules.
Will it run ccc in my home directory?
No. It will not initialise a project in the directory that holds ccc's user settings, which is usually your home directory.
What if ccc is not installed?
The skill points to its management reference for installation instructions and tells you.
How do I install it?
Run npx skills add https://github.com/cocoindex-io/cocoindex-code --skill ccc.
What are the best ccc alternatives?
Popular alternatives to ccc include smgrep, code-context and searching-sourcegraph. See all ccc alternatives


















