Deep Work skill for Claude

Use when someone wants to plan a deep work day, time-block their calendar or task list, budget or cut shallow work, protect focus hours, track deep-work sessions and streaks, run an end-of-day shutdown ritual, or says "/deep-work" or "/time-block". Classifies tasks deep vs shallow, builds an energy-first time-blocked schedule that refuses deep demand past the 4-hour ceiling, batches shallow work into at most two windows, and logs focus sessions against a weekly target.

Deep Work SKILL.md

The full skill file from alirezarezvani/claude-skills (MIT).

Deep Work — Time-Block the Day, Budget the Shallow

Portability: Reasoning-led skill with 3 stdlib Python scripts. No external APIs, no LLM calls in scripts. Works in Claude Code CLI and Claude.ai web. The scripts fix the arithmetic; you keep the judgment.

What this does

A calendar full of reactions is not a plan. This skill turns a raw task list into a day where attention is the protected resource: deep tasks get the earliest hours in blocks of at least 90 minutes, shallow work is batched into at most two windows, buffers absorb attention residue, and the schedule flatly refuses more than 4 hours of deep demand — the trained daily ceiling. A local ledger of focus sessions keeps the weekly deep-hours target measured, not felt.

Step 1 — Classify and budget the shallow

Ask for today's task list with rough minutes per task (or take it from $ARGUMENTS). The auditor classifies each task deep vs shallow (keyword heuristics; an explicit :deep/:shallow suffix always wins), computes the shallow share against the budget, and prints the forcing question for every shallow item — how long would it take to train a smart recent graduate to do this?

python scripts/shallow_work_auditor.py \
  --task "Write investor update:60" --task "Email triage:45" \
  --task "Analyze churn cohort:90:deep" --budget 50

OVER-BUDGET (exit 2) means cut, batch, or delegate before any schedule is built.

Step 2 — Block the day

Feed the surviving tasks to the planner with the day's hard start and hard end (fixed-schedule productivity: the end time does not move). Deep first and earliest, 10-minute buffers, shallow in two batches (late morning + end of day), an optional fixed lunch:

python scripts/time_block_planner.py --start 08:30 --end 17:00 --lunch 12:30 \
  --task "Write product spec:120:deep" --task "Email sweep:30:shallow"

Two refusals, both exit 2: deep demand past the 4-hour cap (the planner names what to defer), and shallow overflow past --end (the planner names what to drop — the day never silently extends).

Step 3 — Log the session, keep the streak

After each real focus block, log it. status shows this week's deep hours against the target (default 15); streak counts consecutive days with at least one session:

python scripts/focus_session_logger.py log --minutes 90 --label "Write product spec"
python scripts/focus_session_logger.py status --target 15

Step 4 — Shutdown ritual

End the day with the shutdown checklist (assets/shutdown_checklist.md): capture every open loop, glance at tomorrow, say the closing phrase. An incompletely closed day steals tomorrow's first block.

Scripts

ScriptRole
scripts/shallow_work_auditor.pyDeep/shallow classification + shallow share vs budget → WITHIN-BUDGET / OVER-BUDGET (exit 2) + the recent-graduate forcing question per shallow item.
scripts/time_block_planner.pyEnergy-first schedule: deep blocks ≥90 min earliest, 4-hour deep cap (refuses, exit 2), ≤2 shallow batches, 10-min buffers, fixed lunch, overflow refusal.
scripts/focus_session_logger.pyJSON ledger of focus sessions: log / status (weekly hours vs target) / streak; atomic writes.

References

Assets

Rules

  • Depth first, earliest. Deep blocks take the best hours; shallow work gets what is left, never the reverse.
  • Respect the refusals. More than 4 deep hours is fake depth; overflow past the hard stop is a broken budget, not extra output.
  • Batch, never sprinkle. Shallow work lives in at most two windows; a sprinkled inbox costs a full refocus each time.
  • Revise, don't abandon. A broken block means redraw the rest of the day, not "the plan failed."
  • Close the day. No shutdown ritual, no evening — open loops steal tomorrow's first block.

