ck get-keyword-map — Query Precision Helper
Use this for the fallback scope path, not as the default first step.
Default discovery is ck find-files; run ck get-keyword-map when you need to pivot to ck find-files.
Syntax
.claude/skills/ck/ck get-keyword-map --query "<multi-keyword description>" [--must "<provider>"] [--top <n>] [--per-keyword <n>]
Options
| Option | Default | Description |
|---|---|---|
| --query <text> | required | Multi-keyword description of the area you need |
| --must <text> | off | Required provider/concept focus (repeatable) |
| --top <n> | 8 | Number of top lexical files analyzed |
| --per-keyword <n> | 3 | Related terms kept per query seed |
| --repo <path> | auto | Repo root |
| --verbose | off | Prints index build/refresh progress |
Query Wording (Important)
- Use lexical query terms that likely exist in indexed code metadata:
path/folder words, file-name words, type names, and method/member words.
- Avoid natural-language questions; this command works best with concrete code-like tokens.
- Use 3-7 high-signal terms (domain + workflow + operation/symbol).
Good:
adyen terminal card-present refundinventory reservation allocate async
Weak:
where is refund logichow does this feature work
Output shape
related-keyword-hints: up to three type-name-weighted lexical termssemantic-keyword-hints: up to three terms from an on-demand rerank of six lexical candidates, when the local embedding model is availablesuggested-next-step: a safe copyablefind-filescommand retaining the original query
Usage pattern
- Run
ck find-files --query "..." --task "..."first - If file-first results are weak/noisy, run
ck get-keyword-map --query "..." - Choose at most one or two useful hints; keep the original query terms and rerun
ck find-files --query "..." --task "..." - Folders from
find-filesare source of truth for fallback exploration