一键导入
ck-find-files
Source discovery over path, file, type, and member names. Use this as the default first step before signatures or method extraction.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Source discovery over path, file, type, and member names. Use this as the default first step before signatures or method extraction.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
List files in a folder with their signatures, filtered by an optional regex pattern. Use this in fallback folder-scoped exploration after ck find-files.
Build a seed-to-related keyword map from indexed results. Use when file-first retrieval is weak/noisy and you need fallback folder scoping with ck find-files.
Remove a stale knowledge snippet by ID when previously learned context is no longer valid.
Record a new knowledge snippet — domain rules, architectural decisions, gotchas, or cross-module relationships discovered during a session.
Retrieve institutional knowledge for a confirmed folder or a cross-folder semantic query. Step 2.5 in the navigation protocol — run after confirming a target folder, before reading method bodies.
Initialize Context King in the current repository, or migrate a repo from a legacy per-repo deployment to the global install.
| name | ck-find-files |
| description | Source discovery over path, file, type, and member names. Use this as the default first step before signatures or method extraction. |
Use this as the default entrypoint for source discovery.
.claude/skills/ck/ck find-files "<query>" --task <text> [--must <text>] [--top <n>] [--min-score <f>] [--path <folder-or-file>] [--explain]
<score>\t<relative-file-path> (plus explain metadata when enabled).--query using lexical terms likely to exist in code:
folder/path words, file-name words, type names, and method/member words.Good:
terminal card-present refund adyeninventory reservation allocate asyncrender invoice templateWeak:
where is the refund logic implementedhow does this feature workfind code related to payments| Option | Description |
|---|---|
--must <text> | Soft boost for required concepts (not a hard filter) |
--task <text> | Required task intent for candidate reranking context |
--top <n> | Number of ranked matches to return |
--min-score <f> | Filter out low-confidence results |
--path <folder-or-file> | Scope retrieval to a specific subtree |
--explain | Include compact diagnostics (types=<n> signatures=<n>) |
.claude/skills/ck/ck find-files "order reservation inventory allocation" --task "Find inventory reservation allocation logic." --top 20 --path src/
.claude/skills/ck/ck find-files "terminal refund adyen async" --task "Find async terminal refund handling for Adyen." --must payment --top 15
.claude/skills/ck/ck find-files "adyen terminal refund retry" --task "Find retry handling for terminal refunds after transient provider errors. Ignore normal card refund flows."
ck find-files (default first step)ck get-keyword-map then rerun ck find-filesck expand-folder only for fallback folder explorationck signatures and ck get-method-source once target files are identified