By krzemienski
Distill Claude Code session history into reusable Workflow scripts and Skills. Mines ~/.claude/projects/ for repeated tool-call patterns, classifies them as Subagent/Skill/Workflow tier, and emits polished candidates.
Read clusters.json from a sublimate distill run, classify each cluster as KEEP / SKIP / NEEDS_MORE_SIGNAL with verdict citing sample sessions. Invoked by sublimate-distiller skill stage 3.
Given a cluster of similar Claude Code sessions, sample 2-3 sessions via Read tool, identify what the user actually accomplished, write coherent meta-name plus per-phase agent() prompts. Invoked by sublimate-distiller skill stage 4.
Mine Claude Code session history for repeated tool-call patterns and emit candidate Workflow scripts or Skills. Use when the user says distill workflows, find workflows in my sessions, sublimate, what patterns are in my history, surface repeatable orchestrations, or invokes /sublimate:distill. Walks ~/.claude/projects/, clusters sessions via k-shingle Jaccard, mines frequent subsequences via PrefixSpan, dispatches per-cluster prompt distillation, emits .workflow.js or SKILL.md candidates classified by 3-tier rubric (Subagent / Skill / Workflow).
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.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Distill your Claude Code session history into reusable Workflow scripts and Skills. Pattern-mining for agentic engineers.
Status: v0.2.0 — Claude Code plugin shape. Wraps the v0.1.0 Python miner in slash commands + skills + agents. Paired with Anthropic's Dynamic Workflows release at https://claude.com/blog/introducing-dynamic-workflows-in-claude-code (2026-05-28).
claude plugin marketplace add krzemienski/sublimate
claude plugin install sublimate@sublimate-marketplace
Then from any project:
/sublimate:distill # mine sessions, emit candidates
/sublimate:show # review the candidate table
/sublimate:promote <id> # move a candidate into your project's .claude/
See docs/ARCHITECTURE.md for how the plugin composes the Python miner with cluster-curator and prompt-distiller agents.
Walks JSONL session files in your Claude Code projects directory. Clusters sessions by tool-call similarity (k=3 shingles + Jaccard). Mines frequent subsequences (PrefixSpan) and emits one .workflow.js per cluster you can drop into .claude/workflows/.
What serious agent-builders developed by hand for six months — phase boundaries, parallel sub-agent fan-out, scoped tool grants, deterministic checkpoints — is now a Claude Code primitive. The patterns are already sitting in your own session history, waiting to be distilled. This tool reads what you actually did, finds the repeats, and emits scaffolds you can curate into real Workflows. Background: Anthropic announcement, Workflows API docs.
The Python miner is still publishable for direct invocation if you want to bypass the plugin shell:
git clone https://github.com/krzemienski/sublimate
cd sublimate
pip install -e .
workflow-distill ~/.claude/projects/-Users-nick-Desktop-myproject --out ./out --emit-all
ls out/
Python >= 3.10. Single runtime dep: jinja2. The plugin (v0.2.0) invokes this same CLI internally via Bash — the plugin is the recommended surface.
.jsonl files, extracts (role, tool_name, tool_input_hash) per turn.k=3 tool n-grams as sets per session..workflow.js with literal meta block, phase()/agent()/parallel() body.Four specimens from a live /sublimate:distill dogfood run against the blog-series corpus (500 sessions, 2026-05-28). One per tier, plus a second Skill:
examples/dream-memory-consolidation-SKILL.md — SKILL, cluster 1, 361 sessions. The /dream memory-consolidation procedure (Orient → Gather → Consolidate → Prune).examples/parallel-file-write-with-verify.workflow.js — WORKFLOW, cluster 9, 6 sessions. Fan-out N file writers, then a verify pass that audits each file.examples/file-writer-worker-SUBAGENT.md — SUBAGENT, cluster 8, 12 sessions. Single-role worker: one Write directive, one confirmation token.examples/audit-e2e-SKILL.md — SKILL, cluster 11, 6 sessions. chrome-devtools per-journey e2e audit worker.See examples/RATIONALE.md for each specimen's origin cluster, sample session, and why it landed at that tier.
Read -> Edit -> Bash could be a build loop, debug loop, or content edit — distinguishing is on you.MIT. © 2026 Nick Krzemienski.
npx claudepluginhub krzemienski/sublimate --plugin sublimateShannon Framework v6 — single-plugin consolidation replacing OMC + VF + Crucible + 13 others. 26 commands, 22 skills, 10 agents, 14 hooks across 7 domain modules + 4 enforcement layers.
Deepest-mode planning — consensus + gates + phase hierarchy + multi-plan tournament synthesis. Self-contained. Works with Claude Code and OpenCode.
Sharp-eyed visual-audit suite for Claude Code. Two coupled skills catch real UI defects — contrast failures, false affordances, modal opacity, contract mismatches — via real-system probes, zero mocks, evidence-cited verdicts.
3-agent unanimous consensus validation with hard gates for Claude Code. Maps Lead/Alpha/Bravo roles to CC subagents, enforces unanimity at phase transitions, persists evidence per phase+role.
Fixed-Point Deepen architecture of the Anneal plugin family. One plan, heated and cooled repeatedly — inline red team at every depth, Momus 0-100 scoring, convergence by variance/delta/cap.
Superpowers Plus core skills library for Claude Code: planning, execution routing, TDD, debugging, and collaboration workflows
Harness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
Unity Development Toolkit - Expert agents for scripting/refactoring/optimization, script templates, and Agent Skills for Unity C# development
v9.44.1 — Patch release for Gemini environment/version detection and qwen auth gating. Run /octo:setup.
Persistent file-based planning for AI coding agents. Crash-proof markdown plans (task_plan.md, findings.md, progress.md) that survive context loss and /clear, with an opt-in completion gate and multi-agent shared state. Manus-style. Works with Claude Code, Codex CLI, Cursor, Kiro, OpenCode and 60+ agents via the SKILL.md standard. Includes Arabic, German, Spanish, and Chinese (Simplified and Traditional).
Claude harness - A harness for solo developers (Vibecoders) to handle full-cycle contract development.