360 Secure SkillHub
360 安全技能中心

Skillforge

SkillForge 以 Python FastAPI 服务形式运行,接收名称、描述、指令以及可选的 env 变量与可执行依赖声明,返回完整的 SKILL.md 内容(含 YAML frontmatter)和规范化后的 slug;名称会转为小写、空格转连字符、去除特殊字符。

mirni
mirni
热度 42.24
最近更新 2026-05-11 17:42:41
分类:开发依赖:代码执行应用场景:模板

安装技能

复制下面的话术发给你的 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.