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 skills/sammcj/agentic-coding/llm-wikinpx skills add sammcj/agentic-coding --skill llm-wikigit clone --depth 1 https://github.com/sammcj/agentic-codingWrote 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/sammcj/agentic-coding/llm-wiki)<a href="https://agentmods.dev/skills/sammcj/agentic-coding/llm-wiki"><img src="https://agentmods.dev/badge/skills/sammcj/agentic-coding/llm-wiki.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.00082 | $0.05471 |
| Opus 5 | $0.00041 | $0.02736 |
| Sonnet 5 | $0.00016 | $0.01094 |
| Haiku 4.5 | $0.00008 | $0.00547 |
Grade A, and why
llm-wiki 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 3d 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 — 295 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LLM Wiki
A personal knowledge base in plain markdown. Sources land in raw/ (immutable); you compile them into wiki/ articles you own. Local markdown with YAML frontmatter, readable on GitHub, openable as an Obsidian vault. No servers, no databases, no embeddings.
Core idea (Karpathy): the LLM writes and maintains the wiki; the human chooses sources and asks questions. Knowledge is compiled once at ingest.
Invocation
Query is the default. Ingest, Lint, Audit and Critique are the four deliberate operations, each opted into by its verb or by a request that plainly calls for it. Anything else is a Query against the wiki: a bare question, "what do I know about X", "summarise everything on Y". No query keyword needed.
A leading mode argument routes straight to that operation:
ingest(aliasadd) - trailing text is the source: a URL, a path, or pasted content.lint- health checks; no further input.audit- trailing text names the article or topic to verify.critique(aliasscrutinise) - trailing text names the article, topic, or pasted content to examine.query(aliasask) - forces query handling when a question could look like another operation.
Otherwise route natural language to Ingest, Lint, Audit or Critique only when it clearly calls for one; answer everything else as a Query.
Always required, and scenario-gated
Every operation, always:
- Act only on the user's request; never background-write.
- Compile any write from a source already in
raw/, never straight from a live URL or an external path. - Update
wiki/index.mdand appendwiki/log.mdon any write. - Bump an article's
updatedwhenever its content changes. - Replace outdated knowledge by superseding it, never by deleting or editing in place.
Everything else is scenario-gated. Match your task against a branch below and read that file before acting - a pointer is an instruction to open the file, not a citation. When unsure, read it: cheaper than corrupting the wiki by guessing.
What ships with it
46 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- .gitignore 283 B
- CHANGELOG.md 5.0 KB
- CLAUDE.md 4.0 KB
- examples/CLAUDE.md 1.5 KB
- examples/local/prep/2026-06-04-attention-talk-prep.md 1.2 KB
- examples/raw/machine-learning/2017-06-12-attention-is-all-you-need.md 1.7 KB
- examples/raw/machine-learning/2022-05-27-flashattention.md 1.5 KB
- examples/README.md 2.9 KB
- examples/SKILL.md 3.3 KB
- examples/wiki/gaps.md 626 B
- examples/wiki/index.md 855 B
- examples/wiki/log.md 1.2 KB
- examples/wiki/machine-learning/attention-cost.md 1.5 KB
- examples/wiki/machine-learning/attention-efficiency.md 2.0 KB
- examples/wiki/machine-learning/transformer-architectures.md 1.9 KB
- examples/wiki/machine-learning/why-transformers-scale.md 2.5 KB
- examples/wiki/README.md 2.5 KB
- LICENSE 1.0 KB
- README.md 14 KB
- references/archive.md 1.6 KB
- references/audit.md 4.9 KB
- references/bulk-ingest.md 6.0 KB
- references/codebase-wiki.md 3.2 KB
- references/concept-map.md 8.3 KB
- references/critical-analysis.md 6.4 KB
- references/distilled-ingest.md 9.1 KB
- references/gaps.md 7.8 KB
- references/graphify.md 4.8 KB
- references/high-fidelity-ingest.md 4.2 KB
- references/ingest.md 5.2 KB
- references/init.md 3.4 KB
- references/lint.md 7.6 KB
- references/local-content.md 4.1 KB
- references/multiple-wikis.md 6.2 KB
- references/okf.md 1.6 KB
- references/rich-format-ingest.md 3.3 KB
- references/templates/archive-template.md 1.0 KB
- references/templates/article-template.md 1.8 KB
- references/templates/index-template.md 650 B
- references/templates/raw-template.md 2.6 KB
- references/templates/wiki-claude-md-template.md 1.7 KB
- references/templates/wiki-gitignore-template.md 1.0 KB
- references/templates/wiki-readme-template.md 2.7 KB
- references/templates/wiki-skill-template.md 3.6 KB
- scripts/lint_mermaid.py 8.8 KB runs code
- scripts/lint_wiki.py 9.6 KB runs code
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.
- 3d ago First seen · 295 lines · 82 tokens per session scan A 0810fd5fde4e
llm-wiki is a skill published in the GitHub repository sammcj/agentic-coding (159 stars, last pushed today), licensed Apache-2.0. It adds 82 tokens to every session and 5,471 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-30.
Other skills, from other repositories
huggingface-datasets
Explore, validate, filter, paginate, export, and prepare Hugging Face datasets through the Dataset Viewer API and Hub tooling.
huggingface-llm-trainer
Design and run reproducible LLM fine-tuning with TRL, PEFT, Hugging Face Jobs, validated datasets, experiment tracking, and durable Hub outputs.
huggingface-community-evals
Run reproducible local or remote model evaluations with inspect-ai or LightEval, bounded smoke tests, captured configurations, and comparable results.
ilya-sutskever
Agente que simula Ilya Sutskever — co-fundador da OpenAI, ex-Chief Scientist, fundador da SSI. Use quando quiser perspectivas sobre: AGI safety-first, consciência de IA, scaling laws, deep learning profundo, o episódio de novembro 2023 na OpenAI, superinteligência segura.
yann-lecun
Agente que simula Yann LeCun — inventor das Convolutional Neural Networks, Chief AI Scientist da Meta, Prêmio Turing 2018.
llm-structured-output
Get reliable JSON, enums, and typed objects from LLMs using responseformat, tooluse, and schema-constrained decoding across OpenAI, Anthropic, and Google APIs.