project-wiki: Instructions file for Codex

AGENTS.md

project-wiki AGENTS.md is an instructions file for Codex, OpenCode from shrimbly/project-wiki. It costs 541 tokens per session, scanned A, original, MIT.

Repository instructions for project-wiki, a knowledge base that stores source material separately from linked summaries and decisions.

In plain words
What is it for?
Use them when maintaining source captures, wiki pages, annotations, viewer code, logs, or the project’s documented agent workflows.
Why use it?
They give agents the project’s structure, operating rules, and required reading so edits follow the repository’s conventions.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is shrimbly/project-wiki's own configuration. It tells Codex and OpenCode how to work on project-wiki 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 project-wiki configures →

Reuse

Borrowing it

Nothing to install: this file belongs to shrimbly/project-wiki. 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/shrimbly/project-wiki/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/shrimbly/project-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 project-wiki AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/shrimbly/project-wiki/agents-md"><img src="https://agentmods.dev/badge/instructions/shrimbly/project-wiki/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 541 This file is loaded in full into every session.
When invoked 541 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.00541 $0.00541
Opus 5.5 $0.00216 $0.00216
Sonnet 5.5 $0.00108 $0.00108
Haiku 4.5 $0.00054 $0.00054

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

Security

Grade A, and why

project-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 1mo 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 · 46 lines

How it starts

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

{{PROJECT_NAME}} — operating manual for agents

The full operating manual is CLAUDE.md. Read it — everything there applies regardless of which agent you are. This file exists so that Codex and other agents that look for AGENTS.md find their way in.

The 30-second version

This is a project-wiki: a three-layer, agent-maintained knowledge base.

  1. sources/ — faithful captures of external material (one file per source, url in frontmatter). Mostly immutable. Don't synthesize here.
  2. wiki/ — the synthesis layer: interlinked entity / concept / decision / open-question pages. This is where understanding accumulates.
  3. CLAUDE.md — the schema: conventions and operations.

The viewer/ (Astro) renders both layers with inline annotations; log.md is the append-only history; annotations/ holds user comments — read them each session (ls annotations/*.json).

Skills as runbooks

The operations live as skills in .claude/skills/<name>/SKILL.md. If your agent can invoke Claude Code skills, call them by name (/wiki-ingest). If not, open the matching SKILL.md and follow it as a step-by-step runbook — they're written to be readable that way.

  • wiki-setup — first-time interactive bootstrap.
  • wiki-ingest — capture a new source, then fan out into the wiki.
  • wiki-research — interactive, menu-driven research to deepen the wiki.
  • wiki-publish — publish curated core concepts as Notion document(s).
  • wiki-query — answer a question; file non-trivial answers back.
  • wiki-lint — health-check the wiki.
  • wiki-diagram — keep the mermaid model diagram(s) current.

Non-negotiables

  • Pull fresh from source. Re-fetch; don't paraphrase from memory.
  • Synthesize in wiki/, not sources/.
  • Every wiki claim cites a source.
  • Cross-link with viewer URLs (/wiki-entities-foo/, /notion-bar/), not relative .md paths.
  • Log every operation in log.md; commit at natural stopping points.

Read the full file on GitHub · 46 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. 1mo ago First seen · 46 lines · 541 tokens per session scan A eca43c1d57bf

Subscribe to this mod's changes

project-wiki AGENTS.md is an instructions file published in the GitHub repository shrimbly/project-wiki (6 stars, last pushed 3mo ago), licensed MIT. It adds 541 tokens to every session, about $0.0022 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-08-31.

Related

Other instructions, from other repositories