subagent-prompts-index

An index of reusable subagent prompt templates, where a template is a prepared instruction set for a delegated agent. It lists templates for code reviews, security scans, product reviews, user-experience audits, and other work.

In plain words
What is it for?
Use it to find the right prompt template for reviews and analysis. It helps select tasks such as code review, security scanning, product alignment, accessibility and interaction review, or adversarial testing.
Why use it?
It helps the main agent choose an established kind of subagent task instead of writing every delegation prompt from scratch. The index also shows each template's expected effort and whether it supports one agent or several.

Agent

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 agents/willackerly/rebar/subagent-prompts-index
Clone the repo
git clone --depth 1 https://github.com/willackerly/rebar
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 728 The whole file, excluding the scripts and references it only reads on demand.
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.00000 $0.00728
Opus 5 $0.00000 $0.00364
Sonnet 5 $0.00000 $0.00146
Haiku 4.5 $0.00000 $0.00073

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

Security

Grade A, and why

subagent-prompts-index 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 3d 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/subagent-prompts-index.md · 56 lines

How it starts

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

Subagent Prompt Index

Catalog of available subagent templates. Each entry links to the full template in subagent-prompts/.


Scaffolding

Template Description LOE Mode
_example-template Annotated example — copy this to create new templates

Reviews

Template Description LOE Mode
ux-review Structured UX audit: accessibility, interaction, responsive, visual consistency, error states, interaction stability High single
security-surface-scan Security audit: input validation, auth, crypto usage, data exposure, dependencies, red team mode Max single or fan-out
code-review Multi-dimensional code review: correctness, performance, security, maintainability, style High single or fan-out
product-review Product alignment: BDD coverage, persona fit, user flow completeness, scope assessment High single
red-team Multi-persona adversarial review: 5 personas stress-test a component simultaneously Max single or fan-out

Analysis

Template Description LOE Mode
contract-audit Verify implementations conform to declared interfaces — methods, behavior, error contracts, test coverage Max single or fan-out
cleanroom-audit Spec-vs-implementation audit with zero context — finds bugs the author missed (proven 4-bug ROI) High single
rebar-compliance-audit Full REBAR compliance assessment (v3-aware) — structural, content accuracy, enforcement, session lifecycle High single or fan-out
doc-drift-detector Compare doc claims against code reality — stale status, broken refs, contradictions, missing docs Medium single or fan-out
feature-inventory Exhaustive behavioral inventory of a file/module — prerequisite before assigning worktree agents to large files Medium single

Read the full file on GitHub · 56 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. 3d ago First seen · 56 lines · 0 tokens per session scan A 54aab26aebd1

Subscribe to this mod's changes

subagent-prompts-index is an agent published in the GitHub repository willackerly/rebar (5 stars, last pushed 21d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 728 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-08-31.