Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

Skill Publish Tool

v1.0.4

自动更新 GitHub 仓库并发布 Skill 到 ClawHub。当用户需要发布 skill 更新时使用此技能。支持自动版本号递增、更新日志管理、Git 提交推送、ClawHub 发布。

0· 111·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for shinelp100/skill-publish-tool.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Skill Publish Tool" (shinelp100/skill-publish-tool) from ClawHub.
Skill page: https://clawhub.ai/shinelp100/skill-publish-tool
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install skill-publish-tool

ClawHub CLI

Package manager switcher

npx clawhub@latest install skill-publish-tool
Security Scan
VirusTotalVirusTotal
Suspicious
View report →
OpenClawOpenClaw
Suspicious
medium confidence
Purpose & Capability
Name/description match the code: the script updates package.json/_meta.json and README, commits/pushes via Git, and runs npx clawhub publish. However the registry metadata omitted required runtime dependencies (SKILL.md and the script require Git and Node/npm/npx), so the declared requirements are incomplete.
!
Instruction Scope
The runtime instructions and included script perform the advertised actions, but the script builds shell command strings from user inputs (slug, changelog, commit message, paths) and executes them via subprocess.run(..., shell=True). This introduces command injection and quoting issues (e.g., unescaped double quotes or shell metacharacters in --changelog or --slug). The USAGE/FAQ also suggests potentially dangerous operations like force-push, which can overwrite remote history if followed blindly.
Install Mechanism
There is no install spec in the registry, but the script invokes 'npx clawhub@latest', which will dynamically download/run code from the npm registry. Dynamic npx usage is convenient but means code is fetched at runtime from an external package registry (not bundled), which is a moderate-risk behavior and should be noted to users.
Credentials
The skill declares no required environment variables or credentials, which aligns with most of its behavior. It does, however, rely on local Git credentials (credential helper or SSH keys) and possibly npm auth if ClawHub publishing requires authentication; these implicit requirements are not declared in metadata and should be documented.
Persistence & Privilege
The skill does not request permanent always:true inclusion, does not modify other skills, and only acts when invoked. It writes to files within the provided skill directory and may init a Git repo there — this is expected for a publisher.
What to consider before installing
This tool appears to implement the advertised publish workflow, but review and caution are advised before use: - Review the script before running. It uses shell=True and composes shell commands with user-supplied inputs (slug, changelog, commit message). Malicious or accidental special characters can change commands or inject arbitrary shell commands. If you don't trust inputs, do not run it. - Test in a throwaway repository first. Run with --skip-git and --skip-clawhub to verify file updates, then run with --skip-clawhub to validate Git behavior before publishing. - Sanitize inputs you pass (avoid quotes, backticks, semicolons, &&, |, etc.) or modify the script to use subprocess.run([...], shell=False) and properly escape/quote arguments. - Be cautious with the USAGE suggestions about force-push; force-pushing can irreversibly overwrite remote history. - Consider installing/pinning clawhub instead of using npx @latest (npx downloads code at runtime). If you must use npx, prefer pinning a known-safe version rather than @latest. - Ensure Git credentials and npm/ClawHub authentication are configured in a secure way (SSH keys or credential helpers), and avoid running the publish as root or in environments with broad access. If you want a higher-confidence assessment, provide any CI usage examples, the expected format of ClawHub authentication (token vs interactive login), or allow me to suggest a minimal patch to remove shell=True and safely pass arguments to external commands.

Like a lobster shell, security has layers — review code before you run it.

latestvk976nx1d2sxx6a13t1ncfatc1s83bbdr
111downloads
0stars
5versions
Updated 1mo ago
v1.0.4
MIT-0

skill-publish-tool

自动化发布 OpenClaw Skill 到 GitHub 和 ClawHub 的工具。

功能特性

  • 📦 自动版本管理 - 支持 major/minor/patch 版本号递增
  • 📝 更新日志管理 - 自动更新 README.md 的更新日志部分
  • 🔄 Git 自动化 - 自动提交并推送到 GitHub
  • 🚀 ClawHub 发布 - 一键发布到 ClawHub 市场
  • 📋 多文件同步 - 同时更新 package.json 和 _meta.json

