# Flow Scoper

> Map every happy path, edge case, and failure state for user flows before prototyping.

Flow Scoper is a free AI agent skill on Agensi by Mayank Jain, in UX & UI Design. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Mayank Jain](https://www.agensi.io/creators/mayaank-jain)
- Category: [UX & UI Design](https://www.agensi.io/skills/ux-ui-design)
- Uses: 4
- Version: 1.0
- Last updated: 2026-10-13
- Security: scan passed (2026-10-13); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/flow-scoper
- Tags: ux, product-design, user-flows, edge-cases, error-states, product-management, qa, requirements

## About this skill

Designing a new feature usually starts with the happy path. Edge cases and errors get discovered later by frustrated users or QA. Flow Scoper brings that discovery forward: before a wireframe is drawn or a line of code is written, it maps the other valid routes and everything that can go wrong, specific to your product and your users.

### What it does
- **Context-driven scoping** asks eight short questions about your goal, steps, users, devices, regions, third-party services and business rules, so the result isn't generic.
- **Path mapping** produces the happy path, the alternate routes (a support agent doing it by hand, an API, a different device) with their design status, and the failure states at each step.
- **Edge case coverage** works through a 17-category checklist and keeps only the categories that apply to your flow, from invalid input and empty states to payment provider failures and regional data rules.
- **Flow diagram** shows the happy path, other valid routes and failure branches in three distinct styles, with what the person should see at each branch.

### How it works
1. Trigger it with a flow name, or type /flow-scoper to get the context form.
2. Answer what you know. Skip anything you don't, and the output flags which branches stayed generic because of it.
3. Review the written breakdown and the diagram, then resolve the open design questions it lists.

### Who it's for
PMs, founders, engineers and designers scoping a flow before design or build. It works for any product on web or mobile apps.

### Why not just prompt it yourself
A plain prompt tends to return "an error occurred" for every step. This skill ties each branch to the personas, devices, dependencies and rules you named, and writes them in plain language that a designer, an engineer and a stakeholder can all read.

### Output
A structured Markdown breakdown and a branching flow diagram (Mermaid when the agent can't draw inline).

### Not using an agent?
Use the free copy-prompt page and paste the result into any AI chat: https://mayankjain1717.github.io/flow-scoper/?ref=agensi

### Install through Agensi
New to Agensi? Setup guide for connecting your agent: https://www.agensi.io/docs/mcp-setup
- Claude Code and other agents that can add an MCP server: copy the prompt from the "How to use" box on this page and paste it into your agent.
- Claude.ai: add Agensi as a custom connector first (Settings → Connectors → Add custom connector, name `agensi`, URL `https://mcp.agensi.io/mcp`), then start a new chat and paste the prompt.

### Feedback
Tried it? Tell me what worked and what it missed with this 2-minute form (optional): https://docs.google.com/forms/d/e/1FAIpQLSeMYKyWo4VVqg0N4WXX8QX6J391Rq1nyJQirtw60x9gmpiwNQ/viewform

### License
CC BY-NC 4.0: free to use, share and adapt with credit to Mayank Jain, not for commercial use.

## Requires

- Node.js
- MCP-style

## Known limitations

Does not produce UI designs, wireframes or copy-ready screens. It maps the paths and what to show at each failure, and your team designs from that.

Output quality depends on your answers: if you skip the context questions (users, device, region, third-party services, business rules), the affected branches stay generic and the output says so.

It lists what could happen, it doesn't decide the right behavior. Judgment calls are flagged as open design questions for your team.

Tested with Claude. Other SKILL.md-compatible agents should work but are untested.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Flow Scoper skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What does it give me?

A numbered happy path, alternate paths (other valid ways to reach the same goal, each marked as supported, inconsistent or not designed), unhappy paths for every step, a branching flow diagram, and a short list of open design questions.

### How is this different from asking an AI to “list edge cases”?

A plain prompt gives you a generic list. This skill first asks eight short questions (goal, steps, users, device, region, third-party services, business rules, known pain points). It then checks each step against a 17-category list and ties every branch to your answers, so you get "the email service times out" and "seats are used up" instead of "an error happens".

### Do I need to be a designer?

No. It's written for PMs, founders, analysts and engineers as much as designers. The output uses plain language, with no UX jargon.

### Is it really free?

Yes. It's free to use, share and adapt with credit to Mayank Jain, and not for commercial use (CC BY-NC 4.0).

### How do I start?

Install the skill, then say "/flow-scoper" or describe a feature or flow. A short form appears for the context questions, and you can skip any of them. No install? Use the copy-prompt page: https://mayankjain1717.github.io/flow-scoper/?ref=agensi

### Which tools does it work with?

Tested with Claude.ai and Claude Code. It's a standard SKILL.md, so it should work in other compatible agents, but I haven't tested those.

### Does it make wireframes or mockups?

No. It gives you the map of paths and failure states to design from, not the screens.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
