Claude Skill

error-propagation

Trace error propagation through a multi-agent session by agent depth — where failures originated, the depth at which they appeared, and how they cascaded up to parent agents — using the Agent Monitor workflow intelligence API and the session event stream. Use when a multi-agent r

LLM Mart · 0 points · 10 views 0 listing impressions 0 install-command copies
Virus-scanned Reviewed automatically before listing.

Full trust report

Download hoangsonww-claude-code-agent-monitor-plugins_ccam-workflows_skills_error-propagation-83d4df5.zip · 1 KB
Part of hoangsonww/claude-code-agent-monitor — 86 skills

Install

skills CLI npx skills add https://github.com/hoangsonww/Claude-Code-Agent-Monitor/tree/master/plugins/ccam-workflows/skills/error-propagation
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install hoangsonww-claude-code-agent-monitor@llmmart
Git git clone https://github.com/hoangsonww/Claude-Code-Agent-Monitor.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole hoangsonww/claude-code-agent-monitor collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

Error Propagation

Trace where a multi-agent session's failures started and how far they spread.

Input

The user provides: $ARGUMENTS

A session ID. If empty, fetch GET /api/sessions?limit=1, but prefer the most recent session whose status is error or abandoned; state which one you picked.

Data Sources

Endpoint Returns
GET /api/workflows/{sessionId} The errorPropagation dataset: failures grouped by agent depth, with originating depth and cascade paths to parents
GET /api/events?session_id={sessionId} The event stream — corroborate with APIError, SubagentStop, and failing PostToolUse events (event_type, tool_name, summary, timestamp)

Report Sections

1. Failure Summary

From errorPropagation: total errors, the depth where the first error originated, and how many distinct agents were affected. Origin depth: d · Errors: N · Agents affected: M

2. Errors by Depth

| Depth | Errors originated | Errors inherited from children | Net failing agents | |-------|-------------------|--------------------------------|--------------------| Show whether failures concentrate deep in the tree (leaf subagents) or shallow (orchestrator).

3. Cascade Paths

For each originating failure, the path it propagated along: debugger (depth 2, tool failure) → code-review (depth 1, marked error) → root (depth 0, aborted) Tie each step to a concrete event from /api/events (event_type + tool_name + timestamp) where available.

4. Error Taxonomy

Break errors down by type from the event stream: APIError vs failing tool calls vs SubagentStop with error status. Note the most frequent tool involved in failures.

5. Containment Assessment

Whether failures were contained at the depth where they originated or leaked to parents. Name any parent that aborted solely because a child failed — a candidate for better error handling / isolation.

Output

  • Markdown tables for the depth breakdown; a fenced list for cascade paths.
  • Timestamps for the first and last error.
  • Cite only errors present in errorPropagation and the event stream; never invent failures or causes.
  • If the session has no errors, say so plainly and stop.
  • If the dashboard is unreachable, tell the user to start it with npm start from the repo root.
Files (claude-code-agent-monitor)
  • agents
    • openai.yaml 271 B
      interface:
        display_name: "Error Propagation"
        short_description: "Trace error propagation through a multi-agent session by..."
        default_prompt: "Use $error-propagation to inspect CCAM data and complete this workflow safely."
      policy:
        allow_implicit_invocation: true
      
  • SKILL.md 2.7 KB
    ---
    name: error-propagation
    description: >
      Trace error propagation through a multi-agent session by agent depth — where
      failures originated, the depth at which they appeared, and how they cascaded
      up to parent agents — using the Agent Monitor workflow intelligence API and
      the session event stream. Use when a multi-agent run failed and you need to
      find the origin and blast radius of the failure.
    ---
    
    # Error Propagation
    
    Trace where a multi-agent session's failures started and how far they spread.
    
    ## Input
    
    The user provides: **$ARGUMENTS**
    
    A session ID. If empty, fetch `GET /api/sessions?limit=1`, but prefer the most recent session whose `status` is `error` or `abandoned`; state which one you picked.
    
    ## Data Sources
    
    | Endpoint | Returns |
    |----------|---------|
    | `GET /api/workflows/{sessionId}` | The `errorPropagation` dataset: failures grouped by agent depth, with originating depth and cascade paths to parents |
    | `GET /api/events?session_id={sessionId}` | The event stream — corroborate with `APIError`, `SubagentStop`, and failing `PostToolUse` events (`event_type`, `tool_name`, `summary`, `timestamp`) |
    
    ## Report Sections
    
    ### 1. Failure Summary
    From `errorPropagation`: total errors, the depth where the first error originated, and how many distinct agents were affected.
    `Origin depth: d · Errors: N · Agents affected: M`
    
    ### 2. Errors by Depth
    | Depth | Errors originated | Errors inherited from children | Net failing agents |
    |-------|-------------------|--------------------------------|--------------------|
    Show whether failures concentrate deep in the tree (leaf subagents) or shallow (orchestrator).
    
    ### 3. Cascade Paths
    For each originating failure, the path it propagated along:
    `debugger (depth 2, tool failure) → code-review (depth 1, marked error) → root (depth 0, aborted)`
    Tie each step to a concrete event from `/api/events` (event_type + tool_name + timestamp) where available.
    
    ### 4. Error Taxonomy
    Break errors down by type from the event stream: `APIError` vs failing tool calls vs `SubagentStop` with error status. Note the most frequent tool involved in failures.
    
    ### 5. Containment Assessment
    Whether failures were contained at the depth where they originated or leaked to parents. Name any parent that aborted solely because a child failed — a candidate for better error handling / isolation.
    
    ## Output
    
    - Markdown tables for the depth breakdown; a fenced list for cascade paths.
    - Timestamps for the first and last error.
    - Cite only errors present in `errorPropagation` and the event stream; never invent failures or causes.
    - If the session has no errors, say so plainly and stop.
    - If the dashboard is unreachable, tell the user to start it with `npm start` from the repo root.
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.

Related