1. Habit
  2. Skills
  3. ccc (CocoIndex Code) skill
cocoindex-io · 6K installs

ccc (CocoIndex Code) skill
Runs by itself, code changes land.

Keep semantic code search fresh.

Install the ccc (CocoIndex Code) skill and make it a habit: follow https://gethabit.dev/skills/cocoindex-io/ccc.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

6K installs3K starsApache-2.0 licenceSource on GitHub ↗

ccc (CocoIndex Code)

by cocoindex-io · 6K installs

The skill

The ccc (CocoIndex Code) skill lets an agent run semantic code search over the current codebase with the CocoIndex Code CLI, and keep the index fresh with init and index commands, with language and path filters.

Only when you ask.

The habit

Keep semantic code search fresh.

↻ Runs by itselfcode changes land

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after one index refresh and one retry per run.

  1. 01

    Refresh the index

    Your agent runs ccc index from the project.

  2. 02

    Init if needed

    On a not-initialized error it runs ccc init from the project root, then ccc index.

  3. 03

    Respect exceptions

    It never runs ccc init in the home settings folder and never runs ccc reset itself.

  4. 04

    Smoke search

    It runs ccc search for a known concept, with --lang or --path if useful.

  5. 05

    Log

    It records the refresh and the smoke search result.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the ccc (CocoIndex Code) skill helps.

Use it when

  • ✓ You search code by concept
  • ✓ You index a codebase after changes
  • ✓ You ask about cocoindex-code

Skip it when

  • – You need exact text matches only
  • – The repo is tiny

Questions

ccc (CocoIndex Code) skill, answered.

Do I need to re-index between searches?

No. Only after code changed.

How should I phrase queries?

Describe the concept or behavior, not exact code syntax.

How do I install the ccc (CocoIndex Code) skill?

Copy the prompt at the top into your agent. It installs the skill from cocoindex-io/cocoindex-code and sets up the habit. Or run npx skills add cocoindex-io/cocoindex-code --skill ccc.

Is the ccc (CocoIndex Code) skill free?

Yes. It is published under Apache-2.0. Habit is free too.

ccc (CocoIndex Code). Now as a habit.

Install the ccc (CocoIndex Code) skill and make it a habit: follow https://gethabit.dev/skills/cocoindex-io/ccc.md

  • Free
  • No account
  • Undo in one line

All cocoindex-io skills →More code skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by cocoindex-io, published under Apache-2.0. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.