360 Secure SkillHub
360 安全技能中心

OpenClaw Plugin Starter Kit

该 Skill 通过一个 shell 脚本,按插件 slug 生成包含 package.json、openclaw.plugin.json 和 index.js 的插件脚手架,并引导用户实现插件逻辑、运行预检脚本以及从 git 信息准备发布表单字段,最终在 ClawHub 面板提交发布。

vassiliylakhonin
vassiliylakhonin
热度 16.03
最近更新 2026-04-10 11:42:25
分类:开发依赖:代码执行 / 读写文件应用场景:代码生成 / 模板 / DevOps / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add openclaw-plugin-starter-kit
Metadata
name
openclaw-plugin-starter-kit
description
Generate a production-ready OpenClaw plugin starter in under 2 minutes and hand it off cleanly to ClawHub Publish Plugin. Use when starting a new plugin, creating required manifests, and running preflight checks before dashboard submission.
user-invocable
true
metadata
{"openclaw":{"emoji":"🧱","os":["linux","darwin","win32"]}}

OpenClaw Plugin Starter Kit

Create a working plugin skeleton in seconds, then validate and publish safely.

Quick outcomes

  • New plugin folder with required files in one command.
  • Zero-miss preflight before Dashboard submission.
  • Clear next step for Publish Plugin with minimal manual work.

What this skill gives

  • ready-to-edit plugin scaffold
  • required files created automatically
  • handoff to clawhub-plugin-publisher preflight
  • clean path to ClawHub Publish Plugin

Generate plugin scaffold

./scripts/new-plugin.sh <plugin-slug> [dir]

Generated files:

  • package.json
  • openclaw.plugin.json
  • index.js

package.json includes ClawHub-compatible OpenClaw metadata:

  • openclaw.compat.pluginApi
  • openclaw.build.openclawVersion
  • openclaw.build.pluginSdkVersion

Preflight before publish

./skills/clawhub-plugin-publisher/scripts/plugin-preflight.sh <plugin-dir>

Publish flow

  1. Generate scaffold.
  2. Implement plugin logic in index.js.
  3. Run preflight.
  4. Open ClawHub Dashboard -> Publish Plugin.

Publish form readiness

Use helper to get dashboard fields from git:

./skills/clawhub-plugin-publisher/scripts/plugin-release-fields.sh <repo-dir>

This gives:

  • source repo
  • source commit
  • source ref
  • changelog template

Output contract

Return:

  • scaffold path
  • preflight result
  • remaining publish blockers
  • exact next step

Author

Vassiliy Lakhonin