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 agentmods add commands/goldziher/basemind/bm-initgit clone --depth 1 https://github.com/Goldziher/basemindWhat 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 | $0.00068 | $0.00931 |
| Opus 5 | $0.00034 | $0.00465 |
| Sonnet 5 | $0.00014 | $0.00186 |
| Haiku 4.5 | $0.00007 | $0.00093 |
Grade A, and why
bm-init 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 2d 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 — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.
bm-init — onboard basemind into this repo
Run basemind init so the repo has a committed basemind.toml and a rules block that tells every
agent to prefer basemind's MCP tools over grep, file reads, and naked git. CLI and slash command
share ONE implementation — this just drives basemind init with the right non-interactive flags.
When to use
First time setting up basemind in a repo, or to refresh the rules block after enabling new capabilities (documents/RAG, agent-comms, semantic search). Safe to re-run: it's idempotent.
How to use
-
Ask which capabilities matter (one short question). The options are:
code-search-navigation,code-mapping-architecture,git-history,agent-comms,documents-rag,semantic-search. If the user has no preference, enable all. -
Ask where the rules block should go — do NOT assume. Never write a committed
CLAUDE.mdorAGENTS.mdwithout the user's explicit say-so. Present the choice:CLAUDE.local.md— personal, gitignored (recommended default)AGENTS.local.md— personal, gitignored (for AGENTS-based tools)CLAUDE.md— committed, shared with everyone on the repoAGENTS.md— committed, shared with everyone on the reponone— write no rules
Exception: if
.ai-rulez/config.tomlis present, ai-rulez owns governance — write the ai-rulez rule file instead of asking (it never touches CLAUDE.md/AGENTS.md). -
Run
basemind initnon-interactively with the matching flags. Pass the user's rules choice via--rules-target <claude-local|agents-local|claude|agents|ai-rulez|none>(defaultautoresolves to the gitignored local file, never a committed one):basemind init --yes --rules-target claude-localNarrow capabilities with repeatable
--with(allow-list) or--without(subtract):basemind init --yes --rules-target claude-local --with code-search-navigation --with git-historyPreview without writing using
--print.
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.
- 2d ago First seen · 72 lines · 68 tokens per session scan A e1e0eaa4ae4c
bm-init is a command published in the GitHub repository Goldziher/basemind (91 stars, last pushed 6d ago), licensed MIT. It adds 68 tokens to every session and 931 once invoked, about $0.0003 per session on Opus 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-30.
Other commands, from other repositories
framework-builder
Run the real Limitless framework builder for a topic.
codesage-bench
Run CodeSage retrieval benchmarks on all corpora, save timestamped scorecards, print a summary.
codesage-reindex
Force an incremental codesage re-index (use when git hooks didn't fire). Auto-cleans orphan vec tables if the config model has changed.
vitaecontext-vitaegraph
Create, validate, index, or use a private VitaeGraph.
vitaecontext-x
Audit or improve X/Twitter profile and posting strategy.
dream
Memory dream pass — judge undreamed days, promote durable signal to long-term, then sweep.