本文へ移動
cccskills
無料GitHub で公開

openclaw

Comprehensive guide for installing, configuring, operating, and troubleshooting OpenClaw — a self-hosted, multi-channel AI agent gateway. Use when the user asks about OpenClaw setup, configuration, channel management (WhatsApp/Telegram/Discord/Slack/iMessage/etc.), model provider setup, Gateway operations, multi-agent routing, security hardening, troubleshooting, or any maintenance task related to their local OpenClaw installation. Also use when encountering errors from `openclaw` CLI commands or the Gateway daemon.

インストール方法を見る

含まれるファイル(35)

  • SKILL.md13.6 KB
  • references/acp_agents.md7.1 KB
  • references/automation.md5.8 KB
  • references/browser.md8.5 KB
  • references/channel_troubleshooting.md11.6 KB
  • references/channels.md6.2 KB
  • references/config_reference.md11.2 KB
  • references/diffs_firecrawl.md3.3 KB
  • references/elevated.md2.8 KB
  • references/exec_approvals.md3.1 KB
  • references/exec.md6.5 KB
  • references/gateway_ops.md7.1 KB
  • references/hooks.md14.6 KB
  • references/install.md4.1 KB
  • references/llm_task.md2.6 KB
  • references/lobster.md7.8 KB
  • references/memory.md9.7 KB
  • references/multi_agent.md4.4 KB
  • references/nodes.md8.8 KB
  • references/openprose.md2.6 KB
  • references/pdf_tool.md3.5 KB
  • references/platforms.md2.7 KB
  • references/plugins.md6.9 KB
  • references/providers.md6.0 KB
  • references/remote_access.md4.7 KB
  • references/sandboxing.md5.6 KB
  • references/secrets.md5.4 KB
  • references/security.md24.5 KB
  • references/sessions.md8.9 KB
  • references/skills.md4.4 KB
  • references/slash_commands.md5.1 KB
  • references/subagents.md12.3 KB
  • references/tools.md13.3 KB
  • references/web_tools.md2.7 KB
  • references/web_ui.md4.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

OpenClaw Maintenance Skill

OpenClaw is a self-hosted, open-source (MIT) gateway that routes AI agents across WhatsApp, Telegram, Discord, Slack, iMessage, Signal, and 15+ other channels simultaneously. It runs on macOS, Linux, or Windows.

Reference Files

ReferenceCoverage
channels.mdPer-channel setup (WhatsApp, Telegram, Discord, etc.)
channel_troubleshooting.mdPer-channel failure signatures and walkthroughs
tools.mdTools inventory (profiles, groups, all built-in tools)
exec.mdExec tool: parameters, config, PATH, security, process tool
exec_approvals.mdExec approvals: allowlists, safe bins, approval flow
browser.mdBrowser tool: profiles, CDP, relay, SSRF, Control API
web_tools.mdWeb tools: Brave, Perplexity, Gemini search providers
pdf_tool.mdPDF tool: native/fallback modes, config, page filtering
elevated.mdElevated mode: /elevated directives, sandbox breakout
lobster.mdLobster: typed workflow runtime with approvals
llm_task.mdLLM Task: JSON-only LLM step for structured output
openprose.mdOpenProse: multi-agent program runtime
plugins.mdPlugins: official list, config, manifest, CLI, authoring
skills.mdSkills: locations, config, ClawHub, watcher, token impact
providers.mdModel provider setup
multi_agent.mdMulti-agent routing
nodes.mdNodes (iOS/Android/macOS/headless)
security.mdSecurity hardening
secrets.mdSecrets management (SecretRef, vault)
sandboxing.mdSandboxing (Docker isolation)
config_reference.mdFull config field reference
gateway_ops.mdGateway operations
remote_access.mdRemote access, SSH, Tailscale, web dashboard
sessions.mdSession management, DM isolation, lifecycle, compaction
hooks.mdHooks: internal event hooks, HTTP webhooks, authoring, CLI
automation.mdCron jobs, webhooks, Gmail Pub/Sub
acp_agents.mdACP agents: spawn external AI runtimes (Codex, Claude, etc.)
install.mdInstallation, updating, rollback, migration, uninstall
web_ui.mdWeb surfaces: Dashboard, Control UI, WebChat
slash_commands.mdChat slash commands (/new, /model, /acp, etc.)
platforms.mdPlatform-specific guides (macOS, iOS, Android, Linux, Windows)
diffs_firecrawl.mdDiffs plugin + Firecrawl anti-bot fallback
subagents.mdSub-agents: nested spawning, thread binding, announce, tool policy
memory.mdMemory system, vector search, hybrid BM25, compaction

Quick Reference

Key Paths

