Skillpack 创建
- 作者仓库星标 438
- 作者仓库 skillpack
Skillpack Creator
Overview
Turn a successful task into a reusable SkillPack. Extract the stable workflow, decide what belongs in a local skill versus pack-level prompts, generate the pack structure, and package it only after the workflow is explicit and repeatable.
Workflow
1. Normalize the source task
Reduce the finished task into a clean execution spec:
- Capture the user goal, concrete deliverable, and the final successful workflow (not the full exploratory transcript).
- List required skills, tools, files, secrets, and environment assumptions.
- Separate deterministic steps from heuristic steps; remove dead ends and debugging noise.
- If the task is still too broad, narrow the scope instead of writing a vague mega-skill. If key success conditions depend on hidden human judgment, mark the pack as a best-effort assistant workflow.
Ask for missing stable facts or infer only the low-risk pieces.
2. Decide what the pack should contain
- Local skill (
skills/): reusable procedural knowledge. Keep scripts minimal unless reproducibility depends on exact file generation or repetitive shell steps. - Scripts (
scripts/): repeated shell or file-generation logic where reliability matters. - References (
references/): detailed schemas, API notes, or conventions that should not bloatSKILL.md. - Prompts (
skillpack.json): 1–3 pack-level starter inputs for the UI — not a DAG or state machine. Seereferences/skillpack-format.mdfor exact pack semantics.
3. Create the pack specification
Before writing files, define the pack spec. Prefer one local orchestrator skill plus a small number of external skills. Example minimal manifest:
{
"name": "company-research",
"description": "Research a company and produce a summary report",
"version": "1.0.0",
"prompts": ["Research {company} and create a report with financials and competitors"],
"skills": [
{ "name": "research-orchestrator", "source": "./skills/research-orchestrator", "description": "Orchestrate company research across multiple sources" }
]
}
4. Create the local orchestrator skill
Create skills/<skill-name>/SKILL.md with frontmatter and imperative workflow instructions:
---
name: research-orchestrator
description: "Orchestrate multi-source company research. Use when the user wants a structured company report covering financials, competitors, and market position."
---
- Write the stable workflow as imperative steps in the body.
- Add
scripts/only for fragile or repeated operations; addreferences/only for detailed information.
5. Materialize the pack
Use scripts/scaffold_skillpack.py when you have the pack spec:
# Basic
python3 skills/skillpack-creator/scripts/scaffold_skillpack.py \
--manifest /tmp/skillpack.json \
--output /absolute/path/to/output-pack
# With zip
python3 skills/skillpack-creator/scripts/scaffold_skillpack.py \
--manifest /tmp/skillpack.json \
--output /absolute/path/to/output-pack \
--zip
The script validates the manifest, writes skillpack.json, creates skills/, copies start.sh/start.bat from templates/, and optionally runs npx -y @cremini/skillpack zip.
6. Validate the result
Before handing the pack back, confirm:
- The manifest matches the intended pack scope
- Every declared skill has a valid
name,source, anddescription - Local skills are present under the target pack's
skills/ - Starter prompts are concrete enough to reproduce the workflow
- Zip only after the pack runs as a directory
Output Standard
Produce:
- A short summary of the stabilized workflow.
- The target pack structure and skill inventory.
- The created or updated local skill files.
- The generated
skillpack.json. - Whether the pack was zipped and where the zip lives.
- 流狐分类
- AI 智能
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @CreminiAI · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 需简单配置
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- macOS · Linux · Windows
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- Shell 执行
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
# 6. Validate the result
- The manifest matches the intended pack scope
- Every declared skill has a valid `name`, `source`, and `description`
- Local skills are present under the target pack's `skills/`
- Starter prompts are concrete enough to reproduce the workflow
- Zip only after the pack runs as a directory Turn a successful task into a reusable SkillPack. Extract the stable workflow, decide what belongs in a local skill versus pack-level prompts, generate the pack structure, and package it only after the workflow is explicit and repeatable.
Workflow
Reduce the finished task into a clean execution spec: Capture the user goal, concrete deliverable, and the final successful workflow (not the full exploratory transcript). List required skills, tools, files, secrets, and environment assumptions.
Local skill (skills/): reusable procedural knowledge. Keep scripts minimal unless reproducibility depends on exact file generation or repetitive shell steps. Scripts (scripts/): repeated shell or file-generation logic where reliability matters.
Before writing files, define the pack spec. Prefer one local orchestrator skill plus a small number of external skills. Example minimal manifest:
Create skills/<skill-name>/SKILL.md with frontmatter and imperative workflow instructions: Write the stable workflow as imperative steps in the body. Add scripts/ only for fragile or repeated operations; add references/ only for detailed information.
# Skillpack Creator
## Overview
Turn a successful task into a reusable SkillPack. Extract the stable workflow, decide what belongs in a local skill versus pack-level prompts, generate the pack structure, and package it only after the workflow is explicit and repeatable.
## Workflow
### 1. Normalize the source task
Reduce the finished task into a clean execution spec:
- Capture the user goal, concrete deliverable, and the final successful workflow (not the full exploratory transcript).
- List required skills, tools, files, secrets, and environment assumptions.
- Separate deterministic steps from heuristic steps; remove dead ends and debugging noise.
- If the task is still too broad, narrow the scope instead of writing a vague mega-skill. If key success conditions depend on hidden human judgment, mark the pack as a best-effort assistant workflow.
Ask for missing stable facts or infer only the low-risk pieces.
### 2. Decide what the pack should contain
- **Local skill** (`skills/`): reusable procedural knowledge. Keep scripts minimal unless reproducibility depends on exact file generation or repetitive shell steps.
- **Scripts** (`scripts/`): repeated shell or file-generation logic where reliability matters.
- **References** (`references/`): detailed schemas, API notes, or conventions that should not bloat `SKILL.md`.
- **Prompts** (`skillpack.json`): 1–3 pack-level starter inputs for the UI — not a DAG or state machine. See `references/skillpack-format.md` for exact pack semantics.
### 3. Create the pack specification
Before writing files, define the pack spec. Prefer one local orchestrator skill plus a small number of external skills. Example minimal manifest:
```json
{
"name": "company-research",
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Overview → Workflow → 1. Normalize the source task → 2. Decide what the pack should contain → 3. Create the pack specification → 4. Create the local orchestrator skill
要点 -> Local skill · Scripts · References · Prompts
文件/命令 -> skills/ · scripts/ · references/ · skillpack.json · references/skillpack-format.md · skills/<skill-name>/SKILL.md · scripts/scaffoldskillpack.py · start.sh
内容 SHA-256 -> 20b17ddc70c7
方法与流程
适用与边界
原文中的明确线索
skills/、scripts/、references/、skillpack.json、references/skillpack-format.md、skills/<skill-name>/SKILL.md、scripts/scaffoldskillpack.py、start.sh