使用方式

基础用法

python3 scripts/publish_skill.py <skill 目录> --slug <slug> --changelog "<更新日志>"

完整参数

python3 scripts/publish_skill.py <skill 目录> \
  --slug <slug> \
  --name "<display name>" \
  --bump <major|minor|patch> \
  --changelog "<更新日志>" \
  [--skip-git] \
  [--skip-clawhub]

参数说明

参数必填说明
pathSkill 目录路径
--slugClawHub 上的 skill slug
--nameDisplay name(可选)
--bump版本号递增类型,默认 patch
--changelog更新日志内容
--skip-git跳过 Git 操作
--skip-clawhub跳过 ClawHub 发布

使用示例

示例 1: 发布补丁版本

python3 scripts/publish_skill.py ~/.jvs/.openclaw/workspace/skills/cn-stock-volume \
  --slug cn-stock-volume \
  --changelog "新增创业板数据,修复合计计算逻辑"

示例 2: 发布小版本更新

python3 scripts/publish_skill.py ~/.jvs/.openclaw/workspace/skills/my-skill \
  --slug my-skill \
  --bump minor \
  --changelog "新增 XX 功能,优化 XX 性能"

示例 3: 仅更新本地文件(不发布)

python3 scripts/publish_skill.py ~/.jvs/.openclaw/workspace/skills/my-skill \
  --slug my-skill \
  --changelog "本地测试更新" \
  --skip-clawhub

示例 4: 仅发布到 ClawHub(不推送到 GitHub)

python3 scripts/publish_skill.py ~/.jvs/.openclaw/workspace/skills/my-skill \
  --slug my-skill \
  --changelog "仅发布到 ClawHub" \
  --skip-git

输出示例

============================================================
  📦 Skill Publisher
  路径:/Users/xxx/skills/cn-stock-volume
  Slug: cn-stock-volume
============================================================

📋 当前版本:v1.0.0
📋 新版本:v1.0.1

━━━ 步骤 1: 更新版本号 ━━━
✅ 已更新:package.json → v1.0.1
✅ 已更新:_meta.json → v1.0.1

━━━ 步骤 2: 更新 README.md ━━━
✅ 已更新 README.md 更新日志 → v1.0.1

━━━ 步骤 3: Git 提交和推送 ━━━
🔧 执行:git add -A
🔧 执行:git commit -m "v1.0.1: 新增创业板数据"
🔧 执行:git push
✅ Git 推送成功

━━━ 步骤 4: 发布到 ClawHub ━━━
🚀 发布到 ClawHub: cn-stock-volume@1.0.1
✅ ClawHub 发布成功!
📦 Skill ID: k974z4a6pc4bv3gverd92c935s83anr6
🔗 链接:https://clawhub.ai/k974z4a6pc4bv3gverd92c935s83anr6/cn-stock-volume

============================================================
  ✅ 发布完成!
  版本:v1.0.1
============================================================

前置要求

  1. Node.js + npm - 用于运行 npx clawhub 命令
  2. Git - 用于版本控制和推送
  3. ClawHub 账号 - 需要先登录 ClawHub

注意事项

  1. Git 认证 - 确保已配置 Git 凭证或 SSH 密钥
  2. ClawHub 登录 - 首次使用需要先登录 ClawHub
  3. 版本号规则 - 遵循语义化版本(Semantic Versioning)
    • major: 不兼容的 API 更改
    • minor: 向后兼容的功能新增
    • patch: 向后兼容的问题修复

文件结构

skill-publisher/
├── SKILL.md
├── package.json
├── _meta.json
├── README.md
└── scripts/
    └── publish_skill.py

更新日志

v1.0.0 (2026-03-21)

  • 🎉 初始版本发布
  • 支持自动版本号递增
  • 支持 Git 自动提交推送
  • 支持 ClawHub 自动发布
  • 支持更新日志自动管理

Comments

Loading comments...