What problem does it solve?
This Skill helps operators and developers quickly diagnose and resolve containerized agent failures in NanoClaw, including authentication errors, missing environment variables, incorrect mounts, permission issues, MCP server failures, and session resumption problems.
Core Features & Use Cases
- Log discovery: Identifies where to find main app logs, container run logs, and Claude session histories to root-cause errors.
- Environment and auth validation: Checks .env configuration, verifies authentication tokens, and confirms which variables are propagated into the container.
- Mounts and permissions troubleshooting: Explains expected mount targets, ownership requirements for the node user, and how to validate readonly vs read-write mounts.
- Session persistence and MCP checks: Guides verifying session mount paths, session continuity, and MCP server initialization failures.
- Diagnostic workflows: Provides manual tests, interactive container checks, rebuild steps, and a quick diagnostic script to automate common checks.
- Use case: Recover a failing agent that exits with code 1 by confirming auth tokens, verifying /home/node/.claude mounts, inspecting container stderr, and restarting the container image.
Quick Start
Run the debug guide to check authentication, mounts, container logs, and session resumption for the failing agent.