Ck index

From Fredrik-C/ContextKing · View interactive version

Ck index is an AI agent skill from the GitHub repository Fredrik-C/ContextKing. Build or update the Context King source-map index. Rarely needed explicitly — ck find-files auto-builds on first use. Useful after branch switches or to force a full rebuild.

How to use this skill

Skill file

ck index — Source Map Index Management

Under normal usage the index is built automatically on the first call to ck find-files.

Use this skill explicitly when you need precise control over the index state.

When to use explicitly

next ck find-files call.

Commands

Mac / Linux:

# Check status
.claude/skills/ck/ck index --status

# Incremental update (only changed folders re-embedded)
.claude/skills/ck/ck index

# Full rebuild
.claude/skills/ck/ck index --force

Windows (PowerShell):

.claude\skills\ck\ck.cmd index [--status] [--force]

Options

| Option | Description |

|---|---|

| --status | Print fresh, stale, or missing and exit |

| --force | Delete existing index and rebuild from scratch |

| --repo <path> | Repo root (defaults to git rev-parse --show-toplevel) |

Index properties

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.