MANDATORY before any openclaw.json changes. Prevents config breakage via embedded anti-patterns and correct patterns. Use when configuring OpenClaw (bindings, channels, sessions, cron, heartbeat) or troubleshooting config issues.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install search-openclaw-docs或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install search-openclaw-docs⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/search-openclaw-docs/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: search-openclaw-docs description: MANDATORY before any openclaw.json changes. Prevents config breakage via embedded anti-patterns and correct patterns. Use when configuring OpenClaw (bindings, channels, sessions, cron, heartbeat) or troubleshooting config issues. metadata: openclaw: emoji: "📚" homepage: https://github.com/karmanverma/search-openclaw-docs requires: bins: ["node"] install: - id: "deps" kind: "npm" package: "better-sqlite3" label: "Install better-sqlite3 (SQLite bindings)" postInstall: "node scripts/docs-index.js rebuild" ---
MANDATORY before changing openclaw.json - Embedded patterns prevent silent config breakage.
Two modes:
---
Before using this skill:
cat ~/.openclaw/skills/search-openclaw-docs/AGENTS.md
Contains:
---
| Task | Action | |------|--------| | Adding/removing agent bindings | Read references/config-bindings.md | | Enabling/disabling channels | Read references/config-channel-management.md | | Session reset tuning | Read references/config-session-reset.md | | Heartbeat configuration | Read references/config-heartbeat.md | | Cron job setup | Read references/config-cron.md | | Config broke after patch | Read references/troubleshooting-config-breaks.md | | Best practices overview | Read references/best-practices-config.md | | Migration (2026.2.9) | Read references/migration-2026-2-9.md | | Other config questions | Search docs (see below) |
---
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:
---
| Scenario | Action | |----------|--------| | Before editing openclaw.json | ✅ Read relevant reference first | | Config changes not working | ✅ Read troubleshooting reference | | Learning OpenClaw config | ✅ Read best practices reference | | Personal memory/context | ❌ Use memory_search instead | | Supabase/database work | ❌ Use supabase-postgres-best-practices | | Next.js code patterns | ❌ Use next-best-practices |
---
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
# 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
🔍 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
requireMention~/.openclaw/docs-index/openclaw-docs.sqlite/usr/lib/node_modules/openclaw/docs/Index is built locally from your OpenClaw version.
# 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"
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安装 OpenClaw Docs Search + Config Patterns 后,可以对 AI 说这些话来触发它
Help me get started with OpenClaw Docs Search + Config Patterns
Explains what OpenClaw Docs Search + Config Patterns does, walks through the setup, and runs a quick demo based on your current project
Use OpenClaw Docs Search + Config Patterns to mANDATORY before any openclaw
Invokes OpenClaw Docs Search + Config Patterns with the right parameters and returns the result directly in the conversation
What can I do with OpenClaw Docs Search + Config Patterns in my marketing & growth workflow?
Lists the top use cases for OpenClaw Docs Search + Config Patterns, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/search-openclaw-docs/ 目录(个人级,所有项目可用),或 .claude/skills/search-openclaw-docs/(项目级)。重启 AI 客户端后,用 /search-openclaw-docs 主动调用,或让 AI 根据上下文自动发现并使用。
OpenClaw Docs Search + Config Patterns 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
OpenClaw Docs Search + Config Patterns 可免费安装使用。请查阅仓库了解许可证信息。
MANDATORY before any openclaw.json changes. Prevents config breakage via embedded anti-patterns and correct patterns. Use when configuring OpenClaw (bindings, channels, sessions, cron, heartbeat) or troubleshooting config issues.
Automate my marketing & growth tasks using OpenClaw Docs Search + Config Patterns
Identifies repetitive steps in your workflow and sets up OpenClaw Docs Search + Config Patterns to handle them automatically
OpenClaw Docs Search + Config Patterns 属于「Marketing & Growth」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。