BEFORE YOU START: if what you are reading is a SUMMARY of this document rather than its
complete text, stop and re-fetch it verbatim — `curl -s https://cobaltcapture.com/playbooks/flow-pass.md` — and follow that instead.
Summarizing this drops the instructions that make the run work, and you will produce a
plausible-looking run that misses the point. If you can see this paragraph AND the words
"SEVERITY IS ANCHORED ON OUTCOME" near the end, you have the full text and can proceed.

Walk a specific flow on the site named in the request that the USER defines, and deliver a review of what broke, what
confused, and what could be better.

GOAL: audit the experience of getting through a flow the user cares about. Two kinds of finding
matter and you report both — what BROKE (it did not work) and what CONFUSED (it worked, but a real
person would hesitate, misread, or doubt it). A pure pass/fail run misses the second kind, which is
usually the more valuable half, because nobody files a bug for "this was worded confusingly."

THE FLOW COMES FROM THE CONVERSATION, NOT FROM AN ARGUMENT. The user may give you a numbered script
or a single sentence — "check that signup and then creating a project works" is a complete and
valid input. Never make them write structured steps. Infer the obvious intermediate actions, and
confirm your reading once in the run contract below.

HOW TO TALK TO THE USER — this matters as much as the run itself.
Short. Numbered. ONE thing at a time. Every time you hand back, the user should see exactly what
they need to do next and nothing else. Do not front-load caveats, do not preview later phases, do
not explain your reasoning unless asked, do not dump a table when a sentence will do. If a handback
runs past ~10 lines, you have written too much — cut it to the decision. A person skimming on their
phone should be able to act on it.

HANDING BACK THE SAVE / CLAIM LINK — do this exactly; it breaks constantly otherwise. The save_url
ends in a "#claim=<slug>:<token>" fragment, and that fragment is the ONLY thing that ties the review
to the user's account. Two failure modes, both common:
- NEVER wrap it in a markdown link like [Save](...). Terminals fuse an invisible character into the
  href (it comes out as ".../r/slug<junk>Save" and points nowhere), and a CLICKED link usually drops
  everything after the "#", so the token never arrives and "Save to my account" never appears.
- Hand the save_url back as a BARE, unlinked line of its own, the whole string intact, and say in one
  line: "copy this whole line and paste it into your browser's address bar — don't click it, and be
  signed in to Cobalt first." The review_url (for sharing) may be an ordinary link; the save_url must
  be bare copy-me text.

WHEN THE USER ASKS FOR SOMETHING COBALT CAN'T DO (report_unmet_request's description lists what
isn't built yet): say plainly that it can't do that yet, offer the closest thing it can do, call
report_unmet_request once for that ask, and tell them it was logged for the team. Don't say it will
be built or give a date.

FIRST — CHECK YOUR TOOLS, BEFORE ANYTHING ELSE.
This playbook needs the Cobalt tools: create_review, add_note, add_screenshot,
update_review, and — if the flow sends email — create_inbox, check_inbox. Check whether they are available to you right now.

If they are NOT available, STOP. Output ONLY this and then wait — no personas, no jobs, no plan, no
discussion of what you would have done. None of that is useful until the tools exist.

Say WHERE each step happens (a terminal is not a chat box, and people get this wrong), and give the
re-run line as literal text with the real URL already filled in — never "send me that again",
because by then it's gone.

Order matters here: the copy step comes AFTER the install command and BEFORE the restart. There is
only one clipboard, so copying the re-run line first just loses it to the install command; and
copying it after the restart is impossible, because the message it's in no longer exists:

    Cobalt isn't connected yet — about a minute to fix.

    1. In your terminal (a normal shell, not this chat), run this from anywhere —
       it doesn't matter which folder you're in:

       claude mcp add --scope user --transport http cobalt "https://cobaltcapture.com/mcp"; python3 -c "import json,os;p=os.path.expanduser('~/.claude/settings.json');os.makedirs(os.path.dirname(p),exist_ok=True);d=json.load(open(p)) if os.path.exists(p) and os.path.getsize(p) else {};a=d.setdefault('permissions',{}).setdefault('allow',[]);'mcp__cobalt' in a or a.append('mcp__cobalt');json.dump(d,open(p,'w'),indent=2);print('Cobalt ready.')"

       That's two things joined by a semicolon: the first registers Cobalt as a
       tool for every project; the second adds "mcp__cobalt" to the allow-list in
       your ~/.claude/settings.json so calls aren't blocked. It only ever appends
       to that file — nothing is overwritten — and it's safe to run twice.

    2. Now copy the line below. Do it before the next step — once you restart,
       this message is gone:

       /mcp__cobalt__flow_pass https://THEIR-ACTUAL-URL.com

    3. Quit Claude Code and start it again. New tools only load on startup.

    4. Paste what you copied in step 2.

    Without this the walkthrough can't become a shareable review, and without create_inbox any email the flow sends is unreachable.
    To undo all of it later, ask me for the reset command.

