From workflow
Persistent workspace and agent coordination for multi-step work. Activates when .work/ exists, when users discuss work items or planning, or via /flow commands.
How this skill is triggered — by the user, by Claude, or both
Slash command
/workflow:flowThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Lightweight persistence and structured agent delegation for Claude Code.
Lightweight persistence and structured agent delegation for Claude Code.
.work/ persists what needs to survive compaction and session boundaries..work/
brief.md # Project context, constraints, key decisions
log.md # Append-only work log (YYYY-MM-DD: description)
ideas.md # Quick capture for tangents and future work
standards/ # User-maintained conventions (read-only for Claude)
MMDD-<work-stream>/ # Date-prefixed dir per work stream (e.g., 0323-deep-research/)
ITEM.md # Manifest: goal, status, context files, progress
research.md # Research findings
plan.md # Execution plan
*.md # Any intermediate agent outputs
brief.md is the project-level context shared across all work streams. standards/ contains conventions agents must follow but never modify. Each <work-stream>/ directory is self-contained — agents working on it read ITEM.md as their manifest.
For iterative/creative work, save versions in <work-stream>/iterations/ (v01.md, v02.md, etc.).
Name work stream dirs as MMDD-<name>/ (e.g., 0323-deep-research/). When .work/ grows to 10+ dirs, the date prefix is the fastest way to find recent work and see chronological progression.
Only these belong at .work/ root: brief.md, log.md, ideas.md, standards/. Everything else — research outputs, reviews, designs, speaker notes — goes into a dated work stream dir. When in doubt, create a dir.
The coordinator must tell each subagent which work stream dir to write into — give explicit paths like .work/MMDD-<stream>/filename.md. Agents can create subdirs within the stream dir if they need structure (e.g., .work/0324-research/deep-reads/), but must never create new top-level .work/ dirs on their own. If 5 agents produce output for the same work stream, all 5 write into the same MMDD-dir.
If a work stream will produce only one file, write it into an existing related stream dir rather than creating a new directory. Group related outputs: 5 speaker note drafts → one MMDD-speaker-notes/ dir with slide-5.md through slide-9.md, not 5 separate dirs.
When orphaned files accumulate at .work/ root:
# <Work Stream Name>
Created: YYYY-MM-DD
## Context Files
- .work/brief.md
- .work/<name>/research.md
- .work/standards/coding.md
## Goal
<What and why — 2-3 sentences>
## Status: not_started | researching | planning | in_progress | blocked | done
## Progress
- [ ] Research completed
- [ ] Plan created
- [ ] Step 1: ...
- [ ] Step 2: ...
## Log
- YYYY-MM-DD: Created
Lifecycle: Create → Research → Plan → Execute → Verify → Done. Any step is skippable or revisitable.
File-driven output: Agents write all outputs to .work/<stream>/ and return only the file path + a 1-2 line summary. The coordinator reads files selectively (grep, head, offset+limit) — never pass large content through context.
Effort scaling:
Parallel vs sequential: Independent sub-parts → parallel agents, always. Dependent steps (research → plan) → sequential. Long-running work not needed immediately → background agents.
Delegation heuristic: If the task touches >3 files, will produce >100 lines of changes, or requires comparing multiple options → delegate. Discussion, status checks, quick capture, single-file edits → handle directly.
When spawning an agent:
MMDD-<stream>/). Create it if needed — agents should not.references/ (research.md, planning.md, execution.md, or verification.md).work/MMDD-<stream>/filename.mdsubagent_type: "general-purpose", description: "<stage>: <stream name>"On agent return:
.work/MMDD-<stream>/ dir.work/log.mdCreating: Confirm scope with user. Create .work/MMDD-<name>/ITEM.md (use today's date as MMDD prefix). Log it. Guard: if trivial (< 30 min), suggest quick task instead.
Research: Check for existing research first. Spawn research agent with methodology + context. Write to <stream>/research.md.
Planning: Check for existing research — offer to research first if missing. Spawn planning agent. Write to <stream>/plan.md. Present for approval.
Execution: Confirm plan. Spawn execution agent. Update progress in ITEM.md.
Verification: Spawn verification agent with acceptance criteria from plan.md. Report pass/fail per criterion.
Completion: Update status to "done". Log it. If unchecked progress steps remain, mention them first.
Quick capture: Append tangents/ideas to .work/ideas.md with date. Continue without interruption.
Quick task: For small work without full lifecycle — do it directly, log to .work/log.md as "Quick — [description]".
On session start, if .work/ exists:
brief.md for project context.work/*/ITEM.md for all work streams and their statuseslog.mdOptional: a SessionStart hook (scripts/flow-bootstrap.sh) can inject this automatically. Not installed by default.
/flow:init — Set up .work/ workspace for a project/flow:research [topic] — Research a topic (item-specific or standalone)/flow:status — Show all work streams, progress, recent activity/flow:quick [task] — Small task with minimal tracking.work/standards/ before planning or executing — include in agent context, never modifyCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub kzarzycki/agent-skills --plugin workflow