extract-flow-scenario

extract-flow-scenario is a skill for Claude Code from nweii/agent-stuff. It costs 34 tokens per session (438 once invoked), scanned A, original, MIT.

A conversation-to-documentation guide that turns one real operational workflow or user scenario into a structured Markdown list. It records the actors, actions, state changes, branches, and problems that actually occurred.

In plain words
What is it for?
Use it to document a specific workflow, user journey, or scenario with a title, numbered steps, conditional branches, and clearly marked triggers, actors, and outcomes.
Why use it?
It preserves concrete details from a conversation instead of losing them in a vague summary or generic process description.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to document a specific workflow, user journey, or scenario with a title, numbered steps, conditional branches, and clearly marked triggers, actors, and outcomes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nweii/agent-stuff/extract-flow-scenario
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.

Any agent
npx skills add nweii/agent-stuff --skill extract-flow-scenario
Clone the repo
git clone --depth 1 https://github.com/nweii/agent-stuff

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 extract-flow-scenario

README.md
[![agentmods](https://agentmods.dev/badge/skills/nweii/agent-stuff/extract-flow-scenario/github.svg)](https://agentmods.dev/skills/nweii/agent-stuff/extract-flow-scenario)
Your own site
<a href="https://agentmods.dev/skills/nweii/agent-stuff/extract-flow-scenario"><img src="https://agentmods.dev/badge/skills/nweii/agent-stuff/extract-flow-scenario/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 extract-flow-scenario

Your own site · 80×15
<a href="https://agentmods.dev/skills/nweii/agent-stuff/extract-flow-scenario"><img src="https://agentmods.dev/badge/skills/nweii/agent-stuff/extract-flow-scenario.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 438 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.00034 $0.00438
Opus 5.5 $0.00014 $0.00175
Sonnet 5.5 $0.00007 $0.00088
Haiku 4.5 $0.00003 $0.00044

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

Security

Grade A, and why

extract-flow-scenario 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 2mo 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.

skills/extract-flow-scenario/SKILL.md · 20 lines

What it actually says

When asked to document a workflow or scenario, output a fenced markdown code block containing a numbered list. Rules:

  • Title: Begin with a concise descriptive heading capturing the subject, action, and key conditions (e.g., "[Entity/Subject] [Specific Action] ([Key Context/Condition])").
  • Specificity: Document the actual, specific scenario that occurred. Do NOT generalize or abstract into a generic workflow. This is a single building block. Include real names, identifiers, tool/platform names, and exact values where known.
  • Inline Structure: Make retrieval easier by using bold formatting or inline tags (e.g., Trigger:, Actor:, Outcome:, State Change:) to call out when the flow starts, who does what, and when a state handoff occurs.
  • Optional Metadata: If the user explicitly asks for a metadata block (or "properties"), include a brief block at the top of the flow detailing the Trigger, Actors, and Outcome. Ignore this block unless requested.
  • Structure: Use nested indents (4 spaces) for sub-steps, alternative paths, and conditional branches (e.g., "If X... / If Y..."). Keep step language terse and direct.
  • Epistemological Honesty: Document only what was described. If you notice a logical gap or missing technical step in the context, do not silently invent it. Instead, pause and ask the user for clarification in the conversation before generating the final markdown block. This saves tokens, makes the process more collaborative, and prevents the need to continuously regenerate complex outputs.
  • Pending States: Leave open-ended flows with a final pending step noting exactly what input or event is awaited before the flow can continue.
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. 2mo ago Changed · -38 tokens per session a9cabbb672cb
  2. 3mo ago First seen · 20 lines · 72 tokens per session scan A 7d00d7810d11

Subscribe to this mod's changes

extract-flow-scenario is a skill published in the GitHub repository nweii/agent-stuff (10 stars, last pushed 15d ago), licensed MIT. It adds 34 tokens to every session and 438 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-31.

Related

extract-flow-scenario compared with skills from other repositories

extract-flow-scenario next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
extract-flow-scenarionweii/agent-stuffSkill1015d agoMITA34Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill331k5d agoMITA21Claude Code