praetor AGENTS.md

praetor AGENTS.md is an instructions file for Codex, OpenCode from TyrusRC/praetor. It costs 3,495 tokens per session, scanned A, original, Apache-2.0.

Project instructions for Praetor, a security-testing setup that coordinates specialized agents across multiple targets. AGENTS.md is a file that tells coding agents how a project is organized and how to work in it.

In plain words
What is it for?
Use it when configuring or changing Praetor's agent teams, including the pentest and red-team commanders, the grow-agent, and the specialized testing roles.
Why use it?
It gives the main agent clear rules for assigning security work, updating agent definitions, and combining results without mixing responsibilities.

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/tyrusrc/praetor/agents-md
Clone the repo
git clone --depth 1 https://github.com/TyrusRC/praetor

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/tyrusrc/praetor/agents-md.svg)](https://agentmods.dev/instructions/tyrusrc/praetor/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/tyrusrc/praetor/agents-md"><img src="https://agentmods.dev/badge/instructions/tyrusrc/praetor/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,495 This file is loaded in full into every session.
When invoked 3,495 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.03495 $0.03495
Opus 5 $0.01747 $0.01747
Sonnet 5 $0.00699 $0.00699
Haiku 4.5 $0.00349 $0.00349

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

Security

Grade A, and why

praetor 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 5d 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 · 207 lines

How it starts

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

Agent Team Configuration

This project uses specialized agents for parallel pentesting. The orchestrator (main conversation) dispatches agents for independent work streams, merges results, and makes strategic decisions.

Definition Files

Each role below corresponds to a file in .claude/agents/<role>.md that the Agent tool auto-loads when dispatched by name. Update both this file (role overview) AND the agent file (operational detail) when changing a role.

The orchestrator role is split out: grow-agent is the session-lifecycle orchestrator, defined in .claude/agents/grow-agent.md. When invoked, grow-agent dispatches the 9 roles below.

Command Tier (above grow-agent)

Two engagement leads sit above grow-agent. They own strategy — research, a written plan, multi-domain dispatch, cross-target synthesis, delivery — and do NOT run the per-domain loop themselves. Both invoke the shared SOP .claude/skills/command-engagement.md; each agent file carries only its role deltas. On-demand only.

{pentest|redteam}-commander        engagement lead — research, plan, synthesize, report
  └─ grow-agent(domain)   × N      per-domain executor (bounded: 2–3 in flight)
       └─ 10 workers

pentest-commander

Purpose: Coverage-driven engagement lead. Full WSTG/OWASP coverage, every finding verified and reported. When to dispatch: Multi-endpoint / multi-domain pentest where breadth + a findings report is the deliverable. Dispatch: Agent(subagent_type="pentest-commander", prompt="domains=[...], objective=..., session_name=..."). Success: coverage matrix complete (or documented negatives), all findings confirmed + written up, report in reports/.

redteam-commander

Purpose: Objective-driven engagement lead. Shortest verified kill chain to a stated goal, under a stealth/noise budget. When to dispatch: Goal-oriented red team op (reach data/access/flag) rather than a coverage sweep. Dispatch: Agent(subagent_type="redteam-commander", prompt="objective=..., domains=[...], noise_budget=low|moderate|high"). Success: objective reached + kill chain documented, or furthest-progress chain + blocker.

Read the full file on GitHub · 207 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. 5d ago First seen · 207 lines · 3,495 tokens per session scan A d9ee657fd90f

Subscribe to this mod's changes

praetor AGENTS.md is an instructions file published in the GitHub repository TyrusRC/praetor (5 stars, last pushed today), licensed Apache-2.0. It adds 3,495 tokens to every session, about $0.0175 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.