procoder AGENTS.md

A set of instructions for working in a repository governed by Procoder, a tool that checks code and project files against defined rules. It covers the work process, required checks, and project records.

In plain words
What is it for?
Running the Procoder check before completion, reviewing formatted output, checking for attribution text, recording deliberate compromises, and working with project specifications, plans, and tasks.
Why use it?
It makes the completion standard explicit and catches issues such as formatting problems, conflict markers, secrets, and unwanted attribution before work is finished.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/azrtydxb/procoder/agents-md
Clone the repo
git clone --depth 1 https://github.com/azrtydxb/procoder

Made for: Codex, OpenCode.

Per session 2,920 This file is loaded in full into every session.
When invoked 2,920 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.02920 $0.02920
Opus 5 $0.01460 $0.01460
Sonnet 5 $0.00584 $0.00584
Haiku 4.5 $0.00292 $0.00292

Measured 2d ago against content hash 98988a2a0b8f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

procoder 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 2d 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 procoder copilot-instructions.md — 1 line 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 · 199 lines

How it starts

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

Procoder

You are working in a repository governed by Procoder — a harness that gives AI coders the tools and discipline of a senior developer. The procoder binary computes; you act. It never modifies code behind your back, and a file it could not check is never reported as clean.

The contract

  • Before calling any work finished, run procoder check — the commit gate. Blocking findings (unformatted files, conflict markers, junk, secrets, attribution lines) must be fixed, not argued with.
  • procoder format <file> prints the formatted result; you review and write it. The binary never touches the file.
  • Never add AI-attribution lines (Co-Authored-By, "generated with") to commits or PRs — procoder scrub verifies. If the gate blocks one you did not write, the host appended it and will append it again next commit: turn it off at the source rather than amending forever (docs/portability.md, "The trailer your host adds").
  • Deliberate corner-cuts carry a debt: comment naming the ceiling and the revisit condition; procoder debt harvests the ledger.
  • Specs live in .procoder/specs/, plans in .procoder/plans/, tasks in .procoder/todo/ — each has a quality controller (spec check, plan check, todo close) that blocks until the work is actually complete. Do not game the checkboxes; the controllers ask for evidence.
  • Run procoder test before claiming anything works. NOT run is never green. Where [test] policy = "block", the closes refuse on a red or unverifiable suite.
  • A file an agent session could have written is never executed automatically. procoder reads plenty of it — .procoder/ask/, the handoff note, the backlog, the specs — and hooks run unattended on every write and every commit. Display it, and require a separate step a human invokes before anything from it runs. procoder run is the shape: it prints the declared launch commands, executes only under --exec, and refuses even then when more than one candidate exists rather than guessing which you meant.
  • A merge conflict is resolved hunk by hunk, by what each side was trying to do. git merge --abort and git rebase --abort are not resolutions — they erase the attempt. Being stuck is a thing to say, not a thing to undo. Read the resolved file rather than trusting its shape: git splits a conflict wherever the texts diverge, including through the middle of a function, so "keep both sides" can leave one side without its closing lines and still look plausible.
  • Before calling a piece of work finished, four passes in order, each a different question. Implement what was scoped, with nothing quietly deferred. Reread the diff as a reviewer who did not write it. Hunt defects deliberately — procoder review is that pass, and its adversarial and edge-case lenses are pointed at exactly it. Then the cheap polish: a name, a comment, a small robustness gap, and stop there. Thoroughness comes from asking four different questions, not from asking the same one harder.
  • Splitting work does not divide the care. The eleventh story in an epic gets the same four passes as the first, and a task decomposed three levels deep gets them at every leaf — not a share of them. "I am nine stories in, I know this codebase now, I can go faster" is the feeling that precedes the bug that took the longest to find. Depth is where attention leaks: the work looks familiar, the pieces left look small, and each one is still somebody's afternoon spent reading what you wrote.
  • A decision that is not yours to make — commit or hold, merge now or after, which of two approaches — goes in .procoder/ask/decisions.md, one ## heading per decision with its options beneath, and then you ask. procoder ask collects it with everything else. Asking without recording means the question dies at the next compaction; recording without asking means nobody answers it.

Read the full file on GitHub · 199 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. 2d ago First seen · 199 lines · 2,920 tokens per session scan A 98988a2a0b8f

Subscribe to this mod's changes

procoder AGENTS.md is an instructions file published in the GitHub repository azrtydxb/procoder (196 stars, last pushed 2d ago), licensed Apache-2.0. It adds 2,920 tokens to every session, about $0.0146 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to procoder copilot-instructions.md, differing in 1 line, and is treated as a copy.

Related

Other instructions, from other repositories

sdlc-quality AGENTS.md

Instructions for zircote-plugins/sdlc-quality, covering agents.md - openai codex guidelines, project identity, quick context, agent guidelines and 1. understand the domain model.

zircote-plugins/sdlc-quality · 1,405 tokens

sdlc-quality copilot-instructions.md

Instructions for zircote-plugins/sdlc-quality, covering copilot instructions for sdlc plugin, project overview, repository structure, key conventions and rfc 2119 terminology.

zircote-plugins/sdlc-quality · 1,255 tokens

high-quality-projects-skill AGENTS.md

AGENTS.md instructions for RandyNorthrup/high-quality-projects-skill, covering agents.md, the two workflows, resolving paths, what is in here and non-negotiables when using this package.

RandyNorthrup/high-quality-projects-skill · 1,209 tokens

code-discipline-skills AGENTS.md

Instructions for eliranpv11/code-discipline-skills, covering code discipline, priority order, 1. think before coding, 2. verify reality before acting and 3. simplicity first.

eliranpv11/code-discipline-skills · 1,801 tokens

high-quality-projects-skill copilot-instructions.md

Copilot instructions for RandyNorthrup/high-quality-projects-skill: This repository provides two vendor-neutral workflows for holding a codebase to production standards.

RandyNorthrup/high-quality-projects-skill · 205 tokens

arbiterx CLAUDE.md

Instructions for NeelPrime/arbiterx, covering arbiterx engineering rules, setup, rules (always enforced), never generate and quality gate.

NeelPrime/arbiterx · 237 tokens