PathPurpose
~/.openclaw/openclaw.jsonMain config (JSON5)
~/.openclaw/.envGlobal env fallback
~/.openclaw/workspaceDefault agent workspace
~/.openclaw/agents/<id>/Per-agent state + sessions
OPENCLAW_CONFIG_PATHOverride config location
OPENCLAW_STATE_DIROverride state directory
OPENCLAW_HOMEOverride home directory

Essential Commands

openclaw status                    # Overall status
openclaw gateway status            # Gateway daemon status
openclaw gateway status --deep     # Deep scan including system services
openclaw doctor                    # Diagnose config/service issues
openclaw doctor --fix              # Auto-fix safe issues
openclaw logs --follow             # Tail gateway logs
openclaw channels status --probe   # Channel health check
openclaw security audit            # Security posture check
openclaw security audit --fix      # Auto-fix security issues
openclaw update                    # Self-update
openclaw dashboard                 # Open Control UI in browser
openclaw tui                       # Terminal UI (interactive REPL)
openclaw agent                     # Direct agent interaction via CLI
openclaw health                    # Health check
openclaw usage                     # Usage tracking
openclaw config validate           # Validate config file
openclaw config file               # Print active config path
openclaw sessions cleanup          # Session disk cleanup
openclaw agents bindings           # Agent-channel bindings
openclaw agents bind               # Bind agent to account
openclaw agents unbind             # Unbind agent
openclaw update --dry-run          # Preview update

Default Gateway

  • Bind: 127.0.0.1:18789 (loopback)
  • Dashboard: http://127.0.0.1:18789/
  • Protocol: WebSocket (JSON text frames)

Core Workflow

Diagnosing Issues

Always follow this command ladder:

  1. openclaw status — quick overview
  2. openclaw gateway status — daemon running? RPC probe ok?
  3. openclaw logs --follow — watch for errors
  4. openclaw doctor — config/service diagnostics
  5. openclaw channels status --probe — per-channel health

Starting / Restarting Gateway

# Foreground with verbose logging
openclaw gateway --port 18789 --verbose

# Force-kill existing listener then start
openclaw gateway --force

# Service management (launchd on macOS, systemd on Linux)
openclaw gateway install
openclaw gateway start
openclaw gateway stop
openclaw gateway restart

Configuration

Edit config via any method:

# Interactive wizard
openclaw onboard                    # Full setup
openclaw configure                  # Config wizard

# CLI one-liners
openclaw config get <path>          # Read value
openclaw config set <path> <value>  # Set value (JSON5 or raw string)
openclaw config unset <path>        # Remove value

# Direct edit
# Edit ~/.openclaw/openclaw.json (JSON5 format)
# Gateway hot-reloads on save (if gateway.reload.mode != "off")

Minimal config example:

{
  agents: { defaults: { workspace: "~/.openclaw/workspace" } },
  channels: { whatsapp: { allowFrom: ["+15555550123"] } },
}

Channel Setup

For detailed per-channel setup, see references/channels.md. For per-channel troubleshooting (failure signatures, setup walkthroughs), see references/channel_troubleshooting.md. For plugins adding new channels (Matrix, Nostr, MS Teams, etc.), see references/plugins.md.

Quick channel add:

# Interactive wizard
openclaw channels add

# Non-interactive
openclaw channels add --channel telegram --account default --name "My Bot" --token $BOT_TOKEN
openclaw channels login --channel whatsapp     # QR pairing for WhatsApp
openclaw channels status --probe               # Verify

Model Provider Setup

For detailed provider setup, see references/providers.md.

# Set default model
openclaw models set anthropic/claude-sonnet-4-5

# List available models
openclaw models list --all

# Check auth/token status
openclaw models status --probe

# Add auth interactively
openclaw models auth add

Config example:

{
  agents: {
    defaults: {
      model: {
        primary: "anthropic/claude-sonnet-4-5",
        fallbacks: ["openai/gpt-5.2"],
      },
    },
  },
}

Multi-Agent Routing

For detailed multi-agent config, see references/multi_agent.md.

openclaw agents add <id>                # Create agent
openclaw agents list --bindings         # Show agent-channel bindings
openclaw agents delete <id>             # Remove agent

Nodes (iOS / Android / macOS / Headless)

For detailed node setup, see references/nodes.md.

openclaw nodes status                   # List connected nodes
openclaw nodes describe --node <id>     # Node capabilities
openclaw devices list                   # Pending device approvals
openclaw devices approve <requestId>    # Approve a device
openclaw node run --host <host> --port 18789  # Start headless node host

Security

For detailed security hardening, see references/security.md. For secrets management (SecretRef, vault integration), see references/secrets.md. For sandboxing (Docker isolation for tools), see references/sandboxing.md. For full config field reference, see references/config_reference.md. For remote access (SSH, Tailscale, VPN), see references/remote_access.md.

