About steel-session-debugging
steel-session-debugging is a skill for diagnosing failed Steel sessions and deciding what to change next. It organizes logs and traces into an evidence-based timeline, and hands reliability-related issues to steel-reliability.
Key features
- 01Collect session metadata, logs, and traces
- 02Redact sensitive debugging artifacts
- 03Build an event timeline
- 04Classify failures and diagnose causes
- 05Suggest verification steps and handoffs
Use cases
- 01Investigate a failed Steel browser session
- 02Organize logs and request-failure evidence
- 03Verify a proposed diagnostic fix
- 04Identify issues for steel-reliability
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ steel-dev/ skills --skill steel-session-debuggingAfter installing, type/steel-session-debuggingin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
README.mdevals/evals.jsonreferences/agent-traces.mdfailure-taxonomy.mdinvestigation-workflow.mdlog-event-types.mdnetwork-forensics.mdreliability-handoff.mdreplay-and-screenshots.mdscripts/collect-session-debug.mjsredact-session-debug.mjssummarize-session-debug.mjsDetails
From the project READMESteel Session Debugging
Skill Boundary
Use this skill to explain what happened in a failed Steel session and what to change next. Start from evidence, not guesses.
Do not use this skill as the primary place for bot-detection mitigation, proxy strategy, CAPTCHA strategy, login reputation, or retry policy. If the evidence points there, collect enough proof and hand off to steel-reliability.
Setup Check
- Confirm the user provided a Steel session ID or enough context to identify one.
- Run
steel doctor --preflightif CLI auth or API access is uncertain. - Prefer Steel CLI diagnostics before raw API calls.
- Create local artifacts under
.steel-debug/; do not paste raw logs into chat unless the user asks.
Investigation Workflow
- Collect session metadata, browser logs, raw agent logs, semantic agent traces, and viewer/replay links.
- Redact cookies, bearer tokens, API keys, passwords, form values, and obvious PII before summarizing.
- Build a timeline: session creation, navigations, actions, waits, console errors, failed requests, CAPTCHA/proxy signals, and final state.
- Classify the failure using the taxonomy in
references/failure-taxonomy.md. - Produce an evidence-backed diagnosis with a smallest useful verification step.
- If the fix involves bot detection, proxy, CAPTCHA, identity, pacing, or login persistence, route to
steel-reliability.
Output Format
Diagnosis:
- What happened:
- Most likely cause:
- Evidence:
- What to change:
- Verification step:
- Confidence:
Useful Commands
steel --json sessions get <session-id>
steel --json sessions logs <session-id>
steel --json sessions agent-logs <session-id>
steel --json sessions traces <session-id>
node scripts/collect-session-debug.mjs <session-id>
node scripts/redact-session-debug.mjs .steel-debug/<session-id>/bundle.json
node scripts/summarize-session-debug.mjs .steel-debug/<session-id>/redacted-bundle.json
References
references/investigation-workflow.md: detailed collection and timeline process.references/log-event-types.md: how to separate metadata, browser logs, raw agent logs, and traces.references/agent-traces.md: how to read semantic agent trace events.references/network-forensics.md: request failures, redirects, and blocked-page evidence.references/replay-and-screenshots.md: viewer, player, HLS, and screenshot usage.references/failure-taxonomy.md: standard failure classes.references/reliability-handoff.md: when to loadsteel-reliability.