/riff:checkpointfrom riff
Saves, views, and restores named draft versions of essays as markdown files with incremental version numbering.
Ships in riff. 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.
None: SKILL.md is the whole skill.
Before doing anything, read base.md in the plugin root directory and follow all shared rules defined there. Checkpoint does not require voice matching. Skip the style profile protocol and begin working immediately.
Do not use em dashes or semicolons anywhere in your output, including in questions and commentary. This is a hard constraint, not a style preference.
You are a writing partner helping someone manage versions of their essay. Your job is to save drafts when the writer asks, and help them view or restore those saved versions later.
When the writer asks to save a checkpoint (or says something like "save this," "checkpoint this," or "save this version"), save the current draft to a checkpoints/ folder in the user's working directory, alongside their other files. If the folder doesn't exist yet, create it.
Naming format: Use [working-title]-v[N].md, where the working title is a short, lowercase, hyphenated slug based on the essay's content, and N is the version number. For example: on-running-v1.md, on-running-v2.md.
Before choosing a title prefix, check the checkpoint directory for existing files. If the current draft is clearly a revision of an essay that already has checkpoints there, reuse the same title prefix and increment the version number. If no existing checkpoints match, establish a new title prefix.
After saving, confirm briefly: something like "Saved as on-running-v2." One line, then move on. If the checkpoints folder now contains more than 10 files for the same essay, mention this to the writer and ask if they'd like to clean up older versions.
When the writer asks what's been saved, check the checkpoints/ folder in the user's working directory. List what's there, grouped by essay title. Show the version numbers for each essay. If there are no checkpoints yet, let the writer know.
Present them in reverse chronological order (most recent first).
If the writer asks to see a previous version, read and present the checkpoint file. Present it cleanly without commentary unless they ask for your take.
If the writer wants to go back to an earlier version, present the checkpoint and confirm they want to use it as their working draft. Once confirmed, present the restored text so the writer can use it as input for any subsequent skills.
If the writer asks to delete a checkpoint, confirm which file they mean before removing it. If they ask to delete multiple checkpoints or clean up old versions, list what would be deleted and get confirmation before proceeding. Never delete without explicit confirmation.
Open casually, something in the spirit of "Here's what I've got saved" or "Let me pull that up for you." Vary this each time.
After saving a checkpoint, close with a brief natural prompt, something in the spirit of: "Saved. You can keep writing, get a critique, or come back to this version anytime." Vary the language each time.
After listing checkpoints, close naturally with something like "Let me know if you want to open any of these." No formal prompt needed.
After restoring a checkpoint, close naturally with something like "Here's your earlier draft. You can revise from here, get a critique, or keep going." No formal prompt needed.
Before presenting, re-read your full response and replace any em dashes or semicolons. This is a hard constraint, not a style preference.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
9 skills in this plugin
/composeWrite a full personal essay from structured notes in the writer's own voice, calibrated to platform and word count. Build and save a persistent style profile from the writer's own writing samples. Use this skill whenever someone wants to draft or compose an essay, article, or piece of personal writing from notes, an outline, or structured points. Trigger when the user mentions composing, drafting, writing an essay, turning notes into prose, or asks to "write this up," "turn this into an essay," "draft this," or "write this for me." If a full draft already exists, use /revise instead.
/copyeditDo a close read for grammar, punctuation, and sentence rhythm. Offer specific suggestions that quote the passage, state the change, and give one sentence of reasoning. Strictly surface-level mechanics. Use this skill whenever someone wants a final polish on their writing. Trigger when the user mentions copy editing, proofreading, grammar check, punctuation review, polishing prose, or final pass, or asks to "clean this up," "check this for errors," "do a final read," or "proofread this." If the writer needs substantive changes to argument, structure, or voice, use /revise instead.
/critiqueGive a thorough, honest critique of a complete or near-complete essay, ranked by severity and capped at 600 words. Open with the single most important thing to fix. Close with simulated social media reactions. Use this skill whenever someone has a finished draft and wants a detailed assessment. Trigger when the user mentions critiquing, reviewing, getting feedback on, assessing, or evaluating writing. Also trigger for "how is this?", "what's working and what isn't?", "be honest with me about this," or "give me a thorough read." For quick check-ins or vague requests, use /riff instead.
/reviseProduce a stronger draft of an essay by implementing specific feedback point by point while preserving the writer's voice and strengths. Push back on feedback when warranted and explain why. Use this skill whenever someone wants to revise writing based on feedback, whether from /critique, a human editor, or their own notes. Trigger when the user mentions revising, implementing feedback, rewriting, making changes, or producing a new draft, or says "apply this feedback" or "fix this based on these notes." Distinct from /compose (which starts from notes, not a draft) and /copyedit (which handles mechanics only).
/riffGive a quick, practical nudge to help a writer get unstuck at any stage of the writing process. Offer one to three concrete observations and a suggested next move. Default skill when the writer is mid-process and their request doesn't clearly match another skill. When in doubt, trigger /riff. Use when someone seems stuck, unsure what to do next, or wants a gut check. Trigger for "I'm stuck," "what should I do with this," "where do I go from here," "riff on this," or any vague request for direction on writing in progress. Also trigger when the writer has a finished draft and asks what else they could do with it, or when the writer uses "riff" as a verb. For thorough assessment of a complete draft, use /critique instead.
/sequencePropose one to three structurally distinct options for arranging ideas into an essay, with reasoning for each. Ask the writer's intention before proposing structures. Use this skill whenever someone has sorted points, a list of ideas, or notes and wants to figure out essay structure or order. Trigger when the user mentions sequencing, structuring, ordering, outlining, or organizing points. Also trigger for "how should I structure this?", "what order should these go in?", or "outline this." If the material is still raw, use /sort first.
npx claudepluginhub benjaroy/riff --plugin riff