Openclaw Genie

Use when the user asks about OpenClaw — installation, configuration, agents, channels, memory, tools, hooks, skills, deployment, Docker, multi-agent, OAuth,...

MIT-0 · Free to use, modify, and redistribute. No attribution required.
2 · 311 · 0 current installs · 0 all-time installs
byFabricio Cavalcante@fcsouza
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the content: the skill is a large reference and quick-start for OpenClaw (installation, config, channels, memory, tools, deployment, etc.). It does not declare unrelated env vars, binaries, or install steps beyond documenting how to install OpenClaw itself, which is coherent with the skill's purpose.
Instruction Scope
SKILL.md is documentation and contains many example CLI commands, file paths (e.g., ~/.openclaw/*), and config snippets. The document does not itself instruct the agent to read or exfiltrate host secrets, but it does reference secrets and config locations (env files, token storage). Because skills are injected into prompts, an agent using this skill could legitimately suggest running commands or reading local files as part of troubleshooting — this is consistent with the purpose but worth noting for privacy/security.
Install Mechanism
No install spec and no code files to execute; the skill is instruction-only (Markdown). There is no third-party download or extraction step performed by the skill itself.
Credentials
The skill documents many OpenClaw-related environment variables and secret handling patterns (e.g., API keys, OPENCLAW_HOME), but the skill does not require or request any environment variables or credentials to be provided to the platform. The referenced secrets are appropriate for an OpenClaw guide.
Persistence & Privilege
Flags are default: always:false, user-invocable:true, disable-model-invocation:false. There is no indication the skill will persist configuration or modify other skills; it's a read-only documentation skill and thus does not request elevated persistence privileges.
Assessment
This skill is a documentation/reference pack for OpenClaw and appears coherent with that purpose. It does contain example install commands (e.g., curl | bash) and references to local config paths and secret handling. Before installing or enabling it for autonomous use, consider: (1) only enable it if you want an agent that may recommend running local commands or reading OpenClaw config files; (2) if you are cautious about agents accessing local files or secrets, keep autonomous invocation disabled or restrict the agent's tool permissions; (3) verify any commands it suggests (especially one-liner installers) before running them on your machine.

Like a lobster shell, security has layers — review code before you run it.

Current versionv1.2.0
Download zip
latestvk97fg369fksqnvw3n5fyxqs4d182ft3j

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

SKILL.md

OpenClaw Genie

OpenClaw is a self-hosted personal AI agent gateway (MIT license, open source). It connects LLM agents to 22+ messaging platforms natively (WhatsApp, Telegram, Discord, Slack, Signal, iMessage, MS Teams, Matrix, and more) with 50+ integrations (Gmail, GitHub, Obsidian, Spotify, and more) through a single Gateway process. All data stays local.


Quick Start

# One-liner install (macOS/Linux, requires Node 22+)
curl -fsSL https://openclaw.ai/install.sh | bash

# Or via npm
npm install -g openclaw@latest

# Interactive setup — gateway, workspace, channels, skills
openclaw onboard --install-daemon

# Verify
openclaw status
openclaw gateway status

Web Control UI: http://127.0.0.1:18789/


Core Architecture

Channels (WhatsApp, Discord, Telegram, Slack, Signal, …)
        ↓
    Gateway  ← WebSocket control plane (port 18789), single source of truth
        ↓
    Agents   ← isolated workspaces, sessions, memory, tools
        ↓
    Tools    ← exec, browser, skills, hooks, messaging, sub-agents
        ↓
    Nodes    ← companion devices (macOS/iOS/Android): camera, canvas, screen
  • Gateway: Multiplexed port (WebSocket + HTTP + Control UI). Hot-reloads config.
  • Agents: Fully isolated — own workspace, session store, memory, auth profiles, sandbox.
  • Channels: 22+ native adapters run simultaneously. Deterministic routing: replies return to origin.
  • Nodes: Paired companion devices that expose canvas.*, camera.*, screen.*, device.*, notifications.* via node.invoke.
  • Sessions: Key format agent:<agentId>:<channel>:<scope>:<chatId>. DM scopes: main, per-peer, per-channel-peer, per-account-channel-peer.

Agent Configuration

Workspace files in ~/.openclaw/workspace/ (default agent) or ~/.openclaw/workspace-<agentId>/:

FilePurpose
SOUL.mdAgent personality and system prompt
IDENTITY.mdName, emoji, avatar
USER.mdUser profile information
MEMORY.mdCurated long-term memory
memory/YYYY-MM-DD.mdDaily append-only session logs
TOOLS.mdTool usage guidance
BOOTSTRAP.mdOne-time init tasks (deleted after first run)
HEARTBEAT.mdPeriodic check-in instructions

Bootstrap injection: IDENTITY → SOUL → USER → MEMORY → daily log → skills → session. Limits: 20,000 chars/file, 150,000 chars total (configurable).

Multi-agent config uses agents.list[] and bindings[] in openclaw.json (see references/multi-agent.md).


Configuration — openclaw.json

Location: ~/.openclaw/openclaw.json (JSON5 — comments and trailing commas OK).

{
  "models": {           // primary, fallbacks, aliases, image model
    "primary": "anthropic/claude-sonnet-4-5",
    "fallbacks": ["openai/gpt-4o"]
  },
  "channels": { },      // discord, telegram, whatsapp, slack, signal, …
  "agents": { },        // list, defaults, bindings, broadcast, subagents
  "tools": { },         // profiles, allow/deny, loop detection, exec config
  "skills": { },        // entries, load dirs, install manager
  "browser": { },       // profiles, SSRF policy, executable path
  "sandbox": { },       // mode (off/non-main/all), scope, Docker hardening
  "gateway": { },       // port, auth, discovery, binding
  "automation": { },    // cron, webhooks, heartbeat
  "hooks": { },         // internal hooks config
  "session": { },       // dmScope, resets, sendPolicy, maintenance
  "auth": { }           // OAuth profiles, key rotation, order
}
  • Env vars: ~/.openclaw/.env, ${VAR} substitution in config strings.
  • $include: Nested file inclusion (up to 10 levels).
  • Hot reload: hybrid mode (default) — safe changes hot-apply, critical ones auto-restart. Debounce 300ms.
  • Strict validation: Unknown keys prevent Gateway startup.

For full reference, read references/configuration.md.


Channels Quick Reference

ChannelSetupNotes
Discordopenclaw channels add discordBot API + Gateway; servers, DMs, threads, slash commands, voice
Telegramopenclaw channels add telegramgrammY; groups, forums, inline buttons, webhook mode
WhatsAppopenclaw channels add whatsappBaileys; QR pairing, media, polls
Slackopenclaw channels add slackBolt SDK; socket or HTTP mode, native streaming
Signalopenclaw channels add signalsignal-cli; privacy-focused, auto-daemon
iMessageopenclaw channels add bluebubblesBlueBubbles; reactions, edits, groups
Google Chatopenclaw channels add googlechatHTTP webhook app
IRCopenclaw channels add ircNickServ, channels + DMs
MS Teamsopenclaw plugins install @openclaw/msteamsAdaptive Cards, polls
Matrixopenclaw plugins install @openclaw/matrixE2EE, threads, rooms
Mattermostopenclaw plugins install @openclaw/mattermostSelf-hosted
Nextcloud Talkopenclaw plugins install @openclaw/nextcloud-talkSelf-hosted
WebChatBuilt-in web UIBrowser-based access at gateway URL

Access control: DM policy (pairing/allowlist/open/disabled), group policy, mention gating. Multi-account per channel supported.

For per-channel details, read references/channels.md.


Memory System

  • Daily logs: memory/YYYY-MM-DD.md — today + yesterday loaded at session start
  • Long-term: MEMORY.md — curated facts, decisions, preferences (private sessions only)
  • Tools: memory_search (vector recall, ~400-token chunks) and memory_get (file reads)
  • Hybrid search: BM25 (exact tokens) + vector (semantic) with configurable weights
  • Post-processing: MMR deduplication (lambda 0.7) + temporal decay (30-day half-life)
  • Providers: auto-selects local → OpenAI → Gemini → Voyage → Mistral
  • QMD backend: Optional local-first sidecar (BM25 + vectors + reranking)
  • Auto flush: Silent agentic turn before context compaction preserves important memories

For full memory config, read references/memory.md.


Tools Overview

ToolPurpose
execShell commands (sandbox/gateway/node hosts)
processBackground process management
browserChromium automation (navigate, click, type, screenshot)
web_searchBrave Search API queries
web_fetchURL → markdown extraction
memory_searchSemantic vector search over memory
memory_getDirect memory file reads
messageCross-channel messaging (send, react, thread, pin, poll)
sessions_spawnSub-agent runs (one-shot or persistent, up to depth 5)
canvasNode Canvas UI (HTML display on connected devices)
nodesPaired device control: camera snap/clip, screen record, notifications, canvas A2UI
pdfNative PDF analysis (up to 10 PDFs, Anthropic/Google native mode, extraction fallback)

Access control: Profiles (minimal, coding, messaging, full), allow/deny lists, tool groups (group:fs, group:runtime, group:sessions, group:web, group:ui, group:automation). Default profile (since v2026.3.2): onboarding defaults to messaging (not coding).

For full tools, skills, and hooks reference, read references/tools.md.


Hooks & Automation

Hooks — event-driven TypeScript handlers in <workspace>/hooks/:

EventTrigger
command:new/reset/stopSession lifecycle
agent:bootstrapPre-injection (can mutate bootstrap files)
gateway:startupAfter channels load
message:received/sentMessage lifecycle
tool_result_persistSynchronous tool result transform

Automation — built into Gateway:

  • Cron: Scheduled jobs (cron expressions, intervals, one-shot). Isolated or main-session.
  • Webhooks: /hooks/wake (system events), /hooks/agent (isolated turns), custom mapped endpoints.
  • Heartbeat: Periodic check-ins (default 30min), batches multiple checks per turn.

Voice — macOS/iOS wake word + talk mode overlay; continuous voice on Android with ElevenLabs or system TTS; OpenAI-compatible STT endpoint (messages.tts.openai.baseUrl).


Deployment Options

# Local service (default)
openclaw gateway install && openclaw gateway start

# One-liner Docker
./docker-setup.sh

# Manual Docker
docker build -t openclaw:local -f Dockerfile .
docker compose up -d openclaw-gateway

Cloud: Fly.io, Railway, Render, GCP, Hetzner, Cloudflare Workers, Ansible. Sandbox: Docker isolation for untrusted sessions. Modes: off, non-main, all. Scopes: session, agent, shared. Remote access: Tailscale/VPN preferred, SSH tunnel fallback.

For full deployment guide, read references/deployment.md.


CLI Essentials

CommandPurpose
openclaw onboardInteractive first-time setup
openclaw gateway start/stop/statusService management
openclaw channels add/list/status/loginChannel management
openclaw models list/set/auth/scanModel config + auth
openclaw skills list/info/checkSkill management
openclaw hooks list/enable/disable/installHook management
openclaw agent --message "..."Single agent turn
openclaw agents list/add/deleteMulti-agent management
openclaw sessionsList/manage sessions
openclaw browserBrowser control (50+ subcommands)
openclaw cron list/add/runScheduled jobs
openclaw nodes statusList paired companion nodes
openclaw devices list/approveManage device pairing requests
openclaw config get/set/unset/validateConfig helpers (validate checks file before startup)
openclaw doctor [--fix]Health checks + auto-repair
openclaw security audit [--deep]Security audit
openclaw logs [--follow]Tail gateway logs
openclaw memory search "query"Vector search
openclaw dns setupCoreDNS + Tailscale discovery
openclaw tuiTerminal UI

Global flags: --dev, --profile <name>, --json, --no-color


When to Read Reference Files

If you need…Read
Full openclaw.json, model providers, env vars, auth, OAuthreferences/configuration.md
Per-channel setup, routing, access control, streaming, multi-accountreferences/channels.md
Memory files, vector search, QMD, embeddings, hybrid searchreferences/memory.md
Exec, browser, skills, hooks, tool access, sub-agents, nodesreferences/tools.md
Docker, cloud deploy, sandboxing, native install, securityreferences/deployment.md
Multi-agent config, bindings, broadcast, sub-agents, workspacesreferences/multi-agent.md

Files

8 total
Select a file
Select a file to preview.

Comments

Loading comments…