A folder-based workflow engine for Claude Cowork — Anthropic's desktop agent for automating file and task workflows. Define your process once, run it on demand or on schedule.
Works with: Claude Cowork (desktop app) · Claude Code (CLI) · Any Claude-based agent that reads files from a folder
This is a ready-to-use folder structure that turns Claude's Cowork mode into a repeatable workflow engine. Instead of explaining your process from scratch every Cowork session, you define it once in config files and instruction files — using CLAUDE.md as the orchestrator. Cowork reads them and follows your pipeline.
It works for any workflow: content creation, research pipelines, data processing, report generation, client work, community management — anything that follows a repeatable process.
Use cases people have built with this pattern:
- YouTube video production (script → titles → description → thumbnail)
- Daily social media scouting and engagement drafting
- Client report generation pipelines
- Research → analysis → deliverable workflows
- Scheduled content curation and summarization
Aligned with Anthropic's official patterns: This boilerplate follows the CLAUDE.md conventions, Agent Skills specification, and Claude Code best practices published by Anthropic. See ADVANCED.md for Skills packaging, Hooks, MCP integration, and context management.
The system has three layers:
Config (who you are) — config/ files define your identity, voice, audience, rules, and resources. Write once, every job references them. Update your profile once and all prompts benefit.
Jobs (what to do) — jobs/instructions/ files define step-by-step pipelines with triggers, approval gates, and output formats. jobs/prompts/ files contain the actual prompts that shape the work.
Projects (where work happens) — projects/ contains a copyable template folder for each unit of work. Each project tracks its own status and moves through your pipeline.
For automated work, scheduled/ contains task prompts that Cowork runs on a schedule — same config, no manual triggers.
Copy the template/ folder to your computer. This is your working copy.
Open Cowork, select the folder, and paste the prompt from CUSTOMIZE.md. Cowork will interview you about your workflow and fill in all the placeholder files.
Or fill them in manually:
config/profile.md— who you are, your voice, your audienceconfig/rules.md— quality standards, guardrails, dos and don'tsconfig/resources.md— tools, links, referencesCLAUDE.md— replace all[PLACEHOLDER]markers with your specificsjobs/instructions/— define your pipeline jobsjobs/prompts/— write the prompts for each job
Select the folder in Cowork and use trigger commands:
- "Create folder for [project-name]" — sets up a new project
- "Run [job-name] for [project-name]" — executes a pipeline step
For scheduled tasks, create a scheduled task in Cowork that mounts your folder, reads config, reads the prompt from scheduled/prompts/, and executes.
your-workflow/
├── CLAUDE.md # Master instructions — Cowork reads this first
├── config/
│ ├── profile.md # Who you are, your voice, your audience
│ ├── rules.md # Quality standards, guardrails, dos/don'ts
│ └── resources.md # Tools, links, API references
├── jobs/
│ ├── instructions/
│ │ └── [job-name].md # Step-by-step job definitions
│ └── prompts/
│ └── [job-name].md # Prompts that shape the actual work
├── projects/
│ └── _template/ # Copy this for each new project
│ ├── input.md # Your brief / raw material
│ ├── draft.md # Work in progress
│ └── STATUS.md # Progress tracking
├── scheduled/
│ ├── prompts/
│ │ └── [task-name].md # Prompts for automated tasks
│ └── output/
│ └── [task-name]/ # Date-stamped outputs
│ └── YYYY-MM-DD.md
└── .env.example # Environment variable template
Config files contain context that prompts reference. Update once, every prompt benefits automatically. This means you can change your bio, your rules, or your quality standards without touching any prompt files.
Jobs produce drafts first, then wait for your approval before finalizing. This keeps you in control while Cowork does the heavy lifting.
Each project has a STATUS.md that tracks where it is in the pipeline. This prevents jobs from running out of order.
The scheduled task prompt is minimal — it just mounts the folder, reads config, reads the task prompt, executes, and saves output. All the intelligence lives in the config and prompt files, not in the scheduled task definition.
Anthropic recommends keeping CLAUDE.md under 200 lines for best adherence. This boilerplate separates instructions (CLAUDE.md) from context (config/) and job details (jobs/) to stay within that limit. For advanced patterns like @imports, .claude/ subdirectory, and auto-memory, see ADVANCED.md.
The examples/ folder contains two battle-tested implementations from a real production workflow:
A 4-job manual pipeline: Script → Titles → Description → Thumbnail. Each job has approval gates, optional external review (GPT/Gemini), and strict ordering rules. This is the actual system behind Jitan Gupta's YouTube channel.
A scheduled task that searches LinkedIn, Reddit, and X daily for relevant posts, filters them by quality, drafts engagement responses, validates style distribution, and optionally drafts original LinkedIn posts. Runs automatically every morning.
- Create
jobs/instructions/[job-name].md— define trigger, steps, and output format (use_template.mdas a starting point) - Create
jobs/prompts/[job-name].md— write the prompt (use_template.mdas a starting point) - Add the job to the pipeline table in
CLAUDE.md - If the job needs new project folders, add them to
projects/_template/
- Create
scheduled/prompts/[task-name].md— write the full task prompt - Create
scheduled/output/[task-name]/— output directory - In Cowork, create a scheduled task with a minimal prompt that mounts the folder, reads config, reads the prompt file, and executes
See ADVANCED.md for:
- CLAUDE.md best practices — file location, length limits,
@imports, what goes where - Agent Skills packaging — convert your jobs to Anthropic's official SKILL.md format for sharing
- Hooks — auto-validate outputs, sync status, send notifications after jobs complete
- MCP integration — connect to Slack, Google Drive, Notion, GitHub from your workflow
- Context management — tips on
/clear,/compact, and subagents for long sessions
- Claude Code Best Practices — Anthropic's official guide to working with Claude agents
- CLAUDE.md Memory Guide — How Claude reads and uses project instructions
- Agent Skills Specification — Anthropic's official skills repository
- Model Context Protocol — Connect Claude to external tools and services
- Claude Code Hooks — Deterministic automation at lifecycle points
Jitan Gupta — Senior Platform Engineer, YouTube educator at @jitangupta. Building AI workflows from real production experience.
MIT — use it, fork it, make it yours.