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/eduardoabreu81/livewiki/indexgit clone --depth 1 https://github.com/eduardoabreu81/livewikiWrote 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/eduardoabreu81/livewiki/index)<a href="https://agentmods.dev/commands/eduardoabreu81/livewiki/index"><img src="https://agentmods.dev/badge/commands/eduardoabreu81/livewiki/index.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.1 | $0.00000 | $0.00522 |
| Opus 5 | $0.00000 | $0.00261 |
| Sonnet 5 | $0.00000 | $0.00104 |
| Haiku 4.5 | $0.00000 | $0.00052 |
Grade A, and why
index 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 6d 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
packages/cli/src/commands
This directory holds every livewiki subcommand registered on the root Commander program in the @livewiki/cli package. Each file is a thin adapter that wires one CLI verb into the program and delegates the real work to sibling modules in @livewiki/core: init provisions a repo and drives the indexing and LLM pipeline, install configures host agents and the MCP entry, pointer maintains an opt-in pointer block in agent markdown files, and serve exposes the same MCP server over stdio. Operational verbs — index-cmd, update, batch, status, verify — coordinate the indexing and documentation-generation workflows, while export and view turn the curated wiki into deliverable artifacts or a browsable static site.
Files
- batch.ts — "livewiki batch command — run, resume, and inspect Phase 3 batches"
- export.ts — "Export command"
- index-cmd.ts — Indexing and ledger command
- init.ts — "
livewiki initcommand" - install.ts — livewiki install command
- pointer.ts — Pointer command (
livewiki pointer) - serve.ts — livewiki serve command
- status.ts — livewiki status command
- update.ts — livewiki update command
- verify.ts — livewiki verify command
- view.ts — View command
None of the 11 documented files in this folder has a test file named after it.
Navigate
- Flow: Turning a CLI command into an LLM call
- Topic: Testing
- packages/core/src/llm — used here
- packages/mcp/src — used here
- packages/core/src — used here
Coverage note: this folder's source (13 files, ~100k chars) is too large to read in full; this page documents its main entry points.
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.
- 6d ago First seen · 37 lines · 0 tokens per session scan A 800567b7caa6
index is a command published in the GitHub repository eduardoabreu81/livewiki (0 stars, last pushed 10d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 522 tokens. 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
docs-add
Fetch a web source and make its Markdown searchable in this session. Accepts a built-in alias (e.g. "react"), an HTTPS URL, or "name url" to register a custom alias.
web-add
Fetch a web source and make its Markdown searchable in this session. Accepts a built-in alias (e.g. "react"), an HTTPS URL, or "name url" to register a custom alias.
docs-search
Search fetched Markdown by regex and pull surrounding context for the best hits. Optionally restrict to one source alias.
web-search
Search fetched web-source Markdown by regex and pull surrounding context for the best hits. Optionally restrict to one source alias.
docs-refresh
Re-fetch a cached source, ignoring the 7-day cache. Use when upstream content has changed.
web-refresh
Re-fetch a cached web source, ignoring the 7-day cache. Use when upstream content has changed.