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

configure-openclawconfigure OpenClaw 搜索

Agent Skill

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

总安装

196

周安装

8

GitHub Stars

26,809

下载量

63
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

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

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定仓库安装并使用该技能。
  • 安装前需确认权限范围和维护状态,注意可能触发联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Configure OpenClaw Notifications

Set up OpenClaw as a notification gateway so OMX can route notification events to your OpenClaw hook endpoints (or a local command gateway).

Runtime Schema Requirement (must match OMX)

Always write OpenClaw config under:

  • notifications.openclaw.enabled
  • notifications.openclaw.gateways
  • notifications.openclaw.hooks

Do not use legacy keys like gatewayType, endpoint, or top-level command.

How This Skill Works

This is an interactive setup wizard. Ask questions with AskUserQuestion, merge changes into ~/.codex/.omx-config.json, and then run a verification flow with explicit pass/fail diagnostics.

Step 1: Detect Existing OpenClaw Configuration

CONFIG_FILE="$HOME/.codex/.omx-config.json"

if [ -f "$CONFIG_FILE" ]; then
  OPENCLAW_ENABLED=$(jq -r '.notifications.openclaw.enabled // false' "$CONFIG_FILE" 2>/dev/null)
  GATEWAYS=$(jq -r '.notifications.openclaw.gateways // {} | keys | join(", ")' "$CONFIG_FILE" 2>/dev/null)
  HOOKS=$(jq -r '.notifications.openclaw.hooks // {} | keys | join(", ")' "$CONFIG_FILE" 2>/dev/null)

  echo "OPENCLAW_ENABLED=$OPENCLAW_ENABLED"
  echo "GATEWAYS=${GATEWAYS:-none}"
  echo "HOOKS=${HOOKS:-none}"
else
  echo "NO_CONFIG_FILE"
fi

If existing config is found, show current gateways/hooks and ask whether to update or replace.

Step 2: Choose Gateway Mode

Use AskUserQuestion:

Question: "Which OpenClaw gateway mode do you want to configure?"

Options:

  1. HTTP Gateway (Recommended) - OMX POSTs JSON to your OpenClaw hook endpoint
  2. CLI Command Gateway - OMX executes a local command template

Step 3A: HTTP Gateway Setup

Collect three values:

  1. Gateway name (default: local)
  2. Hook base URL (example: http://127.0.0.1:18789)
  3. OpenClaw hooks token

Build the endpoint URL as:

  • Delivery endpoint: ${BASE_URL%/}/hooks/agent
  • Optional wake smoke endpoint: ${BASE_URL%/}/hooks/wake

Required validation checks

Run these checks and report each result:

  1. Hook token present
[ -n "$HOOKS_TOKEN" ] && echo "PASS token provided" || echo "FAIL token missing"
  1. Gateway URL format and reachability
case "$BASE_URL" in
  http://*|https://*) echo "PASS URL format" ;;
  *) echo "FAIL URL must start with http:// or https://" ;;
esac

curl -sS -o /dev/null -w "HTTP %{http_code}\n" "$BASE_URL" || echo "FAIL cannot reach base URL"
  1. Delivery endpoint probe (/hooks/agent)
curl -sS -o /tmp/omx-openclaw-agent.json -w "HTTP %{http_code}\n" \
  -X POST "${BASE_URL%/}/hooks/agent" \
  -H "Authorization: Bearer $HOOKS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"instruction":"OMX OpenClaw setup probe","event":"session-end","sessionId":"setup-smoke"}'

If probe is non-2xx or network fails, treat as setup failure and continue with diagnostics.

Step 3B: CLI Command Gateway Setup

Collect:

  • Gateway name (default: local-command)
  • Command template (supports {{event}}, {{instruction}}, {{sessionId}}, {{projectPath}})

Example:

~/.local/bin/my-notifier --event {{event}} --text {{instruction}}

Dual env gate (must be explained)

CLI command gateways only run when both are set:

export OMX_OPENCLAW=1
export OMX_OPENCLAW_COMMAND=1

If OMX_OPENCLAW_COMMAND is missing, command gateway dispatch is blocked by design.

Step 4: Select Hook Event Mappings

Use AskUserQuestion with multiSelect.

Question: "Which OMX events should trigger OpenClaw hooks?"

Recommended defaults:

  • session-end
  • ask-user-question

Optional:

  • session-start
  • session-idle
  • stop

For each selected event, collect a short instruction template.

Step 5: Write Schema-Aligned Config

Always merge into ~/.codex/.omx-config.json.

