← 返回
安全合规 中文

Skill Publisher

Create, validate, security-scan, and publish skills to ClawHub. Use when asked to "make a skill", "publish a skill", "create a new skill", "scaffold a skill"...
在 ClawHub 上创建、验证、安全扫描和发布技能。适用于“创建技能”“发布技能”“新建技能”“搭建技能”等请求。
theashbhat
安全合规 clawhub v1.0.0 1 版本 99904.9 Key: 无需
★ 0
Stars
📥 1,050
下载
💾 7
安装
1
版本
#latest

概述

Skill Publisher

Build and publish skills to ClawHub in one flow.

Quick Start

1. Scaffold a new skill

bash {baseDir}/scripts/scaffold.sh <skill-name> [--dir <output-dir>]

Creates a new skill folder with SKILL.md template and scripts/ directory.

Default output: ./skills/

2. Fill in the skill

Edit the generated SKILL.md:

  • Set name and description in frontmatter (description is critical for triggering)
  • Write clear instructions in the body
  • Add scripts/ for executable code, references/ for docs, assets/ for templates

3. Validate

bash {baseDir}/scripts/validate.sh <skill-folder>

Checks:

  • Required files exist (SKILL.md)
  • Frontmatter has name and description
  • Naming conventions (lowercase, hyphens)
  • No forbidden files (README.md, CHANGELOG.md, etc.)

4. Security scan

bash {baseDir}/scripts/security-scan.sh <skill-folder>

Scans for red flags:

  • Remote code execution / eval patterns
  • Data exfiltration (curl to unknown hosts)
  • Environment variable harvesting
  • Prompt injection in markdown files
  • Suspicious file permissions

5. Publish

bash {baseDir}/scripts/publish.sh <skill-folder> --slug <name> --version <x.y.z>

Pushes to ClawHub. Requires clawhub login first.

One-liner (for simple skills)

bash {baseDir}/scripts/scaffold.sh my-skill && \
  # edit skills/my-skill/SKILL.md ... && \
  bash {baseDir}/scripts/validate.sh skills/my-skill && \
  bash {baseDir}/scripts/security-scan.sh skills/my-skill && \
  bash {baseDir}/scripts/publish.sh skills/my-skill --slug my-skill --version 1.0.0

Skill Anatomy Reminder

my-skill/
├── SKILL.md          ← Required. Frontmatter (name, description) + instructions.
├── scripts/          ← Optional. Executable code (bash, python, etc.)
├── references/       ← Optional. Docs loaded on-demand into context.
└── assets/           ← Optional. Templates, images, files used in output.

Key principles:

  • Be concise. Context window is shared real estate.
  • Description in frontmatter is the trigger — make it comprehensive.
  • Progressive disclosure: SKILL.md body only loads when triggered.
  • Scripts > inline code for deterministic, repeated operations.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 11:58 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,215 📥 266,540
data-analysis

Dynamic UI

theashbhat
使用 HTML 模板和 wkhtmltoimage 将表格、图表、统计、卡片及仪表盘渲染为图片。
★ 3 📥 1,203
security-compliance

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,720