360 Secure SkillHub
360 安全技能中心

Skillsmith

核心功能是快速生成OpenClaw技能项目的标准化初始结构,提供标准和严格安全两种模板,支持命令行参数或交互式配置,可生成SKILL.md、测试用例、CI工作流等文件。典型场景为需要重复项目布局、规范技能文档、搭建安全合规项目时使用,输入为带参数的命令行指令,输出完整项目文件夹结构。

mike007jd
mike007jd
热度 41.65
最近更新 2026-05-11 17:37:12
分类:开发依赖:代码执行 / 读写文件应用场景:代码生成 / 模板

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add skillsmith
Metadata
name
skill-starter
description
Scaffold a new OpenClaw skill project with starter docs, tests, fixtures, and optional security workflow.
homepage
https://github.com/mike007jd/openclaw-skills/tree/main/skill-starter
metadata
{"openclaw":{"emoji":"🌱","requires":{"bins":["node"]}}}

Skill Starter

Generate a reviewable starting point for a new OpenClaw skill.

When to use

  • You want a repeatable folder layout instead of assembling a skill by hand.
  • You need a starter SKILL.md, smoke test, fixtures, and optional CI workflow.
  • You want a stricter template with Safe Install policy scaffolding.

Command

node {baseDir}/bin/create-openclaw-skill.js my-skill
node {baseDir}/bin/create-openclaw-skill.js my-skill --no-prompts --out ./skills
node {baseDir}/bin/create-openclaw-skill.js my-skill --template strict-security --ci
node {baseDir}/bin/create-openclaw-skill.js my-skill --force

Templates

Template Focus
standard baseline docs, fixtures, and tests
strict-security adds policy scaffolding, security docs, and ClawShield CI

Generated files

  • SKILL.md: skill instructions with OpenClaw-compatible frontmatter
  • package.json: project manifest
  • docs/: architecture and security notes
  • scripts/: local script directory
  • tests/: smoke test stub
  • .env.example: environment variable template
  • CHANGELOG.md: release notes starter
  • scripts/profile-target.js: profiling helper
  • fixtures/: sample input data
  • .github/workflows/security-scan.yml: optional CI workflow

Interactive prompts

Option Prompt Default
name skill name CLI argument
description skill description {name} skill generated by Skill Starter
category skill category AI Skills
ci include CI workflow y/N

strict-security extras

  • .openclaw-tools/safe-install.policy.json: Safe Install policy scaffold
  • docs/security.md: security integration guide
  • .github/workflows/security-scan.yml: ClawShield scan workflow

Boundaries

  • The scaffold is intentionally lightweight. You still need to replace placeholders and add real business logic.
  • Generated SKILL.md files are now aligned to OpenClaw-style frontmatter and use {baseDir} for local command examples.