obsidian-llm-wiki: Instructions file for Codex

AGENTS.md

obsidian-llm-wiki AGENTS.md is an instructions file for Codex, OpenCode from green-dalii/obsidian-llm-wiki. It costs 7,700 tokens per session, scanned A, original, Apache-2.0.

Project instructions for an Obsidian plugin that adds wiki features using large-language-model tools. They define six quality checks covering code, side effects, compatibility, performance, documentation, and more.

In plain words
What is it for?
Use them when developing, testing, reviewing, documenting, or releasing changes to the plugin.
Why use it?
They provide a release checklist for changing a mature plugin without introducing regressions or incomplete documentation.

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 green-dalii/obsidian-llm-wiki's own configuration. It tells Codex and OpenCode how to work on obsidian-llm-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 obsidian-llm-wiki configures β†’

Reuse

Borrowing it

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

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

Your own site Β· 80Γ—15
<a href="https://agentmods.dev/instructions/green-dalii/obsidian-llm-wiki/agents-md"><img src="https://agentmods.dev/badge/instructions/green-dalii/obsidian-llm-wiki/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7,700 This file is loaded in full into every session.
When invoked 7,700 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.07700 $0.07700
Opus 5.5 $0.03080 $0.03080
Sonnet 5.5 $0.01540 $0.01540
Haiku 4.5 $0.00770 $0.00770

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

Security

Grade A, and why

obsidian-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 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 Β· 393 lines

How it starts

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

LLM Wiki Plugin Project Development Standards

Last Updated: 2026-08-27

Current state pointer: see ROADMAP.md for active development phase + CHANGELOG.md for shipped history. This file (AGENTS.md) carries process standards only β€” and is the single canonical source. The historical mirror at CLAUDE.md is now a pointer stub to this file; all new content goes here. Latest shipped: v1.27.0 MINOR (2026-08-27, 3677 tests / 260 files).


πŸ›‘οΈ Six-Gate Quality Closure

Gate Constraint How
1. Code correct pnpm lint 0/0 + npx tsc --noEmit 0/0 + pnpm build clean + pnpm test all pass + pnpm css-lint 0 Five-Gate script (build BEFORE test β€” see Β§"Gate 1: Five-Gate automated")
2. No side effects Call-site audit + data flow + state mutation + error propagation Structured review
3. No breaking changes API/Schema/File format/Default behavior/Command IDs/Obsidian API Breaking-change matrix
4. No performance regression CPU/memory/IO/network/token β€” 5-dim written assessment simplify + code-review + Gate 4 table
5. Docs complete 10 READMEs + ROADMAP + AGENTS + CHANGELOG + memory pre-release-gate
6. Release clean Supersets 1-5 + TOC + i18n + Release Notes + Contributors + git hygiene pre-release-gate

Gate 1: Five-Gate automated

pnpm lint && npx tsc --noEmit && pnpm build && pnpm test && pnpm css-lint

All five must pass. ESLint checks style, TypeScript checks types, css-lint checks Obsidian review compliance β€” three complementary checks, single tool passing is insufficient. No @ts-ignore / eslint-disable to silence failures.

Order is non-negotiable: pnpm build MUST run before pnpm test. The test suite contains build-artifact verifications (e.g. src/__tests__/llm-sdk/openai-codex-loopback-flow.test.ts:39 reads main.js to assert the esbuild bundle shape), so a test-first run fails with ENOENT on a fresh clone. Local Gate 1 typically has main.js on disk from a prior pnpm build:dev, which is why this ordering bug was missed before PR #487's first CI run on 2026-08-18.

Read the full file on GitHub Β· 393 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. 2mo ago First seen Β· 393 lines Β· 7,700 tokens per session scan A 75374c1cc5f5

Subscribe to this mod's changes

obsidian-llm-wiki AGENTS.md is an instructions file published in the GitHub repository green-dalii/obsidian-llm-wiki (571 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 7,700 tokens to every session, about $0.0308 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-30.

Related

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

obsidian-llm-wiki AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
obsidian-llm-wiki AGENTS.mdgreen-dalii/obsidian-llm-wikiInstructions file5712mo agoApache-2.0A7,700Codex, 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