compose
skill-glue compose <manifest> --format json|markdown [--sample-run]
Generate the composed workflow plan with step order, validation checks, and cacheable stages.
Docs
Skill Glue 先把 skill 拆成带边界的节点,再给出执行顺序、token 预算和替换建议。第一版先做组合认知,不做重型执行引擎。
Install
git clone https://github.com/jklop3841/agentarchitect-site.git
cd agentarchitect-site
npm installCommands
compose
Generate the composed workflow plan with step order, validation checks, and cacheable stages.
estimate
Estimate total token budget and show which steps drive cost.
explain
Explain why steps are ordered this way and what can be replaced or cached.
npm run skill-glue -- compose ./examples/skill-glue/parallel.json --format markdown --sample-runnpm run skill-glue -- estimate ./examples/skill-glue/replaceable.json --format jsonnpm run skill-glue -- explain ./examples/skill-glue/serial.json --format markdownManifest schema
{
"id": "parallel-content-stack",
"summary": "Short description",
"steps": [
{
"id": "topic.intake",
"summary": "What this step does",
"inputs": ["topic"],
"outputs": ["topic_card"],
"cost_hint": { "tokens": "low", "score": 1 },
"dependencies": [],
"replaceable_with": [],
"cacheable": true,
"validation_checks": ["topic_card includes audience and tone"]
}
]
}Sample output
{
"id": "parallel-content-stack",
"execution_order": [
["topic.intake"],
["hook.builder", "evidence.bundle"],
["assembly.pass"]
],
"estimated_cost": {
"total_score": 5,
"budget_band": "low"
},
"cacheable_steps": ["topic.intake", "hook.builder", "evidence.bundle"]
}