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

skill-publish-guide技能发布指南

Agent Skill

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

总安装

3,128

周安装

133

GitHub Stars

公开资料未说明

下载量

1,096
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:skill-publish-guide(技能发布指南)
来源仓库:https://github.com/luduoxin/skill-publish-guide
安装命令:
openclaw skills install skill-publish-guide
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install skill-publish-guide

简介

提供 ClawHub 上发布和管理技能的指南。skill-publish-guide 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适合用户在 ClawHub 上发布、更新、删除或管理技能时参考。
  • 通过 clawhub 安装,可直接获取操作指南和最佳实践。
  • 建议结合来源仓库和原始 README 了解详细流程和注意事项。
  • 使用前应确认权限范围和操作边界,避免误操作影响系统安全。

SKILL.md

name
skill-publish-guide
description
Guide for publishing and managing skills on ClawHub. Use when the user wants to publish, update, delete, or manage skills on ClawHub. 当用户需要发布、更新、删除或管理 ClawHub 上的技能时使用此技能。
env
CLAWHUB_SITE
Optional. Override ClawHub site URL for custom registry.
CLAWHUB_REGISTRY
Optional. Override registry API URL.
always
false

ClawHub Publisher - Publish & Manage Skills on ClawHub

ClawHub 发布器 - 在 ClawHub 上发布和管理技能


Prerequisites / 前提条件

  1. clawhub CLI must be installed. Verify with clawhub -V.

clawhub CLI 必须已安装。用 clawhub -V 验证。

  1. You must be logged in. Check with clawhub whoami. If not logged in, run clawhub login.

必须已登录。用 clawhub whoami 检查。未登录则运行 clawhub login

  1. GitHub account must be at least 1 week old to publish.

GitHub 账户需创建至少一周才能发布。


SKILL.md Format / SKILL.md 格式

Every skill must have a SKILL.md file with YAML frontmatter: 每个技能必须包含带 YAML frontmatter 的 SKILL.md 文件:

---
name: my-skill
description: "Short description of what this skill does / 技能简短描述"
env:
  MY_API_KEY: "Optional. Description of the env var / 可选。环境变量说明"
always: false
---

# Skill Title

Instructions and documentation here...

Frontmatter Fields / Frontmatter 字段

Field / 字段Required / 必填Description / 说明
nameSkill identifier, lowercase + hyphens / 技能标识符,小写+短横线
descriptionShort description for discovery / 用于搜索发现的简短描述
envEnvironment variables the skill needs / 技能所需的环境变量
alwaysWhether skill stays loaded (default: false) / 是否常驻加载(默认 false)

Directory Structure / 目录结构

my-skill/
├── SKILL.md          # Required / 必需
├── scripts/          # Optional, helper scripts / 可选,辅助脚本
├── rules/            # Optional, reference files / 可选,参考文件
└── ...

Important / 注意:

  • Do NOT include .git, LICENSE, .DS_Store, or binary files / 不要包含 .gitLICENSE.DS_Store 或二进制文件
  • Only text files are allowed / 只允许文本文件

Publishing Workflow / 发布流程

Step 1: Prepare / 准备

Ensure the skill folder contains a valid SKILL.md with proper frontmatter. 确保技能文件夹包含有效的 SKILL.md 和正确的 frontmatter。

Step 2: Validate / 验证

Before publishing, verify: 发布前验证以下内容:

  • [ ] name in frontmatter matches the --slug you plan to use / frontmatter 中的 name 与计划的 --slug 一致
  • [ ] description is clear and includes trigger keywords / description 清晰且包含触发关键词
  • [ ] All env vars used in commands are declared in env section / 命令中使用的环境变量都在 env 中声明
  • [ ] No binary files, .git, or LICENSE in the folder / 文件夹中无二进制文件、.gitLICENSE
  • [ ] No interactive prompts (AI Agent cannot answer y/n) / 无交互式提示(AI Agent 无法回答 y/n)

Step 3: Publish / 发布

clawhub publish <path> \
  --slug <slug> \
  --name "<Display Name>" \
  --version <semver> \
  --tags latest \
  --no-input

Parameters / 参数:

Param / 参数Required / 必填Description / 说明
<path>Path to skill folder / 技能文件夹路径
--slugURL identifier (lowercase + hyphens only) / URL 标识符(仅小写+短横线)
--nameDisplay name / 显示名称
--versionSemantic version (e.g., 1.0.0) / 语义化版本号
--tagsComma-separated tags (default: latest) / 逗号分隔的标签
--no-inputSkip interactive prompts / 跳过交互提示

Example / 示例:

clawhub publish ./my-skill \
  --slug my-skill \
  --name "My Skill" \
  --version 1.0.0 \
  --tags latest \
  --no-input

Step 4: Verify / 确认

