Error Detective

Trace the first failure across related application logs with Error Detective and check the evidence behind the diagnosis.

Published by Seth Hobson

Open publisher guide

Try a first task

Give the agent a redacted request trace and worker logs for an import that failed downstream. Check whether it can identify the first error from matching request IDs and distinguish it from later retries.

Setup and access

Use the publisher’s package if the subagent comes with a plugin. For a standalone agent definition, use the project’s .claude/agents/ directory and check that it appears under /agents.

The publisher groups Error Detective under Error Debugging. Provide log excerpts and known time windows without exposing identifiers unrelated to the incident.

How Claude Code loads subagents

What to know before you start

Supply logs or traces with a known time window and relevant request identifiers. Ask for correlated events across services and for the earliest observed failure, so repeated downstream messages do not obscure the cause.

Publisher references

Seth Hobson

Browse Agents