Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计异常

configure-openclawconfigure OpenClaw 搜索

Agent Skill

configure-openclaw 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

685

周安装

28

GitHub Stars

31,969

下载量

222
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:configure-openclaw(configure OpenClaw 搜索)
来源仓库:https://github.com/yeachan-heo/oh-my-claudecode
仓库路径:skills/configure-openclaw
安装命令:
npx skills add https://github.com/yeachan-heo/oh-my-claudecode --skill configure-openclaw
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/yeachan-heo/oh-my-claudecode --skill configure-openclaw

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合围绕仓库状态、代码变更或协作事项进行整理。
  • 可结合来源仓库和原始 README 核验具体用法。
  • 安装前建议确认权限范围和维护状态。configure-openclaw 属于开发类 Skill,可作为该场景下的辅助能力补充。
  • 注意是否会触发联网、命令执行或文件读写。

SKILL.md

Configure OpenClaw (DEPRECATED)

DEPRECATED: This skill is deprecated and will be removed in a future version. Please use /oh-my-claudecode:configure-notifications and select "Custom Integration (OpenClaw, n8n, CLI, etc.)" instead. The new approach provides: - Same OpenClaw functionality - Additional presets (n8n, ClawdBot) - Generic webhook and CLI support - Migration tool for existing configs

Migration Notice

When this skill is invoked, show the deprecation warning and redirect:

Message to display:

⚠️  DEPRECATION NOTICE

The /configure-openclaw skill is deprecated and will be removed in a future version.

Please use instead:
  /oh-my-claudecode:configure-notifications

Then select: "Custom Integration (OpenClaw, n8n, CLI, etc.)" → "OpenClaw Gateway"

The new wizard will:
1. Detect your existing OpenClaw config (if any)
2. Offer to migrate it automatically
3. Provide the same functionality with better UX

AskUserQuestion:

Question: "The configure-openclaw skill is deprecated. How would you like to proceed?"

Options:

  1. Open the new configure-notifications wizard (Recommended) - Redirect to the new skill
  2. Continue with legacy setup - Use this deprecated skill anyway
  3. Learn more about the migration - Show detailed migration information

If option 1: Redirect to /oh-my-claudecode:configure-notifications If option 2: Continue with legacy instructions below If option 3: Show detailed migration guide


Legacy Instructions

The following instructions are kept for backward compatibility but will be removed.


name: configure-openclaw description: Configure OpenClaw gateway integration for waking external automations and AI agents on hook events triggers:

  • "configure openclaw"
  • "setup openclaw"
  • "openclaw gateway"
  • "openclaw setup"

Configure OpenClaw

Set up OpenClaw so OMC can wake external gateways — triggering automations, workflows, or AI agents — when hook events fire during Claude sessions.

OpenClaw is NOT a notification system. It sends structured instruction payloads to programmable HTTPS endpoints. This makes it ideal for triggering n8n workflows, custom AI agents, webhook automations, or any HTTPS-capable system.


How This Skill Works

This is an interactive, natural-language configuration skill. Walk the user through setup by asking questions with AskUserQuestion. Write the result to ~/.claude/omc_config.openclaw.json.


Step 1: Detect Existing Configuration

CONFIG_FILE="${OMC_OPENCLAW_CONFIG:-$HOME/.claude/omc_config.openclaw.json}"

if [ -f "$CONFIG_FILE" ]; then
  IS_ENABLED=$(jq -r '.enabled // false' "$CONFIG_FILE" 2>/dev/null)
  GATEWAY_COUNT=$(jq -r '.gateways | keys | length' "$CONFIG_FILE" 2>/dev/null)
  HOOK_COUNT=$(jq -r '[.hooks | to_entries[] | select(.value.enabled == true)] | length' "$CONFIG_FILE" 2>/dev/null)

  if [ "$IS_ENABLED" = "true" ]; then
    echo "EXISTING_CONFIG=true"
    echo "GATEWAY_COUNT=$GATEWAY_COUNT"
    echo "HOOK_COUNT=$HOOK_COUNT"
  else
    echo "EXISTING_CONFIG=false"
  fi
else
  echo "NO_CONFIG_FILE"
fi

If existing config is found, show the user what's currently configured and ask if they want to update or reconfigure.


Step 2: Collect Gateway URL

Use AskUserQuestion:

Question: "What is your OpenClaw gateway URL? (Must be HTTPS, e.g. https://my-gateway.example.com/wake)"

The user will type their URL in the "Other" field.

Validate the URL:

  • Must start with https://
  • Must be a valid URL
  • If invalid, explain the requirement and ask again

Step 3: Collect Auth Header (Optional)

Use AskUserQuestion:

Question: "Does your gateway require an Authorization header?"

