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/arcassystems/founderos/wiki-buildgit clone --depth 1 https://github.com/ARCASSystems/FounderOSWrote 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/arcassystems/founderos/wiki-build)<a href="https://agentmods.dev/commands/arcassystems/founderos/wiki-build"><img src="https://agentmods.dev/badge/commands/arcassystems/founderos/wiki-build.svg" alt="Measured on agentmods" 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 | $0.00047 | $0.00736 |
| Opus 5 | $0.00023 | $0.00368 |
| Sonnet 5 | $0.00009 | $0.00147 |
| Haiku 4.5 | $0.00005 | $0.00074 |
Grade A, and why
wiki-build 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 4d 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 — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Founder OS wiki-build
Refresh the auto-extracted half of brain/relations.yaml. The hand-curated relations: section (semantic edges with type: informs/blocks/guards_against/etc.) is preserved untouched. Only the block between the auto-generated sentinel markers is replaced.
Procedure
-
If
core/identity.mddoes not exist, replyFounder OS not set up here. Say "set up Founder OS" first.and stop. -
If
scripts/wiki-build.pydoes not exist, replyWiki-build script not found. Say "update Founder OS" to restore the OS's own files.and stop. -
Run the build script:
python scripts/wiki-build.py -
Report the output line verbatim. Example:
Wrote 12 wiki links from 4 source files into brain/relations.yaml. -
If the script exits non-zero, report the error message verbatim and stop. Do NOT attempt to fix the underlying issue automatically.
-
Do NOT save a version of the change yourself. The user reviews the refreshed graph first; with version history on, it rides along in their next save.
Wikilink syntax (Obsidian-compatible)
| Form | Meaning |
|---|---|
[[target]] |
Bare slug. Resolved at query time. |
[[target.md]] |
Explicit file (basename or repo-relative path). |
[[target.md#anchor]] |
File with heading anchor. |
[[target|display text]] |
Alias form. Display text is discarded for the graph. |
Rules
- Read-only on source markdown. The script only writes to
brain/relations.yaml. - Wiki-layer scope:
core/,context/,cadence/,brain/,network/,companies/,roles/,rules/. Plugin-internal directories (.claude/,skills/,templates/,docs/) and the source archive (raw/) are excluded. - Wikilinks inside fenced code blocks or inline backtick spans are ignored (so docs that describe the syntax do not pollute the graph).
- The script is idempotent. Running twice in a row produces no diff.
- Do not edit the auto-generated block by hand. Edits between
#@@WIKI_LINKS_AUTOGEN_BEGIN@@and#@@WIKI_LINKS_AUTOGEN_END@@are overwritten on next run. Add semantic edges to the hand-curatedrelations:section instead.
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.
- 4d ago First seen · 58 lines · 47 tokens per session scan A 5567c3165b90
wiki-build is a command published in the GitHub repository ARCASSystems/FounderOS (5 stars, last pushed 20d ago), licensed MIT. It adds 47 tokens to every session and 736 once invoked, about $0.0002 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-31.
Other commands, from other repositories
wiki-query
Ask questions against the wiki. Synthesizes answers from wiki pages with cross-reference citations.
wiki-digest
Generate a daily or weekly digest of wiki changes — new sources, pages, insights, and gaps.
review
Comprehensive code review for blz changes.
cheatsheet
Generate a one-page exam cheatsheet from course-index and errors/log.md. Outputs to cheatsheet/final.md. Optionally convert to PDF.
crux-amnesia
Temporarily disable or restore ambient CRUX memory usage for the current chat session.
index-cmd
The index command reindexes a repository and synchronizes its anchor ledger while selecting human-readable, JSON, or quiet output.