Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add joymin5655/Agent/plugin install agent-harness-extrasWrote 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/joymin5655/agent/brain-ingest)<a href="https://agentmods.dev/skills/joymin5655/agent/brain-ingest"><img src="https://agentmods.dev/badge/skills/joymin5655/agent/brain-ingest/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/joymin5655/agent/brain-ingest"><img src="https://agentmods.dev/badge/skills/joymin5655/agent/brain-ingest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00096 | $0.02007 |
| Opus 5.5 | $0.00038 | $0.00803 |
| Sonnet 5.5 | $0.00019 | $0.00401 |
| Haiku 4.5 | $0.00010 | $0.00201 |
Grade A, and why
brain-ingest 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 14d 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 — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/brain-ingest
Goal
Move knowledge one hop along the brain's one-way flow — from noisy, untrusted
raw/ captures to curated typed atomic notes in notes/ — and, for the notes
that have earned it, one further hop into the human-curated vault. The brain is
the fast, multi-agent working layer; the vault is the reviewed SSOT. Nothing
flows backward.
raw/<ai>/*.md ──(this skill: distill + lint gate)──▶ notes/<type>/<id>.md
(quarantine, (curated, in the graph)
kind=generated) │
▼ (evergreen only)
/wiki-ingest ──▶ vault wiki/ (human SSOT)
The paths are resolved by core/brain/store.py from $AGENT_BRAIN_DIR
(default ~/.agent/brain) — this skill never hardcodes a brain or vault path.
$HR is the agent-harness root, where core/brain/ lives (not your project);
each block below resolves it first, because every Bash call is a fresh shell.
python3 "$HR/core/brain/store.py" paths prints the resolved directories.
Steps
1. Select raw candidates
List the quarantined captures and read the ones worth curating:
HR="$(bash "${CLAUDE_PLUGIN_ROOT}/scripts/harness-root.sh")"
find "$(python3 "$HR/core/brain/store.py" paths | python3 -c 'import json,sys;print(json.load(sys.stdin)["raw"])')" -name '*.md'
Read each candidate. A capture is worth distilling only if it carries a durable
insight, decision, procedure, or entity — not merely "a session happened". WIP
breadcrumbs from the Stop hook with no reusable content are left in raw/ (or
deleted); they are not promoted.
2. Dedup before you write (G3)
For each candidate idea, search the existing curated notes first:
HR="$(bash "${CLAUDE_PLUGIN_ROOT}/scripts/harness-root.sh")"
python3 "$HR/core/brain/store.py" search "<key terms of the idea>"
If a note already covers it, extend or refine that note (add a typed edge, a
refines/supports link, a sharper line) rather than creating a near-duplicate.
A new note is justified only when the idea is genuinely new. This is the
anti-fragmentation rule — the same fact must not live in two notes.
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.
- 14d ago Changed · +7 lines 7a6cfd4c72ea
- 2mo ago First seen · 158 lines · 96 tokens per session scan A 08bea236048e
brain-ingest is a skill published in the GitHub repository joymin5655/Agent (2 stars, last pushed yesterday), licensed MIT. It adds 96 tokens to every session and 2,007 once invoked, about $0.0004 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-31.
brain-ingest compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| brain-ingestjoymin5655/Agent | Skill | 2 | yesterday | MIT | A | 96 | Claude Code |
| mementoJoyciAkira/memento | Skill | 1 | 3mo ago | AGPL-3.0 | A | 34 | Claude Code |
| mem0-vercel-ai-sdkmem0ai/mem0 | Skill | 68k | 2d ago | Apache-2.0 | A | 146 | Claude Code, Codex |
| pausemem0ai/mem0 | Skill | 68k | 2d ago | Apache-2.0 | A | 30 | Claude Code |
| mineMemPalace/mempalace | Skill | 60k | yesterday | MIT | A | 21 | Claude Code |
| agent-carnetyamadashy/repomix | Skill | 29k | yesterday | MIT | A | 67 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 68k | 2d ago | Apache-2.0 | A | 217 | Claude Code, Codex |