skills/use-cli-recall/SKILL.md
Search past Claude Code/Codex sessions via recall CLI.
npx skillsauth add thkt/dotclaude use-cli-recallInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Trigger | Signal | | -------------------- | ------------------------------------------ | | Temporal reference | 「前に」「あの時」 past events / decisions | | Structural echo | Current problem mirrors a past situation | | Repetition | 「また同じ」 recurring mistake | | Vague back-reference | 「あの件」 past work without specifics | | Module first contact | First edit to a file/module this session |
| Purpose | Command |
| ----------------- | ----------------------------------------------------------- |
| Search | recall search "query" (or recall "query" as shorthand) |
| Last N days | recall search "query" --days N |
| Project filter | recall search "query" --project <path> |
| Source filter | recall search "query" --source claude or --source codex |
| Limit results | recall search "query" --limit N (default 10, max 100) |
| Show session | recall show <session-id> |
| Status | recall status |
| Incremental index | recall index |
| Full rebuild | recall index --force |
Write bilingual queries upfront (e.g. recall "認証 auth"). FTS5 trigram tokenization cannot match JA terms of 2 chars or fewer (認証/依存 hit 0), and embeddings do not bridge EN⇄JA (thkt/recall#51). Including both languages covers each search path.
recall does not expand queries (caller-is-LLM, thkt/recall#25). Hybrid search returns nearest neighbors, so a poor query yields low-relevance results rather than 0 hits. When results are empty or low-relevance, rewrite the query yourself and retry once: synonyms, EN⇄JA variants, related concept terms.
Past decisions (use-cli-recall) vs current code state (ugrep / bfs). Run both on these triggers.
| Trigger | recall query | code search | | -------------------- | ----------------------------- | ---------------------------- | | Module first contact | module name, design rationale | module name, key identifiers | | Structural echo | past similar problem | current similar code |
documentation
Generates and updates .claude/OUTCOME.md interactively. When the file is absent or empty (no Behavior / all sections TBD), collects content via AskUserQuestion and writes the stub; when present, shows the current state and applies updates.
development
Judge a SKILL.md against craft axes (single responsibility, description distinctiveness, imperative voice, verifiable completion, calibration, progressive disclosure) and apply the fixes the audit surfaces. Do not use for format-presence-only checks (use reviewer-prompt) or reproducibility loops (use /tuning).
tools
Internal helper for /think Step 11. Renders SOW.md + Spec.md as an integrated Astro view and returns a dev server URL.
development
Extract repository spec while detecting bugs, spec gaps, and consistency drift via dual-purpose documentation. OUTCOME.md-axis question-driven exploration with ephemeral output. Do NOT use for code review (use /audit or /polish), feature implementation (use /code), planning only (use /think), or single-bug fix (use /fix).