Distinct From (don't reach for the wrong skill)

  • productivity/andreessen — the 3x5 card picks WHAT matters today. Deep-work plans WHEN and HOW, with attention protected. Run the card first, then block the day here.
  • project-management capacity planning — team-level capacity and sprint math. This is one person's attention across one day and one week.

Version: 1.0.0 Build pattern: Path-B method skill — Newport discipline preserved + deterministic scheduling scripts added.

How to install Deep Work

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit alirezarezvani/claude-skills/productivity/deep-work/skills/deep-work#main ~/.claude/skills/deep-work

Codex

npx degit alirezarezvani/claude-skills/productivity/deep-work/skills/deep-work#main ~/.codex/skills/deep-work

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Deep Work skill do?

Use when someone wants to plan a deep work day, time-block their calendar or task list, budget or cut shallow work, protect focus hours, track deep-work sessions and streaks, run an end-of-day shutdown ritual, or says "/deep-work" or "/time-block". Classifies tasks deep vs shallow, builds an energy-first time-blocked schedule that refuses deep demand past the 4-hour ceiling, batches shallow work into at most two windows, and logs focus sessions against a weekly target.

+How do I install Deep Work in Claude Code?

Copy the skill folder into ~/.claude/skills/deep-work, for example with "npx degit alirezarezvani/claude-skills/productivity/deep-work/skills/deep-work#main ~/.claude/skills/deep-work". Claude Code loads it automatically and uses it when a task matches.

+Does Deep Work work with ChatGPT or Codex?

Yes. Deep Work uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/deep-work. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Deep Work free?

Deep Work is published on GitHub by alirezarezvani under the MIT license, which allows free use.

Related productivity skills

  1. Handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    mattpocock/skills★ 327k
  2. Notebooklm

    Use for anything in Google NotebookLM: querying notebooks, adding sources, generating Audio or Video Overviews, reports, flashcards or…

    alirezarezvani/claude-skills★ 30k
  3. Teach

    Teach the user a new skill or concept, within this workspace.

    mattpocock/skills★ 327k
  4. Dossier

    Use for diligence or meeting prep on a specific company, person or organization ('prep me for a meeting with X', 'due diligence on Y').

    alirezarezvani/claude-skills★ 30k
  5. Handoff

    Compact the current conversation into a handoff document for another agent to pick up, referencing existing artifacts (PRDs, plans, ADRs,…

    alirezarezvani/claude-skills★ 30k
  6. Hub Init

    Use for /hub-init, or to start an AgentHub competition: task, agent count and evaluation criteria.

    alirezarezvani/claude-skills★ 30k
  7. Inbox Setup

    Use when setting up email triage for the first time, before inbox-triage, or when priorities change.

    alirezarezvani/claude-skills★ 30k
  8. Inbox Triage

    Use when the user wants their inbox processed ('triage my inbox', 'check my email').

    alirezarezvani/claude-skills★ 30k
  9. Knowledge Ops

    Use when writing, checking or cleaning up SOPs and runbooks. Generates them with sop_generator.py, checks 5W2H completeness and links with…

    alirezarezvani/claude-skills★ 30k

See all productivity skills →

More skills from alirezarezvani

  1. Deepread

    Use when the user asks to deeply read a book, article, PDF, or document set; extract claims and evidence; build a knowledge map;

    alirezarezvani/claude-skills★ 30k
  2. Demo Video

    Use when asked for a demo video, product walkthrough, feature showcase or GIF from screenshots or scene descriptions.

    alirezarezvani/claude-skills★ 30k
  3. Dependency Auditor

    Audit project dependencies for CVEs and licenses and plan safe upgrades.

    alirezarezvani/claude-skills★ 30k

All skills by alirezarezvani →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.