Options:

  1. Yes, Bearer token - I'll provide a Bearer token (e.g., Bearer sk-...)
  2. Yes, custom header value - I'll type the full header value
  3. No auth required - The gateway is open or uses a different auth method

If user selects option 1 or 2, ask:

Question: "Paste your Authorization header value (e.g., Bearer sk-mytoken123)"

The user will type the value in the "Other" field.


Step 4: Configure Hook Events

Use AskUserQuestion with multiSelect:

Question: "Which hook events should trigger your OpenClaw gateway?"

Options (multiSelect: true):

  1. session-start - When a new Claude session begins. Variables: {{sessionId}}, {{projectName}}, {{projectPath}}
  2. session-end - When a session ends. Variables: {{contextSummary}}, {{reason}}, {{sessionId}}
  3. stop - When Claude stops (idle/completion). Variables: {{sessionId}}, {{projectName}}
  4. pre-tool-use - Before each tool call (high frequency). Variables: {{toolName}}, {{sessionId}}
  5. post-tool-use - After each tool call (high frequency). Variables: {{toolName}}, {{sessionId}}
  6. keyword-detector - On every prompt submission. Variables: {{prompt}}, {{sessionId}}
  7. ask-user-question - When Claude needs user input. Variables: {{question}}, {{sessionId}}

Default selection: session-start, session-end, stop.

Note: pre-tool-use, post-tool-use, and keyword-detector fire very frequently. Only enable them if your gateway can handle the volume.


Step 5: Collect Instruction Templates

For each selected event, ask the user for an instruction template. Show the available template variables for that event type.

Use AskUserQuestion for each event:

Example for session-start:

Question: "Instruction template for session-start events. Available variables: {{sessionId}}, {{projectName}}, {{projectPath}}, {{timestamp}}"

Options:

  1. Use default - "Session started for project {{projectName}}"
  2. Custom - Enter my own instruction text

Example for session-end:

Question: "Instruction template for session-end events. Available variables: {{sessionId}}, {{projectName}}, {{contextSummary}}, {{reason}}, {{timestamp}}"

Options:

  1. Use default - "Session ended. Summary: {{contextSummary}}"
  2. Custom - Enter my own instruction text

Example for stop:

Question: "Instruction template for stop events. Available variables: {{sessionId}}, {{projectName}}, {{projectPath}}, {{timestamp}}"

Options:

  1. Use default - "Session stopping for project {{projectName}}"
  2. Custom - Enter my own instruction text

Example for pre-tool-use:

Question: "Instruction template for pre-tool-use events. Available variables: {{toolName}}, {{sessionId}}, {{projectName}}, {{timestamp}}"

Options:

  1. Use default - "Tool {{toolName}} about to be used"
  2. Custom - Enter my own instruction text

Example for post-tool-use:

Question: "Instruction template for post-tool-use events. Available variables: {{toolName}}, {{sessionId}}, {{projectName}}, {{timestamp}}"

Options:

  1. Use default - "Tool {{toolName}} completed"
  2. Custom - Enter my own instruction text

Example for keyword-detector:

Question: "Instruction template for keyword-detector events. Available variables: {{prompt}}, {{sessionId}}, {{projectName}}, {{timestamp}}"

Options:

  1. Use default - "Keyword detected: {{prompt}}"
  2. Custom - Enter my own instruction text

Example for ask-user-question:

Question: "Instruction template for ask-user-question events. Available variables: {{question}}, {{sessionId}}, {{projectName}}, {{timestamp}}"

Options:

  1. Use default - "User input requested: {{question}}"
  2. Custom - Enter my own instruction text

Step 6: Write Configuration

Build and write the config to ~/.claude/omc_config.openclaw.json:

CONFIG_FILE="${OMC_OPENCLAW_CONFIG:-$HOME/.claude/omc_config.openclaw.json}"
mkdir -p "$(dirname "$CONFIG_FILE")"

# GATEWAY_URL, AUTH_HEADER, and per-event instructions are collected from user
# SELECTED_EVENTS is the list of enabled hook events
# Build the JSON using jq

# Example: session-start and session-end selected, bearer auth
jq -n \
  --arg gateway_url "$GATEWAY_URL" \
  --arg auth_header "$AUTH_HEADER" \
  --arg session_start_instruction "$SESSION_START_INSTRUCTION" \
  --arg session_end_instruction "$SESSION_END_INSTRUCTION" \
  --arg stop_instruction "$STOP_INSTRUCTION" \
  '{
    enabled: true,
    gateways: {
      "my-gateway": {
        url: $gateway_url,
        headers: (if $auth_header != "" then {"Authorization": $auth_header} else {} end),
        method: "POST",
        timeout: 10000
      }
    },
    hooks: {
      "session-start": {gateway: "my-gateway", instruction: $session_start_instruction, enabled: true},
      "session-end": {gateway: "my-gateway", instruction: $session_end_instruction, enabled: true},
      "stop": {gateway: "my-gateway", instruction: $stop_instruction, enabled: true}
    }
  }' > "$CONFIG_FILE"

