zvadaadam/open-agent-workflow/agent-workflow-debugger

Claude Code and agent skill by zvadaadam/open-agent-workflow

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Inspect, debug, and improve Open Agent Workflow runs and harnesses. Use when a workflow run looks wrong, the console visualization is confusing, agents fail or cache unexpectedly, artifacts/events need investigation, or a `.workflow.js` harness needs to be made more reliable after a run.

Install

npx vskill@latest install zvadaadam/open-agent-workflow/agent-workflow-debugger

SKILL.md

Agent Workflow Debugger

Use this skill to understand a workflow run from durable evidence, then make targeted fixes to the harness, runtime, adapter, or console.

Triage Order

  1. Identify the run ID, adapter, status, harness, and run directory.
  2. Inspect the console route /runs/<runId> when the local app is running.
  3. Read durable evidence when needed:
  • events.jsonl for ordered runtime and adapter events.
  • journal.jsonl for cache/replay records.
  • artifacts/ for emitted evidence.
  • summary.json for final status and paths.
  1. Compare actual phases against ctx.phase(...) calls in the source harness.
  2. Decide whether the problem is authoring, adapter behavior, runtime behavior, cache/replay, or console presentation.

Debugging Heuristics

  • If the console shows weird phases, inspect runtime phase events, not only meta.phases.
  • If an agent lane is missing, look for task_started, task_completed, task_failed, or task_cached.
  • If cache behavior is surprising, compare promptHash, stepKey, and journal.jsonl.
  • If final output is weak, inspect whether the harness persisted artifacts and used a synthesis/verifier phase.
  • If the graph or trace is confusing, improve the run projection or console component only after confirming the raw event data is correct.
  • If a worker failed, preserve the raw adapter event before simplifying the report.

Fix Rules

Make the smallest fix at the owning layer:

  • Harness prompt/phase/label problem -> edit the workflow file.
  • Event parsing or product summary problem -> edit packages/server.
  • Execution primitive problem -> edit packages/runtime.
  • Provider-specific stream mapping problem -> edit packages/adapters.
  • Presentation problem -> edit apps/console.

Do not paper over runtime or adapter issues in the console. The console should consume the run API, not infer from local runtime files directly.

Verification

After a fix, rerun the smallest meaningful path:

bash
node --run typecheck
node --run validate
node --run console:build

For a specific workflow:

bash
node --run build
node packages/cli/dist/bin.js run dist/examples/<workflow>.workflow.js --adapter mock --ui-exit-on-complete

When the user cares about the UI, keep or start the console and verify in the browser.

Report Shape

When reporting findings, separate:

  • observed evidence
  • root cause or best current theory
  • files changed
  • verification run
  • remaining risk

Avoid dumping full event files. Quote only short relevant event snippets or summarize counts.

References

Read references/run-evidence.md when investigating event files, cache replay, or console projections.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/zvadaadam/open-agent-workflow/agent-workflow-debugger/badge)](https://verified-skill.com/skills/zvadaadam/open-agent-workflow/agent-workflow-debugger)

Something wrong with this skill or its page? Tell us.