ai-raccoon-memory

ai-raccoon-memory is a skill for Claude Code from Arasz/ai-raccoon. It costs 40 tokens per session (4,569 once invoked), scanned A, original, MIT.

A memory server workflow for searching project and shared knowledge and saving durable facts with source paths. It can also watch a documentation directory and promote facts between projects.

In plain words
What is it for?
Use it to search existing memory, mirror a project's documentation into memory, save lasting facts, and share selected facts across projects.
Why use it?
It helps an agent reuse information across sessions instead of relying only on the current conversation. The source-path requirement makes saved facts traceable to project documentation.

Skill for Claude Code

Written for Claude Code: UserPromptSubmit hook event. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it to search existing memory, mirror a project's documentation into memory, save lasting facts, and share selected facts across projects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arasz/ai-raccoon/ai-raccoon-memory
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 Arasz/ai-raccoon --skill ai-raccoon-memory
Clone the repo
git clone --depth 1 https://github.com/Arasz/ai-raccoon

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 ai-raccoon-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/arasz/ai-raccoon/ai-raccoon-memory/github.svg)](https://agentmods.dev/skills/arasz/ai-raccoon/ai-raccoon-memory)
Your own site
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/ai-raccoon-memory"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/ai-raccoon-memory/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 ai-raccoon-memory

Your own site · 80×15
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/ai-raccoon-memory"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/ai-raccoon-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,569 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.00040 $0.04569
Opus 5.5 $0.00016 $0.01828
Sonnet 5.5 $0.00008 $0.00914
Haiku 4.5 $0.00004 $0.00457

Measured yesterday against content hash 223e4539ace4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ai-raccoon-memory 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 yesterday.

The scan reads SKILL.md. This mod also ships 12 executable files (scripts/badger_store.py, scripts/memory_broker_hook.py, scripts/memory_broker.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.ai-badger/skills/ai-raccoon-memory/SKILL.md · 261 lines

How it starts

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

AiRaccoon Memory

When NOT to Use

  • A one-off lookup ("have we seen X before?") — run query and be done, no watch ritual, no write-back
  • No docs directory to watch and no durable fact to write — the ritual adds ceremony, not value
  • The memory-grade hook when you only need one answer — it is opt-in by env var; don't enable it for a single search

1. Watch-on-docs ritual (do this first)

On session start, run get_watch_status(projectId) for this project. If the docs directory is not in the watched list, run add_watch(projectId, <absolute path to docs>) to mirror it into memory. The watch starts scanning and settles to healthy; an already-watched path is a no-op.

CLI prerequisite (only when the watch errors): watching-disabled or path-outside-scope means the one-time per-install setup is missing (quote the * so the shell does not expand it): ai-raccoon watch scope add '<project-id|*>' <path>, then ai-raccoon watch enable '<project-id|*>' true. If the memory_watch_* tools are not listed at all (older tool build on another machine), update the tool: dotnet tool update -g arasz.ai-raccoon.

2. Search-first workflow

Always pass projectId and sessionId. Pass your session id on every search. The server rejects a blank one and stores the value verbatim on the search row. Before web search, code search, or asking the user, run query(projectId, sessionId, scope=all) with 2-3 formulations. Try the exact phrase first, then keywords, then a plain restatement. Entries carry source paths. Cite them as evidence. Every reply carries meta.correlationId. Keep that id. You need it to grade the search or to record that you opened one of its files.

3. Escalation by result

  • Decisive hit → use it; cite the source path.
  • Partial hit → one targeted external search, then reconcile.
  • No hit → search externally, then write the finding back with add_memory (source path included).

4. Write discipline

Durable facts only, one per entry, source included. Plain writes land in committed project memory (project:<id>). For in-progress notes use workspace isolation: initialize_workspace → get_workspace_status → close_workspace(keep=[...]) (or ["all"] to promote everything; discard_workspace to drop). Promote durable cross-project facts with share_memory — never automatically. trigger_memory_cleanup removes old low-rated entries; shared entries are exempt.

Read the full file on GitHub · 261 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. yesterday First seen · 261 lines · 40 tokens per session scan A 223e4539ace4

Subscribe to this mod's changes

ai-raccoon-memory is a skill published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 4,569 once invoked, about $0.0002 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-12-05.

Related

ai-raccoon-memory compared with skills from other repositories

ai-raccoon-memory next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-raccoon-memoryArasz/ai-raccoonSkill7todayMITA40Claude Code
prolongalexisfox7/PRO-LONGSkill4661mo agoMITA55Codex
cartographer-kb-createBeppeTemp/cartographerSkill74yesterdayApache-2.0A53Claude Code, Codex
cartographer-kb-importBeppeTemp/cartographerSkill74yesterdayApache-2.0A51Claude Code, Codex
lemmalogJordyZomer/lemmalogSkill3552mo agoMITA105Claude Code, Codex
cartographer-kb-doctorBeppeTemp/cartographerSkill74yesterdayApache-2.0A91Claude Code, Codex
causal-memoryJingxuanC/causal-memorySkill1121mo agoApache-2.0A88Claude Code