presio: Instructions file for Codex

AGENTS.md

presio AGENTS.md is an instructions file for Codex, OpenCode from benedict-armstrong/presio. It costs 536 tokens per session, scanned A, original, MIT.

Repository-specific instructions for coding agents working on Presio, a PDF presentation app with a local mode and optional online syncing. They describe its client, server, data formats, and agent-facing APIs.

In plain words
What is it for?
Use them when developing or debugging Presio, running its client or server, working with PDF handoffs and validity checks, or using its API and MCP tools.
Why use it?
They give an agent the project context and conventions needed to make changes without guessing how the app is structured or how its live APIs work.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/benedict-armstrong/presio/agents-md"><img src="https://agentmods.dev/badge/instructions/benedict-armstrong/presio/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 536 This file is loaded in full into every session.
When invoked 536 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.00536 $0.00536
Opus 5.5 $0.00214 $0.00214
Sonnet 5.5 $0.00107 $0.00107
Haiku 4.5 $0.00054 $0.00054

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

Security

Grade A, and why

presio 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 17d 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 · 50 lines

How it starts

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

AGENTS.md

Coding agents working in this repository.

Project

Presio — PDF presentation app (local-by-default + optional online sync).

  • client/ — Vite + React SPA
  • server/ — Express + Socket.IO + Supabase
  • schema/ — JSON schemas for sidecar formats

Agent-facing product APIs (runtime)

These are served live by the Express app (not static files):

Path Purpose
/llms.txt Agent index
/llms-full.txt Present + check playbook
/AGENTS.md Product agent brief
/api.md / /openapi.json API docs
/plugins.md Building a plugin: agent workflow, manifest, window.presio API
/plugins/template/, /plugins/check.mjs, /sdk/v1/presio.d.ts Plugin template, checker and API types (built by client/plugins/build.ts)
/robots.txt / /sitemap.xml Crawl discovery
/.well-known/mcp.json / /mcp MCP tools present_pdf, check_pdf, plugin_guide
POST /api/present Upload PDF → local handoff URL (update in place with session_id + controller token)
POST /api/check Sidecar validity report

Sources: server/agent/content/, server/routes/agentDocs.ts, server/routes/mcp.ts, server/lib/presentHandoff.ts.

Plugins: client/public/plugin-frame.html (frame + window.presio runtime), client/src/lib/plugins/ (host), client/plugins/ (built-in plugins in TS/React, bundled by client/plugins/build.ts), client/public/plugins/ (plugin template), relay in server/socket/plugins.ts.

Dev

cd server && npm run dev   # API (needs env / Supabase)
cd client && npm run dev   # SPA

PRESIO_MODE=local npm run dev runs the API against a bundled SQLite + filesystem backend instead (server/local/), needing no env at all — no Supabase, no auth. See deploy/README.md and local.docker-compose.yml.

Conventions

  • Prefer local presentations (IndexedDB); server upload only for sync/claim/handoff
  • Do not add tests unless asked
  • Keep changes focused; match existing style

Read the full file on GitHub · 50 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. 17d ago Changed · +1 lines · +50 tokens per session 56a0c21ebfb3
  2. 1mo ago Changed · +3 lines · +87 tokens per session 28026b03ece2
  3. 2mo ago First seen · 46 lines · 399 tokens per session scan A 86d76e84a595

Subscribe to this mod's changes

presio AGENTS.md is an instructions file published in the GitHub repository benedict-armstrong/presio (40 stars, last pushed 17d ago), licensed MIT. It adds 536 tokens to every session, about $0.0021 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

presio AGENTS.md compared with instructions from other repositories

presio AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
presio AGENTS.mdbenedict-armstrong/presioInstructions file4017d agoMITA536Codex, 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