paul:research-phase

paul:research-phase is a command for Claude Code from ChristopherKahler/paul. It costs 15 tokens per session (1,319 once invoked), scanned A, original, MIT.

A command that identifies the technical questions needing investigation before planning a project phase, then researches them with multiple agents.

In plain words
What is it for?
Use it with a phase number to review the roadmap, project context, and existing notes, then investigate gaps involving the codebase, tools, design, or other phase concerns.
Why use it?
It helps reveal unknowns early, before work is planned around untested assumptions. It also checks that the requested phase exists in the project roadmap.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions subagents.

Good fit Use it with a phase number to review the roadmap, project context, and existing notes, then investigate gaps involving the codebase, tools, design, or other phase concerns.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/christopherkahler/paul/research-phase
About the project

PAUL is a structured development workflow for Claude Code that organizes AI-assisted work into planning, implementation, and state-reconciliation steps. It is for developers who want acceptance criteria, managed context, and completed plans while building software with Claude Code. Its catalogue entries are commands that implement the workflow.

ChristopherKahler/paul · 1,277 stars · on GitHub

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.

Clone the repo
git clone --depth 1 https://github.com/ChristopherKahler/paul

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 paul:research-phase

README.md
[![agentmods](https://agentmods.dev/badge/commands/christopherkahler/paul/research-phase/github.svg)](https://agentmods.dev/commands/christopherkahler/paul/research-phase)
Your own site
<a href="https://agentmods.dev/commands/christopherkahler/paul/research-phase"><img src="https://agentmods.dev/badge/commands/christopherkahler/paul/research-phase/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 paul:research-phase

Your own site · 80×15
<a href="https://agentmods.dev/commands/christopherkahler/paul/research-phase"><img src="https://agentmods.dev/badge/commands/christopherkahler/paul/research-phase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 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,319 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.00015 $0.01319
Opus 5.5 $0.00006 $0.00528
Sonnet 5.5 $0.00003 $0.00264
Haiku 4.5 $0.00002 $0.00132

Measured 3mo ago against content hash 01867101059e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

paul:research-phase 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 3mo 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.

src/commands/research-phase.md · 210 lines

How it starts

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

When to use: Before planning a phase when there are technical unknowns that need investigation.

Distinction from /paul:research:

  • /paul:research <topic>: User knows what to research
  • /paul:research-phase <N>: Claude identifies what needs researching

Subagent orchestration: Spawns multiple research agents in parallel for independent unknowns.

<execution_context> @/.claude/paul-framework/workflows/research.md @/.claude/paul-framework/references/subagent-criteria.md </execution_context>

@.paul/PROJECT.md @.paul/STATE.md @.paul/ROADMAP.md

If argument missing:

Error: Phase number required.

Usage: /paul:research-phase <phase-number>
Example: /paul:research-phase 10

Exit workflow.

  1. Validate phase exists in ROADMAP.md
  2. Extract phase scope, goals, and description

If phase not found:

Error: Phase {N} not found in roadmap.

Available phases:
[list incomplete phases from roadmap]

Exit workflow.

  1. Read ROADMAP.md phase description
  2. Read PROJECT.md for context
  3. Check for existing CONTEXT.md in phase directory

Identify unknowns in these categories:

Category Examples
Codebase "How does X work in this project?", patterns to follow
Web/Docs Library features, API patterns, best practices
Comparison "Should we use X or Y?", tradeoff analysis
Architecture Design patterns, integration approaches

Classification logic:

  • Codebase unknowns → Explore agent
  • Web/docs unknowns → general-purpose agent

Filter for substantial unknowns:

  • Only include items that need 15+ min research
  • Trivial lookups handled in main session
  • Max 3 parallel research agents (token efficiency)

Present findings:

════════════════════════════════════════
PHASE UNKNOWNS ANALYSIS
════════════════════════════════════════

Phase: {N} — {phase_name}

Identified unknowns:
1. {unknown_1} [{codebase|web}]
2. {unknown_2} [{codebase|web}]
3. {unknown_3} [{codebase|web}]

{If more than 3:}
Additional unknowns (will research after initial batch):
4. {unknown_4}
5. {unknown_5}

────────────────────────────────────────
Proceed with research? [yes/no/modify list]
────────────────────────────────────────

Wait for user confirmation.

Criterion Check
Task Independence Each unknown is self-contained ✓
Clear Scope Unknown defines research question ✓
Parallel Value Multiple agents run simultaneously ✓
Complexity Sweet Spot Each 15-30 min expected ✓
Token Efficiency Batch spawn, consolidated return ✓
State Compatibility No blocking checkpoints ✓

Spawn agents in parallel:

Use multiple Task tool calls in single message:

Task 1 (Codebase unknowns):
- subagent_type: Explore
- description: "Research: {unknown}"
- run_in_background: true (if multiple)
- prompt: [research prompt]

Task 2 (Web unknowns):
- subagent_type: general-purpose
- description: "Research: {unknown}"
- run_in_background: true (if multiple)
- prompt: [research prompt]

Display:

Spawning {N} research agents...

Agent 1: {unknown_1} (Explore)
Agent 2: {unknown_2} (general-purpose)
Agent 3: {unknown_3} (Explore)

Researching in parallel. This may take a few minutes...
  1. Create research directory for phase:

    mkdir -p .paul/phases/{NN}-{name}/research
    
  2. Save individual findings:

    • .paul/phases/{NN}-{name}/research/{unknown-slug}.md
  3. Create consolidated RESEARCH.md:

    • .paul/phases/{NN}-{name}/RESEARCH.md
    • Summarizes all findings
    • Links to individual research files

Read the full file on GitHub · 210 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. 3mo ago First seen · 210 lines · 15 tokens per session scan A 01867101059e

Subscribe to this mod's changes

paul:research-phase is a command published in the GitHub repository ChristopherKahler/paul (1,277 stars, last pushed 3mo ago), licensed MIT. It adds 15 tokens to every session and 1,319 once invoked, about $0.0001 per session on Opus 5.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-30.

Related

paul:research-phase compared with commands from other repositories

paul:research-phase next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
paul:research-phaseChristopherKahler/paulCommand1.3k3mo agoMITA15Claude Code
f5-gateFujigo-Software/f5-framework-claudeCommand249mo agoMITA6Claude Code
f5-implementFujigo-Software/f5-framework-claudeCommand249mo agoMITA8Claude Code
f5-classifyFujigo-Software/f5-framework-claudeCommand249mo agoMITA18Claude Code
f5-designFujigo-Software/f5-framework-claudeCommand249mo agoMITA11Claude Code
f5-importFujigo-Software/f5-framework-claudeCommand249mo agoMITA12Claude Code
f5-agentFujigo-Software/f5-framework-claudeCommand249mo agoMITA10Claude Code