LLM-Wiki AGENTS.md

LLM-Wiki AGENTS.md is an instructions file for Codex, OpenCode from TrueHOOHA/LLM-Wiki. It costs 4,245 tokens per session, scanned A, original, Apache-2.0.

A project instruction file defining the format and maintenance rules for LLM-Wiki, a structured knowledge base made of linked documents. It describes the document types, required metadata, directory layout, and project mission.

In plain words
What is it for?
Use it when creating, editing, checking, or organizing documents in the wiki, including entities, concepts, sources, and summaries.
Why use it?
It tells agents how to add or update knowledge without breaking the wiki's format or losing links between related concepts.

Instructions file for CodexOpenCode

Install

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.

agentmods
npx agentmods add instructions/truehooha/llm-wiki/agents-md
Clone the repo
git clone --depth 1 https://github.com/TrueHOOHA/LLM-Wiki

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for LLM-Wiki AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/truehooha/llm-wiki/agents-md.svg)](https://agentmods.dev/instructions/truehooha/llm-wiki/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/truehooha/llm-wiki/agents-md"><img src="https://agentmods.dev/badge/instructions/truehooha/llm-wiki/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 4,245 This file is loaded in full into every session.
When invoked 4,245 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.04245 $0.04245
Opus 5 $0.02122 $0.02122
Sonnet 5 $0.00849 $0.00849
Haiku 4.5 $0.00424 $0.00424

Measured 3d ago against content hash 270c8dcd6c34, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

LLM-Wiki AGENTS.md 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.

AGENTS.md · 306 lines

How it starts

The opening of the file, as written. The whole thing — 306 lines — stays where its author put it; the contents beside it link to each section on GitHub.

LLM Wiki Schema

This is the authoritative schema document. The LLM must follow these conventions when maintaining the wiki. Treat this as the system prompt for wiki operations.

Mission

Build and maintain a persistent, compounding knowledge base. The wiki is not a dump of raw text—it is a structured, interlinked artifact that grows richer with every source. Cross-references are pre-built. Contradictions are flagged. Synthesis reflects everything read so far.

OKF Conformance

The wiki/ tree is an Open Knowledge Format (OKF) bundle (v0.1). wiki/ is the bundle root; every .md file under it that is not a reserved filename (index.md, log.md) is an OKF concept document. Files outside wiki/ (AGENTS.md, README.md, SPEC.md, raw/**) are project-level artifacts, not part of the bundle, and are not subject to OKF conformance.

OKF (SPEC.md §9) requires only that every concept document carry a parseable YAML frontmatter block with a non-empty type field, and that reserved files follow §6/§7. This document defines the producer conventions layered on top of OKF: the four type values used (entity, concept, source, synthesis), their recommended sections, the cross-link and citation style, and the index/log contracts. These are permitted OKF extensions (SPEC.md §4.1 Extensions, §4.2 body). Where this document is silent, OKF (SPEC.md) governs.

Obsidian-first deviation from OKF §5. OKF §5 recommends standard markdown links for cross-linking. This bundle instead uses Obsidian wikilinks ([[note]]) for all internal note-to-note links, to provide first-class Obsidian graph-view support. Link format is not an OKF §9 conformance requirement, and OKF's permissive consumption model (§9) tolerates this. External URLs remain standard markdown links ([text](https://…)) — wikilinks are for internal notes only.

Non-negotiables

  1. Raw sources are immutable. The LLM never edits files in raw/. Ever.
  2. The LLM owns the wiki layer. All markdown files under wiki/ are created, updated, and maintained by the LLM unless explicitly overridden by the operator.
  3. Every action is logged. Every ingest, query result filed, and lint pass appends an entry to wiki/log.md.
  4. The index is always current. wiki/index.md must reflect the state of the wiki after every operation that touches pages.
  5. Cross-references are first-class. Every page should link to related pages. Orphan pages are bugs.

Read the full file on GitHub · 306 lines

Changes

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.

  1. 3d ago First seen · 306 lines · 4,245 tokens per session scan A 270c8dcd6c34

Subscribe to this mod's changes

LLM-Wiki AGENTS.md is an instructions file published in the GitHub repository TrueHOOHA/LLM-Wiki (22 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 4,245 tokens to every session, about $0.0212 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.

Related

Other instructions, from other repositories

llm-wiki-agent AGENTS.md

AGENTS.md instructions for SamurAIGPT/llm-wiki-agent, covering llm wiki agent — schema & workflow instructions, how to use, directory layout, page format and ingest workflow.

SamurAIGPT/llm-wiki-agent · 2,349 tokens

llm-wiki-agent GEMINI.md

Gemini CLI instructions for SamurAIGPT/llm-wiki-agent, covering llm wiki agent — schema & workflow instructions, how to use, directory layout, page format and ingest workflow.

SamurAIGPT/llm-wiki-agent · 1,590 tokens

pptwise AGENTS.md

Instructions for liustack/pptwise, covering project overview for ai agents, goal, authoring model, architecture and engine rules.

liustack/pptwise · 897 tokens

llm-wiki AGENTS.md

Instructions for BogdanovychA/llm-wiki, covering інструкції для агентів: хранитель llm wiki, 1. структура каталогів, 2. загальні конвенції, 3. шаблони сторінок та стандарти форматування and назви файлів.

BogdanovychA/llm-wiki · 3,336 tokens

pulse8-ai-cortex-knowledge-vault AGENTS.md

Instructions for synpulse8-opensource/pulse8-ai-cortex-knowledge-vault, covering agents.md — pulse8.ai cortex, repository map, environment variables, essential commands and dependencies.

synpulse8-opensource/pulse8-ai-cortex-knowledge-vault · 974 tokens

tablepack AGENTS.md

Instructions for kujiangmudao/tablepack, covering two user paths, multimodal requirement, environment, hard requirements (never skip) and qc checklist (every pdf).

kujiangmudao/tablepack · 1,026 tokens