After publishing, the skill enters security scan (usually takes a few minutes): 发布后技能进入安全扫描(通常需要几分钟):

# Check skill status / 检查技能状态
clawhub inspect <slug>

If you see "Skill is hidden while security scan is pending", wait and retry. 如果看到"Skill is hidden while security scan is pending",等待后重试。


Updating a Skill / 更新技能

To update, publish with an incremented version number: 更新时需升级版本号

clawhub publish ./my-skill \
  --slug my-skill \
  --name "My Skill" \
  --version 1.0.1 \
  --tags latest \
  --no-input

Important / 注意: The same version cannot be republished. If you delete a skill and republish, you must use a new version number. 同一版本号不可重复发布。删除后重新发布也必须使用新版本号。


Deleting a Skill / 删除技能

clawhub delete <slug> --yes

Warning / 警告: Deletion is soft-delete. After deletion, the same version number cannot be reused for the same slug. 删除为软删除。删除后同一 slug 的同一版本号不可复用。


Common Issues & Solutions / 常见问题与解决

Error / 错误Cause / 原因Solution / 解决
Slug must be lowercaseSlug contains uppercase / Slug 含大写Use lowercase + hyphens / 使用小写+短横线
Version already existsSame slug+version published before / 同 slug+版本已发布过Increment version / 升版本号
Remove non-text filesFolder contains .git, LICENSE, binaries / 含非文本文件Remove those files / 删除这些文件
GitHub API rate limit exceededToo many requests / 请求太频繁Wait 10 minutes / 等待 10 分钟
Connection lost while action was in flightNetwork issue or too many files / 网络问题或文件过多Retry with fewer files / 精简文件后重试
Security scan flagged missing env declaration / 安全扫描标记缺少 env 声明Commands use env vars not declared in frontmatter / 命令使用了未在 frontmatter 中声明的环境变量Add env section to frontmatter / 在 frontmatter 中添加 env
Security scan flagged curl\bash / 安全扫描标记 curl\bashInstall script uses `curl \bash / 安装脚本使用 curl \bash`Add security warning, recommend Homebrew/source build / 添加安全提示,推荐 Homebrew/源码构建

Security Best Practices / 安全最佳实践

When writing a SKILL.md, follow these guidelines to pass ClawHub security review: 编写 SKILL.md 时,遵循以下准则以通过 ClawHub 安全审核:

  1. Declare all env vars / 声明所有环境变量: If any command requires an API key or secret, declare it in the env section of frontmatter. Explain what it's for and whether it's optional.

如果命令需要 API key 或密钥,在 frontmatter 的 env 中声明,说明用途和是否可选。

  1. Avoid curl|bash as primary install method / 避免将 curl|bash 作为主要安装方式: Recommend Homebrew, Scoop, or source build first. If including a curl|bash script, add a security warning.

优先推荐 Homebrew、Scoop 或源码构建。如包含 curl|bash 脚本,添加安全提示。

  1. No interactive prompts / 无交互提示: AI Agents cannot answer y/n questions. All operations must be completable via command-line arguments.

AI Agent 无法回答 y/n 问题。所有操作必须能通过命令行参数完成。

  1. Document network operations / 说明网络操作: If the skill includes HTTP requests, DNS lookups, port scanning, etc., note this clearly so users are aware.

如果技能包含 HTTP 请求、DNS 查询、端口扫描等,明确说明让用户知晓。

  1. Document credential storage / 说明凭据存储: If the skill stores secrets locally (password vault, API keys), explain the encryption method and storage location.

如果技能在本地存储密钥(密码保险库、API key),说明加密方式和存储位置。

  1. No binary files in skill bundle / 技能包中不含二进制文件: Only include text files (Markdown, JSON, YAML, scripts). Binary files will be rejected.

只包含文本文件(Markdown、JSON、YAML、脚本)。二进制文件会被拒绝。


CLI Reference / CLI 命令参考

# Authentication / 认证
clawhub login                           # Login via browser / 浏览器登录
clawhub login --token <token>           # Login with API token / 用 API token 登录
clawhub logout                          # Logout / 登出
clawhub whoami                          # Check current identity / 查看当前身份

# Publish / 发布
clawhub publish <path> --slug <slug> --name "<name>" --version <ver>
                                        # Publish a skill / 发布技能

# Verify / 确认
clawhub inspect <slug>                  # View skill metadata / 查看技能元数据

# Delete & Restore / 删除与恢复
clawhub delete <slug> --yes             # Soft-delete a skill / 软删除技能
clawhub undelete <slug>                 # Restore deleted skill / 恢复已删除技能

# Batch / 批量
clawhub sync --all                      # Sync all local skills / 同步所有本地技能
clawhub sync --dry-run                  # Preview without uploading / 预览不上传

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenClaw

92.15%
按下载量换算1,010

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills