360 Secure SkillHub
360 安全技能中心

Skillforge

核心功能:根据输入的产品名称、描述、使用说明等元数据,生成符合ClawHub规范的SKILL.md文件,自动标准化slug,支持可选声明环境变量和依赖工具。典型场景:开发者将工具发布到ClawHub前快速生成合规文档。通过HTTP POST提交JSON参数,返回完整SKILL.md内容及ClawHub兼容的slug。

mirni
mirni
热度 42.26
最近更新 2026-05-11 17:42:41
分类:开发依赖:代码执行 / 第三方 API应用场景:代码生成 / 模板 / API 集成

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add gh-skillforge
Metadata
name
gh-skillforge
description
Generate valid, ClawHub-ready SKILL.md files from product metadata. Give it a name, description, and instructions — get back a properly formatted SKILL.md with YAML frontmatter, slug normalization, and optional env/bins declarations.
metadata
{"openclaw":{"emoji":"🔨","requires":{"bins":["python"]},"install":[{"id":"pip","kind":"uv","packages":["fastapi","uvicorn","pydantic","pyyaml"]}]}}

SkillForge

Generate a SKILL.md ready to publish on ClawHub.

Start the server

uvicorn skillforge.app:app --port 8003

Generate a SKILL.md

curl -s -X POST http://localhost:8003/v1/forge-skill \
  -H "Content-Type: application/json" \
  -d '{"name": "My Cool Tool", "description": "Does cool things.", "instructions": "Step 1: Be cool."}' | jq

Returns skill_md (the complete SKILL.md content) and slug (ClawHub-compatible name like my-cool-tool).

With optional env vars and bins

curl -s -X POST http://localhost:8003/v1/forge-skill \
  -H "Content-Type: application/json" \
  -d '{"name": "API Client", "description": "Calls APIs.", "instructions": "Use curl.", "env_vars": ["API_KEY"], "bins": ["curl"]}' | jq '.skill_md' -r

Slug rules

Names are auto-converted to ClawHub slugs: lowercase, spaces to dashes, special chars removed. "My Tool v2!" becomes my-tool-v2.