/workflows:workshop the paper to turn into a workshop deckfrom workflows
Builds Typst slides and teleprompter speaker notes from a research paper for conference talks, seminars, and workshops. Runs a full clarify/plan/dispatch/human-review lifecycle.
Ships in workflows. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
work with a computed deck gateWhat this skill carries — grep references/ for any subject the names below miss:
!d=${CLAUDE_SKILL_DIR}; command -v skill-toc >/dev/null 2>&1 && exec skill-toc "$d"; s=$HOME/.claude/skills/plugin-utils/bin/skill-toc; [ -x "$s" ] && exec "$s" "$d"; echo "(skill-toc unavailable: references and scripts are NOT listed here — install the plugin-utils plugin, or start a new session so its bin/ reaches PATH)"
The Typst rules in scope for a deck, rendered from the corpus at load time. Nothing here
lists them; a rule reaches this skill because its own applies-to: names a kind a deck is —
slides, notes or workshop. Adding a rule to that scope is an edit to the rule and
nothing else. (Absence of the plugin degrades this index but does not bypass a gate: the deck
probe's CON row FAILs when no typst workshop constraint is reachable beside it.)
!k=slides,notes,workshop; command -v typst-rules >/dev/null 2>&1 && exec typst-rules "$k"; echo "(typst corpus unavailable: NO Typst rule is listed here — a deck graded against no corpus is not a deck that passed. Install the typst plugin, or start a new session so its bin/ reaches PATH)"
!r=$(typst-plugin-root 2>/dev/null) && [ -n "$r" ] && echo "typstRules root: $r/rules" || echo "typstRules root: (unavailable: typst-plugin-root not on PATH; install the typst plugin, or start a new session so its bin/ reaches PATH)"
The lifecycle is work. Read it and follow it.
This file is a delta: it supplies the domain — the CLARIFY axes, the plan grammar, the lens,
the mechanical checks, the refs, the authority text. It ships no workflow.js and restates none of
work's mechanics.
What makes a run workshop rather than plain work is one thing: the built deck is verified
against the approved plan by a computed probe, not by the agent that generated it.
${CLAUDE_PLUGIN_ROOT}/checks/workshop/constraints/workshop-deck.py parses the plan's ## Source Paper, ## Source Inventory, ## Slide Spec
and ## Outputs and Verification, opens the built artifacts itself, and fails closed on a missing
tool, a missing file, an unreadable PDF or a malformed Slide Spec; work's JS reads its exit code.
Main chat clarifies, plans and dispatches. It does not build the deck, and it never writes a
.typ file — not by Write/Edit, and not by Bash (cat >, a heredoc, sed -i, tee). Slides and
notes are written by dispatched agents. work's dispatch is already structural and its judges are
pinned to Explore, so this is a rule on you, not a hook — reach for the workflow first rather than
after a refusal.
work's Phase 1, on these axes. Ask in one AskUserQuestion call where answers are independent;
ask cascading ones separately — the venue decides the duration, and the duration decides the slide
count the Proportions split is drawn from.
| Axis | Establish with the user |
|---|---|
| Paper | The source paper's path, its argument, and which of its results the talk is actually about |
| Audience | Who is in the room, what they already accept, and what they will push back on |
| Venue | Workshop, seminar, job talk or conference; projector scale; whether the paper is pre-read |
| Duration | Talk length, Q&A split, and the hard stop |
| Proportions | The time and slide split across sections — motivation, data, results, implications |
| Visual expectations | Which figures and tables must appear, which are redrawn as diagrams, and what may be text-only |
| Outputs | The deck source, the notes source and their rendered PDFs, by path relative to the project root |
| Review evidence | What makes each section credible at review: a named figure, a quoted statistic, or user judgment |
work's remaining axes are taken as work states them, with two domain bindings.
work axis 4 (observable success criteria) is answered by the deck probe, the constraint runner and
the probe's own suites (scripts/*_test.py: the deck probe and the numbers constraint). The one mechanicalChecks entry runs all three, and all three are fixed strings, and nothing is collected
from the user here. The one per-run value is the approved plan's path, which work already resolved
and hashed in Phase 2; every other argument is literal. ## Outputs and Verification is an
Artifact | Path table of artifact paths, not commands — the probe opens those paths itself, so
no cell of it is ever substituted into a cmd, and there is no per-project test or lint entry to
collect or omit. Adding a command collected at CLARIFY would change the gate's shape from the one the
plan's Run sizing recorded.
work axis 5 (review surface) is answered by the plan's ## Review Surfaces section.
Gather planning evidence read-only: extract the paper's figures, tables, results and assertions into the F/T/R/A inventory the plan will declare. Building a slide is not planning evidence.
work's Phase 2. The plan opens with frontmatter workflow: workshop — required, so a context clear
at approval resumes here and not in work.
Four domain requirements on the plan:
## Source Paper,
## Source Inventory, ## Slide Spec, ## Outputs and Verification. workshop-deck.py parses
these four and nothing else; a heading spelled differently is an absent heading.## Presentation Intent,
## Audience, Venue, Duration, and Proportions, ## Review Surfaces. No computed check fires on
their absence: the lens's CONV item and Phase 5 are what consume them, and a plan
missing one is not ready for implementation. Do not claim a check here that does not exist.## Source Inventory, the
two-column ## Source Paper, the four mandatory ## Outputs and Verification rows, the inventory
emission the built slides carry, the normalized title key, and the exhaustive
malformed/unparseable clauses — is specified once, in
references/slide-spec-grammar.md.
Read it in full before drafting the plan.refs on every task row and on the lens — required, may be empty. Write refs: [] to state "no
domain rules" rather than omitting the key.The Section column is the task decomposition: one implementation task per distinct Section
value, plus one assembler. The assembler reads what the section rows write, so it carries
dependsOn naming every section task.
work's Phase 3 unchanged.
Args, then dispatch exactly as work's Phase 4 states it — work owns the invocation, the result
handling and the return shape.
Paths below are written the way each consumer reads them: refs are absolute, because an implementer
resolves them against no particular directory; writablePaths and every mechanicalChecks cmd are
project-relative, because work spawns each leg with its working directory at projectDir.
const planPath = /* the path $PLAN resolved to in Phase 2 */
const goal = /* one sentence */
const projectDir = /* absolute project root, from Phase 1 axis 2 */
const typstRules = /* the absolute path the `typstRules root:` line printed at load */
const args = {
projectDir, planPath, goal, // specHash is injected by work-dispatch.sh from the plan, never written here
// One row per distinct `Section` value in the plan's ## Slide Spec, plus one assembler.
// Every task carries refs, empty or not.
// The plan's table verbatim. The Typst constraints are NOT among the refs: `implementerAgentType: "workshop"`
// names the one rules skill `typst:deck-rules` in its own frontmatter, so every doer receives the full rule set.
tasks: [
{ id: "section-1",
name: "Section: <Section>",
work: "Write the Typst fragments for every ## Slide Spec row whose Section is <Section>. Each slide's `=== ` title line carries that row's Slide cell; SPEC and NOTE join on the normalized title key defined in references/slide-spec-grammar.md, so a retitled slide fails the gate rather than silently passing. IMMEDIATELY AFTER each `=== ` title line, emit `#inv(\"F1\", \"T2\")` listing EXACTLY that row's Inventory IDs as quoted string literals, one argument per ID — no extra ID, none omitted. INV is a per-slide SET EQUALITY between the IDs a built slide emits and its own row's Inventory cell, and it FAILs on a difference in either direction; deck-wide membership in ## Source Inventory is the second half of the check, not the whole of it, so identical boilerplate on every slide FAILs. A slide carrying no `#inv(` call is a FAIL, not an untraced slide, and a call sitting inside a `//` or `/* … */` comment is not an emission. `inv` is the no-op declared in the vendored templates/theme.typ, so it renders nothing. Every emitted ID must also be declared in ## Source Inventory, matched whole-token. Write the matching `== <title>` notes section for each slide under the same title.",
writablePaths: ["presentation/fragments/section-1.typ",
"presentation/fragments/notes-section-1.typ"],
acceptance: "The deck gate's SPEC and INV rows pass once assemble builds the deck.",
acceptanceCmd: "test -s presentation/fragments/section-1.typ && test -s presentation/fragments/notes-section-1.typ",
refs: ["${CLAUDE_PLUGIN_ROOT}/skills/workshop/references/workshop-checks.md",
"${CLAUDE_PLUGIN_ROOT}/skills/workshop/references/slide-spec-grammar.md",
"${CLAUDE_PLUGIN_ROOT}/skills/workshop/templates/theme.typ"] },
// ... one section-<n> row per remaining distinct Section value.
{ id: "assemble",
dependsOn: ["section-1" /* , … every section row */],
name: "Assemble the deck and notes",
work: "Copy ${CLAUDE_PLUGIN_ROOT}/skills/workshop/templates/theme.typ and .../templates/custom-outline.typ into the project's presentation/templates/, and import them from the deck project-relative as `templates/theme.typ`. Typst resolves an absolute import against --root and the probe compiles with --root at the project root, so the skill directory is unreachable from a built deck: a template that is merely readable is not importable. Then assemble the section fragments into the deck and notes sources declared in ## Outputs and Verification, in Slide Spec order, and compile both. Declare the compile artifacts too — a PDF written beside a .typ that no writablePath names is an undeclared change.",
writablePaths: ["presentation/templates/theme.typ",
"presentation/templates/custom-outline.typ",
"presentation/slides.typ", "presentation/notes.typ",
"presentation/slides.pdf", "presentation/notes.pdf"],
acceptance: "Both templates exist under the project's presentation/templates/, and the deck gate's SPEC and INV rows pass.",
acceptanceCmd: `test -f presentation/templates/theme.typ && test -f presentation/templates/custom-outline.typ && bash ${CLAUDE_PLUGIN_ROOT}/skills/workshop/scripts/check.sh --plan ${planPath} --project-dir ${projectDir} --leg workshop-gate`,
refs: ["${CLAUDE_PLUGIN_ROOT}/skills/workshop/references/workshop-checks.md",
"${CLAUDE_PLUGIN_ROOT}/skills/workshop/references/slide-spec-grammar.md",
"${CLAUDE_PLUGIN_ROOT}/skills/workshop/templates/theme.typ",
"${CLAUDE_PLUGIN_ROOT}/skills/workshop/templates/custom-outline.typ"] },
],
// The workshop gate. check.sh's workshop-gate leg is `bin/workflow-check workshop --constraints-only`:
// every constraint under checks/workshop/constraints/ in every plugin root it reaches — this plugin's
// workshop-deck.py, which owns the ten computed rows and is never conditional, and the typst
// plugin's modules — run over --project-dir, so a constraint added there runs with no edit here.
// The deck probe needs the run's approved plan, the only per-run value in any cmd; planPath and
// projectDir are the constants declared above, interpolated into a template literal so no placeholder reaches `work`.
// probe-tests is the probe's own contract suite: a gate whose runner is untested is untested.
// ONE entry point: a list of N independent commands loses one silently. check.sh runs both
// legs, none short-circuiting, and its exit code IS the mechanical verdict.
mechanicalChecks: [
{ name: "deck",
cmd: `bash ${CLAUDE_PLUGIN_ROOT}/skills/workshop/scripts/check.sh --plan ${planPath} --project-dir ${projectDir}` },
],
// Jev scores the calibrated deck/notes rules under checks/workshop/rules/ (T-HOLLOW: a notes bullet
// announcing content the notes never write out; T-CALLOUT: a callout quoting source text; T-STORY: a
// storytelling comment without mechanism or insight; T-TAKEAWAY: a noun- or gerund-phrase `===`
// subtitle; T-TRANSITION: a notes `==` section whose first bullet does not pick up the previous
// section's last sentence), on the round's changed lines only; p >= 0.85 lands in rulesThatFailed and blocks, lower
// ones reach the lens ranked. The rules in checks/workshop/rules/uncalibrated/ are not scored.
ruleChecks: { name: "jev-typst-rules", cmd: `bun ${CLAUDE_PLUGIN_ROOT}/skills/work/scripts/rule-check.ts --workflow workshop --project-dir ${projectDir} --plan ${planPath}` },
// One lens after verification and mechanical checks; its checklist covers all six dimensions.
// FID, CONV and VIS are checklist items of this one lens, not separate lenses. workshop-deck.py
// computes none of the three; it emits MODEL-EVALUATED, so dropping an item removes its coverage.
//
// It does NOT pin Explore. Explore is a built-in agent with a PREDEFINED prompt that no preloaded
// skill reaches, and it skips the CLAUDE.md hierarchy. workshop-reviewer's body is a file this
// repo controls, and it is read-only by tools allowlist AND by tests/agent-contract.test.mjs — the
// same structural property Explore is pinned for, in an agent whose prompt can be told what it is
// grading. The Typst modules are not vendored into any skill: they reach the lens through the
// typst:deck-rules skill its agent definition preloads.
// Both texts live in ${CLAUDE_PLUGIN_ROOT}/skills/workshop/presets.json, expanded at dispatch; an `extra` string on either carries plan-specific additions. The plugin-root lens ref repeats the preset's so wc-probe P7 can resolve it (tests/agent-contract.test.mjs holds the two equal); the typstRules refs are known only at run time, so they live here alone.
lens: { preset: "workshop",
refs: ["${CLAUDE_PLUGIN_ROOT}/skills/workshop/references/workshop-checks.md",
`${typstRules}/computed-values.md`,
`${typstRules}/diagram-grounding.md`,
`${typstRules}/element-vocabulary.md`,
`${typstRules}/fletcher-diagrams.md`,
`${typstRules}/heading-semantics.md`,
`${typstRules}/images.md`,
`${typstRules}/kickers.md`,
`${typstRules}/lilaq-traps.md`,
`${typstRules}/notes-structure.md`,
`${typstRules}/overflow-fixes.md`,
`${typstRules}/slide-format.md`,
`${typstRules}/source-fidelity.md`,
`${typstRules}/storytelling-comments.md`,
`${typstRules}/table-grounding.md`,
`${typstRules}/teleprompter-style.md`,
`${typstRules}/title-register.md`,
`${typstRules}/two-by-two.md`,
`${typstRules}/typography.md`,
`${typstRules}/verbatim-quotes.md`,
`${typstRules}/visual-verify.md`] },
authorityExtra: { preset: "workshop" },
implementerAgentType: "workshop", // the doer's own prompt replaces Claude Code's software-engineering one, which frames a talk as a codebase
verifierAgentType: "Explore",
}
implementerAgentType names workshop because the default agent carries Claude Code's
software-engineering system prompt, and the deliverable here is a deck and speaker notes a room
reads — prose, not code. An agent is justified only by a custom prompt, hooks or preloaded skills;
workshop earns it on the first, and it preloads typst:deck-rules, whose bang prints the
canonical Typst rule statements.
verifierAgentType pins Explore because it has no Edit and no Write: a judge that structurally
cannot modify the tree beats a prompt asking it not to. The lens buys the same property a different
way — workshop-reviewer is read-only by tools allowlist — because Explore's prompt is predefined
and no preloaded skill or CLAUDE.md reaches it, and the lens's constraint item has to be told what it
is grading. The lens returns schema-validated JSON through StructuredOutput, and the runner writes lens.json.
work's Phase 5 unchanged, over the plan's ## Review Surfaces — the rendered deck and the rendered
notes. A clean deck gate is evidence for that conversation, not human acceptance.
On the tablet (the user marks the PDFs in Xodo), each round is four tools, all in ${CLAUDE_PLUGIN_ROOT}/bin:
review-deliver deliver --name "<Talk>" --slides presentation/slides.pdf --notes presentation/notes.pdf puts
the next-letter copies in ~/notes/Inbox/Reading/<Talk> Review/ with a daily-note to-do; once synced back,
review-ledger ledger <every copy, oldest first> gives each mark an id (marks left on earlier copies stay in it);
the fixes go back through this workflow with one outcome per id; review-ledger verify --outcomes <file> --check-cmd "review-check-deck --deck presentation/slides.pdf --notes presentation/notes.pdf --copies-dir <vault folder>" refuses a missing outcome or an applied mark that changed nothing; then deliver the next round and
review-deliver tick --file "<copy name>". A review copy is never re-copied or overwritten: its ink exists only there.
| Situation | Wrong move | Right move |
|---|---|---|
| A slide's title reads better than the Slide Spec cell | improve it in the deck | SPEC and NOTE join on that cell's normalized key — amend the plan's cell, re-hash, then rebuild |
| A slide's inventory IDs | leave them to a grep over the prose, or emit one boilerplate ID deck-wide because it is declared | prose cannot be joined to an inventory, and membership alone measures nothing — emit exactly that row's Inventory cell after the === line, which INV compares as a set in both directions |
A mechanicalCheck needs the project directory | write <projectDir>/presentation into the cmd | work runs the cmd verbatim with the working directory at the project root — emit the project-relative presentation. A literal placeholder targets a directory of that name, exits 1 on every conforming run, and is a permanently waived check |
| The templates | import them from the skill directory | the probe compiles with --root at the project root — the assemble task copies them into presentation/templates/ and imports project-relative |
| Naming a produced artifact | name it in prose | a runner given prose cannot open it — add its path to ## Outputs and Verification before approval |
| The deck verdict | let the generating agent report it | the generator cannot see the assumption it made in both places — the probe is a mechanicalCheck and the JS reads its exit code |
FID/CONV/VIS | report them as PASS | that presents a judgement as a computation — MODEL-EVALUATED with the evidence read |
| A computed check reported clean with no tool installed | accept it | that is the defect this port exists to remove — a missing typst or pypdf is a FAIL, never a clean line |
| Widows or overflow | add back upstream's runt or overflow checker | both fail open; the probe owns WID and OVR natively, so those two rules are the probe's, not the corpus runner's |
| A judgement that depends on the Typst modules | dispatch a built-in agent (Explore, Plan, general-purpose) | their prompts are predefined, no preloaded skill reaches them and they skip the CLAUDE.md hierarchy, so the corpus is graded from whatever got read — dispatch a custom agent whose body you control, like workshop-reviewer |
| Handing a doer the Typst conventions | name the constraint paths in the task prompt's prose, or copy the modules into a skill | prose is discretionary and a copy is a second source of truth tests/constraints-no-duplication.test.ts fails on — put the canonical paths in the task's refs, which work defines as reads the doer owes in full |
| Section tasks and the assembler | rely on their order in tasks[] | the assembler reads what they write — give it dependsOn naming every section row |
Something work does not obviously do | write a workshop/workflow.js | ask which work parameter is missing — mechanicalChecks is what makes the deck probe the gate |
fixtures/clean/paper.md (opens in a new tab)fixtures/clean/plan.md (opens in a new tab)fixtures/clean/presentation/notes.pdf (opens in a new tab)fixtures/clean/presentation/notes.typ (opens in a new tab)fixtures/clean/presentation/slides.pdf (opens in a new tab)fixtures/clean/presentation/slides.typ (opens in a new tab)presets.json (opens in a new tab)references/slide-spec-grammar.md (opens in a new tab)references/workshop-checks.md (opens in a new tab)scripts/check.sh (opens in a new tab)scripts/workshop_deck_test.py (opens in a new tab)scripts/workshop_numbers_test.py (opens in a new tab)templates/custom-outline.typ (opens in a new tab)templates/theme.typ (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Claude Code refuses to install this plugin
As a github or url source: Failed to clone repository: fatal: clone of '[email protected]:edwinhu/bmll-skill.git' into submodule path 'skills/bmll' failed
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
86 skills in this plugin
/afkUse when the user says '/afk', 'afk', 'going to bed', 'I'm going to sleep', 'work autonomously', 'work on this overnight', 'don't ask me questions', 'while I'm away', or 'do whatever you think is best'. NOT for questions about overnight returns, rates or anything financial; NOT for asking how the mode works./ai-anti-patternsALWAYS load before finalizing ANY written prose, and whenever text is suspected of being machine-written - "does this sound like AI", "make this sound human", "clean up the AI-isms", "did a bot write this", "check this draft before I send it", "review this for AI tells", "this reads like ChatGPT", "review this for mannered prose", "is this too writerly", "is this student paper AI-generated", or before handing back any draft, memo, email, or article you wrote. Use proactively even if the user never mentions AI writing./Other plugins' skills for the same job