From nanoclaw-skills
Installs the claw Python CLI to send prompts to NanoClaw agent containers from the terminal, list groups, resume sessions, pipe stdin, and use Docker or container runtime.
How this skill is triggered — by the user, by Claude, or both
Slash command
/nanoclaw-skills:clawThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
`claw` is a Python CLI that sends prompts directly to a NanoClaw agent container from the terminal. It reads registered groups from the NanoClaw database, picks up secrets from `.env`, and pipes a JSON payload into a container run — no chat app required.
claw is a Python CLI that sends prompts directly to a NanoClaw agent container from the terminal. It reads registered groups from the NanoClaw database, picks up secrets from .env, and pipes a JSON payload into a container run — no chat app required.
-g needed for most use)-s <session-id>--pipe) for scripting and piping--list-groupscontainer or docker runtime (or override with --runtime)-v) shows the command, redacted payload, and exit codenanoclaw-agent:latest)container (Apple Container, macOS 15+) or docker available in PATHRun this skill from within the NanoClaw directory. The script auto-detects its location, so the symlink always points to the right place.
mkdir -p scripts
cp "${CLAUDE_SKILL_DIR}/scripts/claw" scripts/claw
chmod +x scripts/claw
mkdir -p ~/bin
ln -sf "$(pwd)/scripts/claw" ~/bin/claw
Make sure ~/bin is in PATH. Add this to ~/.zshrc or ~/.bashrc if needed:
export PATH="$HOME/bin:$PATH"
Then reload the shell:
source ~/.zshrc # or ~/.bashrc
claw --list-groups
You should see registered groups. If NanoClaw isn't running or the database doesn't exist yet, the list will be empty — that's fine.
# Send a prompt to the main group
claw "What's on my calendar today?"
# Send to a specific group by name (fuzzy match)
claw -g "family" "Remind everyone about dinner at 7"
# Send to a group by exact JID
claw -j "[email protected]" "Hello"
# Resume a previous session
claw -s abc123 "Continue where we left off"
# Read prompt from stdin
echo "Summarize this" | claw --pipe -g dev
# Pipe a file
cat report.txt | claw --pipe "Summarize this report"
# List all registered groups
claw --list-groups
# Force a specific runtime
claw --runtime docker "Hello"
# Use a custom image tag (e.g. after rebuilding with a new tag)
claw --image nanoclaw-agent:dev "Hello"
# Verbose mode (debug info, secrets redacted)
claw -v "Hello"
# Custom timeout for long-running tasks
claw --timeout 600 "Run the full analysis"
Install Docker Desktop or Apple Container (macOS 15+), or pass --runtime explicitly.
The script auto-detects your NanoClaw directory and reads .env from it. Check that the file exists and contains at least one of: CLAUDE_CODE_OAUTH_TOKEN, ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN.
The default timeout is 300 seconds. For longer tasks, pass --timeout 600 (or higher). If the container consistently hangs, check that your nanoclaw-agent:latest image is up to date by running ./container/build.sh.
Run claw --list-groups to see what's registered. Group lookup does a fuzzy partial match on name and folder — if your query matches multiple groups, you'll get an error listing the ambiguous matches.
Containers run with --rm so they are automatically removed. If the agent crashes before emitting the output sentinel, claw falls back to printing raw stdout. Use -v to see what the container produced. Rebuild the image with ./container/build.sh if crashes are consistent.
If claw can't find your database or .env, set the NANOCLAW_DIR environment variable:
export NANOCLAW_DIR=/path/to/your/nanoclaw
npx claudepluginhub nanocoai/nanoclaw-skills --plugin nanoclaw-skillsPerforms first-time setup of a ClaudeClaw instance: installs dependencies, authenticates messaging channels, registers the main channel, and starts background services.
Installs and configures NVIDIA NemoClaw sandboxed AI agent platform on Linux using Docker, OpenShell, cgroup fixes, Cloudflare tunnels, and NVIDIA API keys.
Installs NemoClaw, launches a sandbox, and runs the first agent prompt. Use when onboarding, installing, or launching a NemoClaw sandbox for the first time.