rad-research

rad-research is a command for Claude Code from seanrreid/RAD_framework. It costs 47 tokens per session (1,341 once invoked), scanned B, original, MIT.

A command that turns a product requirements document, issue, or inline specification into a research summary. The summary records requirements, affected areas, constraints, acceptance checks, and unanswered questions.

In plain words
What is it for?
Use it with a local specification file, a GitHub issue URL, or pasted requirements before designing the project's agent architecture.
Why use it?
It organizes scattered or lengthy specifications into bounded information that can guide software design. A product requirements document describes what a product should do; an issue records a requested change or problem.

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-research
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-research

README.md
[![agentmods](https://agentmods.dev/badge/commands/seanrreid/rad_framework/rad-research.svg)](https://agentmods.dev/commands/seanrreid/rad_framework/rad-research)
Your own site
<a href="https://agentmods.dev/commands/seanrreid/rad_framework/rad-research"><img src="https://agentmods.dev/badge/commands/seanrreid/rad_framework/rad-research.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,341 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00047 $0.01341
Opus 5 $0.00023 $0.00671
Sonnet 5 $0.00009 $0.00268
Haiku 4.5 $0.00005 $0.00134

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

Security

Grade B, and why

rad-research scanned grade B with 1 finding 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.

Asks the agent to reveal its instructionsmediumSystem prompt leakage

Directions to print, repeat or translate the system prompt extract configuration the operator did not intend to expose.

github | gitlab | bitbucket | forgejo | manual (I'll print instructions instead of running CLI)
.claude/commands/team/rad-research.md · 211 lines

How it starts

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

/rad-research

Consume a specification artifact and produce a RAD research artifact. This is the R in Research/Architect/Deliver.

Input

$ARGUMENTS should be one of:

  • A file path: docs/prd.md, SPEC.md, issues/42.md
  • A URL: https://github.com/org/repo/issues/42
  • Empty — you will be prompted to paste the spec inline

Process

Step 1: Load the spec

Determine the input type from $ARGUMENTS:

If $ARGUMENTS starts with http:// or https://:

Spawn a general-purpose sub-agent with model claude-haiku-4-5-20251001:

Fetch the following URL and extract the key facts needed to design a software
system. Return a bounded summary only — no raw content dump. Max 60 lines.

URL: [URL from $ARGUMENTS]

Extract and return exactly this structure:

SPEC_SUMMARY
title: [project or issue title]
what_is_being_built: [1–3 sentences]
key_requirements:
  - [requirement]
  - [requirement]
main_domains:
  - [domain area — e.g. UI, API, auth, payments, notifications]
constraints:
  - [any technical, compliance, or scope constraints mentioned]
acceptance_criteria:
  - [if present — otherwise omit this field]
open_questions:
  - [anything ambiguous or unresolved in the spec]
END_SPEC_SUMMARY

Wait for the sub-agent to return. Parse the SPEC_SUMMARY block. This is your complete spec input — do not fetch the URL yourself.

If $ARGUMENTS is a file path:

Read the file directly. Extract the same fields from the content. Do not spawn a sub-agent — a single Read is sufficient.

If $ARGUMENTS is empty:

Say:

"Paste your PRD, issue description, or spec below. When you're done, say 'done'."

Wait for the user's input. Extract the same fields from what they paste.


Step 2: Confirm the spec read

Present the extracted facts to the user for confirmation:

Here's what I extracted from the spec:

**What's being built:** [what_is_being_built]

**Main domains:** [list]

**Key requirements:**
[list]

**Constraints:** [list or "None found"]

**Open questions:** [list or "None"]

Does this capture the spec correctly? Add anything missing before we continue.

Read the full file on GitHub · 211 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 · 211 lines · 47 tokens per session scan B e10bf2325d2b

Subscribe to this mod's changes

rad-research is a command published in the GitHub repository seanrreid/RAD_framework (5 stars, last pushed 9d ago), licensed MIT. It adds 47 tokens to every session and 1,341 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (asks the agent to reveal its instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.