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.
npx skills add CraftOS-dev/CraftBot --skill memory-processorgit clone --depth 1 https://github.com/CraftOS-dev/CraftBotWrote 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.
[](https://agentmods.dev/skills/craftos-dev/craftbot/memory-processor)<a href="https://agentmods.dev/skills/craftos-dev/craftbot/memory-processor"><img src="https://agentmods.dev/badge/skills/craftos-dev/craftbot/memory-processor/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.
<a href="https://agentmods.dev/skills/craftos-dev/craftbot/memory-processor"><img src="https://agentmods.dev/badge/skills/craftos-dev/craftbot/memory-processor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00016 | $0.02851 |
| Opus 5.5 | $0.00006 | $0.01140 |
| Sonnet 5.5 | $0.00003 | $0.00570 |
| Haiku 4.5 | $0.00002 | $0.00285 |
Grade A, and why
memory-processor 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.
How it starts
The opening of the file, as written. The whole thing — 263 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Memory Processor
The only way for agent to save event into long-term memory.
Files
- The EVENT_UNPROCESSED.md staging file - Source (read & clear batches). Its ABSOLUTE path is given in the task instruction (the system merges every session's events into this one time-ordered file, oldest first). Always use that exact path; never assume a fixed location.
agent_file_system/MEMORY.md- Destination (append distilled memories)
Todo Tracking (REQUIRED)
Use update_todos to track progress. Create todos at start, update as you go.
Initial todos (create after reading first batch):
1. [pending] Process and loop for each batch (25~50 lines).
2. [pending] Validate and cleanup
3. [pending] Complete task
After each batch: Mark current as completed, add next batch if more events exist.
Batch Processing Workflow
Process 50 lines at a time to avoid memory issues.
Steps:
-
Read first batch:
read_filethe staging file (path from the task instruction), offset=11, limit=50 -
Create todos: Use
update_todosto create initial todo list -
Loop for each batch (ORDER IS MANDATORY):
- Distill batch: Apply rules below, extract IMPORTANT memories only
- Append memories:
stream_editMEMORY.md (append only) — do this FIRST - Remove batch:
stream_editthe staging file (delete lines 12-61) — ONLY after the MEMORY.md write above has completed - Update todos: Mark batch completed, add next batch if more events
An event is removed from a session's queue only once it is gone from the staging file, so you MUST save to MEMORY.md before deleting from staging. Never delete a batch you have not processed — whatever you leave in the staging file is treated as unprocessed and kept for the next run.
-
Validation (mark todo in_progress):
- Validate no more unprocessed events in the staging file
- Validate no duplicated memory in MEMORY.md
-
End task:
end_turnwhen validation passes
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.
- 1mo ago Changed · +6 lines a1450fd50225
- 2mo ago Changed · +10 lines 4a4c6e382dd3
- 2mo ago First seen · 247 lines · 16 tokens per session scan A f24d109a5e2b
memory-processor is a skill published in the GitHub repository CraftOS-dev/CraftBot (431 stars, last pushed yesterday), licensed MIT. It adds 16 tokens to every session and 2,851 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-09-03.
memory-processor compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| memory-processorCraftOS-dev/CraftBot | Skill | 431 | yesterday | MIT | A | 16 | Claude Code |
| ast-skeletonizeralivirgo/Major-AI-Skills | Skill | 6 | today | MIT | A | 25 | Claude Code |
| context-pack-buildera275618631/codex-antigravity-collaboration | Skill | 11 | 4d ago | MIT | A | 48 | Claude Code, Codex |
| productivity-updatefrumu-ai/tandem | Skill | 125 | 1mo ago | none | A | 13 | Claude Code |
| productivity-memoryfrumu-ai/tandem | Skill | 125 | 1mo ago | none | A | 58 | Claude Code, Codex |
| forgetasgeirtj/system_prompts_leaks | Skill | 74k | 2d ago | CC0-1.0 | A | 0 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 3d ago | Apache-2.0 | A | 217 | Claude Code, Codex |