arrecall

arrecall is a command for Claude Code from Goldentrii/AgentRecall-X. It costs 21 tokens per session (728 once invoked), scanned A, original, MIT.

A command for finding past fixes, decisions, and patterns in AgentRecall's stored records. It can search for a specific question or scan the current conversation for related topics.

In plain words
What is it for?
Use it to recall earlier decisions, look up known fixes, or find related information while working on a current task.
Why use it?
It brings back useful project context without making you search through older sessions yourself.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it to recall earlier decisions, look up known fixes, or find related information while working on a current task.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/goldentrii/agentrecall-x/arrecall
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.

Clone the repo
git clone --depth 1 https://github.com/Goldentrii/AgentRecall-X

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 arrecall

README.md
[![agentmods](https://agentmods.dev/badge/commands/goldentrii/agentrecall-x/arrecall/github.svg)](https://agentmods.dev/commands/goldentrii/agentrecall-x/arrecall)
Your own site
<a href="https://agentmods.dev/commands/goldentrii/agentrecall-x/arrecall"><img src="https://agentmods.dev/badge/commands/goldentrii/agentrecall-x/arrecall/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 arrecall

Your own site · 80×15
<a href="https://agentmods.dev/commands/goldentrii/agentrecall-x/arrecall"><img src="https://agentmods.dev/badge/commands/goldentrii/agentrecall-x/arrecall.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 728 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.00021 $0.00728
Opus 5 $0.00010 $0.00364
Sonnet 5 $0.00004 $0.00146
Haiku 4.5 $0.00002 $0.00073

Measured 9d ago against content hash 14da49fc24fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

arrecall 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 9d 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.

commands/arrecall.md · 72 lines

How it starts

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

/arrecall — Contextual Mid-Session Recall

On-demand search against AgentRecall's memory store. Use anytime during a session — not just at start or end.

Two Modes

Mode A: Explicit Query (/arrecall <query>)

Direct recall. Run immediately:

recall({ project: "<current-project>", query: "<query>" })

CLI equivalent if MCP tools aren't available: ar recall "<query>".

Show results. Done. Use when you know exactly what to ask for.

Mode B: Contextual Scan (/arrecall with no args)

The useful mode. Extract context from the current conversation and run targeted multi-query recall automatically.

  1. Read the last 10 messages of the current conversation
  2. Extract 3-5 keywords from topics being discussed (technical components, decisions, domain terms)
  3. Run parallel recall queries — one per most important keyword, plus one against the global/catchall project for cross-project awareness:
    recall({ project: "<slug>", query: "keyword1" })
    recall({ project: "<slug>", query: "keyword2" })
    recall({ project: "<catchall-project>", query: "keyword1" })
    
  4. Merge and deduplicate results (same slug = same entry, skip duplicates)
  5. Show the compact hit list:
──────────────────────────────────────
  ArRecall — contextual hits
──────────────────────────────────────
  [palace/decisions] We chose X over Y because... (2026-04-12)
  [awareness] API returns null when session expires (6× confirmed)
  [correction] Never push without permission [P0]
──────────────────────────────────────
  3 results for: proxy auth, 407 error, headers
  1. If 0 results: say "No hits for these topics — memory may not have captured this yet." and continue.

When to Invoke

Run /arrecall at these moments — don't wait to be asked:

  • Before any technical implementation — query the component or domain you're about to touch
  • Before making an architectural decision — query the decision topic
  • When something seems familiar but details are fuzzy — trust the instinct, run the query
  • When the user says "last time" or "before" — they're signaling that memory exists; go find it
  • When you hit a weird error — check if it's been seen before

Read the full file on GitHub · 72 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. 9d ago First seen · 72 lines · 21 tokens per session scan A 14da49fc24fa

Subscribe to this mod's changes

arrecall is a command published in the GitHub repository Goldentrii/AgentRecall-X (371 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 728 once invoked, about $0.0001 per session on Opus 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.