workflow-capture

workflow-capture is a skill for Claude Code, Codex from Mfrostbutter/skill-forge. It costs 112 tokens per session (616 once invoked), scanned A, original, MIT.

A persistent journal for recording the important decisions, ordering, corrections, failed approaches, and discoveries from a complex workflow.

In plain words
What is it for?
Use it during design work, automation, CAD, retrieval-augmented generation pipelines, and website projects that may need repeating.
Why use it?
It preserves useful reasoning when a long session is cleared or compressed, so the process can later be turned into a reusable skill.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it during design work, automation, CAD, retrieval-augmented generation pipelines, and website projects that may need repeating.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mfrostbutter/skill-forge/workflow-capture
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Mfrostbutter/skill-forge --skill workflow-capture
Clone the repo
git clone --depth 1 https://github.com/Mfrostbutter/skill-forge

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for workflow-capture

README.md
[![agentmods](https://agentmods.dev/badge/skills/mfrostbutter/skill-forge/workflow-capture/github.svg)](https://agentmods.dev/skills/mfrostbutter/skill-forge/workflow-capture)
Your own site
<a href="https://agentmods.dev/skills/mfrostbutter/skill-forge/workflow-capture"><img src="https://agentmods.dev/badge/skills/mfrostbutter/skill-forge/workflow-capture/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for workflow-capture

Your own site · 80×15
<a href="https://agentmods.dev/skills/mfrostbutter/skill-forge/workflow-capture"><img src="https://agentmods.dev/badge/skills/mfrostbutter/skill-forge/workflow-capture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 616 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00112 $0.00616
Opus 5.5 $0.00045 $0.00246
Sonnet 5.5 $0.00022 $0.00123
Haiku 4.5 $0.00011 $0.00062

Measured 1mo ago against content hash 9c5b5ad354a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

workflow-capture scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/workflow-capture/SKILL.md · 58 lines

How it starts

The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Workflow Capture

Maintain an append-only journal that survives compaction and /clear, capturing the signal (decisions, sequencing, corrections, dead ends) that should become a skill. Do not log keystrokes; the transcript already does that at the wrong altitude. Capture why, not just what.

At session start

  1. Determine the active workflow slug (kebab-case, e.g. figma-site-redesign).
  2. Look for _worklogs/YYYY-MM-DD-<slug>/WORKLOG.md.
    • If it exists, read it fully before doing anything. It is your memory.
    • If not, create the directory and a new WORKLOG.md with a one-line header naming the workflow and date.

Tag schema

Every entry carries exactly one tag:

  • DECISION: what was done and why -> a procedure step
  • SEQUENCE: X must precede Y -> ordered steps or preconditions
  • CORRECTION: user overrode you -> a hard rule
  • DEADEND: tried X, failed because Y -> a "do not do this" warning
  • CONVENTION: naming, structure, params, defaults -> reference material
  • DISCOVERY: tool quirk, API limit, gotcha -> environment notes
  • CHECKPOINT: state snapshot before clear or compaction -> resume anchor

Entry format

Append, never rewrite history.

## [YYYY-MM-DD HH:MM] TAG
One-line summary.
Optional result and fix or lesson.
Tags: comma, separated, keywords

When to append

Append an entry the moment one of these happens:

  • The user corrects or overrides something (CORRECTION).
  • An approach fails and you switch (DEADEND).
  • A non-obvious ordering constraint appears (SEQUENCE).
  • You set a reusable convention (CONVENTION).
  • A tool behaves unexpectedly (DISCOVERY).

Keep entries short. The lesson matters, not the prose.

Checkpoint and resume

Before any compaction or /clear, write a CHECKPOINT entry: current state, open threads, next intended action. On resume in a fresh window, read the worklog and continue from the last CHECKPOINT plus accumulated tags.

Why this matters

The context window is volatile and mostly noise. A durable tagged journal is the only thing that lets a workflow survive a context reset and later become a skill that makes the next run cheaper and more correct.

Read the full file on GitHub · 58 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 58 lines · 112 tokens per session scan A 9c5b5ad354a4

Subscribe to this mod's changes

workflow-capture is a skill published in the GitHub repository Mfrostbutter/skill-forge (4 stars, last pushed 2mo ago), licensed MIT. It adds 112 tokens to every session and 616 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

catchup

Restore context after /clear by summarizing recent work and project state.

FlorianBruniaux/claude-code-plugins · 16 tokens

memory-and-plans

How the two memory systems on this machine resolve on disk, why per-agent stores are project-scoped and must never be consolidated upward or committed, and why claude-mem was removed. Load before creating, moving, consolidating or gitignoring any memory store, or before proposing a third place to keep session…

w2ur/claude-code-setup · 70 tokens

codebase-insight

When the user wants to deeply understand a codebase, map its architecture, or build a persistent mental model for future sessions. Use when the user says "explain this codebase," "map the architecture," "codebase insight," "understand this repo," "what does this project do," "how does this work," "analyze the…

irfad7/claude-power-skills · 98 tokens

kairos-session

When starting or ending a work session, or when context files need maintenance. Use when the user says "boot up," "morning briefing," "end session," "session review," "what changed," "sync state," "kairos," "dream," "consolidate," "session start," or at the natural beginning/end of any significant work session.…

irfad7/claude-power-skills · 94 tokens

thinkback

When the user wants to review past decisions, understand why something was built a certain way, audit decision quality, or learn from past reasoning. Use when the user says "why did we," "look back," "thinkback," "decision review," "was that the right call," "what were we thinking," "review our decisions," "decision…

irfad7/claude-power-skills · 99 tokens

autodream

When ending a session, consolidating memory, or when memory files feel stale or contradictory. Use when the user says "dream," "consolidate memory," "clean up memory," "merge notes," "memory maintenance," "what do you remember," "update your knowledge," "session end," or when memory/context files have accumulated…

irfad7/claude-power-skills · 89 tokens