TaskFlow
DashboardFreewriteWhiteboardsProjectsCRMTasksNotificationsSettingsAgent TowerAPI Docs
OpenClaw Docs
?

User

Member

Caricamento in corso...

Home
Progetti
Task
Notifiche
CRM

    OpenClaw

    Documentation Mirror

    Documentation Overview

    Docs

    Auth credential semantics
    Scheduled tasks
    Hooks
    Automation & tasks
    Standing orders
    Task flow
    Background tasks
    BlueBubbles
    Broadcast groups
    Channel routing
    Discord
    Feishu
    Google Chat
    Group messages
    Groups
    iMessage
    Chat channels
    IRC
    LINE
    Channel location parsing
    Matrix
    Matrix migration
    Matrix push rules for quiet previews
    Mattermost
    Microsoft Teams
    Nextcloud Talk
    Nostr
    Pairing
    QA channel
    QQ bot
    Signal
    Slack
    Synology Chat
    Telegram
    Tlon
    Channel troubleshooting
    Twitch
    WeChat
    WhatsApp
    Yuanbao
    Zalo
    Zalo personal
    CI pipeline
    ACP
    Agent
    Agents
    Approvals
    Backup
    Browser
    Channels
    Clawbot
    `openclaw commitments`
    Completion
    Config
    Configure
    Cron
    Daemon
    Dashboard
    Devices
    Directory
    DNS
    Docs
    Doctor
    Flows (redirect)
    Gateway
    Health
    Hooks
    CLI reference
    Inference CLI
    Logs
    MCP
    Memory
    Message
    Migrate
    Models
    Node
    Nodes
    Onboard
    Pairing
    Plugins
    Proxy
    QR
    Reset
    Sandbox CLI
    Secrets
    Security
    Sessions
    Setup
    Skills
    Status
    System
    `openclaw tasks`
    TUI
    Uninstall
    Update
    Voicecall
    Webhooks
    Wiki
    Active memory
    Agent runtime
    Agent loop
    Agent runtimes
    Agent workspace
    Gateway architecture
    Channel docking
    Inferred commitments
    Compaction
    Context
    Context engine
    Delegate architecture
    Dreaming
    Experimental features
    Features
    Markdown formatting
    Memory overview
    Builtin memory engine
    Honcho memory
    QMD memory engine
    Memory search
    Messages
    Model failover
    Model providers
    Models CLI
    Multi-agent routing
    OAuth
    OpenClaw App SDK
    Presence
    QA overview
    Matrix QA
    Command queue
    Steering queue
    Retry policy
    Session management
    Session pruning
    Session tools
    SOUL.md personality guide
    Streaming and chunking
    System prompt
    Timezones
    TypeBox
    Typing indicators
    Usage tracking
    Date and time
    Node + tsx crash
    Diagnostics flags
    Authentication
    Background exec and process tool
    Bonjour discovery
    Bridge protocol
    CLI backends
    Configuration — agents
    Configuration — channels
    Configuration — tools and custom providers
    Configuration
    Configuration examples
    Configuration reference
    Diagnostics export
    Discovery and transports
    Doctor
    Gateway lock
    Health checks
    Heartbeat
    Gateway runbook
    Local models
    Gateway logging
    Multiple gateways
    Network model
    OpenAI chat completions
    OpenResponses API
    OpenShell
    OpenTelemetry export
    Gateway-owned pairing
    Prometheus metrics
    Gateway protocol
    Remote access
    Remote gateway setup
    Sandbox vs tool policy vs elevated
    Sandboxing
    Secrets management
    Secrets apply plan contract
    Security audit checks
    Security
    Tailscale
    Tools invoke API
    Troubleshooting
    Trusted proxy auth
    Debugging
    Environment variables
    FAQ
    FAQ: first-run setup
    FAQ: models and auth
    GPT-5.5 / Codex agentic parity
    GPT-5.5 / Codex parity maintainer notes
    Help
    Scripts
    Testing
    Testing: live suites
    General troubleshooting
    OpenClaw
    Ansible
    Azure
    Bun (experimental)
    ClawDock
    Release channels
    DigitalOcean
    Docker
    Docker VM runtime
    exe.dev
    Fly.io
    GCP
    Hetzner
    Hostinger
    Install
    Installer internals
    Kubernetes
    macOS VMs
    Migration guide
    Migrating from Claude
    Migrating from Hermes
    Nix
    Node.js
    Northflank
    Oracle Cloud
    Podman
    Railway
    Raspberry Pi
    Render
    Uninstall
    Updating
    Logging
    Network
    Audio and voice notes
    Camera capture
    Image and media support
    Nodes
    Location command
    Media understanding
    Talk mode
    Node troubleshooting
    Voice wake
    Pi integration architecture
    Pi development workflow
    Android app
    Platforms
    iOS app
    Linux app
    Gateway on macOS
    Canvas
    Gateway lifecycle
    macOS dev setup
    Health checks (macOS)
    Menu bar icon
    macOS logging
    Menu bar
    Peekaboo bridge
    macOS permissions
    Remote control
    macOS signing
    Skills (macOS)
    Voice overlay
    Voice wake (macOS)
    WebChat (macOS)
    macOS IPC
    macOS app
    Windows
    Plugin internals
    Plugin architecture internals
    Building plugins
    Plugin bundles
    Codex Computer Use
    Codex harness
    Community plugins
    Plugin compatibility
    Google Meet plugin
    Plugin hooks
    Plugin manifest
    Memory LanceDB
    Memory wiki
    Message presentation
    Agent harness plugins
    Building channel plugins
    Channel turn kernel
    Plugin entry points
    Plugin SDK migration
    Plugin SDK overview
    Building provider plugins
    Plugin runtime helpers
    Plugin setup and config
    Plugin SDK subpaths
    Plugin testing
    Skill workshop plugin
    Voice call plugin
    Webhooks plugin
    Zalo personal plugin
    OpenProse
    Alibaba Model Studio
    Anthropic
    Arcee AI
    Azure Speech
    Amazon Bedrock
    Amazon Bedrock Mantle
    Chutes
    Claude Max API proxy
    Cloudflare AI gateway
    ComfyUI
    Deepgram
    Deepinfra
    DeepSeek
    ElevenLabs
    Fal
    Fireworks
    GitHub Copilot
    GLM (Zhipu)
    Google (Gemini)
    Gradium
    Groq
    Hugging Face (inference)
    Provider directory
    Inferrs
    Inworld
    Kilocode
    LiteLLM
    LM Studio
    MiniMax
    Mistral
    Model provider quickstart
    Moonshot AI
    NVIDIA
    Ollama
    OpenAI
    OpenCode
    OpenCode Go
    OpenRouter
    Perplexity
    Qianfan
    Qwen
    Runway
    SGLang
    StepFun
    Synthetic
    Tencent Cloud (TokenHub)
    Together AI
    Venice AI
    Vercel AI gateway
    vLLM
    Volcengine (Doubao)
    Vydra
    xAI
    Xiaomi MiMo
    Z.AI
    Default AGENTS.md
    Release policy
    API usage and costs
    Credits
    Device model database
    Full release validation
    Memory configuration reference
    OpenClaw App SDK API design
    Prompt caching
    Rich output protocol
    RPC adapters
    SecretRef credential surface
    Session management deep dive
    AGENTS.md template
    BOOT.md template
    BOOTSTRAP.md template
    HEARTBEAT.md template
    IDENTITY template
    SOUL.md template
    TOOLS.md template
    USER template
    Tests
    Token use and costs
    Transcript hygiene
    Onboarding reference
    Contributing to the threat model
    Threat model (MITRE ATLAS)
    Formal verification (security models)
    Network proxy
    Agent bootstrapping
    Docs directory
    Getting started
    Docs hubs
    OpenClaw lore
    Onboarding (macOS app)
    Onboarding overview
    Personal assistant setup
    Setup
    Showcase
    Onboarding (CLI)
    CLI automation
    CLI setup reference
    ACP agents
    ACP agents — setup
    Agent send
    apply_patch tool
    Brave search
    Browser (OpenClaw-managed)
    Browser control API
    Browser troubleshooting
    Browser login
    WSL2 + Windows + remote Chrome CDP troubleshooting
    BTW side questions
    ClawHub
    Code execution
    Creating skills
    Diffs
    DuckDuckGo search
    Elevated mode
    Exa search
    Exec tool
    Exec approvals
    Exec approvals — advanced
    Firecrawl
    Gemini search
    Grok search
    Image generation
    Tools and plugins
    Kimi search
    LLM task
    Lobster
    Tool-loop detection
    Media overview
    MiniMax search
    Multi-agent sandbox and tools
    Music generation
    Ollama web search
    PDF tool
    Perplexity search
    Plugins
    Reactions
    SearXNG search
    Skills
    Skills config
    Slash commands
    Sub-agents
    Tavily
    Thinking levels
    Tokenjuice
    Trajectory bundles
    Text-to-speech
    Video generation
    Web search
    Web fetch
    Linux server
    Control UI
    Dashboard
    Web
    TUI
    WebChat

    OpenAPI Specs

    openapi
    TaskFlow
    docs/openclaw
    Original Docs

    Real-time Synchronized Documentation

    Last sync: 01/05/2026 07:02:50

    Note: This content is mirrored from docs.openclaw.ai and is subject to their terms and conditions.

    OpenClaw Docs

    v2.4.0 Production

    Last synced: Today, 22:00

    Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.

    Use this file to discover all available pages before exploring further.

    Skills

    OpenClaw uses AgentSkills-compatible skill folders to teach the agent how to use tools. Each skill is a directory containing a

    text
    SKILL.md
    with YAML frontmatter and instructions. OpenClaw loads bundled skills plus optional local overrides, and filters them at load time based on environment, config, and binary presence.

    Locations and precedence

    OpenClaw loads skills from these sources, highest precedence first:

    #SourcePath
    1Workspace skills
    text
    <workspace>/skills
    2Project agent skills
    text
    <workspace>/.agents/skills
    3Personal agent skills
    text
    ~/.agents/skills
    4Managed/local skills
    text
    ~/.openclaw/skills
    5Bundled skillsshipped with the install
    6Extra skill folders
    text
    skills.load.extraDirs
    (config)

    If a skill name conflicts, the highest source wins.

    Codex CLI's native

    text
    $CODEX_HOME/skills
    directory is not one of these OpenClaw skill roots. In Codex harness mode, local app-server launches use isolated per-agent Codex homes, so personal Codex CLI skills are not loaded implicitly. Use
    text
    openclaw migrate codex --dry-run
    to inventory them and
    text
    openclaw migrate codex
    to choose skill directories with an interactive checkbox prompt before copying them into the current OpenClaw agent workspace. For non-interactive runs, repeat
    text
    --skill <name>
    for the exact skills to copy.

    Per-agent vs shared skills

    In multi-agent setups each agent has its own workspace:

    ScopePathVisible to
    Per-agent
    text
    <workspace>/skills
    Only that agent
    Project-agent
    text
    <workspace>/.agents/skills
    Only that workspace's agent
    Personal-agent
    text
    ~/.agents/skills
    All agents on that machine
    Shared managed/local
    text
    ~/.openclaw/skills
    All agents on that machine
    Shared extra dirs
    text
    skills.load.extraDirs
    (lowest precedence)
    All agents on that machine

    Same name in multiple places → highest source wins. Workspace beats project-agent, beats personal-agent, beats managed/local, beats bundled, beats extra dirs.

    Agent skill allowlists

    Skill location and skill visibility are separate controls. Location/precedence decides which copy of a same-named skill wins; agent allowlists decide which skills an agent can actually use.

    json5
    { agents: { defaults: { skills: ["github", "weather"], }, list: [ { id: "writer" }, // inherits github, weather { id: "docs", skills: ["docs-search"] }, // replaces defaults { id: "locked-down", skills: [] }, // no skills ], }, }

    Plugins and skills

    Plugins can ship their own skills by listing

    text
    skills
    directories in
    text
    openclaw.plugin.json
    (paths relative to the plugin root). Plugin skills load when the plugin is enabled. This is the right place for tool-specific operating guides that are too long for the tool description but should be available whenever the plugin is installed — for example, the browser plugin ships a
    text
    browser-automation
    skill for multi-step browser control.

    Plugin skill directories are merged into the same low-precedence path as

    text
    skills.load.extraDirs
    , so a same-named bundled, managed, agent, or workspace skill overrides them. You can gate them via
    text
    metadata.openclaw.requires.config
    on the plugin's config entry.

    See Plugins for discovery/config and Tools for the tool surface those skills teach.

    Skill Workshop

    The optional, experimental Skill Workshop plugin can create or update workspace skills from reusable procedures observed during agent work. It is disabled by default and must be explicitly enabled via

    text
    plugins.entries.skill-workshop
    .

    Skill Workshop writes only to

    text
    <workspace>/skills
    , scans generated content, supports pending approval or automatic safe writes, quarantines unsafe proposals, and refreshes the skill snapshot after successful writes so new skills become available without a Gateway restart.

    Use it for corrections such as "next time, verify GIF attribution" or hard-won workflows such as media QA checklists. Start with pending approval; use automatic writes only in trusted workspaces after reviewing its proposals. Full guide: Skill Workshop plugin.

    ClawHub (install and sync)

    ClawHub is the public skills registry for OpenClaw. Use native

    text
    openclaw skills
    commands for discover/install/update, or the separate
    text
    clawhub
    CLI for publish/sync workflows. Full guide: ClawHub.

    ActionCommand
    Install a skill into the workspace
    text
    openclaw skills install <skill-slug>
    Update all installed skills
    text
    openclaw skills update --all
    Sync (scan + publish updates)
    text
    clawhub sync --all

    Native

    text
    openclaw skills install
    installs into the active workspace
    text
    skills/
    directory. The separate
    text
    clawhub
    CLI also installs into
    text
    ./skills
    under your current working directory (or falls back to the configured OpenClaw workspace). OpenClaw picks that up as
    text
    <workspace>/skills
    on the next session. Configured skill roots also support one grouping level, such as
    text
    skills/<group>/<skill>/SKILL.md
    , so related third-party skills can be kept under a shared folder without broad recursive scanning.

    ClawHub skill pages expose the latest security scan state before install, with scanner detail pages for VirusTotal, ClawScan, and static analysis.

    text
    openclaw skills install <slug>
    remains only the install path; publishers recover false positives through the ClawHub dashboard or
    text
    clawhub skill rescan <slug>
    .

    Security

    warning

    Treat third-party skills as **untrusted code**. Read them before enabling. Prefer sandboxed runs for untrusted inputs and risky tools. See [Sandboxing](/gateway/sandboxing) for the agent-side controls.
    • Workspace and extra-dir skill discovery only accepts skill roots and
      text
      SKILL.md
      files whose resolved realpath stays inside the configured root.
    • Gateway-backed skill dependency installs (
      text
      skills.install
      , onboarding, and the Skills settings UI) run the built-in dangerous-code scanner before executing installer metadata.
      text
      critical
      findings block by default unless the caller explicitly sets the dangerous override; suspicious findings still warn only.
    • text
      openclaw skills install <slug>
      is different — it downloads a ClawHub skill folder into the workspace and does not use the installer-metadata path above.
    • text
      skills.entries.*.env
      and
      text
      skills.entries.*.apiKey
      inject secrets into the host process for that agent turn (not the sandbox). Keep secrets out of prompts and logs.

    For a broader threat model and checklists, see Security.

    SKILL.md format

    text
    SKILL.md
    must include at least:

    markdown
    --- name: image-lab description: Generate or edit images via a provider-backed image workflow ---

    OpenClaw follows the AgentSkills spec for layout/intent. The parser used by the embedded agent supports single-line frontmatter keys only;

    text
    metadata
    should be a single-line JSON object. Use
    text
    {baseDir}
    in instructions to reference the skill folder path.

    Optional frontmatter keys

    URL surfaced as "Website" in the macOS Skills UI. Also supported via `metadata.openclaw.homepage`. When `true`, the skill is exposed as a user slash command. When `true`, the skill is excluded from the model prompt (still available via user invocation). When set to `tool`, the slash command bypasses the model and dispatches directly to a tool. Tool name to invoke when `command-dispatch: tool` is set. For tool dispatch, forwards the raw args string to the tool (no core parsing). The tool is invoked with `{ command: "", commandName: "", skillName: "" }`.

    Gating (load-time filters)

    OpenClaw filters skills at load time using

    text
    metadata
    (single-line JSON):

    markdown
    --- name: image-lab description: Generate or edit images via a provider-backed image workflow metadata: { "openclaw": { "requires": { "bins": ["uv"], "env": ["GEMINI_API_KEY"], "config": ["browser.enabled"] }, "primaryEnv": "GEMINI_API_KEY", }, } ---

    Fields under

    text
    metadata.openclaw
    :

    When `true`, always include the skill (skip other gates). Optional emoji used by the macOS Skills UI. Optional URL shown as "Website" in the macOS Skills UI. Optional list of platforms. If set, the skill is only eligible on those OSes. Each must exist on `PATH`. At least one must exist on `PATH`. Env var must exist or be provided in config. List of `openclaw.json` paths that must be truthy. Env var name associated with `skills.entries..apiKey`. Optional installer specs used by the macOS Skills UI (brew/node/go/uv/download).

    If no

    text
    metadata.openclaw
    is present, the skill is always eligible (unless disabled in config or blocked by
    text
    skills.allowBundled
    for bundled skills).

    note

    Legacy `metadata.clawdbot` blocks are still accepted when `metadata.openclaw` is absent, so older installed skills keep their dependency gates and installer hints. New and updated skills should use `metadata.openclaw`.

    Sandboxing notes

    • text
      requires.bins
      is checked on the host at skill load time.
    • If an agent is sandboxed, the binary must also exist inside the container. Install it via
      text
      agents.defaults.sandbox.docker.setupCommand
      (or a custom image).
      text
      setupCommand
      runs once after the container is created. Package installs also require network egress, a writable root FS, and a root user in the sandbox.
    • Example: the
      text
      summarize
      skill (
      text
      skills/summarize/SKILL.md
      ) needs the
      text
      summarize
      CLI in the sandbox container to run there.

    Installer specs

    markdown
    --- name: gemini description: Use Gemini CLI for coding assistance and Google search lookups. metadata: { "openclaw": { "emoji": "♊️", "requires": { "bins": ["gemini"] }, "install": [ { "id": "brew", "kind": "brew", "formula": "gemini-cli", "bins": ["gemini"], "label": "Install Gemini CLI (brew)", }, ], }, } ---

    Config overrides

    Bundled and managed skills can be toggled and supplied with env values under

    text
    skills.entries
    in
    text
    ~/.openclaw/openclaw.json
    :

    json5
    { skills: { entries: { "image-lab": { enabled: true, apiKey: { source: "env", provider: "default", id: "GEMINI_API_KEY" }, // or plaintext string env: { GEMINI_API_KEY: "GEMINI_KEY_HERE", }, config: { endpoint: "https://example.invalid", model: "nano-pro", }, }, peekaboo: { enabled: true }, sag: { enabled: false }, }, }, }
    `false` disables the skill even if it is bundled or installed. The bundled `coding-agent` skill is opt-in: set `skills.entries.coding-agent.enabled: true` before exposing it to agents, then make sure one of `claude`, `codex`, `opencode`, or `pi` is installed and authenticated for its own CLI. Convenience for skills that declare `metadata.openclaw.primaryEnv`. Supports plaintext or SecretRef. Injected only if the variable is not already set in the process. Optional bag for custom per-skill fields. Custom keys must live here. Optional allowlist for **bundled** skills only. If set, only bundled skills in the list are eligible (managed/workspace skills unaffected).

    If the skill name contains hyphens, quote the key (JSON5 allows quoted keys). Config keys match the skill name by default — if a skill defines

    text
    metadata.openclaw.skillKey
    , use that key under
    text
    skills.entries
    .

    note

    For stock image generation/editing inside OpenClaw, use the core `image_generate` tool with `agents.defaults.imageGenerationModel` instead of a bundled skill. Skill examples here are for custom or third-party workflows. For native image analysis use the `image` tool with `agents.defaults.imageModel`. If you pick `openai/*`, `google/*`, `fal/*`, or another provider-specific image model, add that provider's auth/API key too.

    Environment injection

    When an agent run starts, OpenClaw:

    1. Reads skill metadata.
    2. Applies
      text
      skills.entries.<key>.env
      and
      text
      skills.entries.<key>.apiKey
      to
      text
      process.env
      .
    3. Builds the system prompt with eligible skills.
    4. Restores the original environment after the run ends.

    Environment injection is scoped to the agent run, not a global shell environment.

    For the bundled

    text
    claude-cli
    backend, OpenClaw also materializes the same eligible snapshot as a temporary Claude Code plugin and passes it with
    text
    --plugin-dir
    . Claude Code can then use its native skill resolver while OpenClaw still owns precedence, per-agent allowlists, gating, and
    text
    skills.entries.*
    env/API key injection. Other CLI backends use the prompt catalog only.

    Snapshots and refresh

    OpenClaw snapshots the eligible skills when a session starts and reuses that list for subsequent turns in the same session. Changes to skills or config take effect on the next new session.

    Skills can refresh mid-session in two cases:

    • The skills watcher is enabled.
    • A new eligible remote node appears.

    Think of this as a hot reload: the refreshed list is picked up on the next agent turn. If the effective agent skill allowlist changes for that session, OpenClaw refreshes the snapshot so visible skills stay aligned with the current agent.

    Skills watcher

    By default, OpenClaw watches skill folders and bumps the skills snapshot when

    text
    SKILL.md
    files change. Configure under
    text
    skills.load
    :

    json5
    { skills: { load: { watch: true, watchDebounceMs: 250, }, }, }

    Remote macOS nodes (Linux gateway)

    If the Gateway runs on Linux but a macOS node is connected with

    text
    system.run
    allowed (Exec approvals security not set to
    text
    deny
    ), OpenClaw can treat macOS-only skills as eligible when the required binaries are present on that node. The agent should execute those skills via the
    text
    exec
    tool with
    text
    host=node
    .

    This relies on the node reporting its command support and on a bin probe via

    text
    system.which
    or
    text
    system.run
    . Offline nodes do not make remote-only skills visible. If a connected node stops answering bin probes, OpenClaw clears its cached bin matches so agents no longer see skills that cannot currently run there.

    Token impact

    When skills are eligible, OpenClaw injects a compact XML list of available skills into the system prompt (via

    text
    formatSkillsForPrompt
    in
    text
    pi-coding-agent
    ). The cost is deterministic:

    • Base overhead (only when ≥1 skill): 195 characters.
    • Per skill: 97 characters + the length of the XML-escaped
      text
      <name>
      ,
      text
      <description>
      , and
      text
      <location>
      values.

    Formula (characters):

    text
    total = 195 + Σ (97 + len(name_escaped) + len(description_escaped) + len(location_escaped))

    XML escaping expands

    text
    & < > " '
    into entities (
    text
    &amp;
    ,
    text
    &lt;
    , etc.), increasing length. Token counts vary by model tokenizer. A rough OpenAI-style estimate is ~4 chars/token, so 97 chars ≈ 24 tokens per skill plus your actual field lengths.

    Managed skills lifecycle

    OpenClaw ships a baseline set of skills as bundled skills with the install (npm package or OpenClaw.app).

    text
    ~/.openclaw/skills
    exists for local overrides — for example, pinning or patching a skill without changing the bundled copy. Workspace skills are user-owned and override both on name conflicts.

    Looking for more skills?

    Browse https://clawhub.ai. Full configuration schema: Skills config.

    Related

    • ClawHub — public skills registry
    • Creating skills — building custom skills
    • Plugins — plugin system overview
    • Skill Workshop plugin — generate skills from agent work
    • Skills config — skill configuration reference
    • Slash commands — all available slash commands

    © 2024 TaskFlow Mirror

    Powered by TaskFlow Sync Engine