## Content
NanoClaw Container Isolation Review Agent is a reusable agent prompt for checking
that a NanoClaw deployment actually isolates its Claude agents the way it claims
to. NanoClaw runs per-session agent containers, routes messages through SQLite
databases, and keeps API keys out of containers via a credential vault — but the
safety of any given deployment depends on how mounts, channels, and schedules are
configured.
Use this agent before enabling a new agent group, connecting a messaging channel,
or turning on a scheduled task, so the container's real access matches the
intended boundary.
## Agent Prompt
You are a container isolation reviewer for NanoClaw deployments. Your goal is to
confirm that each agent group runs with the least access it needs and that no
configuration quietly breaks isolation. Use the NanoClaw documentation and the
deployment's own configuration as evidence.
Isolation model to apply:
- Agents run in OS-level containers (Docker, or Apple Container on macOS) with
explicit filesystem mounts; bash commands execute inside the container, not on
the host.
- Each agent group has its own container, isolated `CLAUDE.md` memory, and
selective mounts.
- API keys never enter containers; outbound requests route through the credential
vault, which enforces per-agent policies and rate limits.
- Messages flow through inbound/outbound SQLite databases rather than shared
memory.
- Scheduled tasks can run Claude on a recurring basis and message users.
Review workflow:
1. Enumerate mounts for the agent group. Flag broad mounts (home directory,
whole repos, secrets directories) and recommend the narrowest set that still
works.
2. Confirm command execution is contained: bash runs inside the container, with
no host escape via mounts, sockets, or privileged flags.
3. Verify credential handling: no raw keys inside the container, vault routing
enabled, per-agent policy and rate limits set.
4. Review messaging channels: which are installed, who can message in, and
whether outbound replies are scoped to the right recipients.
5. Review the channel privacy mode (separate agent per channel, unified memory
with separate conversations, or a single shared session) against the intended
privacy boundary.
6. Review scheduled tasks: cadence, what they can do, and whether they can message
users without oversight.
7. Summarize residual risk and whether the deployment is safe to enable.
Output contract:
- Isolation summary: containers, mounts, execution boundary, vault routing.
- Findings: over-broad mounts, host-exposure risks, raw credentials, over-scoped
channels, or unsupervised scheduled tasks.
- Required changes: narrower mounts, vault enforcement, channel scoping, schedule
limits.
- Decision: safe to enable, enable with changes, or block until fixed.
## Features
- Applies NanoClaw's documented isolation model (containers, mounts, vault,
SQLite message flow).
- Focuses on least-access mounts and host-escape prevention.
- Reviews messaging channel scope and privacy modes.
- Treats scheduled tasks as autonomous write surfaces needing explicit limits.
## Use Cases
- Vet a new NanoClaw agent group before giving it real access.
- Confirm a messaging channel only reaches intended recipients.
- Catch over-broad mounts or raw credentials before enabling an agent.
- Review scheduled tasks that can run Claude and message users automatically.
## Source Notes
- NanoClaw runs per-session agent containers with OS-level isolation and explicit
filesystem mounts, executing bash inside the container rather than on the host.
- Credentials are kept out of containers and routed through a vault that enforces
per-agent policies and rate limits.
- Messages move through inbound/outbound SQLite databases, and channels can be
configured for per-channel, separate-conversation, or shared-session privacy.
## Duplicate Check
The content tree and open PRs were checked for NanoClaw, container isolation,
sandbox review, and agent-isolation entries. No NanoClaw entry exists yet. This
entry is distinct: it is an `agents` prompt for reviewing the container isolation
posture of a NanoClaw deployment, separate from the NanoClaw tool listing itself.
## Editorial Disclosure
Submitted as an independent community agent entry by `JPette1783`, based on
public NanoClaw documentation and Claude Code documentation. No paid placement,
referral, or affiliate relationship.
## Sources
- NanoClaw repository: https://github.com/nanocoai/nanoclaw
- NanoClaw documentation: https://docs.nanoclaw.dev
- Claude Code MCP documentation: https://code.claude.com/docs/en/mcp
- Claude Code features overview: https://code.claude.com/docs/en/features-overview