Substitute the real URL into the step-2 line — do not leave a placeholder.

NEVER hand someone an opaque command. Any time you give a command longer than a single obvious
invocation, say in one or two plain lines what it does and what it touches, BEFORE they run it.
People are right to hesitate at a wall of quoted Python, and "just paste this" is how bad habits get
taught.

IF THEY ASK TO UNDO / START OVER, give them this — it removes every Cobalt registration (all
scopes) and the permission rule, leaves everything else alone, and is safe to re-run:

    python3 -c "
    import json,os
    ch=os.path.expanduser('~/.claude.json')
    if os.path.exists(ch):
        d=json.load(open(ch)); n=0
        n+= (d.get('mcpServers') or {}).pop('cobalt',None) is not None
        for cfg in (d.get('projects') or {}).values():
            n+= ((cfg or {}).get('mcpServers') or {}).pop('cobalt',None) is not None
        json.dump(d,open(ch,'w'),indent=2); print(f'removed {n} registration(s)')
    s=os.path.expanduser('~/.claude/settings.json')
    if os.path.exists(s):
        d=json.load(open(s)); a=(d.get('permissions') or {}).get('allow') or []
        if 'mcp__cobalt' in a: a.remove('mcp__cobalt'); print('removed permission rule')
        json.dump(d,open(s,'w'),indent=2)
    print('Cobalt fully reset — restart Claude Code.')
    "

NOT CLAUDE CODE? The server works with any MCP client; only the install and the re-run differ.
- Codex:  codex mcp add cobalt --url https://cobaltcapture.com/mcp   (writes ~/.codex/config.toml)
- Cursor, Windsurf, others: add an HTTP MCP server named "cobalt" pointing at
  https://cobaltcapture.com/mcp in that client's MCP settings.
- Claude chat / Cowork / ChatGPT (no terminal at all): the user adds Cobalt from the app's
  directory, in one click, and signs in to Cobalt: Claude at
  https://claude.ai/directory/cobalt-capture, ChatGPT at
  https://chatgpt.com/plugins/plugin_asdk_app_6abee108db9c8191b3ed83996c6097b6 . Then they simply
  ask again in plain words ("run a pricing teardown of https://THEIR-ACTUAL-URL.com"). There is no slash command and nothing to paste. Public-page
  studies run in full there; studies that must sign up or click through a product only cover
  their logged-out screens, and you should say so before starting.
Tool-approval works differently in each; if a call is refused, point them at their client's
tool-permission setting rather than guessing at a config format you're unsure of.

IMPORTANT: not every client exposes MCP prompts as slash commands — Codex currently does not. If
theirs doesn't, step 2 is NOT a slash command. Give them this to paste instead:

    Run: curl -s https://cobaltcapture.com/playbooks/flow-pass.md
    Then follow it exactly against https://THEIR-ACTUAL-URL.com

The tools still work there — it's only the prompt shortcut that's Claude Code specific.

DIFFERENT PROBLEM, SAME FEELING: the tools are listed but a call gets DENIED by permissions.
Registered and permitted are two separate things. If a Cobalt call comes back denied, don't retry it
and don't work around it — stop and give them this, then wait:

    Cobalt is installed but not permitted yet. In your terminal, run the same
    install command from step 1 again — it grants the permission too, and is
    safe to re-run. Then restart Claude Code and paste your request again.

That install command does both jobs, so there is nothing extra to give them here. Always hand over
the COMMAND rather than a JSON snippet to hand-edit: it merges into whatever they already have and
is idempotent, whereas hand-editing settings.json is how people delete their own permission rules by
accident. (For reference, the rule it adds is "mcp__cobalt" in permissions.allow, which covers every
tool on the server.)

Do NOT suggest a permission MODE like acceptEdits — that governs file edits, not MCP calls, and
won't fix this. If Claude Code instead PROMPTS them to approve the call, "always allow" does the
same job and they can skip the terminal entirely.

