Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

openclaw-adminOpenClaw admin 效率

Agent Skill

openclaw-admin 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

599

周安装

24

GitHub Stars

4

下载量

194
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/alphaonedev/openclaw-graph --skill openclaw-admin

简介

openclaw-admin 用于管理 OpenClaw 网关,包括启停、更新和集群内代理生命周期控制。

  • 适用于生产环境部署、故障恢复或性能调优等运维场景。
  • 支持配置补丁应用与压缩设置调整,协调 core-openclaw 集群运行。
  • 操作前需确认集群状态与权限,谨慎执行重启或更新以免中断服务。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

openclaw-admin

Purpose

This skill handles administration of the OpenClaw gateway, enabling tasks like starting, stopping, restarting, updating the gateway, applying configuration patches, tuning compaction settings, and managing agents within the core-openclaw cluster.

When to Use

Use this skill for gateway maintenance, such as during deployments (e.g., applying updates), troubleshooting (e.g., restarting after errors), or configuration adjustments (e.g., tuning compaction for performance). Apply it in production environments where the core-openclaw cluster is active, or for agent lifecycle management in distributed setups.

Key Capabilities

  • Gateway lifecycle: Start, stop, restart, or update using CLI commands like openclaw gateway start --cluster core-openclaw --force.
  • Configuration patches: Apply JSON Patch documents, e.g., {"op": "replace", "path": "/settings/compaction", "value": {"interval": 60}}.
  • Compaction tuning: Adjust settings via flags, such as openclaw compaction tune --threshold 80 --interval 300 to set memory thresholds and intervals.
  • Agent management: Add, remove, or list agents with commands like openclaw agent add --name agent1 --cluster core-openclaw.
  • Authentication: Requires $OPENCLAW_API_KEY environment variable for all operations.

Usage Patterns

Always set $OPENCLAW_API_KEY before running commands, e.g., export OPENCLAW_API_KEY=your_api_key. For CLI, prefix with openclaw and specify the --cluster core-openclaw flag. Use API endpoints with HTTP requests, including the Authorization: Bearer $OPENCLAW_API_KEY header. In scripts, wrap calls in error checks, e.g., verify the cluster exists before patching configs. For automation, integrate with tools like cron jobs or CI/CD pipelines by calling CLI from bash scripts.

Common Commands/API

  • Start gateway: CLI: openclaw gateway start --cluster core-openclaw --env prod. API: POST /api/gateway/start with body {"cluster": "core-openclaw", "env": "prod"}.
  • Stop gateway: CLI: openclaw gateway stop --cluster core-openclaw --force. API: POST /api/gateway/stop with body {"cluster": "core-openclaw"}.
  • Restart gateway: CLI: openclaw gateway restart --cluster core-openclaw. API: POST /api/gateway/restart with body {"cluster": "core-openclaw"}.
  • Update gateway: CLI: openclaw gateway update --cluster core-openclaw --version 2.1.0. API: POST /api/gateway/update with body {"cluster": "core-openclaw", "version": "2.1.0"}.
  • Apply config patch: CLI: openclaw config patch --file config.patch.json --cluster core-openclaw. API: PATCH /api/config with body from a JSON file, e.g., {"op": "add", "path": "/agents", "value": ["agent1"]}.
  • Tune compaction: CLI: openclaw compaction tune --cluster core-openclaw --threshold 75 --interval 600. API: PUT /api/compaction with body {"threshold": 75, "interval": 600}.
  • Manage agents: CLI: openclaw agent add --name agent2 --cluster core-openclaw. API: POST /api/agents with body {"name": "agent2", "cluster": "core-openclaw"}.
  • Code snippet for API call (restart gateway): export OPENCLAW_API_KEY=your_key curl -X POST https://api.openclaw.com/api/gateway/restart \ -H "Authorization: Bearer $OPENCLAW_API_KEY" \ -d '{"cluster": "core-openclaw"}'
  • Code snippet for config patch: {"op": "replace", "path": "/settings/logLevel", "value": "debug"}

Integration Notes

Integrate this skill by importing it into AI workflows via the "openclaw-admin" ID. Use the embedding hint "openclaw gateway restart update config compaction agent" for vector-based searches in knowledge graphs. For external systems, ensure compatibility with core-openclaw cluster endpoints (e.g., via HTTPS). When combining with other skills, pass outputs as inputs, like using agent IDs from this skill in monitoring tools. Set $OPENCLAW_API_KEY in environment files for secure access, and handle cluster-specific configs by appending --cluster core-openclaw to all commands.

Error Handling

Check for authentication errors (e.g., HTTP 401) by verifying $OPENCLAW_API_KEY is set and valid; use echo $OPENCLAW_API_KEY in scripts. For gateway not found (HTTP 404), confirm cluster status with openclaw gateway status --cluster core-openclaw. Parse CLI errors from stderr, e.g., "Error: Cluster core-openclaw not reachable" indicates network issues—retry with exponential backoff. For config patches, handle invalid JSON with try-catch in scripts, e.g., in bash: openclaw config patch --file invalid.json || echo "Invalid JSON format". Common API errors: 400 for bad requests (check body format), 500 for server issues (log and alert).

Concrete Usage Examples

  1. Restart the gateway after a configuration change: First, export the key: export OPENCLAW_API_KEY=your_api_key. Then, apply a patch: openclaw config patch --file patch.json --cluster core-openclaw, where patch.json contains {"op": "replace", "path": "/settings/restartTrigger", "value": true}. Finally, restart: openclaw gateway restart --cluster core-openclaw.
  2. Tune compaction and add an agent for performance optimization: Start by tuning: openclaw compaction tune --cluster core-openclaw --threshold 85 --interval 900. Then, add an agent: openclaw agent add --name monitoring-agent --cluster core-openclaw. Verify with: openclaw agent list --cluster core-openclaw to ensure the agent is active.

Graph Relationships

  • Depends on: core-openclaw (cluster for all operations)
  • Related to: openclaw (main ecosystem), admin (role-based access), gateway (primary resource), config (configuration management)
  • Tagged with: openclaw, admin, gateway, config (for search and linking)

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.82%
按下载量换算68

Claude

30.13%
按下载量换算58

Cursor

17.11%
按下载量换算33

Gemini CLI

8.59%
按下载量换算17

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills