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 skills add po4yka/llm-wiki-skills --skill llm-wiki-local-first-stackgit clone --depth 1 https://github.com/po4yka/llm-wiki-skillsWrote 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/skills/po4yka/llm-wiki-skills/llm-wiki-local-first-stack)<a href="https://agentmods.dev/skills/po4yka/llm-wiki-skills/llm-wiki-local-first-stack"><img src="https://agentmods.dev/badge/skills/po4yka/llm-wiki-skills/llm-wiki-local-first-stack/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/skills/po4yka/llm-wiki-skills/llm-wiki-local-first-stack"><img src="https://agentmods.dev/badge/skills/po4yka/llm-wiki-skills/llm-wiki-local-first-stack.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.00081 | $0.00717 |
| Opus 5 | $0.00041 | $0.00358 |
| Sonnet 5 | $0.00016 | $0.00143 |
| Haiku 4.5 | $0.00008 | $0.00072 |
Grade A, and why
llm-wiki-local-first-stack 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 11d 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 — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LLM-Wiki Local-First Stack
Goal
Help the user choose and configure a durable local-first LLM-Wiki stack with the least necessary infrastructure.
When to use
- The user wants their LLM-Wiki to run offline or with minimal cloud dependency.
- The user asks whether they need a vector database, graph store, or SQLite/FTS index yet.
- The user is deciding between Markdown+git+rg and a heavier retrieval or product storage layer.
- The user wants a sync strategy for a vault shared across multiple devices without breaking index files.
- The user needs a model policy split between local-only and cloud-assisted tasks for privacy reasons.
Inputs
- Corpus size and growth rate.
- Privacy/offline requirements.
- Existing tools: Obsidian, git, qmd, SQLite, vector DB, local LLMs.
- Target machine constraints.
- Desired agent integration.
Procedure
1. Start with the minimum viable stack
Default:
Markdown + git + index.md + log.md + rg + Agent Skills
Do not add vector databases or graph stores unless symptoms justify them.
2. Choose retrieval tier
| Tier | Use when |
|---|---|
index.md + rg |
Early and medium vaults with good titles and wikilinks. |
| hybrid local search | Exact search misses conceptual matches. |
| graph-aware retrieval | Relationship and multi-hop questions dominate. |
| product storage | Concurrency, permissions or scale require it. |
3. Decide storage policy
Prefer:
- Markdown as source of truth;
- SQLite/FTS for local indexes;
- reconstructable vector indexes;
- content hashes for incremental rebuild;
- git for text and manifest files;
- per-device generated indexes.
Avoid syncing mutable DB/index files unless the user has a tested sync strategy.
4. Decide model policy
Classify tasks:
- local-only ingest for sensitive sources;
- cloud-assisted query for public material;
- cheap model for triage;
- stronger model for synthesis;
- local embeddings/reranking when privacy matters.
Hand off to llm-wiki-model-policy for detailed policy.
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.
- 11d ago First seen · 115 lines · 81 tokens per session scan A 66860196e21c
llm-wiki-local-first-stack is a skill published in the GitHub repository po4yka/llm-wiki-skills (3 stars, last pushed 18d ago), licensed MIT. It adds 81 tokens to every session and 717 once invoked, about $0.0004 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 skills, from other repositories
knowledge-base-interop
Two-layer knowledge architecture — curate in LLM Wiki, search in Astra KB. Covers input classification, source-to-wiki ingestion, wiki-to-KB export (batch + realtime), semantic chunking, SAG extraction, health checks, and multi-format export.
adapter-authoring
Build a custom source → raw-intake adapter for Athenaeum. Use when someone wants to feed an external source (an API, an export file, a message feed, a scraper, another tool's output) into an Athenaeum knowledge base, asks "how do I write an adapter / integration for athenaeum", or wants to turn some data source into…
brain
Health-check the second brain so failures are not silent: is the local search server alive, is the RAG index fresh, is the session-memory ledger filling, did the nightly distillation run. Read-only, with a green/red verdict per component. Triggers: "/brain", "/memory", "is the reindex alive".
obsidian
Compatibility slash-command alias for the Vault Operations phase of obsidian-memory-wiki. Install/load obsidian-memory-wiki as the canonical parent skill.
Archon Manager
Master Archon MCP for strategic project management, task tracking, and knowledge base operations. The strategic layer (WHAT/WHEN) that coordinates with Skills (HOW). Use when managing projects, tracking tasks, querying knowledge bases, or implementing the Archon+Skills two-layer architecture.
digest-auto
A skill for analysing the current state of an EpisodicRAG system, which retrieves information from records of past events or work sessions.