Flowtrace skill

Flowtrace turns an agent's work into steps stored as files in a git repository, so you can follow, check, fix one by one and re-run them on new input

  • 483 ★ on the repository
  • Last commit
  • MIT
Skill

Extended access

Why this level

  • Builds a binary from source with install.sh and links it into ~/.local/bin
  • The agent writes files and makes git commits in the trace folder, and steps can run their own scripts from steps/<id>/scripts
  • The flowtrace serve command starts a local web interface on port 3000
All reasons and checks

aiscientists-dev/flowtrace

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add skills/flowtrace

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • Builds a binary from source with install.sh and links it into ~/.local/bin
  • The agent writes files and makes git commits in the trace folder, and steps can run their own scripts from steps/<id>/scripts
  • The flowtrace serve command starts a local web interface on port 3000

This is third-party code. Review the repository files before installing.

What it does

Flowtrace runs an agent task as a trace: a folder with a git repository where trace.json lists the steps, their dependencies and the final deliverable. Each step gets a contract in steps/<id>/STEP.md, and its output lands in a file under runs/<run_id>/. The work reads as a graph of steps you can take in at a glance. The make-trace skill turns a source (a SKILL.md, a chat log, a runbook, plain prose) into such a trace. It picks out the steps, wires the dependencies, writes a contract for each step and drives a full run. The skill looks for the flowtrace binary in the TRACE_BIN variable, then on PATH, then in a build inside the repository. The flowtrace init, validate and show --fmt mermaid commands create the folder, check the schema and draw a diagram. When one step needs fixing, only the steps that depend on it re-run. Every CLI write makes a git commit, so a run can be stopped, resumed later, handed to a teammate and inspected at any past commit. The flowtrace serve command opens the graph in a browser on port 3000.

Who it is for. For people who give an agent decisions that must be verified and repeated: a stock call, a security gate in CI, an industry report, a tailored resume.

Good fit when

  • The result must be checked against files: in Flowtrace every finding points back to the files it came from
  • You have a SKILL.md, a runbook or a long session and want a graph of steps from it with the /make-trace command
  • The task repeats on new input, and a finished trace should run again without rebuilding the method
  • One step came out weak, and only what depends on it should be recomputed
  • A run has to be handed to a teammate with its history: all the work sits in a git repository

Not a fit when

  • You need a quick one-off question: the project itself recommends plain chat for that
  • The source branches into different deliverables, such as a film or a deck: by the skill's rules that is several traces, not one with conditionals
  • You need logic with conditions and loops: a trace describes the shape of the work and does not define control flow
  • The flowtrace binary cannot be built from the Rust sources and put on PATH

Example request

Turn my vacancy-screening SKILL.md into a flowtrace trace, check the schema with validate and start the first run

Limitations

  • A flowtrace binary is required. The ./scripts/install.sh script builds it from source; the project is written in Rust.
  • Run inputs are plain files in the resources/ folder; there are no declared input variables.
  • The skill asks for an independent check of the graph against the source by a fresh agent. Without one you re-read the source and compare it yourself.
  • A trace defines steps and dependencies; branching and loops are not expressed in it.

How to disable. Delete the make-trace folder from the agent's skills directory and the flowtrace link from ~/.local/bin (the target changes with INSTALL_DIR). Finished traces are ordinary folders, by default under ~/traces/, and go away with them.

FAQ

How do I install Flowtrace in Claude Code?

Clone the repository and run ./scripts/install.sh: it builds flowtrace and links it into ~/.local/bin. Then copy the skills/make-trace/ folder into the agent's skills directory and call /make-trace. Codex and Cursor use the same steps; the project names all three as supported agents.

What is a trace in Flowtrace?

One git repository. The trace.json file defines the steps, their dependencies and the final deliverable, the steps/ folder holds the STEP.md contracts, and each run lives in runs/ under its own id.

How do I try Flowtrace on a ready example?

Run bash scripts/examples/tailored-resume/build.sh: it creates a trace in ~/traces/tailored-resume/. flowtrace serve opens it in a browser at http://localhost:3000, where the steps light up as they run. The repository ships nine examples, from due diligence to weekly ad optimization.

What happens when I fix one step?

Only the steps that depend on it re-run; the rest stay put. History is kept in git, so earlier versions of the step and its outputs stay available.

Which agents does Flowtrace work with?

The project states support for Claude Code, Codex and Cursor. Hand the agent the repository folder and ask it to install Flowtrace and run an example; it then builds the CLI and opens the graph itself.

Discussion

No questions or reviews yet.

Skills

A skill with 25 commands to audit and improve the prompts, tools and agent designs of a project in Cursor, Claude Code and Codex

SkillExtended access592Repository stars
Editors’ pick

ByteDance's open agent harness for long tasks: research, code, reports and slides with sub-agents, memory and sandboxes

CLIBroad access84.6KRepository stars

A Rust terminal task board: every task runs in its own git worktree and tmux window while Claude Code, Codex, Gemini CLI and other agents work in parallel

