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.
git clone --depth 1 https://github.com/hamza-ali-shahjahan/hamzaishWrote 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/hamza-ali-shahjahan/hamzaish/brain-ingest)<a href="https://agentmods.dev/commands/hamza-ali-shahjahan/hamzaish/brain-ingest"><img src="https://agentmods.dev/badge/commands/hamza-ali-shahjahan/hamzaish/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/commands/hamza-ali-shahjahan/hamzaish/brain-ingest"><img src="https://agentmods.dev/badge/commands/hamza-ali-shahjahan/hamzaish/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.00022 | $0.00197 |
| Opus 5.5 | $0.00009 | $0.00079 |
| Sonnet 5.5 | $0.00004 | $0.00039 |
| Haiku 4.5 | $0.00002 | $0.00020 |
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 2mo 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.
What it actually says
Refresh the brain's derived index from the markdown source of truth.
Shell out (via Bash):
bun ${HAMZAISH_ROOT:-$HOME/Claude/Hamzaish}/brain/ingest.ts $ARGUMENTS
Then report the output to the user: how many docs added / updated / deleted / skipped, total in db, and time taken.
Use this:
- After writing new learnings, decisions, or playbook entries
- After registering a new product or completing a sprint
- At the start of a session if the brain has been edited externally
- With
--rebuildif the schema has changed or the db looks corrupted
The script is idempotent — re-running when nothing changed is free (~10ms).
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.
- 2mo ago First seen · 23 lines · 22 tokens per session scan A 6c6692166f80
brain-ingest is a command published in the GitHub repository hamza-ali-shahjahan/hamzaish (10 stars, last pushed 1mo ago), licensed MIT. It adds 22 tokens to every session and 197 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-08-31.
brain-ingest compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| brain-ingesthamza-ali-shahjahan/hamzaish | Command | 10 | 1mo ago | MIT | A | 22 | Claude Code |
| wikirohitg00/pro-workflow | Command | 2.9k | 1mo ago | none | A | 10 | Claude Code |
| storePOWERFULMOVES/PMOVES.AI | Command | 7 | yesterday | none | A | 0 | Claude Code |
| db-authalifanov/ai-garage-launch | Command | 2 | 3mo ago | MIT | A | 21 | Claude Code |
| checklistgithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 148k | yesterday | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |