Przejdź do treści
Biblioteka skilli
Programowanie · Integracja z narzędziem

ccc

/ccc

Wyszukuje kod w bazie przez cocoindex-code (ccc) i indeksuje bazę po zmianach, gdy potrzebne jest przeszukiwanie kodu, na przykład znalezienie kodu związanego z tematem lub aktualizacja indeksu.

Repozytorium
cocoindex-code ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
22.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
3
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 22.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Wyszukuje kod w bazie przez cocoindex-code (ccc) i indeksuje bazę po zmianach, gdy potrzebne jest przeszukiwanie kodu, na przykład znalezienie kodu związanego z tematem lub aktualizacja indeksu.

Wyzwalacze z opisu

search the codebasefind code related toupdate the indexccccocoindex-code
Oryginalny opis (EN)

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'.

Jak działa

  1. Ownership
  2. Searching the Codebase
  3. Settings
  4. Management & Troubleshooting
Sekcje z nagłówków SKILL.md, w oryginale · 70 linii, 511 słów
Podgląd SKILL.md
---
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 - 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.
  - Exception: if `ccc index` refuses because the directory holds ccc's user settings directory (usually your home directory), do not run `ccc init` there. Run ccc from inside the project instead, or ask the user which project to use.
  - Exception: if a ccc note says the project in use is that directory (a repo below it has no project of its own), tell the user. Do not run `ccc reset` there yourself: whether it should stay a project is the user's call.
- **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](references/management.md) for installation instructions and inform the user.

## Searching the Codebase

To perform a semantic search:

```bash
ccc search <query terms>
```

The query should describe the concept, functionality, or behavior to find, not exact code syntax. For example:

```bash
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.

  ```bash
  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).

  ```bash
  ccc search --path 'src/api/*' request validation
  ```

### Pagination

Results default to the first page. To retrieve additional results:

```bash
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](references/settings.md).

## Management & Troubleshooting

For installation, initialization, daemon management, troubleshooting, and cleanup commands, see [management.md](references/management.md).
Pliki w paczce (3)
  • SKILL.md 4 KB
  • references/management.md 3 KB
  • references/settings.md 4 KB

Wersje

W bazie nie ma innych skilli o nazwie ccc.

Migawka bazy z 13.11.2026 · wersja paczki 66ec9e723c37 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100target-connector
    Prowadzi przez tworzenie nowego konektora docelowego dla CocoIndex: TargetHandler, TargetActionSink, wykrywanie zmian oraz automatyczne sprzątanie.
  • 100cursor-codebase-indexing
    Konfiguruje i optymalizuje indeksowanie kodu w Cursor dla wyszukiwania semantycznego i zapytań @Codebase.
  • 100cursor-codebase-indexing
    Konfiguruje i optymalizuje indeksowanie kodu w Cursor dla wyszukiwania semantycznego.
  • 95cocoindex
    Pomaga budować i diagnozować przyrostowe przepływy danych w Pythonie z CocoIndex, na przykład do indeksowania pod RAG.
  • 100index-status
    Sprawdza stan i zdrowie indeksu wyszukiwania grepika oraz prowadzi diagnostykę indeksu.
  • 100cursor-indexing-issues
    Rozwiązuje problemy z indeksowaniem kodu w Cursor, gdy @codebase nie działa lub wyszukiwanie jest zepsute.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.