use-cli-recall

use-cli-recall is a skill for Claude Code from thkt/dotclaude. It costs 26 tokens per session (903 once invoked), scanned A, original, MIT.

A command-line tool for searching records of earlier coding sessions and checking the current code with fast file-search tools.

In plain words
What is it for?
Use it when referring to earlier work, investigating a recurring problem, or opening a file or module for the first time.
Why use it?
It helps recover past decisions and find related code instead of relying on memory or repeating broad searches.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it when referring to earlier work, investigating a recurring problem, or opening a file or module for the first time.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thkt/dotclaude/use-cli-recall
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add thkt/dotclaude --skill use-cli-recall
Clone the repo
git clone --depth 1 https://github.com/thkt/dotclaude

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for use-cli-recall

README.md
[![agentmods](https://agentmods.dev/badge/skills/thkt/dotclaude/use-cli-recall/github.svg)](https://agentmods.dev/skills/thkt/dotclaude/use-cli-recall)
Your own site
<a href="https://agentmods.dev/skills/thkt/dotclaude/use-cli-recall"><img src="https://agentmods.dev/badge/skills/thkt/dotclaude/use-cli-recall/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for use-cli-recall

Your own site · 80×15
<a href="https://agentmods.dev/skills/thkt/dotclaude/use-cli-recall"><img src="https://agentmods.dev/badge/skills/thkt/dotclaude/use-cli-recall.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 903 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00026 $0.00903
Opus 5.5 $0.00010 $0.00361
Sonnet 5.5 $0.00005 $0.00181
Haiku 4.5 $0.00003 $0.00090

Measured 1mo ago against content hash 51d465183917, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

use-cli-recall scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.ja/skills/use-cli-recall/SKILL.md · 49 lines

How it starts

The opening of the file, as written. The whole thing — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.

use-cli-recall

使いどころ

下表のトリガーに該当したら呼び出す。過去の判断は recall、現在のコード状態は ugrep/bfs が答えるので、コード検索の欄があるトリガーでは両方を並列に走らせる。

トリガー シグナル 同時に走らせるコード検索
時間的参照 「前に」「あの時」過去の出来事 / 判断 -
構造的エコー 現在の問題が過去の状況と似ている 現在の類似コード
繰り返し 「また同じ」反復ミス -
曖昧な後方参照 「あの件」具体性のない過去の作業 -
モジュール初回接触 このセッションでファイル / モジュール初編集 モジュール名、主要な識別子

コマンド

モジュール初回接触では --file を使う。そのファイルを触ったセッションだけに絞れるので、モジュール名での全文検索より当たりが正確になる。

目的 コマンド
検索 recall search "query"。短縮形は recall "query"
直近 N 日 recall search "query" --days N
プロジェクトフィルタ recall search "query" --project <path>
ファイルフィルタ recall search "query" --file <path>
ソースフィルタ recall search "query" --source claude または --source codex
結果数制限 recall search "query" --limit N。デフォルト 10、最大 100
セッション表示 recall show <session-id>
ステータス recall status
増分インデックス recall index
完全リビルド recall rebuild

落とし穴

最初から二言語クエリを書く (例 recall "認証 auth")。FTS5 の trigram トークナイズは 2 文字以下の日本語語句にマッチせず、認証や依存は 0 件になる。embedding は EN⇄JA を橋渡ししない (thkt/recall#51)。両言語を含めることで各検索経路をカバーする。

recall はクエリを拡張しない (caller-is-LLM, thkt/recall#25)。ハイブリッド検索は最近傍を返すため、貧弱なクエリは 0 件ではなく低関連の結果になる。結果が空または低関連のときは、同義語、EN⇄JA バリアント、関連概念語を使ってクエリを書き直し、1 回リトライする。

Read the full file on GitHub · 49 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed 51d465183917
  2. 1mo ago First seen · 49 lines · 26 tokens per session scan A 6429ef2bb806

Subscribe to this mod's changes

use-cli-recall is a skill published in the GitHub repository thkt/dotclaude (12 stars, last pushed 25d ago), licensed MIT. It adds 26 tokens to every session and 903 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

agents-md-improver

Audit and improve project-rules files (AGENTS.md, CLAUDE.md, .agents/instructions, local overrides) so the agent keeps accurate project context. Use when the user asks to check, audit, review, update, improve, or fix their AGENTS.md or CLAUDE.md, mentions "project rules maintenance" or "agent context optimization", or…

waybarrios/opencode-power-pack · 125 tokens

agents-md-revise

Capture learnings from the current session into the project-rules file (AGENTS.md, CLAUDE.md, or local override) so future sessions benefit. Use when the user says "revise the rules", "update AGENTS.md / CLAUDE.md with what we just learned", "save this to project memory", "remember this for next time", or at the end…

waybarrios/opencode-power-pack · 114 tokens

evolve

Use when many related hardened instincts (high-confidence feedback/discovery memories) have piled up in one domain, when the user runs /evolve or asks to promote, cluster, graduate, or consolidate accumulated instincts into a Command, Skill, or Agent, or when files in Instinct Proposals need review. Part of the…

mycelium-hq/ai-brain-starter · 100 tokens

init

Opt-in onboarding for the mARC agent team. Scaffolds a per-repo team binding so the team graduates from ephemeral session-memory to persistent, versioned config — without ever writing a file silently. Discovers the repo's org/repo/ project at runtime via gh, prefills {{ agentsdir }}/team.toml, and (optionally) a lean…

NexaDuo/mARC · 122 tokens

team-management-receiving-feedback

How to receive code review as technical evaluation rather than social performance — verify claims against the codebase before implementing, push back with evidence, and drop the performative agreement. Use when responding to a human reviewer, a PR comment, or another AI reviewer, and when deciding whether a suggestion…

TeamManagementPlugin/claude-plugin · 97 tokens

session-checkpoint

Use when saving session state before context compaction, switching tasks, or ending a session. Runs 5 phases: context extraction → handoff write → memory save → preservation check → compact guidance (plus an optional attestation step).

AlexZio00/sovereign-skills · 50 tokens