pyramid-principle: Instructions file for Codex

AGENTS.md

pyramid-principle AGENTS.md is an instructions file for Codex, OpenCode from tyroneross/pyramid-principle. It costs 637 tokens per session, scanned A, original, Apache-2.0.

A set of writing skills based on Barbara Minto's Pyramid Principle, which organises ideas from the main conclusion down to supporting points.

In plain words
What is it for?
Use it for source checking, structured reasoning, short-form writing, long-form reports, and presentation storylines.
Why use it?
It helps make explanations and documents logically ordered while keeping claims tied to their sources.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 pyramid-principle AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/tyroneross/pyramid-principle/agents-md"><img src="https://agentmods.dev/badge/instructions/tyroneross/pyramid-principle/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 637 This file is loaded in full into every session.
When invoked 637 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.00637 $0.00637
Opus 5.5 $0.00255 $0.00255
Sonnet 5.5 $0.00127 $0.00127
Haiku 4.5 $0.00064 $0.00064

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

Security

Grade A, and why

pyramid-principle 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 · 33 lines

How it starts

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

AGENTS.md — pyramid-principle

What this plugin is

Barbara Minto's Pyramid Principle plus a separate source-integrity layer, packaged as six composable writing skills and an optional local HTML writing workspace. Each skill is independently addressable by its skill ID. The workspace uses a local Node server; it adds no agents or MCP server.

How Codex accesses this plugin

.codex-plugin/plugin.json maps the ./skills directory. Skills are auto-loaded on install. Invoke by skill ID (e.g., pyramid-audit).

Skills

Skill ID Purpose Load when
pyramid-source-integrity Fact checking, source validation, calculations, data scope, and claim handoff Load before and after structuring source-bound or data-bearing work
pyramid-principle-core Canonical rule library: SCQA, MECE, deduction/induction, vertical/horizontal logic Load for every structure or storyline task
pyramid-short-form Draft emails, memos, exec summaries, one-pagers, BLUF notes Short writing under ~500 words
pyramid-long-form Structure reports, briefs, research writeups, multi-section documents Multi-section or long-form writing
pyramid-presentation Deck storyline, slide headline hierarchy, data stories Presentation / slide structure
pyramid-audit Diagnose existing writing against pyramid rules; rule-by-rule findings + fixes Auditing or critiquing existing content

Composition

pyramid-principle-core owns the parent writing rules: answer-first structure, valid grouping, specific nouns, active verbs, evidence-led wording, key-term continuity, and logical sentence flow. Use it with one format skill for ordinary writing. Add pyramid-source-integrity when the task requires fact checking, material data, strict source control, or consequential factual output. Its light check gives every data point a specific source and locator, confidence level, and reason; confidence directly determines how the writer treats the point. Use optional strict trace mode for closed source sets, audit-ready or high-risk work, conflicting sources, or separate verification around a smaller model. Strict mode adds claim IDs and a source register, not a redundant permitted-use field. Use deterministic tools for material calculations. docs/source-anchors.md grounds the Minto framework; it does not verify user-supplied facts.

Read the full file on GitHub · 33 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 Changed · +4 lines · +128 tokens per session a0082eddfcb7
  2. 2mo ago First seen · 29 lines · 509 tokens per session scan A 01a103b45471

Subscribe to this mod's changes

pyramid-principle AGENTS.md is an instructions file published in the GitHub repository tyroneross/pyramid-principle (43 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 637 tokens to every session, about $0.0025 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

pyramid-principle AGENTS.md compared with instructions from other repositories

pyramid-principle AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pyramid-principle AGENTS.mdtyroneross/pyramid-principleInstructions file431mo agoApache-2.0A637Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,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