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/nvk/llm-wiki/projectgit clone --depth 1 https://github.com/nvk/llm-wikiWhat 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.00036 | $0.02508 |
| Opus 5 | $0.00018 | $0.01254 |
| Sonnet 5 | $0.00007 | $0.00502 |
| Haiku 4.5 | $0.00004 | $0.00251 |
Grade C, and why
project scanned grade C 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 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
**Removed in v0.2 simplification**: `focus`, `unfocus`, `retract`, `rename`. See `references/projects.md` § "Focus" for the rationale on dropping focus (pass `--project <slug>` explicitly instead). Rename and retract are How it starts
The opening of the file, as written. The whole thing — 186 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Your task
Manage projects — folders inside a topic wiki's output/projects/ directory that group related outputs. The only required file in a project is WHY.md, which captures the goal/rationale in plain markdown.
Resolve the wiki. Do NOT search the filesystem or read reference files — follow these steps:
- Read
$HOME/.config/llm-wiki/config.json. If it hashub_path, expand leading~only (not tildes incom~apple~CloudDocs) and prefer that path; useresolved_pathonly as a fallback cache when the expandedhub_pathis unavailable andresolved_pathis initialized. If config has onlyresolved_path, use it. If the configured path can be statted but readingwikis.jsonor listingtopics/fails withOperation not permitted, stop and ask the user to grant Full Disk Access/iCloud Drive access to the launcher; do not fall back to~/wikiorresolved_path. Do not write machine-specificresolved_pathinto shared configs. - If no config → read
$HOME/wiki/_index.md. If it exists → HUB =$HOME/wiki. If nothing found, ask the user where to create the wiki. - Wiki location (first match):
--local→.wiki/in CWD;--wiki <name>→HUB/wikis.jsonlookup with portable path resolution (<HUB>,~, absolute, or HUB-relative); if the registry path is stale, fall back toHUB/topics/<name>; CWD has.wiki/→ use it; else → HUB. - Read
<wiki>/_index.mdif found. Variant: wiki-neutral — see deviation below for the step-4 fallback.
Archive rule: topic archive and project archive are different layers. Project
commands operate on active topic wikis by default. If --wiki <name> resolves
to a topic under topics/.archive/, stop and ask the user to restore the topic
or rerun with --include-archived; explicit archived operations must stay
inside that archived topic path. The project subcommand archive <slug> only
moves output/projects/<slug> inside the selected topic wiki.
Read the projects architecture at skills/wiki-manager/references/projects.md for the full rationale — particularly why WHY.md is the only required file (it holds the precious, non-derivable rationale) and why everything else is derived from filesystem state.
Idea awareness: if the user says "turn this Idea into a Project," "approve the
brief," or equivalent, route to the Idea promotion workflow in
skills/wiki-manager/references/ideas.md. Promotion freezes BRIEF.md and
cross-links the records. Keep project new available for direct Projects that
do not originate as Ideas.
Inventory awareness: projects group outputs around a goal; inventory tracks
durable items with status, priority, and next action. If the user asks for a
project backlog, source queue, watch list, or task list, suggest inventory
records or a saved inventory view linked from the project instead of putting
tracking state directly in WHY.md.
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 · 186 lines · 36 tokens per session scan C 397a12c18de1
project is a command published in the GitHub repository nvk/llm-wiki (1,175 stars, last pushed 5d ago), licensed MIT. It adds 36 tokens to every session and 2,508 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
feedback
Collect feedback and create GitHub issue (bug report, feature request).
todo
Backlog queue for Kanban Mode — add, list, or pick the next card.
story-implement
Implement a story through the Implement Phase. Stories must be fully designed with chunks before implementation.
planning
Feature roadmap and planning. Manage initiatives, concepts, open questions, and story creation from planning.
story-new
Create a new story. It lands in the backlog until assigned to a cycle.
cycle-complete
Complete a cycle. Triggers reflection if pending learnings, then archives.