README

README is an agent for OpenCode from TyrusRC/praetor. It costs 0 tokens per session (405 once invoked), scanned A, original, Apache-2.0.

A README describing how Praetor agent roles are generated for opencode. An agent is a specialized assistant configuration; opencode is a tool that can run such subagents.

In plain words
What is it for?
Use it to install or update the opencode agent directory, register the Praetor MCP server, and invoke a named subagent.
Why use it?
It keeps role definitions in one canonical location and provides commands to regenerate them or check whether generated files are outdated.

Agent for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: reads .claude/ paths; mentions subagents; mentions OpenCode.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run python scripts/sync_agents.py --harness opencode # rewrite this dir.

Good fit Use it to install or update the opencode agent directory, register the Praetor MCP server, and invoke a named subagent.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/TyrusRC/praetor
agentmods
npx agentmods add agents/tyrusrc/praetor/readme

Made for: 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 README

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/tyrusrc/praetor/readme"><img src="https://agentmods.dev/badge/agents/tyrusrc/praetor/readme.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 405 The whole file, excluding the scripts and references it only reads on demand.
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.00000 $0.00405
Opus 5.5 $0.00000 $0.00162
Sonnet 5.5 $0.00000 $0.00081
Haiku 4.5 $0.00000 $0.00040

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

Security

Grade A, and why

README 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 26d 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.

.opencode/agent/README.md · 35 lines

What it actually says

Praetor agents on opencode

Praetor's agent roster is defined canonically in .claude/agents/*.md. opencode has native subagents that use the same markdown-plus-frontmatter shape under .opencode/agent/, so the roster ports directly.

Every <role>.md here is generated by scripts/sync_agents.py from the canonical manual. Each is a thin wrapper: the frontmatter sets mode: subagent and the one-line description; the body points the subagent at its operating manual in .claude/agents/<role>.md, the rules in .claude/rules/, and the Praetor MCP tools. The detail stays in one place — no second copy to drift. Do not hand-edit these files; edit .claude/agents/<role>.md and regenerate.

Regenerate

uv run python scripts/sync_agents.py --harness opencode   # rewrite this dir
uv run python scripts/sync_agents.py --check              # CI: fail if stale

Use them

Place this directory at the project root (.opencode/agent/) or copy to ~/.config/opencode/agent/ for all projects. Register the Praetor MCP server per README.md → Install into your agent. Then:

  • @recon-agent <task> — invoke one directly.
  • The primary agent also delegates to them via opencode's task/subagent routing.

opencode is frequently run single-model. Each wrapper states a host-agnostic tier (strategic / standard / fast); map it to your configured model. On a single-model host every role runs on that model and Rule 33's Opus escalation becomes a no-op — the tools and HARD rules are identical.

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. 26d ago First seen · 35 lines · 0 tokens per session scan A cc0a859cc595

Subscribe to this mod's changes

README is an agent published in the GitHub repository TyrusRC/praetor (11 stars, last pushed 14d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 405 tokens. 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-11-06.

Related

README compared with agents from other repositories

README next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
READMETyrusRC/praetorAgent1114d agoApache-2.0A0OpenCode
senior-pentestertransilienceai/communitytoolsAgent6414mo agoMITA62Claude Code
ciso-reviewertransilienceai/communitytoolsAgent6414mo agoMITA32Claude Code
citation-verifiertransilienceai/communitytoolsAgent6414mo agoMITA41Claude Code
cto-reviewertransilienceai/communitytoolsAgent6414mo agoMITA40Claude Code
qa-reviewertransilienceai/communitytoolsAgent6414mo agoMITA35Claude Code
agent-dynamic-testertransilienceai/communitytoolsAgent6414mo agoMITA73Claude Code