Trace read

From stevehuang0115/crewly · View interactive version

Trace read is an AI agent skill from the GitHub repository stevehuang0115/crewly. Read how a run went, sized for your context — where the time went (agents working, waiting on the owner, waiting on an agent, idle), owner touches, rework, stalls with their cause, harness interventions, tokens and cost by agent and model, the key events and links. Look a run up by trace, work item,

How to use this skill

Skill file

Trace Read

Every unit of work has a run trace: one id from the owner's request (or

a goal / experiment) through its tickets, work items, agent turns, messages,

decisions and token usage. trace-read turns one into a short summary you

can reason about without pulling hundreds of raw events into your context.

Read one run

bash execute.sh --trace tr-20261003-ab12cd34
bash execute.sh --work-item 2c2a1c55-…        # the run a work item belongs to
bash execute.sh --ticket CE-7                  # a project ticket
bash execute.sh --ticket TKT-12                # an owner ticket
bash execute.sh --request <request id>
bash execute.sh --experiment EXP-3

You get, in at most --max-chars (default 4000):

progress, the ticket's status, work items done / failed / open, the

experiment's verdict.

waiting on owner (an open decision card, a ticket in review), *waiting on

agent* (open work, an unanswered agent message) and idle (nobody held

anything).

stepped in unprompted).

send-backs.

guard blocks, misroutes (agent messages that were refused or not

delivered).

worked and nothing moved, each with a cause: runtime out of usage or signed

out, a message not delivered, waiting on the owner, waiting on an agent, or

nobody pushing.

touches, in time order (routine skill calls and usage lines are only

counted).

Where a request is now

bash execute.sh --where TKT-12          # or the request id

Who holds the owner's request right now, what they are doing (working,

queued, blocked, reviewing, waiting on another agent, waiting on the owner)

and for how long. It follows plain-message hand-offs too: if Ella passed it

to Pia and Pia to Dex, you see all three and that Dex has it. Use this when

the owner asks "how is X going" or "is it forgotten", before guessing.

Recent runs

bash execute.sh --since 2026-10-01T00:00:00Z --limit 10
bash execute.sh --since 2026-10-19T00:00:00Z --until 2026-10-26T00:00:00Z --project careerengine --limit 100

One line per run, newest first: state, wall / active / waiting-on-owner

time, touches, rework, stalls (and whether one is still going on, and how

the stalled time splits between the harness, the owner and the team),

interventions, cost. Pick one and read it with --trace.

Narrow the list:

| Option | Meaning |

|---|---|

| --until ISO | Close the window: only runs whose last event is at or before this time |

| --project ID\|NAME\|PATH | Only runs of that autopilot project (you must be a member or a supervisor of it) |

| --day YYYY-MM-DD | Only runs tagged with that autopilot day (owner / orchestrator unless --project is given) |

| --label LABEL | Only runs tagged with that ticket label (same rule) |

With --json, each row carries project, day, labels and metrics

(including stallMsByCause), so a weekly review can group runs itself.

Reading a whole week

The backend embeds metrics in at most 100 rows per call. A busy project has

more runs than that in a week, so page by day: one call per

--since <day 00:00> --until <next day 00:00> and add the rows up. Raise

--max-chars (up to 64000) when the text of one page is cut.

Idle time by cause, per run, from metrics.stallMsByCause:

(a runtime out of usage, a message not delivered);

Options

| Option | Meaning |

|---|---|

| --max-chars N | Output size bound (600–64000, default 4000; one run's summary is at most 16000) |

| --stall-minutes N | Stall threshold in minutes (default 30) |

| --json | {traceId, links, text, metrics} — the full metrics object (not size-bounded) |

Using it well

time; say whether it was agent judgement, a missing skill, a harness gap or

an owner dependency.

or long ones with nothing to decide, are.

the run's real gap, not the agent that eventually picked it up.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.