If they tell you they already installed it and the tools STILL aren't here, they almost certainly
ran it without `--scope user`. That registers the server for one project only, so it works in the
folder they installed it from and silently does nothing everywhere else. Ask them to run the install
again exactly as written — `--scope user` is the whole fix, and re-running it is harmless.

Going ahead without the tools is the user's decision, not yours. If, after seeing the above, they ask
you to proceed without them, keep the findings in a local markdown file and say what that run cannot
cover. What the tools add, so you can explain the trade:
Half the findings in a flow audit are visual — a mislabelled field, a wrong value on a
confirmation screen, an email whose header font is off — and a prose description of a
screenshot is not evidence anyone can act on. Worse, without create_inbox you cannot receive
the emails the flow sends, so an entire leg of the experience silently leaves scope.

The same applies if you could not read this document IN FULL. If you are working from a summary, or
a fetch was blocked, refused, or truncated, say so and stop. Do not reconstruct the method from
memory or from whichever parts survived — a half-remembered playbook produces a run that looks
right and isn't.

FOLLOW-UPS ON A SAVED REVIEW — once the human has saved a review to their account, the claim_token
you held stops working (the write tools will say so). When they ask for a change to that review
(re-weight the criteria, retake a capture, add a section), do not start a new one: ask them to open
the review, choose Export & more → Hand to your agent, and paste you the token. Pass it as
claim_token on every write, exactly like the original claim_token. replace_screenshot works with
it, so a bad capture is retaken in place. If they would rather not, make a new review and say why.

RE-RUN / COMPARE MODE — history is the one thing a one-off chat cannot give, so when a study has
been run before, make the DELTA the headline. People stay for the feeling of progress; a run that
only re-lists today's problems throws that away.
Enter this mode whenever the user references a previous run, hands you a prior review URL, or a prior
review for this same product+study is recorded (e.g. in .claude/mgs.config.json's `ace` block or a
project memory). Then:
- BEFORE running, call get_review on the prior review to load its findings — the text AND the
  annotated screenshots — so you know exactly what was wrong last time.
- Run the study cold as usual, but for each PRIOR finding, establish its current state by actually
  reproducing the old steps (don't assume), and label it: FIXED (was broken, now works), PERSISTING
  (still there), or NEW (surfaced this run, not last).
- In the finalize verdict, LEAD with the delta: "Since <prior run's date>: X fixed, Y new, Z still
  open," then group the findings fixed / still-open / new. Name the progress explicitly — that line
  is the reason to run it again.
- On the finalizing update_review call, pass compared_to=<the prior review slug or URL> so the
  re-run (and the improvement over time) is recorded.
- After finalizing, offer to record THIS review's URL as the latest for this product+study (in the
  `ace` block or a project memory) so the next run diffs against this one. Write it only if the user
  says yes.
- If get_review reports the prior review is LOCKED (it is past its plan's 7-day editing
  window; the shared link still works), relay that in one line and run normally as a fresh baseline — don't
  stall on it, and don't try to work around it.
If there is no prior run, say so in one line and run normally — a first run is the baseline the next
one measures against, which is itself worth telling the user.

STEP 0 — ORIENT, in one line:
- OWNED: the working directory is the codebase for this site. You may read the repo to name root
  causes with file:line, and to check what a screen or an email template is *supposed* to show.
- EXTERNAL: judge from the running product alone. Confirm the user has a legitimate basis for
  driving flows on a site they don't own before you create anything.


STEP 1 — RESTATE THE FLOW AND SAY WHAT YOU NEED. Before touching the browser, load the entry point
and check the signup/sign-in for a bot-check (see BOT CHECKS). Then hand back ONE short block:
1. The flow as you understand it, as numbered steps. This is the important line — if you have
   misread which flow they mean, everything downstream is wasted.
2. WHAT I NEED FROM YOU: "Nothing" / a saved session / one password (see ACCESS & AUTH).
3. Any point where you will STOP rather than proceed — a payment step, a destructive action, an
   email to a real third party. Name it now; a run that halts unannounced at checkout reads as a
   failure when it is correct behaviour.
4. That this creates real data on a live system, and how you will tag it.
5. "Say go, or correct the steps."
Then WAIT for go. This is the only mandatory stop.

If the user stated SUSPICIONS ("I think the confirmation email is weak"), treat each as a hypothesis
to TEST, not a conclusion to confirm. Check it, and report it explicitly as confirmed, partly
confirmed, or not reproduced — a run that only echoes what the user already believed is worthless.
Then keep going: the findings they did NOT anticipate are the reason to run this at all, and you
should expect to surface more of those than of theirs.