CLIBroad access1.7KRepository stars

A visual workflow builder for agents: draw a flow on a canvas and export it as skills and commands for Claude Code, Codex, Cursor and others

WorkflowExtended access5.4KRepository stars

A skill for creating skills that proves them by behavior: before-and-after runs, regression evals and ecosystem audit

SkillExtended access914Repository stars

A workflow layer for AI-assisted coding: specs, tasks and session journals live in the repository and are injected into the agent's context

CLIBroad access15.1KRepository stars

Comparison with similar tools

Entries that share the main search query, and how they differ.

EntryOfficialRepository starsMain difference
Flowtrace (this entry)no483
skill-creatorno2,283helps author a new skill to a spec, while Flowtrace turns an existing skill or runbook into a graph of steps with outputs in files
Autocontextno1,314evaluates a task run and keeps traces and reports, while Flowtrace makes the steps of the work themselves files in git that can be edited one by one

README in short

The project's front page opens with a problem: a long stream of agent messages is hard to check, steer and keep. It then explains five properties of a trace: transparency, grounding in files, steerability, traceability and reuse. A section covers turning a skill, a long session, a plan or a finished run into a trace. The quick start suggests handing the repository to an agent and asking it to install Flowtrace and run the resume example. A gallery of nine examples and a description of the trace folder layout follow.

README badge

Original SKILL.md

---
name: make-trace
description: Turn any source that describes how a kind of task gets done (a SKILL.md, a chat log, a runbook, plain prose) into a runnable Morph trace. Lift it into a DAG, write a contract per step, place inputs, and drive the full run lifecycle to verify it. Use whenever someone wants to make a trace from a source.
---

# Make Trace

You turn a **source** (anything that describes how a kind of task gets done) into a **trace**: a folder holding a DAG that a human and an AI both read while the work runs. This skill covers the whole path, from a blank folder to a finished run.

## Before you start

Two reads give you the full surface. Do them once:

1. `references/CLI.md` (bundled next to this file) is the system contract: every command, the `trace.json` schema, the reply payload schema, the path rules, the state machine.
2. The source itself. Read it closely; the steps you need are usually hiding in its prose. For a large or multi-file source, read the spine in full (the main document and any workflow section) and only sample the rest to confirm a step exists, rather than reading every file to the same depth.

The `flowtrace` binary drives everything. Get it in this order: honor `$TRACE_BIN` if it is set; else use it if it is on your `PATH`; else, inside a flowtrace checkout, use the build under `target/` (`target/release/flowtrace`, else `target/debug/flowtrace`) or build one with `./scripts/install.sh` from the repo root; else clone the repo first (`git clone https://github.com/AIScientists-Dev/Flowtrace.git`) and run its `./scripts/install.sh`. Building needs Node and Rust and takes a few minutes the first time — it builds the web UI and the CLI and symlinks `flowtrace` to `~/.local/bin`. When you forget a shape mid-task, the binary self-documents: `flowtrace <cmd> --help`, and `flowtrace explain <type>` (e.g. `flowtrace explain trace`, `flowtrace explain reply`).

## The cycle

### 1. Scaffold

```bash
cd <wherever you keep traces>   # conventionally ~/traces/
flowtrace init <slug>               # creates <slug>/ with .git and an empty trace.json
```

`flowtrace init` makes a subfolder named `<slug>` under the current directory, not in place.

### 2. Lift the source into a DAG (the hard part)

Read the source and pull out the steps hiding in it. Fill `trace.json#steps`, and for each step set `from_steps`, its upstream dependencies. The DAG is the whole point: decide what runs in parallel and what fans in.

**The arrows are the knowledge.** A source often reads as a flat list, but the real shape is a fan-in/fan-out graph. Do not flatten it into a straight line. Common patterns: independent ingests run as parallel roots and fan in at a join; an analysis branch and a recommendation branch fan out from the same join; the final write-up fans in from everything. Some sources are honestly sequential, though; a step-by-step creative pipeline really is a straight line, and forcing fake parallelism onto it is its own kind of unfaithful. Lift the shape that is actually there.

**What becomes a node vs. folded into a `STEP.md`.** Promote something to its own step only if it is a distinct cognitive move with its own input and output. If it is *how to do* an existing step (a rule, a special case, a reference detail), fold it into that step's `STEP.md` instead. This is the criterion that keeps a 25-file source from exploding into 25 nodes.

**Mutually-exclusive paths are not one trace.** If the source branches on input into paths that produce different deliverables (make a film *or* a deck *or* a prototype), that is several traces sharing an early spine, not one trace full of conditionals; traces describe shape, not control flow. Split on the deliverable. Same deliverable reached by a different internal pipeline is still one trace, though; branch inside a `STEP.md`, not in the DAG. Split on the deliverable, not on method.

Then check it:

```bash
flowtrace validate
flowtrace show --fmt mermaid
```

Report a problem

Foxx AIFlowtrace
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.