llm-wiki-cli: Instructions file for Codex

AGENTS.md

llm-wiki-cli AGENTS.md is an instructions file for Codex, OpenCode from JanYork/llm-wiki-cli. It costs 289 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for an agent-driven memory command-line tool that stores and recalls knowledge across sessions. They explain how agents should discover project information and handle safety-sensitive changes.

In plain words
What is it for?
They are for guiding repository exploration, LWC Wiki updates, project-memory maintenance, and safe changes to the memory CLI.
Why use it?
They help agents work consistently in the repository while preserving project knowledge and requiring extra care for destructive or security-related actions.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is JanYork/llm-wiki-cli's own configuration. It tells Codex and OpenCode how to work on llm-wiki-cli itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything llm-wiki-cli configures →

Reuse

Borrowing it

Nothing to install: this file belongs to JanYork/llm-wiki-cli. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/JanYork/llm-wiki-cli/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/JanYork/llm-wiki-cli

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-cli AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/janyork/llm-wiki-cli/agents-md/github.svg)](https://agentmods.dev/instructions/janyork/llm-wiki-cli/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/janyork/llm-wiki-cli/agents-md"><img src="https://agentmods.dev/badge/instructions/janyork/llm-wiki-cli/agents-md/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.

agentmods 80×15 button for llm-wiki-cli AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/janyork/llm-wiki-cli/agents-md"><img src="https://agentmods.dev/badge/instructions/janyork/llm-wiki-cli/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 289 This file is loaded in full into every session.
When invoked 289 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00289 $0.00289
Opus 5.5 $0.00116 $0.00116
Sonnet 5.5 $0.00058 $0.00058
Haiku 4.5 $0.00029 $0.00029

Measured 2mo ago against content hash 1ddee21bf40f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

llm-wiki-cli 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 2mo 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 · 11 lines

What it actually says

Project agent brain

  • Read .agents/project-memory.md at the start of substantive repository work. It owns the concise project map, authoritative documentation map, LWC Wiki entry points, and maintenance triggers.
  • Use the project LWC Wiki for durable detailed knowledge. Start with lwc --scope project search "<task terms>" --limit 20, then open only relevant pages and current source/code evidence.
  • During relevant work and before completion, evaluate whether verified reusable knowledge should update the Wiki or .agents/project-memory.md. Make no memory change when nothing qualifies. Update this discovery map in the same task whenever brain structure changes.
  • Require a resolved safety notice and a separate human confirmation only for materially destructive or hard-to-recover actions, credential/secret handling, privilege or security-boundary changes, permanent deletion, history rewriting/force-push, and production publication that the user did not already explicitly authorize. Ordinary explicitly requested Git commits, fast-forward merges, and non-force pushes need no extra confirmation after scope checks.
  • Reconfirm only when the target, affected user data, destructive method, or risk class materially changes. Incidental details such as discovered file counts, generated commit hashes, or equivalent safe command syntax do not invalidate authorization. Never expose or persist literal secrets.
  • Archive before permanent deletion of brain knowledge.
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. 2mo ago First seen · 11 lines · 289 tokens per session scan A 1ddee21bf40f

Subscribe to this mod's changes

llm-wiki-cli AGENTS.md is an instructions file published in the GitHub repository JanYork/llm-wiki-cli (72 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 289 tokens to every session, about $0.0012 per session on Opus 5.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-09-03.

Related

llm-wiki-cli AGENTS.md compared with instructions from other repositories

llm-wiki-cli AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
llm-wiki-cli AGENTS.mdJanYork/llm-wiki-cliInstructions file721mo agoApache-2.0A289Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode