debug

Diagnose and fix NanoClaw container runtime issues via log, heartbeat, and mount inspection.

Updated May 7, 2026
One-click install
npx skills add https://github.com/Bartunek/nanoclaw --skill debug-bartunek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debug
Source: https://github.com/Bartunek/nanoclaw/tree/main/.claude/skills/debug
Command: npx skills add https://github.com/Bartunek/nanoclaw --skill debug-bartunek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Debugging NanoClaw's containerized agent runtime can be difficult due to the complexity of host/container interactions, scattered logs, and per-session state stored in session DBs. This Skill centralizes the diagnosis workflow, guiding you through log inspection, heartbeat checks, and mount verification to identify root causes quickly.

Core Features & Use Cases

  • Centralized diagnostics: review logs, host errors, container spawn, and per-session heartbeat signals to pinpoint failures.
    • Session-state visibility: inspect session inbound/outbound DBs and processingAck to understand message flow and container health.
  • Remediation guidance: provides restart workflows, environment checks, and guardrails to safely recover a stuck session.
  • Use Case: when a container exits unexpectedly or a session stalls, run this Skill to determine whether the issue is log-based, auth-related, or a mount/config problem, then follow the steps to restore operation.

Quick Start

Begin by inspecting the failing session's logs, heartbeat, and mounts, then follow the guided steps to diagnose and remediate the container issue.

Frequently Asked Questions about debug

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose a container that fails to start unexpectedly?

To diagnose a container that fails to start, inspect the failing session's logs, heartbeat files, and mount paths to identify host errors or misconfigurations. Reviewing per-session state in the session DBs helps pinpoint the root cause of the spawn failure.

Why does my container session stall and how can I fix it?

A container session stalls due to host/container interaction issues, authentication errors, or mount misconfigurations affecting isolation. Fix the stalled session by following guided restart workflows and environment checks with clear guardrails to safely restore operation.

How do I inspect session DBs and heartbeat files for container troubleshooting?

Inspect session DBs and heartbeat files by safely reviewing inbound/outbound DBs and processingAck signals to understand message flow and container health. This centralized diagnostic workflow reveals per-session state and misconfigurations affecting the runtime.

What is the best way to troubleshoot authentication errors in a containerized agent runtime?

The best way to troubleshoot authentication errors in a containerized agent runtime is to verify environment checks and inspect logs. Centralized diagnostics guide you through log inspection and session-state visibility to resolve auth-related failures.

When should I verify mount paths during container diagnostics?

Verify mount paths during container diagnostics when a session stalls or a container exits unexpectedly. Mount verification identifies misconfigurations affecting per-session isolation and helps determine whether the root issue is a configuration problem.

Can I safely restart a stuck container session without breaking isolation?

You can safely restart a stuck container session by following prescribed remediation workflows and environment checks with clear guardrails. These steps ensure per-session isolation is maintained while restoring the container's operation.