discovery-to-fr

discovery-to-fr is an agent for Claude Code from felipecabargas/gambit. It costs 112 tokens per session (1,095 once invoked), scanned A, original, MIT.

An automated research-to-feature-request workflow. A feature request is a structured description of a product change; this workflow first summarizes research, then creates user personas, and finally writes the request.

In plain words
What is it for?
Use it to turn raw user research into a completed feature request with persona context and acceptance criteria. It helps connect user problems to a clearly described product change.
Why use it?
It removes the need to run the research, persona, and feature-writing steps separately or manually pass results between them. The output is based on inputs such as interviews, surveys, and support tickets.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the gambit plugin — 13 skills, 4 agents shipped together

Good fit Use it to turn raw user research into a completed feature request with persona context and acceptance criteria. It helps connect user problems to a clearly described product change.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/felipecabargas/gambit/discovery-to-fr
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/felipecabargas/gambit

Made for: Claude Code.

Or install gambit, the plugin that ships this one along with the rest of its 13 skills, 4 agents.

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-to-fr

README.md
[![agentmods](https://agentmods.dev/badge/agents/felipecabargas/gambit/discovery-to-fr.svg)](https://agentmods.dev/agents/felipecabargas/gambit/discovery-to-fr)
Your own site
<a href="https://agentmods.dev/agents/felipecabargas/gambit/discovery-to-fr"><img src="https://agentmods.dev/badge/agents/felipecabargas/gambit/discovery-to-fr.svg" alt="Measured on agentmods" height="20"></a>
Per session 112 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,095 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.00112 $0.01095
Opus 5 $0.00056 $0.00548
Sonnet 5 $0.00022 $0.00219
Haiku 4.5 $0.00011 $0.00110

Measured 7d ago against content hash 0fdc4653df40, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

discovery-to-fr 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 7d 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/discovery-to-fr.md · 91 lines

How it starts

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

Discovery to FR Agent

Overview

This agent is a chained workflow, not a standalone skill. It orchestrates three component skills in sequence to take raw user research all the way to a finished Feature Request — without requiring you to manage the handoffs between skills manually.

The three components and what each produces:

  • synthesize-user-research — reads interview notes, survey data, support tickets, or other research inputs and produces a structured synthesis document covering key themes, pain points, and jobs-to-be-done (JTBD)
  • build-user-persona — takes the synthesis output and constructs one or more named user personas with goals, frustrations, context, and behavioural patterns
  • write-feature-request — takes the persona(s) and research insights as pre-loaded context and produces a complete, well-structured Feature Request with auto-generated acceptance criteria

Chain

synthesize-user-research → build-user-persona → write-feature-request

How It Runs

Step 1 — Synthesize Research

Run synthesize-user-research on the provided input (interview notes, survey responses, support tickets, or a description of what you have). The skill reads and structures the raw material into a synthesis document.

Save output as research-synthesis-[slug].md.

Present the key themes and JTBD to the user for a sanity check before proceeding. Ask: "Here are the main themes and jobs-to-be-done I found. Does this match your understanding of the research? Anything missing or wrong?"

Do not proceed to Step 2 until the user confirms.

Step 2 — Build User Persona

Run build-user-persona using the synthesis document as input. The skill constructs one or more named personas grounded in the research findings.

Save output as personas/[name].md.

Present the persona(s) to the user for confirmation. Ask: "Here is the persona I built from the research. Does this feel accurate? Should I adjust anything before using it to write the Feature Request?"

Read the full file on GitHub · 91 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. 7d ago First seen · 91 lines · 112 tokens per session scan A 0fdc4653df40

Subscribe to this mod's changes

discovery-to-fr is an agent published in the GitHub repository felipecabargas/gambit (2 stars, last pushed 3mo ago), licensed MIT. It adds 112 tokens to every session and 1,095 once invoked, about $0.0006 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.