pm-pilot: Instructions file for Codex

AGENTS.md

pm-pilot AGENTS.md is an instructions file for Codex, OpenCode from mshadmanrahman/pm-pilot. It costs 495 tokens per session, scanned A, original, MIT.

Project instructions for PM Pilot, a product-management toolkit for people who manage products and also write code. They define when to load skills, how to handle sessions, and which context files to read.

In plain words
What is it for?
They are for tasks such as meeting preparation, status updates, market sizing, product requirements, prioritization, test-driven development, research, and handoffs.
Why use it?
They provide a consistent process for using product, development, research, writing, and productivity workflows.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 pm-pilot AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/mshadmanrahman/pm-pilot/agents-md"><img src="https://agentmods.dev/badge/instructions/mshadmanrahman/pm-pilot/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 495 This file is loaded in full into every session.
When invoked 495 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.00495 $0.00495
Opus 5.5 $0.00198 $0.00198
Sonnet 5.5 $0.00099 $0.00099
Haiku 4.5 $0.00049 $0.00049

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

Security

Grade A, and why

pm-pilot 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 · 49 lines

How it starts

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

PM Pilot

Product management toolkit. Designed for PMs who code. Works in Claude Code, Cursor, and Codex.

Skill Loading

Load skills on demand by trigger, not at session start. Categories:

  • PM Core: meeting-prep, weekly-status, deep-context, market-sizing, ask-company, dogfood, lenny-podcast, prd, prioritize
  • Productivity: session-init, handoff-doc, strategic-compact, orchestrator, manifest-reader, meta-observer
  • Dev: tdd-workflow, verification-loop, search-first, security-review
  • Content: market-research, writing-style, writing-substack

Session Protocol

  1. Start: Memory is auto-loaded. Say what you're working on. If resuming: read latest handoff.
  2. During: Save corrections to memory. Use handoff-doc for mid-task context capture.
  3. End: Create handoff if work is in-progress. Save reusable learnings to memory.

Context Files

If these files exist, skills should read them before producing output:

  • context/company.md - Company info, goals, constraints
  • context/product.md - Product state, value prop, differentiators
  • context/competitors.md - Competitive landscape
  • context/personas.md - Target user profiles

After producing output, offer to update relevant context files with new knowledge.

Evidence Tagging

All output documents must tag uncertain claims:

  • [Assumption] - Inferred, not confirmed by user
  • [Needs data] - Requires validation with real metrics
  • [Source: X] - Derived from a specific source
  • [Open question] - Needs stakeholder input

Agent Dispatch

Need Agent
Plan a feature planner
Review code code-reviewer
Fix build errors build-error-resolver
Write tests first tdd-guide
Analyze large files file-analyzer

Principles

  • Simplicity first. No over-engineering.
  • Immutable data patterns. No mutation.
  • TDD for all new code. 80%+ coverage.
  • Research before coding. Check existing solutions first.
  • Memory compounds. Every session should leave the system smarter.
  • Context grows through use. Skills read and write back to context files.

Read the full file on GitHub · 49 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 First seen · 49 lines · 495 tokens per session scan A 4e0f1e191512

Subscribe to this mod's changes

pm-pilot AGENTS.md is an instructions file published in the GitHub repository mshadmanrahman/pm-pilot (22 stars, last pushed 26d ago), licensed MIT. It adds 495 tokens to every session, about $0.0020 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

Other instructions, from other repositories