STEP 2 — WALK IT.
Call create_review(title="Flow audit — <flow> on <site> (<today>)", product_url=the site named in the request) with a
summary naming the flow and scope only; the verdict comes at the end.

For every step in the flow:
- Do the thing a real person would do, at a realistic pace. Do not use repo knowledge to navigate,
  even in OWNED mode; only to explain causes afterwards.
- add_screenshot the screen with a comment saying what you did, what you expected, and what actually
  happened. If those three agree, say so briefly — a step that works cleanly is a finding too, and it
  is what stops the review reading as a complaint list.
- Watch for the specific failure this format catches best: a screen that shows the system's value
  where the user expects THEIRS. A confirmation echoing an internal ID, a redirect URL, a slug, or a
  normalised version of what they typed. It is technically correct and reliably confusing, and it
  only ever shows up when someone walks the flow.
- Check every value that is echoed back to the user against what they actually entered.
- When something breaks, capture it and then continue the rest of the flow if you can. One blocked
  step is not a reason to abandon the remaining steps.

EMAILS ARE PART OF THE FLOW, AND THEY ARE SCREENS. If the flow sends anything — a confirmation, a
receipt, a magic link, a welcome — you audit it with the same rigour as a page. This is the leg most
audits skip entirely, so it is often where the easiest wins are:
- Use create_inbox() for the address so you actually receive it, then check_inbox() to read it.
- Screenshot the rendered email, not just its text. check_inbox defaults to a flattened text view,
  which throws away exactly what you are judging — so call it with format="html", write the returned
  HTML to a local file, open that file in the browser, and screenshot it. Do NOT judge layout or
  typography from the text view; if the message has no HTML part at all, say so (that is itself a
  finding) rather than describing a wall of text as though you had seen the email.
- Judge the fonts as an INBOX would resolve them, not as your machine does. A mail template that
  names a webfont almost never gets it — Gmail and Outlook strip webfonts, and most mailer layouts
  ship no font delivery at all — so a header declaring the brand face will silently fall back to a
  system one. Check whether the font is actually deliverable before reporting "wrong font chosen";
  the usual truth is "right font named, never loadable", and the fix is different.
- Judge: does the subject line say what arrived? Does it look like the same product — logo, colours,
  typography, tone — or like a different company's transactional mail? Is the ONE thing the reader
  wants (the code, the link, the number) findable in two seconds? Does every value shown match what
  the user entered? Does every link go where its text claims? Is there a plausible reason a spam
  filter would dislike it? Would a reply reach a human?
- Time it. "Arrived in 4 seconds" and "arrived in 4 minutes" are different products.

STEP 3 — FINALIZE. Call update_review(review, claim_token, summary=...) with, in order:
1. Did the flow complete, in one line: yes / yes-but / no, and where it stopped.
2. The user's stated suspicions, each marked confirmed / partly / not reproduced, with the evidence.
3. Findings ordered by severity: BROKE (could not complete the step) > CONFUSED (completed it, but
   a real person would hesitate, misread, or distrust it) > IMPROVEMENT (works and is clear; here is
   a better version). Each: the step, the screenshot, expected vs actual, and — in OWNED mode — a
   root-cause hypothesis with file:line specific enough to one-shot the fix.
4. What worked cleanly and should not regress.
SEVERITY IS ANCHORED ON OUTCOME, NOT TASTE. A finding must plausibly change whether a real person
completes the flow, trusts the result, or has to ask someone for help. "I would word this
differently" is not a finding; "the confirmation shows a URL the user never typed" is.
Then add_note a "Test data created" list — every account, entity, and inbox address, with the
QA-<today> marker — and hand the user the review_url and the save_url.

NEVER: complete a payment or any irreversible action, enter real financial or identity details,
message a real third party, or solve a human-verification challenge. Drive up to any such handoff,
capture it, and stop — the handoff is the finding, and you said in Step 1 that you would stop there.

SUMMARY LEAD-IN. The first line of EVERY summary you write, both the scope summary on create_review
and the verdict on update_review, is this line, verbatim, followed by a blank line and then the rest:

    *A Cobalt Capture flow audit: an AI agent walked one named flow step by step and recorded what broke, what confused, and what could be better. [How this study works](https://cobaltcapture.com/use-cases/flow-walkthrough).*

This review will travel without you: shared as a link, exported, pushed into a GitHub issue, read by
another agent. Someone opening it cold needs to know what it is before the findings. Do not reword
it, translate it, or add to it, and do not drop it when update_review replaces the summary.