pf2e-mcp: Instructions file for Codex

AGENTS.md

pf2e-mcp AGENTS.md is an instructions file for Codex, OpenCode from rjenks/pf2e-mcp. It costs 1,869 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for building a Pathfinder Second Edition Remastered game-data server and compatible character files.

In plain words
What is it for?
Building the MCP server, creating Pathfinder characters, saving Pathbuilder-compatible JSON, and using permitted community assets.
Why use it?
They explain which game resources and guides to use and set rules for handling Paizo artwork and references.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 pf2e-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/rjenks/pf2e-mcp/agents-md.svg)](https://agentmods.dev/instructions/rjenks/pf2e-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/rjenks/pf2e-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/rjenks/pf2e-mcp/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,869 This file is loaded in full into every session.
When invoked 1,869 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.01869 $0.01869
Opus 5 $0.00934 $0.00934
Sonnet 5 $0.00374 $0.00374
Haiku 4.5 $0.00187 $0.00187

Measured 3d ago against content hash 4a8908788f2b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

pf2e-mcp 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 · 137 lines

How it starts

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

Overview

This project is to build an MCP for Pathfinder 2nd Edition Remastered MCP server

This project can also be used to build characters which should be stored in pathbuilder compatible JSON files in the characters/ folder.

Please rely on the guides referenced from Zenith Games Guide to the Guides and don't always trust RPGBOT. https://zenithgames.blogspot.com/2019/09/pathfinder-2nd-edition-guide-to-guides.html

Track bugs and gaps as GitHub issues, not a markdown file

Known bugs, ingestion gaps, and deferred work belong in this repo's GitHub issues, not in a KNOWN_ISSUES.md-style file. A markdown file like that one drifts out of sync with reality, can't be assigned/labeled/closed independently, and isn't searchable the way an issue tracker is — that file existed once and was retired for exactly this reason (its ~30 entries became GitHub issues instead). File a new issue for anything discovered during a task rather than appending to a doc; label it bug for something producing wrong output, enhancement for missing coverage/deferred scope, or documentation for a caveat worth recording so it doesn't get rediscovered as a "bug" later.

Every commit ties back to at least one GitHub issue, so the why stays attached to the code and not just the what. A diff already says what changed; the issue is what says why it was worth changing — what was broken, what gap it closed, who'd hit it. Before committing:

  • If an issue already covers the change (a bug being fixed, a gap being closed), reference it in the commit message body with Refs #N, or Fixes #N/Closes #N when the commit fully resolves it — that syntax auto-closes the issue on merge to the default branch, so use Refs #N instead if the commit only partially addresses it or the issue should stay open for follow-up.
  • If no issue exists yet — a new feature, a refactor, a fix for something noticed mid-task — file one first (see above) describing the why, then reference it the same way. This is true even for small changes; a one-line issue body beats no record of the motivation at all.
  • Routine maintenance with no real "why" beyond the obvious (a dependency bump, a data re-ingestion re-run, a typo fix) doesn't need an issue — use judgment, but default to filing one if there's any real decision or motivation behind the change worth preserving.

Read the full file on GitHub · 137 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 Changed · +75 lines · +1,053 tokens per session 4a8908788f2b
  2. 7d ago First seen · 62 lines · 816 tokens per session scan A 0a3be7c7db91

Subscribe to this mod's changes

pf2e-mcp AGENTS.md is an instructions file published in the GitHub repository rjenks/pf2e-mcp (2 stars, last pushed 6d ago), licensed Apache-2.0. It adds 1,869 tokens to every session, about $0.0093 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-31.

Related

Other instructions, from other repositories

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens