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 fiale-plus/fiale-claude-plugins/plugin install brainWrote 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/commands/fiale-plus/fiale-claude-plugins/align)<a href="https://agentmods.dev/commands/fiale-plus/fiale-claude-plugins/align"><img src="https://agentmods.dev/badge/commands/fiale-plus/fiale-claude-plugins/align/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/commands/fiale-plus/fiale-claude-plugins/align"><img src="https://agentmods.dev/badge/commands/fiale-plus/fiale-claude-plugins/align.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.00023 | $0.00980 |
| Opus 5.5 | $0.00009 | $0.00392 |
| Sonnet 5.5 | $0.00005 | $0.00196 |
| Haiku 4.5 | $0.00002 | $0.00098 |
Grade B, and why
brain-align scanned grade B with 1 finding 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
cat ~/.claude/brain/config.json How it starts
The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Interactively review and populate .brain/ knowledge docs for the current project directory. Useful after a big push, when starting on an existing project, or for periodic review.
Steps
1. Detect project root
pwd
git rev-parse --show-toplevel 2>/dev/null || echo "not-git"
Use git root if in a git repo, otherwise use current directory. Call this PROJECT_ROOT.
2. Read existing .brain/ docs
ls PROJECT_ROOT/.brain/ 2>/dev/null || echo "empty"
cat PROJECT_ROOT/.brain/DECISIONS.md 2>/dev/null
cat PROJECT_ROOT/.brain/GOTCHAS.md 2>/dev/null
cat PROJECT_ROOT/.brain/PATTERNS.md 2>/dev/null
3. Read recent session notes for this project
cat ~/.claude/brain/config.json
Get vault_path. Then read recent sessions:
ls VAULT_PATH/_sessions/ | sort | tail -14
Read the last 2 weeks of session notes that mention this project. Look for entries referencing the project name or path.
4. Read project context
cat PROJECT_ROOT/CLAUDE.md 2>/dev/null | head -100
cat PROJECT_ROOT/README.md 2>/dev/null | head -50
5. Analyze and suggest additions
Using your reasoning across session notes, existing .brain/ content, README, and CLAUDE.md, generate suggestions for each category:
DECISIONS.md additions — architectural choices that should be documented:
- Technology choices with rationale
- Design patterns chosen over alternatives
- Tradeoffs explicitly made
GOTCHAS.md additions — blockers and solutions:
- Environment-specific issues encountered
- Non-obvious debugging solutions
- Things that wasted significant time
PATTERNS.md additions — recurring conventions:
- Naming conventions established
- Code organization patterns
- Workflow patterns specific to this project
Skip suggestions for things already documented. Focus on gaps.
6. Present suggestions interactively
For each suggestion, show:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[DECISIONS] — <title>
<content preview>
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Add this? [y/n/e to edit]
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 First seen · 154 lines · 23 tokens per session scan B 37d6f37b2c8e
brain-align is a command published in the GitHub repository fiale-plus/fiale-claude-plugins (4 stars, last pushed 6mo ago), licensed MIT. It adds 23 tokens to every session and 980 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
context-stats
Display context window usage and token statistics.
sync
Session bootstrap - read project context, restore saved state, show status. Quick orientation with optional deep dive.
handoff
Write a session handoff document for continuity.
checkpoint
Write a new link in the continuum chain summarizing decisions/changes since the last link.
dream
Roll up the last N links into a single phase-digest link; originals move to archived/ (never deleted).
hades-show-proposals
Show pending Asphodel memory update proposals.