技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
artifact【数据与研究】Create and manage artifact.json for task outputs. Use at the START of every task to define planned deliverables before beginning research.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Every task must have an artifact.json that declares all output files.
mkdir -p "tasks/${CLAUDE_SESSION_ID}/reports"
mkdir -p "tasks/${CLAUDE_SESSION_ID}/notes"
cat > "tasks/${CLAUDE_SESSION_ID}/artifact.json" << 'EOF'
{
"artifacts": []
}
EOF
Read the current file, append new entries, and write it back. Each entry needs:
| Field | Required | Description |
|---|---|---|
id | Yes | Unique identifier (e.g. research-report) |
path | Yes | File path relative to /bunny-agent |
mimeType | Yes | MIME type of the file |
description | No | Brief description of the content |
{
"artifacts": [
{
"id": "research-report",
"path": "tasks/${CLAUDE_SESSION_ID}/reports/report.md",
"mimeType": "text/markdown",
"description": "Main research report with findings and analysis"
},
{
"id": "source-notes",
"path": "tasks/${CLAUDE_SESSION_ID}/notes/sources.md",
"mimeType": "text/markdown",
"description": "Research sources and citations"
}
]
}
| Type | Extension |
|---|---|
text/markdown | .md |
text/plain | .txt |
text/html | .html |
text/csv | .csv |
application/json | .json |
application/pdf |
${CLAUDE_SESSION_ID} in paths — it auto-resolves in this fileartifact.json whenever you create a new output file