grimoire: Instructions file for Codex

AGENTS.md

grimoire AGENTS.md is an instructions file for Codex, OpenCode from Jartan-LLC/grimoire. It costs 229 tokens per session, scanned A, a copy of skills AGENTS.md, MIT.

Project instructions for Grimoire, a collection of development-workflow add-ons for Claude Code and Codex.

In plain words
What is it for?
Use them while contributing to or maintaining the Grimoire project.
Why use it?
They provide project-specific guidance when working in that repository.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/jartan-llc/grimoire/agents-md"><img src="https://agentmods.dev/badge/instructions/jartan-llc/grimoire/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 229 This file is loaded in full into every session.
When invoked 229 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 100% copy Near-identical to another mod 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.00229 $0.00229
Opus 5.5 $0.00092 $0.00092
Sonnet 5.5 $0.00046 $0.00046
Haiku 4.5 $0.00023 $0.00023

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

Security

Grade A, and why

grimoire 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 25d 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.

Origin

This is a copy

100% identical to skills AGENTS.md — 34 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

AGENTS.md · 33 lines

What it actually says

Grimoire

A Claude Code plugin marketplace. Each plugin lives in plugins/<name>/ with a .claude-plugin/plugin.json manifest and a mirrored entry in .claude-plugin/marketplace.json.

Rules

The project rules live in GUARDRAILS.md, ranked by how firmly each holds. Claude Code loads them through the import below; any other agent reads GUARDRAILS.md before starting work.

@GUARDRAILS.md

Corrections

Skills

Verify

Run make check before declaring work done -- it runs CI's lint, typecheck, test and verify checks:

make check

make help lists the individual targets. CLAUDE.md only imports this file, for Claude Code -- edit AGENTS.md.

If the change touches a skill, agent, command or hook under plugins/, pick its testing tier in tests/evals/README.md ("When a change needs evals") and follow that tier; the README says what the PR description reports.

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. 25d ago Changed · -3 lines · -36 tokens per session f7c55e1277cf
  2. 1mo ago Changed · +5 tokens per session 53441316ad29
  3. 1mo ago Changed · +3 lines · +34 tokens per session fecee0fb6bd1
  4. 1mo ago Changed · +32 lines · +222 tokens per session ca9b0078ea14
  5. 3mo ago First seen · 1 lines · 4 tokens per session scan A 6ebdb617a810

Subscribe to this mod's changes

grimoire AGENTS.md is an instructions file published in the GitHub repository Jartan-LLC/grimoire (4 stars, last pushed 5d ago), licensed MIT. It adds 229 tokens to every session, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to skills AGENTS.md, differing in 34 lines, and is treated as a copy.

Related

grimoire AGENTS.md compared with instructions from other repositories

grimoire AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
grimoire AGENTS.mdJartan-LLC/grimoireInstructions file45d agoMITA229Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,951Codex, OpenCode
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file291ktodayMITA4,396Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,303GitHub Copilot