Happy Path Audit logo

Happy Path Audit

CommunityPopular
Trystan-SA
happy-path-audit

Count what it costs a user to finish a task — clicks, fields, characters typed, screens, decisions, waits — by tracing the flow through the real code, estimate task time with the Keystroke-Level Model, and propose ranked reductions with their savings and a click budget. Use when asked "how many clicks does it take to…", to audit or simplify a flow, onboarding, checkout or form, or to compare two versions of a flow.

Overview

PublisherTrystan-SA
Repositoryproduct-engineer-skills
Skill namehappy-path-audit
Stars
2.1K
Forks
247
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Trystan-SA on GitHub. Read the source before you install it.

Installation

Install the Happy Path Audit AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Trystan-SA/product-engineer-skills/tree/main/skills/happy-path-audit
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Trystan-SA/product-engineer-skills.git /tmp/product-engineer-skills
mkdir -p .claude/skills
cp -r /tmp/product-engineer-skills/skills/happy-path-audit .claude/skills/happy-path-audit
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Happy Path Audit in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Happy Path Audit on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Happy Path Audit is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Happy Path Audit

Measure the cheapest route from a start state to a goal state, step by step, and find what to cut. Users don't experience your architecture; they experience the decisions, fields and waits between them and the result. Counting makes that cost visible and comparable.

Phase 1: Define the task

Take it from brief.md in the feature folder (docs/product/<feature-slug>/) when it exists; otherwise ask:

  • Start state — where the user is and what's true ("logged-in admin on the dashboard, no invoices yet").
  • Goal state — the observable result ("invoice sent, confirmation visible").
  • Persona — first-time and returning users often take different paths (onboarding, empty states, remembered choices). Audit the one asked for; if unclear, audit first-time and note where returning users differ.
  • Platform — mouse, touch or keyboard-first. It changes the cost model.

Phase 2: Trace the path through the code

Find the entry points first: routes, navigation items, buttons and links, deep links from emails or notifications, command-palette entries. Pick the one a typical user takes from the start state. The shortest path isn't always the typical one; note both if they differ.

Then follow the flow: route → page component → interactive elements → event handlers → API calls → redirects, modals, toasts. On each screen, record what the user must read, decide, type and click to move on. Read validation rules (required fields, formats), conditional branches, default values and loading states — they all change the count.

If the app runs locally and you have browser automation, walk the path for real afterwards and correct the trace. Tag every number with its source:

  • Measured — observed by running the app or a test.
  • Traced — derived from reading the code.
  • Estimated — inferred where the code was ambiguous; say why.

Phase 3: Record every step

One row per user action:

#Screen / routeActionKLM operatorsTypedWaitDecisionNotes
1/dashboardClick "New invoice"M P BB—route change—Button below the fold on a 13" screen
2/invoices/newPick client from dropdownM P BB, M P BB—client list fetchWhich clientNo search; 40 clients in seed data
3/invoices/newFill amountM P BB H K×66 chars——No default currency

Then total:

  • Clicks — activations of controls: buttons, links, menu items, options, checkboxes, tabs, including opening dropdowns and closing modals. Focusing a text field is part of filling it, not a separate click.
  • Fields — inputs the user fills, and characters typed (use realistic lengths: email ≈ 20, name ≈ 12, amount ≈ 6).
  • Screens — route changes and modals.
  • Decisions — points where the user must choose between options.
  • Waits — network round trips that block the user.
  • Context switches — leaving the product (checking email, copying a code from another app).
  • Scrolls needed to reach the next control.

Use the same definitions of clicks and fields as flow-test, so the budget you set here can be asserted there.

Phase 4: Estimate task time with KLM

The Keystroke-Level Model (Card, Moran and Newell) turns operators into seconds:

OperatorMeaningTime
KKeystroke0.28 s for an average typist, 0.2 s for a skilled one
PPoint at a target with the mouse1.1 s
BMouse button press or release (a click is BB)0.1 s
HMove a hand between keyboard and mouse0.4 s
MMental preparation1.35 s
RSystem response the user waits formeasured or estimated

Simplified placement of M: one before each decision, before starting to type into a field, and before the first action on a new screen. No M between keystrokes of the same word, or between pointing and clicking in the same move. A click on a new screen is typically M P BB = 2.65 s.

On touch, don't reuse the mouse values: count taps and fields, and give seconds only when you can justify the numbers (for example, from measurements).

KLM models an expert performing without errors; first-time users are slower. Use it to compare versions of the same flow, never to promise users a duration. To see where real users struggle, run usability-test-plan.

Phase 5: Find reductions

Go through the step table and ask, for each step, whether it can be removed, merged, defaulted or made faster. Common levers, roughly by impact:

  1. Remove the step. Is the screen or confirmation needed at all? Replace confirmation dialogs with undo.
  2. Default or infer. Prefill from what the product already knows: profile, last-used value, organization settings, URL parameters, the object the user came from.
  3. Defer. Move fields that aren't needed for the first value to later (progressive profiling).
  4. Merge. Combine screens, edit inline instead of in a modal, create the object where the need appears.
  5. Change the input. Selection instead of typing for short closed lists, search or autocomplete for long lists, autocomplete="one-time-code" for codes.
  6. Shorten the route. Add a contextual entry point where the need arises; deep-link emails and notifications to the exact step.
  7. Remove waits. Prefetch the next screen's data, update optimistically, run requests in parallel.
  8. Keyboard. Autofocus the first field, submit with Enter, set the right type and autocomplete attributes.
  9. Remove context switches. Magic links or code autofill instead of "check your email and come back".

For each proposal, give savings and cost:

ProposalΔ clicksΔ fieldsΔ time (KLM)EffortTrade-off

Sort by savings divided by effort. State trade-offs honestly: a default can be wrong, removing a confirmation needs a reliable undo, a merged screen can become overloaded.

Phase 6: Set the budget

Propose a click budget and a field budget for the flow: today's totals, and the target once the recommended reductions land. flow-test turns them into a test that fails when the flow gets longer.

Output

Write flow-audit.md to the feature folder: task definition, step table, totals, KLM estimate, reductions table, proposed budget, and the assumptions you couldn't verify.

To compare versions (before and after a redesign, main against a branch), produce one step table per version and a side-by-side totals table.

Summarize in the conversation: the current cost (clicks, fields, approximate seconds), the top three reductions with their savings, and the proposed budget.

Frequently asked questions

What does the Happy Path Audit AI skill do?

Count what it costs a user to finish a task — clicks, fields, characters typed, screens, decisions, waits — by tracing the flow through the real code, estimate task time with the Keystroke-Level Model, and propose ranked reductions with their savings and a click budget. Use when asked "how many clicks does it take to…", to audit or simplify a flow, onboarding, checkout or form, or to compare two versions of a flow.

Why use Happy Path Audit on TypingMind?

Because you install it once and use it with any model. Happy Path Audit is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Happy Path Audit in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Trystan-SA/product-engineer-skills/tree/main/skills/happy-path-audit. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Happy Path Audit?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Happy Path Audit?

As many as you like. As long as a model supports skills, you can use Happy Path Audit with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Happy Path Audit AI skill free?

Yes. It is published on GitHub by Trystan-SA under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