# Send OpenClaw Docs Search + Config Patterns to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "search-openclaw-docs",
    "name": "OpenClaw Docs Search + Config Patterns",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/karmanverma/search-openclaw-docs",
    "canonicalUrl": "https://clawhub.ai/karmanverma/search-openclaw-docs",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/search-openclaw-docs",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=search-openclaw-docs",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "AGENTS.md",
      "POST_INSTALL.md",
      "README.md",
      "SKILL.md",
      "lib/indexer.js",
      "lib/metadata.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "search-openclaw-docs",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T15:38:22.196Z",
      "expiresAt": "2026-05-07T15:38:22.196Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=search-openclaw-docs",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=search-openclaw-docs",
        "contentDisposition": "attachment; filename=\"search-openclaw-docs-1.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "search-openclaw-docs"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/search-openclaw-docs"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/search-openclaw-docs",
    "downloadUrl": "https://openagent3.xyz/downloads/search-openclaw-docs",
    "agentUrl": "https://openagent3.xyz/skills/search-openclaw-docs/agent",
    "manifestUrl": "https://openagent3.xyz/skills/search-openclaw-docs/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/search-openclaw-docs/agent.md"
  }
}
```
## Documentation

### OpenClaw Documentation Search + Config Patterns

MANDATORY before changing openclaw.json - Embedded patterns prevent silent config breakage.

Two modes:

Embedded references (instant) - Common config patterns with anti-patterns
Doc search (fallback) - Full OpenClaw documentation index

### 🚨 CRITICAL: Read AGENTS.md First

Before using this skill:

cat ~/.openclaw/skills/search-openclaw-docs/AGENTS.md

Contains:

Mandatory workflow for config changes
Decision tree (which reference to read)
Critical anti-patterns overview
When NOT to use this skill

### Decision Tree

TaskActionAdding/removing agent bindingsRead references/config-bindings.mdEnabling/disabling channelsRead references/config-channel-management.mdSession reset tuningRead references/config-session-reset.mdHeartbeat configurationRead references/config-heartbeat.mdCron job setupRead references/config-cron.mdConfig broke after patchRead references/troubleshooting-config-breaks.mdBest practices overviewRead references/best-practices-config.mdMigration (2026.2.9)Read references/migration-2026-2-9.mdOther config questionsSearch docs (see below)

### Embedded References (8 files)

Config Patterns:

config-bindings.md - Agent routing (CRITICAL)
config-channel-management.md - Enable/disable channels (CRITICAL)
config-session-reset.md - Session lifetime policies (HIGH)
config-heartbeat.md - Proactive monitoring (MEDIUM)
config-cron.md - Scheduled tasks (MEDIUM)

Support:

troubleshooting-config-breaks.md - Fix broken configs (CRITICAL)
best-practices-config.md - Safe patterns (HIGH)
migration-2026-2-9.md - Version updates (MEDIUM)

Each reference contains:

✅ Correct pattern
❌ Common anti-patterns
Why it breaks
Examples

### When to Use

ScenarioActionBefore editing openclaw.json✅ Read relevant reference firstConfig changes not working✅ Read troubleshooting referenceLearning OpenClaw config✅ Read best practices referencePersonal memory/context❌ Use memory_search insteadSupabase/database work❌ Use supabase-postgres-best-practicesNext.js code patterns❌ Use next-best-practices

### Doc Search (Fallback)

For topics not in references, search full docs:

# Search
node ~/.openclaw/skills/search-openclaw-docs/scripts/docs-search.js "discord requireMention"

# Check index health
node ~/.openclaw/skills/search-openclaw-docs/scripts/docs-status.js

# Rebuild (after OpenClaw update)
node ~/.openclaw/skills/search-openclaw-docs/scripts/docs-index.js rebuild

### Usage Examples

# Config question
node scripts/docs-search.js "discord requireMention"

# Troubleshooting  
node scripts/docs-search.js "webhook not working"

# More results
node scripts/docs-search.js "providers" --top=5

# JSON output
node scripts/docs-search.js "heartbeat" --json

### Output Format

🔍 Query: discord only respond when mentioned

🎯 Best match:
   channels/discord.md
   "Discord (Bot API)"
   Keywords: discord, requiremention
   Score: 0.70

📄 Also relevant:
   concepts/groups.md (0.66)

💡 Read with:
   cat /usr/lib/node_modules/openclaw/docs/channels/discord.md

### How It Works

FTS5 keyword matching on titles, headers, config keys
Handles camelCase terms like requireMention
Porter stemming for flexible matching
No network calls - fully offline

### Index Location

Index: ~/.openclaw/docs-index/openclaw-docs.sqlite
Docs: /usr/lib/node_modules/openclaw/docs/

Index is built locally from your OpenClaw version.

### No results / wrong results

# 1. Check index exists
node scripts/docs-status.js

# 2. Rebuild if stale
node scripts/docs-index.js rebuild

# 3. Try exact config terms (camelCase matters)
node scripts/docs-search.js "requireMention"

# 4. Try broader terms
node scripts/docs-search.js "discord"

### Integration

const { search } = require('./lib/search');
const INDEX = process.env.HOME + '/.openclaw/docs-index/openclaw-docs.sqlite';

const results = await search(INDEX, "discord webhook");
// results[0].path → full path to read
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: karmanverma
- Version: 1.1.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T15:38:22.196Z
- Expires at: 2026-05-07T15:38:22.196Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/search-openclaw-docs)
- [Send to Agent page](https://openagent3.xyz/skills/search-openclaw-docs/agent)
- [JSON manifest](https://openagent3.xyz/skills/search-openclaw-docs/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/search-openclaw-docs/agent.md)
- [Download page](https://openagent3.xyz/downloads/search-openclaw-docs)