Логотип Openclaw

Openclaw

Сообщество
win4r
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.

Обзор

Издательwin4r
РепозиторийOpenClaw-Skill
Название навыкаopenclaw
Звёзды
313
Форки
71
Файлы в комплекте
52
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 52

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — win4r. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Openclaw в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/win4r/OpenClaw-Skill/tree/main
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/win4r/OpenClaw-Skill.git \
  .claude/skills/openclaw
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Openclaw в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Openclaw, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Openclaw не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла 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 plugin: profiles, CDP, Chrome MCP, snapshots, 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: capability model, official list, config, hooks, SDK, 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, background tasks, standing orders
acp_agents.mdACP agents: spawn external AI runtimes (Codex, Claude, Gemini, 14+ harnesses)
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, QMD backend
architecture.mdGateway architecture, wire protocol, pairing, invariants
agent_runtime.mdAgent runtime, bootstrap files, agent loop, context engine, hooks, timeouts
streaming.mdStreaming + chunking: block streaming, coalescing, preview modes
queue.mdCommand queue: modes (steer/followup/collect), concurrency, per-session
model_failover.mdModel failover, OAuth, auth profiles, cooldowns, billing disables
clawhub.mdClawHub: public skill registry, CLI commands, publish/install
thinking.mdThinking levels, verbose directives, reasoning visibility
polls.mdPolls: Telegram, WhatsApp, Discord, MS Teams
voice.mdTalk Mode (voice interaction) + Voice Wake (wake words)
presence_discovery.mdPresence system, discovery (Bonjour/Tailscale), transports
gateway_internals.mdNetwork model, gateway lock, health checks, doctor, logging, background exec
heartbeat.mdHeartbeat: config, delivery, visibility, HEARTBEAT.md, per-agent
bonjour.mdBonjour/mDNS: TXT keys, wide-area DNS-SD, debugging, failure modes
pairing.mdGateway pairing: node approval, CLI, API, auto-approval, storage
tui.mdTUI: keyboard shortcuts, slash commands, pickers, local shell, delivery
media.mdMedia: camera capture, images, audio/voice notes, transcription
channel_routing.mdChannel routing, session keys, agent selection, Mattermost, BlueBubbles

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/skills/Managed/local skills
~/.openclaw/agents/<id>/qmd/QMD memory backend state
~/.openclaw/agents/<id>/agent/auth-profiles.jsonAuth profiles + OAuth tokens
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
openclaw system presence           # View connected clients/nodes
openclaw system heartbeat last     # Last heartbeat info
openclaw system heartbeat now      # Trigger heartbeat immediately
openclaw memory search <query>     # CLI memory search
openclaw docs <query>              # Search OpenClaw docs
openclaw tasks list                # List background/detached task runs
openclaw tasks show <id>           # Show specific task details
openclaw tasks cancel <id>         # Cancel a running task
openclaw tasks audit               # Identify problematic task runs
openclaw agent --message "..."     # Run single agent turn (scripted/testing)
openclaw nodes pending             # List pending pairing requests
openclaw nodes approve <id>        # Approve node pairing
openclaw nodes status              # Show all paired nodes
openclaw health --json             # Full health snapshot (JSON)
openclaw message send --media <p>  # Send media message

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

bash
# 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:

bash
# 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:

json5
{
  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:

bash
# 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.

bash
# 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:

json5
{
  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.

bash
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.

bash
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.

bash
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.

bash
# 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. For thinking levels (/think, /verbose, /reasoning), see references/thinking.md. For polls (Telegram, WhatsApp, Discord, MS Teams), see references/polls.md. For Talk Mode and Voice Wake, see references/voice.md. For Gateway architecture and wire protocol, see references/architecture.md. For agent runtime and loop details, see references/agent_runtime.md. For command queue system, see references/queue.md. For model failover and OAuth, see references/model_failover.md. For ClawHub skill registry, see references/clawhub.md. For presence and discovery, see references/presence_discovery.md. For streaming and chunking, see references/streaming.md. For Gateway internals (network model, lock, health, doctor, logging), see references/gateway_internals.md. For heartbeat system, see references/heartbeat.md. For Bonjour/mDNS discovery details, see references/bonjour.md. For Gateway node pairing, see references/pairing.md. For Terminal UI (TUI), see references/tui.md. For media (camera, images, audio), see references/media.md. For channel routing and session keys, see references/channel_routing.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
Embedding provider authentication failed (401).env has placeholder API key (e.g. your-jina-api-key-here)Replace with real API key in ~/.openclaw/.env, restart Gateway
openclaw flows list / ClawFlow referencesClawFlow is deprecatedUse openclaw tasks list/show/cancel/audit instead
config change requires gateway restart (plugins.*)Plugin config changes can't hot-reloadFull openclaw gateway restart or launchctl kickstart -k
Bootstrap failed: 5: Input/output errorLaunchAgent plist in stale/stuck stateopenclaw gateway install then launchctl kickstart -k gui/$(id -u)/ai.openclaw.gateway
Missing env var "X" referenced at config path: ....env missing or variable not definedAdd variable to ~/.openclaw/.env and restart Gateway

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
ELEVENLABS_API_KEYFor Talk Mode TTS
ELEVENLABS_VOICE_IDDefault voice for Talk Mode
CLAWHUB_TOKENClawHub API token for CI/automation
CLAWHUB_WORKDIRClawHub working directory override
OLLAMA_API_KEYFor Ollama embeddings provider
OPENCLAW_SKIP_CRONDisable cron scheduler (set to 1)
OPENCLAW_HIDE_BANNERSuppress banner output
OPENCLAW_SUPPRESS_NOTESSuppress informational notes

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ 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.

Зачем использовать Openclaw в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Openclaw — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Openclaw в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/win4r/OpenClaw-Skill/tree/main. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Openclaw?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Openclaw?

С любым количеством. В TypingMind вы можете использовать Openclaw с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Openclaw?

Навык опубликован на GitHub. Издатель — win4r. Условия лицензии можно найти в репозитории. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