원클릭으로
claw
Install the claw CLI tool — run NinjaClaw agent containers from the command line without opening a chat app.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Install the claw CLI tool — run NinjaClaw agent containers from the command line without opening a chat app.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Show what this NinjaClaw instance can do — installed skills, available tools, and system info. Read-only. Use when the user asks what the bot can do, what's installed, or runs /capabilities.
Quick read-only health check — session context, workspace mounts, tool availability, and task snapshot. Use when the user asks for system status or runs /status.
Add /compact command for manual context compaction. Solves context rot in long sessions by forwarding the SDK's built-in /compact slash command. Main-group or trusted sender only.
Add Discord bot channel integration to NinjaClaw.
Add Emacs as a channel. Opens an interactive chat buffer and org-mode integration so you can talk to NinjaClaw from within Emacs (Doom, Spacemacs, or vanilla). Uses a local HTTP bridge — no bot token or external service needed.
Add Gmail integration to NinjaClaw. Can be configured as a tool (agent reads/sends emails when triggered from WhatsApp) or as a full channel (emails can trigger the agent, schedule tasks, and receive replies). Guides through GCP OAuth setup and implements the integration.
| name | claw |
| description | Install the claw CLI tool — run NinjaClaw agent containers from the command line without opening a chat app. |
claw is a Python CLI that sends prompts directly to a NinjaClaw agent container from the terminal. It reads registered groups from the NinjaClaw 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 codeNinjaClaw-agent:latest)container (Apple Container, macOS 15+) or docker available in PATHRun this skill from within the NinjaClaw directory. The script auto-detects its location, so the symlink always points to the right place.
mkdir -p scripts
cp "${COPILOT_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 NinjaClaw 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 "120363336345536173@g.us" "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 NinjaClaw-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 NinjaClaw directory and reads .env from it. Check that the file exists and contains at least one of: GITHUB_TOKEN, GITHUB_TOKEN, GITHUB_TOKEN.
The default timeout is 300 seconds. For longer tasks, pass --timeout 600 (or higher). If the container consistently hangs, check that your NinjaClaw-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 NinjaClaw_DIR environment variable:
export NinjaClaw_DIR=/path/to/your/NinjaClaw