Pass server diagnostics between NanoClaw and Claude Code through log files
At a glance
A NanoClaw user connected their agent to Claude Code with two local inbox files so the agents could exchange server-management requests. This workflow is listed under agent-communication, server-operations, filesystem-ipc.
- Agents / tools
- NanoClaw, Claude Code
SourceBuilding a tool for these workflows? See weekly rates.
What they did
The author, davyd26, added a small patch to src/index.ts that reads an inbox before each NanoClaw invocation, prepends any message to the prompt and clears the file. A second log carries requests back to Claude Code, which checks pending messages at session start. The post includes the patch and describes packaging the setup as an add-ai-bridge skill.
How it went
The author shares an exchange checking container counts after duplicate-message problems and reports that the agents coordinated memory thresholds and alert escalation rules.
Worth knowing
Messages are picked up during NanoClaw invocations and Claude Code sessions. The implementation uses local files without a separate polling daemon or WebSocket service.