Workflow authoring
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.From its SKILL.md
npx -y skills add krzemienski/sublimate --skill workflow-authoringAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.2 KB, as published. Nobody here has run it
Workflow Authoring
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.
Inputs
cluster_id— stringtier—WORKFLOWorSKILLsamples— array of 2-3 absolute paths to.jsonlsession filesskeleton_path—/tmp/sublimate-run/cluster-<id>.workflow.js(PrefixSpan raw output)
Procedure
- Read samples. Open every sample path. Focus on user messages, tool sequences, and final assistant turns. The tool sequence alone is insufficient — read what the user actually wanted accomplished.
- Name. Choose
meta.nameas a short verb-noun (generate-cover,audit-fix-verify,mine-weekly-retro). Avoid generics likedo-thing. - Phase. Group tool calls into goal-oriented phases. Each phase has one goal —
audit,fix,verify,emit, etc. Boundaries are determined by goal change, not by tool change. - Author prompts. For each phase write a coherent
agent({prompt})that generalizes — not a verbatim replay of the sample. The polished prompt should work for the next run, not just past runs. - Fan-out. Any phase with N independent units gets
parallel(). Default to serial; only parallelize when independence is provable from samples. - Deterministic only. No wall-clock (
Date.now), no RNG (Math.random), nonew Date(). Usemeta.idplus inputs for any keying.
Output
Overwrite the skeleton:
- Workflow tier →
/tmp/sublimate-run/cluster-<id>.workflow.js - Skill tier →
/tmp/sublimate-run/cluster-<id>/SKILL.md
Return a short report:
output: <path>
summary: <one line describing what the workflow/skill does>
samples_read: [<path1>, <path2>, ...]