HTTP gateway example

jq \
  --arg gatewayName "$GATEWAY_NAME" \
  --arg url "${BASE_URL%/}/hooks/agent" \
  --arg token "$HOOKS_TOKEN" \
  '.notifications = (.notifications // {enabled: true}) |
   .notifications.enabled = true |
   .notifications.openclaw = (.notifications.openclaw // {}) |
   .notifications.openclaw.enabled = true |
   .notifications.openclaw.gateways = (.notifications.openclaw.gateways // {}) |
   .notifications.openclaw.gateways[$gatewayName] = {
     type: "http",
     url: $url,
     headers: {"Authorization": ("Bearer " + $token)}
   }' "$CONFIG_FILE" > "$CONFIG_FILE.tmp" && mv "$CONFIG_FILE.tmp" "$CONFIG_FILE"

Command gateway example

jq \
  --arg gatewayName "$GATEWAY_NAME" \
  --arg command "$COMMAND_TEMPLATE" \
  '.notifications = (.notifications // {enabled: true}) |
   .notifications.enabled = true |
   .notifications.openclaw = (.notifications.openclaw // {}) |
   .notifications.openclaw.enabled = true |
   .notifications.openclaw.gateways = (.notifications.openclaw.gateways // {}) |
   .notifications.openclaw.gateways[$gatewayName] = {
     type: "command",
     command: $command
   }' "$CONFIG_FILE" > "$CONFIG_FILE.tmp" && mv "$CONFIG_FILE.tmp" "$CONFIG_FILE"

Hook mapping example

jq \
  --arg gatewayName "$GATEWAY_NAME" \
  '.notifications.openclaw.hooks = (.notifications.openclaw.hooks // {}) |
   .notifications.openclaw.hooks["session-end"] = {
     enabled: true,
     gateway: $gatewayName,
     instruction: "OMX task completed for {{projectPath}}"
   } |
   .notifications.openclaw.hooks["ask-user-question"] = {
     enabled: true,
     gateway: $gatewayName,
     instruction: "OMX needs input: {{question}}"
   }' "$CONFIG_FILE" > "$CONFIG_FILE.tmp" && mv "$CONFIG_FILE.tmp" "$CONFIG_FILE"

Step 6: Explain Activation Gates

Show this exactly:

# Required for OpenClaw integration
export OMX_OPENCLAW=1

# Required in addition for command gateways
export OMX_OPENCLAW_COMMAND=1

Step 7: Verification Flow (required)

Run both checks for HTTP gateways:

A) Wake smoke test (/hooks/wake)

curl -sS -X POST "${BASE_URL%/}/hooks/wake" \
  -H "Authorization: Bearer $HOOKS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"text":"OMX wake smoke test","mode":"now"}'

Expected pass signal: JSON includes "ok":true.

B) Delivery verification (/hooks/agent) — not wake-only

curl -sS -o /tmp/omx-openclaw-delivery.json -w "HTTP %{http_code}\n" \
  -X POST "${BASE_URL%/}/hooks/agent" \
  -H "Authorization: Bearer $HOOKS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"instruction":"OMX delivery verification","event":"session-end","sessionId":"verify-setup"}'

Expected pass signal: HTTP 2xx and response body confirms acceptance.

Step 8: Pass/Fail Diagnostics Guidance

If verification fails, guide with this checklist:

  • 401/403 → token missing/invalid; rotate token and update Authorization header.
  • 404 → wrong path; verify /hooks/agent and /hooks/wake are enabled by OpenClaw hooks config.
  • 5xx → OpenClaw gateway runtime issue; check gateway logs and retry.
  • Timeout / connection refused → gateway URL unreachable; confirm host/port and local firewall.
  • Command gateway disabled → set both OMX_OPENCLAW=1 and OMX_OPENCLAW_COMMAND=1.

Step 9: Final Summary

Show:

  • gateway mode + gateway name
  • mapped events
  • whether smoke test passed
  • whether /hooks/agent delivery test passed
  • exact env vars user still needs to export in shell profile

Environment Variable Reference

# Required for all OpenClaw gateways
export OMX_OPENCLAW=1

# Required additionally for CLI command gateways
export OMX_OPENCLAW_COMMAND=1

# Optional debug logs
export OMX_OPENCLAW_DEBUG=1

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.7%
按下载量换算24

Claude

28.81%
按下载量换算18

Cursor

20.06%
按下载量换算13

Gemini CLI

10.49%
按下载量换算7

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

未通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills