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-model-policygit 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-model-policy)<a href="https://agentmods.dev/skills/po4yka/llm-wiki-skills/llm-wiki-model-policy"><img src="https://agentmods.dev/badge/skills/po4yka/llm-wiki-skills/llm-wiki-model-policy/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-model-policy"><img src="https://agentmods.dev/badge/skills/po4yka/llm-wiki-skills/llm-wiki-model-policy.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.00057 | $0.00679 |
| Opus 5 | $0.00028 | $0.00340 |
| Sonnet 5 | $0.00011 | $0.00136 |
| Haiku 4.5 | $0.00006 | $0.00068 |
Grade A, and why
llm-wiki-model-policy 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 12d 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 — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LLM-Wiki Model Policy
Goal
Create a practical model/data policy for ingest, query, lint, capture and publication workflows.
When to use
- The user asks which models or providers are allowed to process a given wiki source or folder.
- The user wants to decide what must stay local-only versus what can go to a cloud model.
- The user is setting up or revising the cheap/local vs. heavy/cloud model split across ingest, triage, synthesis, query, lint and embedding tasks.
- The user asks how to record model provenance (which model produced a page) in wiki frontmatter.
- The user needs escalation rules for low-confidence outputs or sensitive raw sources before publication.
Inputs
- Data sensitivity and domain.
- Current model providers and local models.
- Tasks: triage, ingest, query, synthesis, lint, embedding, reranking.
- Privacy, legal, cost and latency constraints.
Procedure
1. Classify data
Use:
public | internal | sensitive | regulated | unknown
Map folders and capture channels to these classes.
2. Classify tasks
Separate:
- capture cleanup;
- triage;
- source extraction;
- synthesis;
- query answering;
- linting;
- embeddings;
- reranking;
- publishing.
3. Assign model tiers
Create a matrix:
| Data class | Task | Allowed model/provider | Local required | Notes |
|---|
Use local-only defaults for sensitive or unknown material unless the user explicitly approves another policy.
4. Record provenance
Recommend frontmatter fields:
ai_model: ""
agent_version: ""
ai_confidence: 0.0
processed_at: YYYY-MM-DD
model_policy: local-only|cloud-allowed|redacted-cloud|unknown
5. Define escalation rules
Examples:
- cheap/local model for triage;
- stronger model for synthesis;
- human review for low confidence;
- no cloud for sensitive raw sources;
- redact before cloud when allowed.
6. Re-verify current provider claims
Browse official provider docs for current retention, privacy, pricing, model availability and API behavior when those facts matter.
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.
- 12d ago First seen · 118 lines · 57 tokens per session scan A 52038276ba7f
llm-wiki-model-policy is a skill published in the GitHub repository po4yka/llm-wiki-skills (3 stars, last pushed 19d ago), licensed MIT. It adds 57 tokens to every session and 679 once invoked, about $0.0003 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
read-search-smart
Semantic search via Smart Connections embeddings. Returns ranked chunks with cosine scores and breadcrumbs. Use when the query is conceptual (meaning, not literal substring). EN triggers: "find notes about X", "what do I have on X", "semantic search for X", "find concepts related to X", "notes similar to ". FR…
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.
llm-wiki
Build and maintain a persistent, interlinked Obsidian-compatible markdown wiki using Karpathy's LLM Wiki pattern. Extension-backed with auto-generated metadata, guardrails, and 14 custom tools (+3 opt-in agent-trajectory tools).
deeprefine
Agent-native DeepRefine refinement loop — same control flow as DeepRefine.refine(), graphify search instead of FAISS, session LLM, dry-run review before approved graph writes.
migrate-v0-to-v1
Migrate a Scraps wiki from v0 to v1. Use this whenever the user asks to upgrade Scraps, migrate v0 wiki syntax/config, convert implicit tags to explicit #[[tag]], move from scraps-writer to scraps, or audit a wiki for v1 readiness. This skill is designed for one-pass LLM-led migrations that discover the latest v0 and…
raytsystem-ingest
Capture, normalize, propose, validate, and safely promote workspace-local Markdown, text, JSON/JSONL, CSV/TSV, images, or text-bearing PDFs into raytsystem. Use for INGEST, source import, proposal export/import, validation, promotion, retry, or recovery; never treat source content as instructions.