openclaw security audit                 # Check posture
openclaw security audit --deep          # Live gateway probe
openclaw security audit --fix           # Auto-fix safe issues
openclaw secrets reload                 # Re-resolve secret refs
openclaw secrets audit                  # Scan for plaintext leaks

Update / Uninstall

For detailed installation, updating, rollback, and migration guide, see references/install.md.

# Install (recommended)
curl -fsSL https://openclaw.ai/install.sh | bash

# Update
openclaw update                    # Self-update command
# Or: npm install -g openclaw@latest
openclaw doctor                    # Run after update to apply migrations

# Uninstall
openclaw uninstall

Tools Reference

For detailed per-tool documentation, see references/tools.md.

For specific tools, see:

For ACP agents (Codex, Claude Code, Gemini CLI, etc.), see references/acp_agents.md. For Diffs plugin and Firecrawl anti-bot fallback, see references/diffs_firecrawl.md. For chat slash commands (/new, /model, /acp, etc.), see references/slash_commands.md.

Tool profiles: minimal, coding, messaging, full (default).

Tool groups (for allow/deny):

  • group:runtime — exec, bash, process
  • group:fs — read, write, edit, apply_patch
  • group:sessions — sessions_list/history/send/spawn, session_status
  • group:memory — memory_search, memory_get
  • group:web — web_search, web_fetch
  • group:ui — browser, canvas
  • group:automation — cron, gateway
  • group:messaging — message
  • group:nodes — nodes
  • group:openclaw — all built-in OpenClaw tools (excludes provider plugins)

Common Failure Signatures

ErrorCauseFix
refusing to bind gateway ... without authNon-loopback bind without tokenSet gateway.auth.token or gateway.auth.password
another gateway instance is already listening / EADDRINUSEPort conflictopenclaw gateway --force or change port
Gateway start blocked: set gateway.mode=localLocal mode not enabledSet gateway.mode="local"
unauthorized / reconnect loopToken/password mismatchCheck OPENCLAW_GATEWAY_TOKEN or config auth
device identity requiredMissing device authEnsure client completes connect.challenge flow
No replies from botPairing/allowlist/mention gatingCheck openclaw pairing list, DM policy, mention patterns

Environment Variables

VariablePurpose
OPENCLAW_GATEWAY_TOKENGateway auth token
OPENCLAW_GATEWAY_PASSWORDGateway auth password
OPENCLAW_GATEWAY_PORTOverride gateway port
OPENCLAW_CONFIG_PATHOverride config file path
OPENCLAW_STATE_DIROverride state directory
OPENCLAW_HOMEOverride home directory
OPENCLAW_LOAD_SHELL_ENVImport shell env (set to 1)
OPENCLAW_VERBOSEVerbose logging
OPENCLAW_LOG_FILEFile logging path
OPENCLAW_LOG_LEVELLog level control
OPENCLAW_SHELLSet by OpenClaw in exec/acp/tui runtimes
BRAVE_API_KEYFor web_search tool
FIRECRAWL_API_KEYFor Firecrawl anti-bot fallback

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Create forensically sound bit-for-bit disk images using dd and dcfldd while preserving evidence integrity through hash verification.

日本語の概要は準備中です。原文の説明を表示しています。

micsapp/micstec-skills42026年3月20日 更新

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.

日本語の概要は準備中です。原文の説明を表示しています。

micsapp/micstec-skills42026年3月20日 更新

Detect dangerous ACL misconfigurations in Active Directory using ldap3 to identify GenericAll, WriteDACL, and WriteOwner abuse paths

日本語の概要は準備中です。原文の説明を表示しています。

micsapp/micstec-skills42026年3月20日 更新

Perform static analysis of Android APK malware samples using apktool for decompilation, jadx for Java source recovery, and androguard for permission analysis, manifest inspection, and suspicious API call detection.

日本語の概要は準備中です。原文の説明を表示しています。

micsapp/micstec-skills42026年3月20日 更新

Parses API Gateway access logs (AWS API Gateway, Kong, Nginx) to detect BOLA/IDOR attacks, rate limit bypass, credential scanning, and injection attempts. Uses pandas for statistical analysis of request patterns and anomaly detection. Use when investigating API abuse or building API-specific threat detection rules.

日本語の概要は準備中です。原文の説明を表示しています。

micsapp/micstec-skills42026年3月20日 更新

Analyze advanced persistent threat (APT) group techniques using MITRE ATT&CK Navigator to create layered heatmaps of adversary TTPs for detection gap analysis and threat-informed defense.

日本語の概要は準備中です。原文の説明を表示しています。

micsapp/micstec-skills42026年3月20日 更新

micsapp のスキルをすべて見る

このスキルの問題を報告する