Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
cocoindex-io avatar

Ccc

  • 4.3k installs
  • 2.6k repo stars
  • Updated August 4, 2026
  • cocoindex-io/cocoindex-code

A CLI tool providing semantic code search and index management for development teams to locate functionality by concept across projects.

About

ccc is a CLI tool for CocoIndex Code that enables semantic search over project codebases and manages code indexing. Developers use it to find code by concept or behavior rather than exact syntax - for example, searching 'database connection pooling' or 'user authentication flow' across files. The agent handles initialization, index freshness, and search automatically. Key workflows include initializing projects with ccc init, building indexes with ccc index, performing semantic searches with filtering by language or path patterns, and pagination for exploring result sets. Results include file paths and line ranges that integrate with editor tools or terminal commands for context exploration. Semantic code search by concept/behavior, not syntax Automatic index initialization and freshness management by agent Filter results by language (--lang), path (--path), with pagination support Returns file paths

  • Semantic code search by concept/behavior, not syntax
  • Automatic index initialization and freshness management by agent
  • Filter results by language (--lang), path (--path), with pagination support
  • Returns file paths and line ranges for targeted context retrieval
  • Integrates with editor read tools and terminal extraction commands

Ccc by the numbers

  • 4,317 all-time installs (skills.sh)
  • +93 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #154 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

ccc capabilities & compatibility

Capabilities
semantic codebase search by concept/behavior · automatic index initialization and management · filter results by language and file path pattern · pagination for exploring large result sets · integration with editor file readers and termina
Use cases
code review · debugging · refactoring · documentation
Platforms
macOS · Windows · Linux · WSL
Runs
Runs locally
Pricing
Free
From the docs

What ccc says it does

The query should describe the concept, functionality, or behavior to find, not exact code syntax.
Searching the Codebase section
npx skills add https://github.com/cocoindex-io/cocoindex-code --skill ccc

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs4.3k
repo stars2.6k
Security audit3 / 3 scanners passed
Last updatedAugust 4, 2026
Repositorycocoindex-io/cocoindex-code

What it does

Search and index codebases semantically to locate functionality, patterns, and implementation details without exact syntax matching.

Who is it for?

Finding code patterns, authentication flows, error handling, database schemas, API implementations, refactoring targets across medium-to-large codebases.

Skip if: Real-time code execution, exact syntax matching, version control operations, dependency management.

When should I use this skill?

User requests codebase search, asks about specific functionality locations, needs index updates after code changes, or mentions ccc/cocoindex-code explicitly.

What you get

Developers can quickly locate relevant code patterns, functions, and implementations using natural language queries without exhaustive manual search.

  • Semantic search results
  • File summaries
  • Updated codebase index

By the numbers

  • Supports multiple language filtering with repeatable --lang flag
  • Pagination via --offset and --limit parameters
  • Results include file paths and line ranges for context extraction

Files

SKILL.mdMarkdownGitHub ↗

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 search or ccc index fails with an initialization error (e.g., "Not in an initialized project directory"), run ccc init from the project root directory, then ccc index to build the index, then retry the original command.
  • Index freshness: Keep the index up to date by running ccc index (or ccc 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 ccc itself 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 logic

Filtering Results

  • By language (--lang, repeatable): restrict results to specific languages.
  ccc search --lang python --lang markdown database schema
  • By 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 schema

If 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 Read tool) 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.

Related skills

How it compares

Pick ccc over plain ripgrep skills when agents need concept-level codebase search with maintained semantic indexes on large repositories.

FAQ

When should I re-index the codebase?

Run ccc index after significant code changes like new files, refactors, or renamed modules. No need between consecutive searches if code unchanged.

How do I filter search results?

Use --lang for language filtering (repeatable), --path for glob patterns, and --offset/--limit for pagination across result pages.

What if ccc initialization fails?

Run ccc init from project root, then ccc index to build the index, then retry your original search command.

Is Ccc safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Backend & APIsbackenddevops

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.