Skip to content
Skill

Trace the flow

Traces one business operation end to end across layers, citing each hop and its failure

Trace the flow is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
19
Last commit
License
MIT
Listing updated

Similar skills

About Trace the flow

Trace the flow walks a single concrete business operation through an codebase, from its real entry point through filters, orchestration, persistence, messaging and downstream calls. Each hop is recorded with a file and line citation, and the agent is pushed to label any step it cannot verify rather than fill the gap with a guess. Boundaries such as transactions, network calls, async handoffs and queues are flagged explicitly, since those are where behavior surprises people.

The workflow emphasises the unhappy paths: where exceptions are caught, whether retries happen and whether the retried operation is idempotent, whether timeouts are set, and what the caller ends up seeing. The output is a structured trace document with a sequence table, boundary and error tables, findings, a gap list and an explicit note of what was excluded. It can also be asked to run the flow to confirm the reconstructed path.

The skill expects an existing system map from a prior reconnaissance step and optionally an environment notes file. It is written for a repository workspace and works through reading and searching code, with running the flow as an optional verification step.

When your agent uses it

Follow one concrete business operation end to end through every layer and process boundary - entry point, orchestration, persistence, messaging, downstream calls, and the error and retry paths - producing a sequence narrative with a citation at every hop. Use when you need to know how something actually works before changing it, when asked "what happens when a customer does X", when debugging behavior you cannot explain from reading one file, or when a change lands on a request path you have not walked. Traces one operation deeply rather than mapping the whole system - run repo-recon first for breadth.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (17 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the fde-core plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add rpraharaj/forward-deployed-engineer
/plugin install fde-core@fde-skills

Or copy only this skill to ~/.claude/skills/trace-the-flow:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rpraharaj/forward-deployed-engineer.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/trace-the-flow &&
cp -R "$tmp/fde-core/skills/trace-the-flow" ~/.claude/skills/trace-the-flow &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/trace-the-flow inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/trace-the-flow to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rpraharaj/forward-deployed-engineer.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/trace-the-flow &&
cp -R "$tmp/fde-core/skills/trace-the-flow" ~/.agents/skills/trace-the-flow &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/trace-the-flow inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/trace-the-flow to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rpraharaj/forward-deployed-engineer.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/trace-the-flow &&
cp -R "$tmp/fde-core/skills/trace-the-flow" ~/.cursor/skills/trace-the-flow &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/trace-the-flow inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/rpraharaj/forward-deployed-engineer.git --path fde-core/skills/trace-the-flow

Or copy the folder to ~/.gemini/skills/trace-the-flow yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/trace-the-flow:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rpraharaj/forward-deployed-engineer.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/trace-the-flow &&
cp -R "$tmp/fde-core/skills/trace-the-flow" ~/.copilot/skills/trace-the-flow &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/trace-the-flow inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/rpraharaj/forward-deployed-engineer.git

Then copy forward-deployed-engineer/fde-core/skills/trace-the-flow into your agent's skills folder as trace-the-flow. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Single-operation tracing
Follows one business scenario rather than mapping the whole system, keeping the trace readable.
Citation at every hop
Records the file, location, action and what is passed on at each step of the call path.
Explicit gap labelling
Marks hops that cannot be established as unverified instead of bridging them with assumptions.
Boundary identification
Flags network, transaction, async and message queue crossings where changes tend to break.
Failure path analysis
Checks exception handling, retries, idempotency, timeouts and caller-visible errors.
Structured trace document
Produces a markdown report with sequence, boundaries, findings, gaps and exclusions.

Good for

  • Explain what happens when a customer places an order with a saved card
  • Trace a request path before changing it
  • Debug behavior that cannot be understood from reading a single file
  • Check whether retries on an integration are safe to run twice
  • Identify where an event is published relative to a database transaction

Trace the flow FAQ

What does Trace the flow need before it runs?

It expects a system map of entry points from a prior repo-recon step, and optionally an environment notes file that allows running the flow.

Does Trace the flow trace the whole system?

No. It traces one named operation deeply and records downstream systems as endpoints. Breadth is left to repo-recon.

What is produced?

A markdown trace document with a sequence table, boundary and error tables, findings, gaps and a list of what was not traced.

When should Trace the flow be used?

Before changing a request path you have not walked, when asked how a customer action works, or when debugging a symptom whose cause sits in another component.

How do I install Trace the flow in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/trace-the-flow to use it in all your projects, or to .claude/skills/trace-the-flow in one project. Or install the fde-core plugin, which includes it: /plugin marketplace add rpraharaj/forward-deployed-engineer, then /plugin install fde-core@fde-skills.

Does Trace the flow run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Trace the flow?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Trace the flow?

The closest alternatives to Trace the flow are Ask matt, Trace architecture, Trace debugging, Flowstudio power automate debug and Openhop.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from rpraharaj/forward-deployed-engineer

  1. Defines and tests the boundaries on what an AI agent's tool calls can do

    • Open source
    • 19 GitHub stars
    • Security
  2. Gives agents a procedure to test AI workflows against cases, thresholds and regression

    • Open source
    • 19 GitHub stars
    • Developer tools
  3. Turns access requests into a tracked, parallel critical path with workarounds

    • Open source
    • 19 GitHub stars
    • Productivity
  4. Plans how end users move to a new workflow, with barriers, pilot, support and measures

    • Open source
    • 19 GitHub stars
    • Productivity
  5. Maps what a proposed code change could break before you make it

    • Open source
    • 19 GitHub stars
    • Developer tools
  6. Maps an organization's change approval process so releases can be planned backwards from

    • Open source
    • 19 GitHub stars
    • Productivity