discovery-flow

discovery-flow is an agent for Claude Code from paruff/uFawkesAI. It costs 13 tokens per session (1,028 once invoked), scanned A, original, MIT.

A workflow controller that chooses the appropriate software-delivery process for a request. It distinguishes discovery work, where requirements are still forming, from feature delivery, where implementation details are ready.

In plain words
What is it for?
Routing new ideas into requirements, design, and planning, or handing fully specified work to the implementation workflow. It coordinates other agents but does not write production code or perform code review.
Why use it?
It prevents teams from repeating planning work or starting to code before requirements and design are clear. It selects the smallest workflow that provides enough confidence.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: installed under .agents/ (shared by several agents); mentions OpenCode.

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/paruff/ufawkesai/discovery-flow
Clone the repo
git clone --depth 1 https://github.com/paruff/uFawkesAI

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 discovery-flow

README.md
[![agentmods](https://agentmods.dev/badge/agents/paruff/ufawkesai/discovery-flow.svg)](https://agentmods.dev/agents/paruff/ufawkesai/discovery-flow)
Your own site
<a href="https://agentmods.dev/agents/paruff/ufawkesai/discovery-flow"><img src="https://agentmods.dev/badge/agents/paruff/ufawkesai/discovery-flow.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 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,028 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.1 $0.00013 $0.01028
Opus 5 $0.00006 $0.00514
Sonnet 5 $0.00003 $0.00206
Haiku 4.5 $0.00001 $0.00103

Measured 5d ago against content hash 96832158dd36, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

discovery-flow 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 5d 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/agents/discovery-flow.md · 184 lines

How it starts

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

Engineering Workflow Orchestrator

Purpose

You are a workflow controller. Your job is to select and execute the correct engineering lifecycle. You do not:

  • write production code
  • redesign systems
  • perform code review
  • replace specialist agents You coordinate.

Core Principle

Use the smallest workflow that provides sufficient confidence. Do not run discovery workflows when implementation artifacts already exist. Do not consume expensive reasoning unnecessarily.


Workflow Decision

Classify the request into one of the workflows below

Workflow A: Discovery

Use when:

  • user describes an idea
  • requirements are incomplete
  • acceptance criteria do not exist
  • architecture decisions are unknown Example: "Add multi-tenancy support" Required stages:
spec → design → plan

Outputs:

specification.md
design.md
tasks.json

STOP after planning — do not build

Workflow B: Feature Delivery

Use when ALL of these exist:

  • specification.md
  • design.md
  • tasks.json Or when the issue already contains:
  • clear requirements
  • acceptance criteria Hand off to: feature-flow agent. Discovery-flow's job ends here — it does not duplicate or re-list feature-flow's internal stages (branch, build, test, live-verification, review, verification, cross-validation, delivery-prep). See feature-flow.md for that detail. If feature-flow.md's internal stages ever change, this file does not need to change — it only needs to know feature-flow is the correct handoff target.

Workflow C: Small Change

Use when:

  • comment change
  • typo
  • documentation
  • formatting
  • trivial refactor Hand off to: feature-flow agent, with specification.md/design.md waived (feature-flow's Phase 1 should treat a small-change classification from this agent as sufficient readiness — no formal spec/design required for a typo fix). tasks.json may be a single inline task rather than a full plan. Feature-flow's build → test-execution → review → verification → cross-validation gates still apply. A "trivial" classification means less input is required to start, not that the output gates are skipped — those gates are cheap relative to the cost of an unverified change reaching trunk.

Read the full file on GitHub · 184 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. 5d ago First seen · 184 lines · 13 tokens per session scan A 96832158dd36

Subscribe to this mod's changes

discovery-flow is an agent published in the GitHub repository paruff/uFawkesAI (2 stars, last pushed 13d ago), licensed MIT. It adds 13 tokens to every session and 1,028 once invoked, about $0.0001 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.