Drop-in AI QA for any web project.
Walk user flows like a first-time user, judge them against opinionated rules with sources, measure the path to value, and gate them before a human tests.
Getting Started · What It Does · Rules · Flow Reference · Live Safety · Evidence Upload · Compare
npx skills add Fellowship-dev/flowchad --skill '*'Works with Claude Code, Cursor, GitHub Copilot, Windsurf, Gemini, OpenHands, and 40+ other agents.
| Skill | What happens |
|---|---|
/flowchad-setup |
Auto-discovers routes, tests, and analytics — scaffolds flow definitions |
/flow-walk sign-up |
Walks the flow step-by-step, captures screenshots + timing + video |
/flow-report sign-up |
Reports whether each flow reaches its goal, and ranks findings as launch blockers / should fix / later with the exact words people see |
/flow-suggest sign-up |
Prioritized improvements ranked by effort vs impact |
/flow-diff sign-up |
Compares runs to catch regressions |
/flow-diagram sign-up |
Mermaid flowchart from your YAML definition |
/flow-add <description> |
Creates a new flow from natural language, scanning your codebase for selectors |
/flow-update <name> <change> |
Updates an existing flow to reflect product changes |
/flow-pulse [init|run] |
Seconds-long after-deploy check of each flow's key step, matched on content |
/flow-gate sign-up |
PASS / FAIL / INCOMPLETE before a human tests: blocker rules, measures against the last walk, known rough edges; --changed lists the flows a diff touches |
/flow-reproduce <issue-ref> |
Reproduces a customer-reported bug in-browser and attaches evidence to the issue |
/flow-atlas [--after <change>] |
Visual map of an app or website by user flow: screenshots, entry points, transitions, branches and outcomes; optional findings and build comparisons |
agents/flowchad.md is a Claude Code subagent that applies the same defaults without a long brief. Install or update it with:
mkdir -p ~/.claude/agents # or .claude/agents in a project
curl -fsSL https://raw.githubusercontent.com/Fellowship-dev/flowchad/main/agents/flowchad.md \
-o ~/.claude/agents/flowchad.mdRe-run the same command to update; npx skills update does not manage agent files.
1. Install — add skills to any project:
npx skills add Fellowship-dev/flowchad
# install all skills to a specific agent without prompts:
npx skills add Fellowship-dev/flowchad --skill '*' --agent claude-code -yThis installs all FlowChad skills into your agent's directory (.claude/skills/, .cursor/skills/, etc.) with drift detection via skills-lock.json. Update anytime with npx skills update.
Alternative: scaffold data directory only
If you just need the project data directory (config + flows) without installing skills:
curl -fsSL https://raw.githubusercontent.com/Fellowship-dev/flowchad/main/install.sh | bashThen install skills separately: npx skills add Fellowship-dev/flowchad --skill '*'
2. Setup — let the AI auto-discover your project:
/flowchad-setup
This scans your codebase for routes, existing tests, analytics SDKs, and test credentials, then scaffolds flow definitions and config automatically.
Or configure manually — edit .flowchad/config.yml:
name: my-app
url: https://staging.example.com
type: saas # saas | website | mobile | internal
credentials:
email: $TEST_EMAIL
password: $TEST_PASSWORDThe type field tells the AI which evaluation criteria to apply during /flow-report:
| Type | Product category | Focus areas |
|---|---|---|
saas |
Web app with accounts | Onboarding, conversion funnels, billing, collaboration |
website |
Marketing / docs / blog | SEO, accessibility, Core Web Vitals, CTAs |
mobile |
iOS / Android app | Touch targets, offline behavior, gestures, state preservation |
internal |
Admin / ops tool | Efficiency (clicks-to-task), power-user patterns, error recovery |
3. Define a flow — create .flowchad/flows/new-user-signs-up-with-email-and-password.yml:
name: New user signs up with email and password and lands on the dashboard
goal: A new account exists and the dashboard shows the person's first useful result
value_moment: The dashboard shows the person's first useful result
covers: [app/signup/*, app/dashboard/*] # source files this flow depends on
url: /signup
tags: [onboarding, critical]
priority: P0
context:
user: new_account
auth: logged_out
steps:
- action: navigate
url: /signup
expect: >
Registration form is visible with email and password fields.
No error messages shown. Submit button is enabled.
timing: 2s
- action: fill
selector: "#email"
value: $TEST_EMAIL
- action: fill
selector: "#password"
value: $TEST_PASSWORD
- action: click
selector: "button[type=submit]"
effect: write # never performed on read-only-live surfaces
expect: >
Redirect to /dashboard because sign-up succeeded.
Welcome message confirms account was created.
timing: 3s
first_value: true # the value moment: measures to value are counted to hereOr skip manual YAML and let AI create it:
/flow-add User signs up with email and password and sees the dashboard
4. Walk it:
/flow-walk sign-up
5. Gate it, then get the report:
/flow-gate sign-up --target https://staging.example.com
/flow-report sign-up
FlowChad has a point of view: the best flow is the shortest honest path to the
first thing a person came for. Every walk is judged against a small set of
rules in flow-walk/rules/: 44 today,
in ten groups (path to value, the primary action and the fold, decisions,
noise, wording, navigation, waiting, errors, docs cold start, agent
experience). Each rule is one sentence a reviewer can pass or fail on one
screen, says how to check it during a walk, has a severity, and names its
basis: a public source with a link, opened and checked on a stated date
(Nielsen Norman Group, GOV.UK, WCAG 2.2, Diátaxis, MeasuringU, Brysbaert,
Laws of UX, the llms.txt proposal, Biilmann, clig.dev, the MCP specification),
or failures seen in at least two independent flows. Each field note has an
id (FN-0001); the observation behind it is recorded privately by the
maintainer and is not published. Today 41 rules rest on a cited source (12 of
them also on field notes) and 3 on field notes alone (PATH-04, PATH-06,
NAV-04), labelled as such.
### FOLD-01 · The first input is visible without scrolling
- **Rule:** The first input a step needs is fully visible without scrolling in a 375 × 812 px viewport and in a 1440 × 900 px viewport.
- **Check:** In each viewport, before scrolling, measure how far the bottom of the primary element sits below the viewport (`scroll_before_primary_vh`, which takes the first required input of the step and falls back to the primary action only when the step has no input). Fail if it is above 0 in either viewport, or the element is hidden.
- **Threshold:** `scroll_before_primary_vh = 0`
- **Severity:** blocker
- **Basis:** source — Nielsen Norman Group, "Scrolling and Attention" (2018), <https://www.nngroup.com/articles/scrolling-and-attention/> (checked 2026-11-15): "users spent about 57% of their page-viewing time above the fold".
- **Threshold source:** tool standard: zero scroll in these two viewports is FlowChad's own standard, not a number from the source; it is motivated by the attention shares above the fold reported in <https://www.nngroup.com/articles/scrolling-and-attention/> (checked 2026-11-15).Measures, not adjectives. Every walk records, per step and per flow: screens to the value moment, decisions asked, clicks and fields, words on screen and reading time, viewport heights scrolled before the primary action at 375 and 1440, non-task elements (badges, banners, widgets the step does not need), waits and whether they showed status, dead ends and loops, and time to value; docs walks add commands to a working install and questions a fresh agent could not answer (measures). Reports show each number against the previous walk. Thresholds exist only where a rule with a cited source sets one.
A gate before "test it". /flow-gate says PASS, PASS-WITH-OVERRIDES,
FAIL or INCOMPLETE. The gate checks that a walk record is complete, judged
against every blocker rule and fresh for the stated target; it cannot prove
the walk took place. It takes nothing on the walk's word: the value moment
counts as reached only from recorded steps up to the step marked
first_value; every blocker needs a judgement or a measure recorded on every
step ("not applicable" needs a reason); a walk timestamp in the future, or an
override signed by nobody or dated in the future or before the walk, is
refused; the target address comes from
--target or gate.target in the config, and without one the gate says
INCOMPLETE; a walk of another host fails, and so does one older than the last
deploy (--not-before, required when the config tracks deploys). Rough edges
(should-fix and later rules) never fail it; they are listed first in the
hand-off, and so is every override. --record writes a walk record to
.flowchad/walks/ for the project to commit, and --changed lists which
saved flows a branch touches since their last walk.
Walk records are redacted best-effort: URLs keep their host and lose user info, query strings and token-like path segments; secret shapes, emails, card-like, account-like and phone-like numbers are replaced. It cannot catch everything, so review a walk record before committing it.
A visual atlas of the product. /flow-atlas maps an app or website by user
flows. Start from a flow index, follow connected screenshots, see the roles,
meaningful states, choices, branches and outcomes, and use screen links to
attach feedback. It is useful for understanding, discussion and redesign even
when no bug is found. Local copies use named builds and provider stand-ins
under the live-safety rules; capture gaps stay explicit. --after optionally
compares changed flows. Findings are annotations; systematic testing stays in
/flow-walk and /flow-gate, and code health is a separate review.
Map first. A flow can be saved as a plain Mermaid flow chart with its
value moment (.flowchad/flows/<id>.map.md) before anything is built, and
/flow-walk <id> --map judges the chart against the flow-shape rules
(flow maps). Shorten it
from the value moment backwards, then build.
A generic checklist asks "is it usable?" and gets "mostly". These rules are few, narrow and countable; each names what to look at on one screen; the walk keeps the numbers, so the next walk shows whether the path got shorter; blockers decide whether a human should be asked to test at all; and the set changes only with evidence.
New rules come from walks: a report lists problems no rule covers under "Not
covered by a rule". One becomes a rule when it can be worded without the
product's nouns and either a public source supports it or the same problem
appears in a second, independent flow. The
admission test
lists the criteria; bash .flowchad/skills/flow-walk/scripts/lint_rules.sh
enforces the ones a script can check (format, unique ids, a basis with a
dated link or two field-note ids, no vendor or brand names in any text file of
the folder, both examples, a CHANGELOG line, numbers only with a cited
Threshold source, real check dates). Whether two flows were independent,
and whether a source says what the line claims, is the reviewer's check: the
lint cannot read the cited pages or the observations behind field notes, which
the maintainer records privately. To propose a rule from your own
observation, describe each flow where it happened in the pull request (kind of
product, step, what the person had to do or could not see, date); the
maintainer records it and assigns a field-note id. Rules are retired,
never deleted or reused, when better evidence contradicts them.
Disagree with a rule? For one flow, add a rule_overrides entry with
the reason; the gate lists it under known rough edges. Overriding a blocker
also needs who and when, and gives PASS-WITH-OVERRIDES (exit 3), never PASS;
the value-moment rule cannot be overridden. For everyone, open a
pull request that changes, replaces or retires the rule, with evidence: a
source, or walks of independent flows. Projects can keep their own rules in
.flowchad/rules/.
Every walk starts by declaring each host it touches (flow-walk/references/live-safety.md). Any host not declared, including the production APIs, payment providers and analytics a local build calls, is read-only-live.
| Mode | The walker may |
|---|---|
read-only-live (any host not declared) |
look and click links; anything except GET, HEAD and OPTIONS, and WebSockets, is blocked in the browser and reported |
write-allowed-test |
create test accounts and data, submit forms, receive captured mail |
local-copy |
anything, on a build of a named commit with test keys; the report lists how it differs from production |
The block is mechanical: flow-walk/scripts/guard.mjs is installed on every walk and classifies each request by host, and contexts always block service workers. tests/guard_test.mjs checks it with a real browser against servers that count what arrives (fetch, XHR, beacons, workers, form posts in pages, iframes and popups, WebSockets); see flow-walk Step 0c for exactly what is and is not verified.
Steps that write carry effect: write | send | pay and are never performed on live systems. Secrets are never printed, evidence stays local unless you opt in, and bot checks are handled with test keys on a local copy or a human-assisted step instead of stopping the walk.
Walks on production are read-only by the same rules: they record what real settings show (bot checks, sign-in providers) up to the first write step, and the gate reports INCOMPLETE until the rest is walked on a test surface or a local copy of the same commit.
Walks also apply the checks in flow-walk/references/walk-checks.md by default: rendered content over status codes, a timestamp on every observation with environmental findings re-checked before the report, every width captured at the same moment without reloading, truth cross-checks of what screens claim, a dead-end pass, and console and network errors per step.
Flow walks automatically record video. The recording is smart-trimmed — dead frames where nothing happens are cut out.
Trim algorithm:
- Build an action log — a timestamp is recorded before each step executes.
- For each logged action, compute a keep-window: 1 second before the action, 3 seconds after (for
fillsteps: typing duration + 3 seconds after). - Merge overlapping keep-windows.
- If the merged windows cover less than 80% of the original duration (i.e., trimming saves >20%), produce the trimmed cut via ffmpeg. Otherwise keep the full recording only.
Output:
{flow-name}-full.webm— raw Playwright recording{flow-name}-trimmed.mp4— action-only cut (created only if trim saves >20%){flow-name}.gif— palette-optimized GIF for issues/PRs (from trimmed cut if available, else full)
Disable with video: false in your flow YAML or config.
Evidence stays in .flowchad/snapshots/ by default. Opt in to uploading screenshots and GIFs to a public S3 bucket for embedding in GitHub issues and PRs (/flow-reproduce uploads because attaching evidence is its job). Private repos don't render repo-relative or raw.githubusercontent.com images for most viewers; bucket URLs render everywhere and never expire.
evidence:
backend: s3 # none (default) | s3Upgrading from 0.3: the default changed from s3 to none. If you relied on automatic uploads, set evidence.backend: s3 explicitly; walks then still check every file before uploading.
Provide the upload secret through the environment only: EVIDENCE_AWS_ACCESS_KEY_ID, EVIDENCE_AWS_SECRET_ACCESS_KEY, EVIDENCE_BUCKET, EVIDENCE_REGION, EVIDENCE_PUBLIC_BASE_URL. The evidence-upload skill ships scripts/upload_evidence.sh (curl ≥ 7.75, no other dependencies), which prints each public URL and a ready-to-paste Markdown line.
Anything uploaded is publicly readable by URL and the uploader cannot delete it — the walker looks at every file first and never uploads secrets, real account details, customer PII or production data; prefer staging or synthetic screenshots.
Flow names are descriptive sentences — like RSpec describe/it blocks. Self-explanatory without project context.
# Bad
name: sign-up
# Good
name: New user signs up with email and password and lands on the dashboardFilenames mirror the scenario as a slug: new-user-signs-up-with-email-and-password.yml. The filename is the flow's id: reports, diffs and pulse checks compare walks by it, so keep it stable.
Every flow has a one-sentence goal; the report's first table says whether each flow reaches it today.
Document preconditions for the scenario — machine-readable and self-documenting:
context:
user: new_account
auth: logged_out
plan: free| Action | Fields | Description |
|---|---|---|
navigate |
url |
Go to a URL |
fill |
selector, value |
Type into an input |
click |
selector |
Click an element |
select |
selector, value |
Choose from dropdown |
scroll |
selector or value |
Scroll to element or to a direction (top/bottom/down) |
wait |
selector or ms |
Wait for element or duration |
hover |
selector |
Hover over element |
- action: click
selector: "button.submit"
expect: >
Redirect to /dashboard because sign-up succeeded.
Welcome message confirms account was created.
timing: 3s # flag if slower than this
optional: true # don't fail the flow if this breaks
effect: write # write | send | pay — skipped on read-only-live surfaces
first_value: true # shows the flow's value_moment
primary: "#email" # the first input this screen needs (default: first fill step on it)
bot_check: true # test keys on a local copy, or a human-assisted stepTiming thresholds — steps that exceed timing are reported as Friction findings. General guidance:
| Duration | Perception | Guidance |
|---|---|---|
| < 300ms | Fast | Acceptable for most interactions |
| 300ms – 1s | Noticeable | Needs a loading indicator or skeleton screen |
| 1s – 3s | Slow | Requires a progress indicator; users may lose context |
| > 3s | Frustrating | Must show progress with time estimate |
| > 10s | Broken | Users assume failure; provide cancel and recovery |
name: Mobile user checks out cart with Apple Pay on a small viewport
url: /cart
tags: [payment, critical]
priority: P0 # P0 (critical) to P3 (nice-to-have)
context:
user: existing
auth: logged_in
cart_items: 1
browser: mobile
video: true # record video (default: true)
viewports: [1440, 375] # widths captured at every step, same session (default)
surface: write-allowed-test # override the environment's mode for this flowReports open with a surface table and a per-flow "does it reach its goal today" table, then rank findings as launch blockers / should fix / later. Each finding names the screen, the exact words the person sees, why it hurts, the smallest fix, and whether the owner (booking, payment, DNS, copy) or code must act. Counts (typed fields, clicks, time to first value), what improved since the last walk, and where test surfaces differ from production follow.
Severity is classified into three levels:
- Critical — user cannot complete their task (blocked, data loss, crash)
- Friction — user can complete but it's unnecessarily hard (slow, confusing, extra steps)
- Cosmetic — works fine but looks rough (typos, alignment, placeholder text)
When /flow-report files GitHub issues for Critical findings, it first checks whether production is actually affected:
- Resolves the production URL from (in order):
config.yml → environments.production.url, thenBRIEF.mdin the project root, thengh apirepo homepage field. - Curls the failed path on production.
- Assigns priority based on the result:
| Result | Priority | Label |
|---|---|---|
| Production also fails (non-2xx) | P0 (error) or P1 (fail) | [P0] or [P1] |
| Production returns 200, staging fails | P2 — regression risk only | [P2] … (staging only — prod healthy) |
| Production URL could not be resolved | P1 unverified | [P1] … (production status unverified) |
If the flow was already run against the production URL, no curl is needed — P0/P1 is assigned directly.
/flowchad-setup auto-detects which locales your project supports. The detection runs in this priority order:
- Next.js config — reads
i18n.localesfromnext.config.js/next.config.ts - Locale directories — looks for
locales/ormessages/directories in the project root - Strapi i18n plugin — checks for Strapi i18n configuration (locales are stored in DB; detection falls through to step 4)
- hreflang tags — fetches the production homepage URL (from
config.yml) and parseslink[rel=alternate][hreflang]tags to extract locale codes - Default — falls back to
[en](English only, no locale-prefixed paths)
The detected locales are written to locales: in .flowchad/config.yml. Re-run /flowchad-setup after i18n config changes.
When walking flows, locales: [en] means routes are walked as-is (no /en/ prefix). locales: [en, es] walks each route twice — once at the base path and once at the /es/-prefixed path — and reports results per locale.
After installation, your project has two FlowChad layers:
.agents/skills/ # Skill source files (installed by npx skills add)
.claude/skills/ # Symlinks to .agents/skills/ (Claude Code)
.flowchad/ # Project data — tracked in git (shared knowledge)
├── config.yml # Project config (URL, timing, credentials)
├── flows/ # Your flow definitions (YAML) and flow maps (*.map.md)
├── walks/ # Walk records from /flow-gate --record (committed, redacted)
├── atlas/ # /flow-atlas pages and screenshots (ignored by git)
└── rules/ # Optional project rules, same format as flow-walk/rules
The skills (tooling) live in .agents/skills/ and are managed by npx skills.
The project data (config + flows) lives in .flowchad/ and is committed to git.
- An AI coding agent — Claude Code, Cursor, GitHub Copilot, Windsurf, Gemini, OpenHands, or any of 40+ supported agents
- Chrome or Chromium (for Playwright CDP, or run headless)
Optional:
- Navvi (headed automation; one option for steps behind bot checks)
- ffmpeg (for video recording + trimming)
| Flowchad | Cypress/Playwright e2e | Manual QA | |
|---|---|---|---|
| Setup time | npx skills add |
Hours of config | N/A |
| Maintenance | Zero (YAML + AI) | Constant (brittle selectors) | N/A |
| Reports | Auto-generated friction reports | Pass/fail only | Spreadsheets |
| Video | Smart-trimmed action replays | Raw recordings | Screen recordings |
| Cost | Free | Free | $$$/hour |
| Intelligence | AI judges each step against rules with cited sources, and counts the path to value | Assertions only | Human judgment |
| Agent support | 40+ agents | Framework-specific | N/A |
The security risk scores come from automated scanners (Gen, Socket, Snyk) that analyze the skill instructions for shell commands, file system access, and network calls. FlowChad is a QA tool that by design needs to:
- Run
grepandfindto scan your codebase for routes and selectors - Launch a browser via Playwright to walk your flows
- Read and write files (screenshots, reports, flow definitions)
- Access
.envfiles for test credentials
A tool that automates browsers and scans codebases should have file and network access — that's the whole point. The scanners flag these patterns because they'd be suspicious in a CSS formatting skill, but they're expected for a QA tool.
This is a known bug — skills update only tracks globally installed skills (installed with -g). Project-scoped installs don't get written to the global lock file, so updates are never detected.
Workaround — remove by skill names, then re-add:
npx skills remove flow-walk flow-report flow-add flow-update flow-suggest flow-diff flow-diagram flow-reproduce flow-pulse flow-gate flow-atlas flowchad-setup evidence-upload -y
npx skills add Fellowship-dev/flowchad --skill '*'Or install globally so updates work:
npx skills add Fellowship-dev/flowchad --skill '*' -gMIT