360 Secure SkillHub
360 安全技能中心

Skillforge

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

分类:开发
mirni
mirni
热度 30.86
最近更新 2026-05-11 17:42:41

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add mirni/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.