From sublimate
Take a cluster spec and author a polished .workflow.js with real agent() prompts distilled from sample sessions. Use when sublimate-distiller dispatches per cluster, or when user says author workflow, polish this cluster, distill prompts from sessions, or invokes /sublimate:author-workflow with a cluster ID.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sublimate:workflow-authoringThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Given a cluster id and 2-3 sample session paths, produce a polished `.workflow.js` (Workflow tier) or `SKILL.md` (Skill tier) at `/tmp/sublimate-run/cluster-<id>.workflow.js` or `/tmp/sublimate-run/cluster-<id>/SKILL.md`.
Given a cluster id and 2-3 sample session paths, produce a polished .workflow.js (Workflow tier) or SKILL.md (Skill tier) at /tmp/sublimate-run/cluster-<id>.workflow.js or /tmp/sublimate-run/cluster-<id>/SKILL.md.
cluster_id — stringtier — WORKFLOW or SKILLsamples — array of 2-3 absolute paths to .jsonl session filesskeleton_path — /tmp/sublimate-run/cluster-<id>.workflow.js (PrefixSpan raw output)meta.name as a short verb-noun (generate-cover, audit-fix-verify, mine-weekly-retro). Avoid generics like do-thing.audit, fix, verify, emit, etc. Boundaries are determined by goal change, not by tool change.agent({prompt}) that generalizes — not a verbatim replay of the sample. The polished prompt should work for the next run, not just past runs.parallel(). Default to serial; only parallelize when independence is provable from samples.Date.now), no RNG (Math.random), no new Date(). Use meta.id plus inputs for any keying.Overwrite the skeleton:
/tmp/sublimate-run/cluster-<id>.workflow.js/tmp/sublimate-run/cluster-<id>/SKILL.mdReturn a short report:
output: <path>
summary: <one line describing what the workflow/skill does>
samples_read: [<path1>, <path2>, ...]
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub krzemienski/sublimate --plugin sublimate