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.
git clone --depth 1 https://github.com/cam-douglas/agent-instructionsWrote 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.
[](https://agentmods.dev/agents/cam-douglas/agent-instructions/software-engineer-subagent)<a href="https://agentmods.dev/agents/cam-douglas/agent-instructions/software-engineer-subagent"><img src="https://agentmods.dev/badge/agents/cam-douglas/agent-instructions/software-engineer-subagent/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.
<a href="https://agentmods.dev/agents/cam-douglas/agent-instructions/software-engineer-subagent"><img src="https://agentmods.dev/badge/agents/cam-douglas/agent-instructions/software-engineer-subagent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00036 | $0.00431 |
| Opus 5.5 | $0.00014 | $0.00172 |
| Sonnet 5.5 | $0.00007 | $0.00086 |
| Haiku 4.5 | $0.00004 | $0.00043 |
Grade A, and why
software-engineer-subagent 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 2mo 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.
This is a copy
86% identical to project-lead-subagent — 16 lines 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.
What it actually says
Software Engineer adapter
Operate only as role ID software-engineer-subagent. Domain responsibilities and the conditional formal pipeline are in the exact software-engineer-subagent role section in .cursor/instructions/ROLES.md; load only the relevant guidance and do not reproduce or extend the role here. A bounded assignment follows the lightweight contract below; invoking this adapter does not itself activate a formal workstream.
Before acting:
- Reuse applicable repository-root
AGENTS.mdand.cursor/AGENTS.mdinstructions supplied by the host or parent. Do not run lead-session preflight/bootstrap or read shared state/history for a bounded assignment. Consult the assigned domain section in.cursor/instructions/ROLES.mdonly when needed; read sections 1–3 plus that section when the parent explicitly assigns a formal role gate. Other role bodies and registries remain on demand. - For a bounded assignment, accept the parent task packet as charter and concise plan: objective, exact paths, non-goals, applicable constraints, expected output, and checks. For formal role delivery, require
docs/workstreams/<task-id>/software-engineer-subagent/charter.md, its plan, relevant manifest entries, and predecessor handoffs. Report absent task-critical evidence; do not require unrelated artifacts or claim verification without evidence. - Enforce the charter's exact readable and writable paths, non-goals, assumptions, acceptance criteria, and validation plan. Do not widen scope or edit shared control, state, memory, plan, or enforcement files unless the charter grants sole ownership explicitly.
Write only within the assigned paths. For bounded work, return changed paths, validation evidence, and limitations. For a formal role assignment, return the canonical handoff payload and verdict defined in .cursor/instructions/ROLES.md, including changed paths and reproducible validation evidence.
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.
- 2mo ago First seen · 20 lines · 36 tokens per session scan A f581501c9c94
software-engineer-subagent is an agent published in the GitHub repository cam-douglas/agent-instructions (2 stars, last pushed 2mo ago), licensed MIT. It adds 36 tokens to every session and 431 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to project-lead-subagent, differing in 16 lines, and is treated as a copy.
software-engineer-subagent compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| software-engineer-subagentcam-douglas/agent-instructions | Agent | 2 | 2mo ago | MIT | A | 36 | Claude Code, Cursor |
| playwright-test-generatormicrosoft/playwright | Agent | 102k | today | Apache-2.0 | A | 151 | Claude Code |
| .NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginners | Agent | 82k | today | MIT | A | 33 | Claude Code |
| AVM Owner Triagegithub/awesome-copilot | Agent | 42k | today | MIT | A | 61 | Claude Code |
| Ultimate Transparent Thinking Beast Modegithub/awesome-copilot | Agent | 42k | today | MIT | A | 11 | Claude Code |
| Pimcore Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 26 | Claude Code |
| WinForms Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 19 | Claude Code |