ccc
Skill2.7k starsChanged 8 months agoApache-2.0View on GitHub
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'.
3 other projects use a version of this.
Trending
More talk lately.about the whole repository
Most recently taken up by
- donglaiw/ccc-duettheir own version, first seen Sep 24, 2026
- Jamie-BitFlight/claude_skillsword for word, first seen Sep 23, 2026
- happygoluckydev/c3their own version, first seen Jul 23, 2026
Who's talking about cocoindex-io/cocoindex-code
- cline/cline“Cline MCP cwd Issue”GitHub · Mar 24, 2026 · 2 reactions
- A Hacker News story“Show HN: CocoIndex-Code open source embedded AST-based code MCP”Hacker News · Mar 10, 2026 · 2 points
- @jehrhardt.dev“You can use @cocoindex.bsky.social as a MCP server to provide advanced code search in coding agents now ♥️ …”Bluesky · Mar 10, 2026 · 2 likes
- @cocoindex.bsky.social“star the repo if you like it github.com/cocoindex-io...”Bluesky · Mar 18, 2026 · 1 likes
- sudosubin/agents.nix“claude-code-plugins.github.cocoindex-io.cocoindex-code: init at 0.2.41”GitHub · Oct 4, 2026
The biggest 5 of 17 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 17
Talked about on GitHub, Bluesky and Hacker News (17 times).
On GitHub · 14
- Mar 24, 2026Cline MCP cwd Issue — cline/cline2 reactions · 2 comments
- Oct 4, 2026claude-code-plugins.github.cocoindex-io.cocoindex-code: init at 0.2.41 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-marketplaces.github.cocoindex-io.cocoindex-code: init at 0.2.41 — sudosubin/agents.nix0 reactions
- Sep 29, 2026Check tool versions against their minimums in install, update, status and skf-setup — armelhbobdad/bmad-module-skill-forge0 reactions
- Sep 26, 2026agent-skills.github.cocoindex-io.cocoindex-code: init at 0.2.41 — sudosubin/agents.nix0 reactions
9 more on GitHub
- Sep 10, 2026chore(deps-dev): bump cocoindex-code from 0.2.37 to 0.2.41 in /packages/code-search — jankneumann/agentic-coding-tools0 reactions · 2 comments
- Aug 8, 2026docs(opencode): document interactive MCP setup answers — sandovaldavid/kioku0 reactions
- Aug 2, 2026[FEATURE] automatically bound MPS memory — cocoindex-io/cocoindex0 reactions
- Jun 12, 2026[FEATURE] Automatically adjust LMDB map size when it needs more — cocoindex-io/cocoindex0 reactions · 2 comments
- May 19, 2026feat: add Semantic Code Search Tools bilingual articles (CocoIndex Code + CodeGraph) — ArceApps/arceapps.github.io0 reactions
- Apr 5, 2026Add mcp and skills support — context-graph-ai/contextdb0 reactions · 2 comments
- Mar 17, 2026Add support for cocoindex-code as a stash source (AST integration with stash results) — itlackey/akm0 reactions
- Feb 20, 2026Add cocoindex-code to the list of MCP projects — punkpeye/awesome-mcp-servers0 reactions · 1 comment
- Feb 17, 2026[Server Submission]: CocoIndex Code - MCP Server for Semantic Code Search & Indexing — cline/mcp-marketplace0 reactions
On Bluesky · 2
- Mar 10, 2026You can use @cocoindex.bsky.social as a MCP server to provide advanced code search in coding agents now ♥️ github.com/cocoindex-io... — @jehrhardt.dev2 likes and reposts · 1 reply
- Mar 18, 2026star the repo if you like it github.com/cocoindex-io... — @cocoindex.bsky.social1 likes and repost
On Hacker News · 1
- Mar 10, 2026Show HN: CocoIndex-Code open source embedded AST-based code MCP2 points · 1 comment
Other versions3 projects use a version of this.
Word for word · 1
- Jamie-BitFlight/claude_skills★ 67100% same
Edited · 0
None found.
Wrote their own version · 2
- donglaiw/ccc-duet★ 4same name
- happygoluckydev/c3★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Initialization: If ccc search or ccc index fails with an initialization error (e.g., "Not in an initialized project directory"), run ccc …
- Very specific: line 16
Installation: If ccc itself is not found (command not found), refer to management.md for installation instructions and inform the user.
- Very specific: line 56
If all returned results look relevant, use --offset to fetch the next page — there are likely more useful matches beyond the first page.
- Distinctive: line 60
Search results include file paths and line ranges.
- Very specific: line 62
Use the editor's built-in file reading capabilities (e.g., the Read tool) to load the matched file and read lines around the returned range …
- Very specific: line 63
When working in a terminal without a file-reading tool, use sed -n '<start>,<end>p' <file> to extract a specific line range.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ccc - Semantic Code Search & Indexing
ccc is the CLI for CocoIndex Code, providing semantic search over the current codebase and index management.
Ownership
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.
- Initialization: If
ccc searchorccc indexfails with an initialization error (e.g., "Not in an initialized project directory"), runccc initfrom the project root directory, thenccc indexto build the index, then retry the original command. - Index freshness: Keep the index up to date by running
ccc index(orccc search --refresh) when the index may be stale — e.g., at the start of a session, or after making significant code changes (new files, refactors, renamed modules). There is no need to re-index between consecutive searches if no code was changed in between. - Installation: If
cccitself is not found (command not found), refer to management.md for installation instructions and inform the user.
Searching the Codebase
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 logicFiltering Results
By language (
--lang, repeatable): restrict results to specific languages.ccc search --lang python --lang markdown database schemaBy path (
--path): restrict results to a glob pattern relative to project root. If omitted, defaults to the current working directory (only results under that subdirectory are returned).ccc search --path 'src/api/*' request validation
Pagination
Results default to the first page. To retrieve additional results:
ccc search --offset 5 --limit 5 database schemaIf all returned results look relevant, use --offset to fetch the next page — there are likely more useful matches beyond the first page.
Working with Search Results
Search results include file paths and line ranges. To explore a result in more detail:
- Use the editor's built-in file reading capabilities (e.g., the
Readtool) to load the matched file and read lines around the returned range for full context. - When working in a terminal without a file-reading tool, use
sed -n '<start>,<end>p' <file>to extract a specific line range.
Settings
To view or edit embedding model configuration, include/exclude patterns, or language overrides, see settings.md.
Management & Troubleshooting
For installation, initialization, daemon management, troubleshooting, and cleanup commands, see management.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

