rad-design

rad-design is a command for Claude Code from seanrreid/RAD_framework. It costs 67 tokens per session (2,555 once invoked), scanned A, original, MIT.

An architect-only command that turns research findings into a project's agent structure. Agents are specialized helpers, and the structure defines what each one may do.

In plain words
What is it for?
Use it after research to design the agent hierarchy and create the project's agent configuration and scope map.
Why use it?
It gives the project clear boundaries for delegated work and requires approval before generating agent files. Approved designs can be regenerated safely if needed.

Command for Claude Code

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 commands/seanrreid/rad_framework/rad-design
Clone the repo
git clone --depth 1 https://github.com/seanrreid/RAD_framework

Made for: Claude Code.

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 rad-design

README.md
[![agentmods](https://agentmods.dev/badge/commands/seanrreid/rad_framework/rad-design.svg)](https://agentmods.dev/commands/seanrreid/rad_framework/rad-design)
Your own site
<a href="https://agentmods.dev/commands/seanrreid/rad_framework/rad-design"><img src="https://agentmods.dev/badge/commands/seanrreid/rad_framework/rad-design.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,555 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.00067 $0.02555
Opus 5 $0.00034 $0.01277
Sonnet 5 $0.00013 $0.00511
Haiku 4.5 $0.00007 $0.00255

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

Security

Grade A, and why

rad-design 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 4d 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.

.claude/commands/architect/rad-design.md · 292 lines

How it starts

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

/rad-design

Consume a RAD research artifact and generate the agent architecture for the project. This is the A in Research/Architect/Deliver.

One invocation, inline approval. The command designs the agent hierarchy, shows it to you, and asks to approve / edit / cancel. On approval it flips the artifact to approved and proceeds straight to generation in the same run — the review gate is preserved (you always see the boundaries before any agent file is written), but the old "edit Status, then re-type the command" ceremony is gone.

Two entry paths share the same generation logic:

  • Design & Approve — no approved architecture yet: design → inline approve → generate
  • Generate — an already-approved artifact exists: re-running just (re)generates, idempotently. Manual Status: approved edits still work via this path.

Input

$ARGUMENTS is the project slug. Examples: habit-tracker-api, e-commerce-platform

If $ARGUMENTS is empty, list all files in .agents/research/ and ask which project to design.


Mode Detection

Check for .agents/architecture/[slug].md:

  • File exists, Status: approved → skip to Generate (idempotent re-run)
  • Otherwise (file missing, or Status: draft) → run Design & Approve

Design & Approve flows directly into Generate once you approve — it is one continuous run, not two commands.


Design & Approve

Step 1: Read the research artifact

Read .agents/research/[slug].md directly. This is a small structured file — no sub-agent needed.

If the file does not exist, stop:

No research artifact found for '[slug]'.
Run /rad-research first to produce one.

Step 2: Design the agent hierarchy

From the research artifact, design the full agent hierarchy. Produce:

Agent Hierarchy tree:

Parent Orchestrator
├── [Domain] Orchestrator       roles: [architect | developer | designer]
│   ├── [Context Tool]          reads: [scope], returns: [contract]
│   └── [Context Tool]          reads: [scope], returns: [contract]
├── [Domain] Orchestrator       roles: [...]
│   └── ...

Read the full file on GitHub · 292 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. 4d ago First seen · 292 lines · 67 tokens per session scan A 435586e1022f

Subscribe to this mod's changes

rad-design is a command published in the GitHub repository seanrreid/RAD_framework (5 stars, last pushed 8d ago), licensed MIT. It adds 67 tokens to every session and 2,555 once invoked, about $0.0003 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.