Adjust the hooks object to include only the events the user selected, with their chosen instructions.


Step 7: Test the Gateway

After writing config, offer to send a test wake call:

Use AskUserQuestion:

Question: "Send a test wake call to your gateway to verify the connection?"

Options:

  1. Yes, test now (Recommended) - Send a test HTTP POST to the gateway
  2. No, I'll test later - Skip testing

If testing:

GATEWAY_URL="USER_PROVIDED_URL"
AUTH_HEADER="USER_PROVIDED_AUTH_HEADER"  # may be empty

# Build auth header arg
AUTH_ARG=""
if [ -n "$AUTH_HEADER" ]; then
  AUTH_ARG="-H \"Authorization: $AUTH_HEADER\""
fi

RESPONSE=$(eval curl -s -w "\n%{http_code}" \
  -H "Content-Type: application/json" \
  $AUTH_ARG \
  -d '{"event":"session-start","instruction":"OpenClaw test wake from OMC configure wizard","timestamp":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","context":{}}' \
  "$GATEWAY_URL")

HTTP_CODE=$(echo "$RESPONSE" | tail -1)
BODY=$(echo "$RESPONSE" | head -1)

if [ "$HTTP_CODE" = "200" ] || [ "$HTTP_CODE" = "201" ] || [ "$HTTP_CODE" = "202" ] || [ "$HTTP_CODE" = "204" ]; then
  echo "Test wake succeeded (HTTP $HTTP_CODE)!"
else
  echo "Test wake failed (HTTP $HTTP_CODE):"
  echo "$BODY"
fi

Report success or failure. Common issues:

  • 401 Unauthorized: Auth header is missing or incorrect
  • 403 Forbidden: Token does not have permission
  • 404 Not Found: Gateway URL path is incorrect
  • SSL error: URL must be HTTPS with a valid certificate
  • Connection refused: Gateway is not running or URL is wrong

Step 8: Confirm

Display the final configuration summary:

OpenClaw Gateway Configured!

  Gateway:  https://my-gateway.example.com/wake
  Auth:     Bearer *** (configured)
  Events:   session-start, session-end, stop

Config saved to: ~/.claude/omc_config.openclaw.json

To activate OpenClaw, use one of:
  omc --openclaw                  (per-session flag)
  export OMC_OPENCLAW=1           (environment variable)

Debug logging:
  export OMC_OPENCLAW_DEBUG=1     (logs wake results to stderr)

Custom config path:
  export OMC_OPENCLAW_CONFIG=/path/to/config.json

To reconfigure: /oh-my-claudecode:configure-openclaw

Template Variables Reference

EventAvailable Variables
session-start{{sessionId}}, {{projectPath}}, {{projectName}}, {{timestamp}}, {{event}}
session-end{{sessionId}}, {{projectPath}}, {{projectName}}, {{contextSummary}}, {{reason}}, {{timestamp}}, {{event}}
pre-tool-use{{sessionId}}, {{projectPath}}, {{projectName}}, {{toolName}}, {{timestamp}}, {{event}}
post-tool-use{{sessionId}}, {{projectPath}}, {{projectName}}, {{toolName}}, {{timestamp}}, {{event}}
stop{{sessionId}}, {{projectPath}}, {{projectName}}, {{timestamp}}, {{event}}
keyword-detector{{sessionId}}, {{projectPath}}, {{projectName}}, {{prompt}}, {{timestamp}}, {{event}}
ask-user-question{{sessionId}}, {{projectPath}}, {{projectName}}, {{question}}, {{timestamp}}, {{event}}

Unresolved variables (e.g., {{unknown}}) are left as-is in the instruction text.


Environment Variable Alternative

Users can skip this wizard entirely by setting env vars and writing the config manually:

# Enable OpenClaw
export OMC_OPENCLAW=1

# Optional: override config file path
export OMC_OPENCLAW_CONFIG="$HOME/.claude/omc_config.openclaw.json"

# Optional: enable debug logging
export OMC_OPENCLAW_DEBUG=1

The config file path defaults to ~/.claude/omc_config.openclaw.json. Use OMC_OPENCLAW_CONFIG to override.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.79%
按下载量换算77

Claude

33.5%
按下载量换算74

Cursor

17.84%
按下载量换算40

Gemini CLI

8.86%
按下载量换算20

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills