← 返回 Skills 市场
terrycarter1985

skill-quick-publish

作者 terrycarter1985 · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
36
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install skill-quick-publish
功能描述
One-click skill publishing automation covering duplicate check, Bear notes sync, and GitHub push. Use when publishing a new or updated skill to ClawHub and G...
使用说明 (SKILL.md)

Skill Quick Publish

Automate the full skill publishing pipeline: duplicate check → Bear dev-log sync → GitHub push → ClawHub publish.

Prerequisites

  • clawhub CLI installed and authenticated (clawhub whoami)
  • git CLI available with push access to target repo
  • (Optional) grizzly CLI for Bear notes sync on macOS

Workflow

Run the main orchestrator script:

bash SKILL_DIR/scripts/publish.sh \x3Cskill-path> [options]

Options

Flag Description Default
--repo \x3Cowner/repo> GitHub repo to push to (required or set SKILL_GH_REPO)
--branch \x3Cname> Target branch main
--skip-bear Skip Bear notes sync false
--skip-github Skip GitHub push false
--dry-run Preview all steps without executing false
--changelog \x3Cmsg> Changelog message for ClawHub publish "Automated publish"
--version \x3Csemver> Version for ClawHub publish Auto from SKILL.md or 0.1.0

Environment Variables

  • SKILL_GH_REPO — Default GitHub repo (e.g., user/skills)
  • SKILL_BEAR_TAG — Bear note tag for dev logs (default: skill-dev)
  • GRIZZLY_TOKEN_FILE — Path to Bear API token (default: ~/.config/grizzly/token)

Steps in Detail

1. Duplicate Check

Validates skill name uniqueness against:

  • Locally installed skills (~/.openclaw/skills/)
  • ClawHub registry (clawhub search)

Exits with error if a conflicting skill exists, unless --force is passed.

2. Bear Notes Sync

Creates or appends a dev-log note in Bear:

  • Title: [Skill Dev] \x3Cskill-name>
  • Tag: value of SKILL_BEAR_TAG
  • Content: timestamp, version, changelog summary

On non-macOS or when grizzly is unavailable, prints a structured log line to stdout instead (so the pipeline continues).

3. GitHub Push

Commits and pushes the skill directory to the configured GitHub repo:

  1. Clones/pulls the target repo to a temp directory
  2. Copies skill files into the repo under skills/\x3Cskill-name>/
  3. Commits with message: feat(skill): publish \x3Cskill-name> v\x3Cversion>
  4. Pushes to the target branch

4. ClawHub Publish

Runs clawhub publish with the skill path, slug, name, version, and changelog.

Error Handling

  • Each step logs on success, on failure
  • The pipeline stops on the first failure unless --continue-on-error is set
  • Bear sync failure is non-fatal by default (warns and continues)

Examples

# Full publish
bash scripts/publish.sh ./my-skill --repo user/skills --version 1.0.0

# Dry run
bash scripts/publish.sh ./my-skill --repo user/skills --dry-run

# Skip Bear and GitHub, only ClawHub
bash scripts/publish.sh ./my-skill --repo user/skills --skip-bear --skip-github

# Using env var for repo
SKILL_GH_REPO=user/skills bash scripts/publish.sh ./my-skill
安全使用建议
Before installing or running, verify the target skill directory, GitHub repo, branch, and ClawHub version/changelog. Prefer a dry run first, make sure the skill directory contains no private files you do not want published, and skip Bear sync if you do not want a persistent local note created.
功能分析
Type: OpenClaw Skill Name: skill-quick-publish Version: 0.1.0 The skill bundle provides a legitimate automation script (`publish.sh`) for publishing OpenClaw skills to GitHub and ClawHub. It handles duplicate checks, optional Bear note syncing via the `grizzly` CLI, and standard Git operations (clone, commit, push) to a user-defined repository. The code is well-structured, uses safe temporary directory handling, and contains no evidence of malicious intent or unauthorized data exfiltration.
能力评估
Purpose & Capability
The publishing, duplicate-check, Bear-log, GitHub-push, and ClawHub-publish behavior is coherent with the stated purpose, but it is high-impact because it can publish or update remote content.
Instruction Scope
The main workflow is user-directed through a shell command and includes dry-run and skip options, but the default full run performs real publish actions once invoked.
Install Mechanism
There is no install spec and the metadata declares no required binaries, while the skill documentation and script rely on local CLIs such as clawhub, git, and optionally grizzly.
Credentials
The script reads local installed skill names, copies the selected skill directory into a temporary GitHub checkout, and calls external CLIs; these actions are proportionate to publishing but should be understood before use.
Persistence & Privilege
The skill uses existing authenticated GitHub/ClawHub access and may create persistent Bear notes; this is expected for the workflow but affects user accounts and stored notes.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install skill-quick-publish
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /skill-quick-publish 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Automated publish
元数据
Slug skill-quick-publish
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

skill-quick-publish 是什么?

One-click skill publishing automation covering duplicate check, Bear notes sync, and GitHub push. Use when publishing a new or updated skill to ClawHub and G... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 36 次。

如何安装 skill-quick-publish?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install skill-quick-publish」即可一键安装,无需额外配置。

skill-quick-publish 是免费的吗?

是的,skill-quick-publish 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

skill-quick-publish 支持哪些平台?

skill-quick-publish 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 skill-quick-publish?

由 terrycarter1985(@terrycarter1985)开发并维护,当前版本 v0.1.0。

💬 留言讨论