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

auto-updater-skill自动更新技能

Agent Skill

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

总安装

599

周安装

24

GitHub Stars

4

下载量

194
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

auto-updater-skill 用于自动化管理 OpenClaw 生态中多个技能的版本更新,包括检查、差分、应用与回滚操作。

  • 它适用于社区集群或多技能环境的版本一致性维护,确保生产环境稳定运行。
  • 可在部署前、发现问题后或定期维护时触发,支持细粒度版本控制与变更追踪。
  • 使用前应熟悉 OpenClaw 技能目录结构,并注意版本冲突与依赖兼容性风险。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

auto-updater-skill

Purpose

This skill automates the management of updates for OpenClaw skills, including checking for new versions, generating diffs, applying updates, rolling back changes, and tracking versions to ensure seamless maintenance.

When to Use

Use this skill when you need to maintain skill versions in a community cluster, such as before deploying changes, after detecting potential issues, or during routine maintenance cycles. It's ideal for scenarios involving multiple skills where version consistency is critical, like in production environments or collaborative development.

Key Capabilities

  • Check for updates: Query the OpenClaw registry for newer skill versions.
  • Generate diffs: Compare current and latest versions to highlight changes.
  • Apply updates: Safely install updates with conflict resolution.
  • Rollback updates: Revert to a previous version if issues arise.
  • Version tracking: Maintain a log of version histories and metadata. Specifics: Supports JSON config files for version overrides, e.g., {"skill_id": "my-skill", "target_version": "1.2.3"}. Requires authentication via $OPENCLAW_API_KEY environment variable.

Usage Patterns

To use this skill, first ensure the OpenClaw CLI is installed and authenticated. Import the skill via openclaw skill import auto-updater-skill. Then, invoke it programmatically or via CLI. For automation, wrap commands in scripts that check for updates daily. Always specify the skill ID and use flags for options like dry-run or force-apply.

Common Commands/API

Use the OpenClaw CLI for interactions. All commands require $OPENCLAW_API_KEY set in your environment.

  • Check for updates: Run openclaw auto-update check --skill-id <id> --cluster community. This queries the API endpoint /api/skills/{id}/updates and returns available versions. Example snippet: export OPENCLAW_API_KEY=your_key openclaw auto-update check --skill-id auto-updater-skill
  • Generate diff: Execute openclaw auto-update diff --skill-id <id> --from-version 1.0.0 --to-version 1.1.0. Outputs differences in JSON format. Example snippet: openclaw auto-update diff --skill-id my-skill --from-version 1.2.3
  • Apply updates: Use openclaw auto-update apply --skill-id <id> --version 1.1.0 --dry-run. Add --force to bypass checks. Example snippet: openclaw auto-update apply --skill-id my-skill --version latest
  • Rollback updates: Command: openclaw auto-update rollback --skill-id <id> --to-version 1.0.0. This hits the API endpoint /api/skills/{id}/rollback. Example snippet: openclaw auto-update rollback --skill-id my-skill --to-version 1.0.0
  • Version tracking: Query with openclaw auto-update track --skill-id <id>. Config format: Use a YAML file like versions.yaml with content: skill_id: my-skill, history: ["1.0.0", "1.1.0"].

Integration Notes

Integrate this skill into your OpenClaw workflow by adding it as a dependency in your main skill's config file, e.g., add "dependencies": ["auto-updater-skill"] in skill.json. For API integrations, use the base URL https://api.openclaw.com and include the header Authorization: Bearer $OPENCLAW_API_KEY. When chaining with other skills, ensure error propagation is handled via callbacks. Test integrations in a staging environment first.

Error Handling

Handle errors by checking exit codes from CLI commands (e.g., code 1 for failures). Common errors include authentication failures (HTTP 401) if $OPENCLAW_API_KEY is invalid, or version conflicts (error code 409). To handle: Wrap commands in try-catch blocks in scripts, e.g.:

try {
  openclaw auto-update check --skill-id my-skill
} catch (error) {
  if (error.code === 401) { echo "Auth failed; check $OPENCLAW_API_KEY"; }
}

Log errors to a file using --log-file output.log flag. For API calls, parse JSON responses for error details like {"error": "Version not found"}.

Concrete Usage Examples

  1. Example: Checking and applying an update for a skill First, check for updates: openclaw auto-update check --skill-id my-skill. If a new version is available, apply it: openclaw auto-update apply --skill-id my-skill --version latest. This ensures your skill is up-to-date without manual intervention. Use in a CI/CD pipeline for automated deployments.
  2. Example: Rolling back after a failed update If an update causes issues, rollback immediately: openclaw auto-update rollback --skill-id my-skill --to-version 1.0.0. Prior to this, generate a diff to verify changes: openclaw auto-update diff --skill-id my-skill --from-version 1.1.0. This pattern is useful for maintaining stability in production.

Graph Relationships

  • Depends on: skill-registry (for version queries)
  • Provides: update-management (to other community skills)
  • Relates to: openclaw-core (via API endpoints)
  • Conflicts with: none
  • Used by: maintenance-skills cluster

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.43%
按下载量换算73

Claude

31.31%
按下载量换算61

Cursor

19.73%
按下载量换算38

Gemini CLI

9.43%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills