New to Claude Skills? Learn how to install them →

alirezarezvani on GitHub

Deep Work

Free

Maximize focus and minimize distractions with structured time-blocking.

Get this skill

Free · Opens the source repo

What Deep Work does

The Deep Work skill is designed to help users effectively plan their workdays by focusing on deep tasks while minimizing shallow work. It provides a structured approach to time management through a series of Python scripts that classify tasks, budget shallow work, and create an energy-first schedule. By prioritizing deep work in the early hours of the day and limiting the total amount of deep work to four hours, users can protect their attention and enhance productivity. The skill emphasizes the importance of a well-planned day, turning a raw task list into a focused schedule that respects the user's cognitive limits.

To utilize this skill, users first classify their tasks as deep or shallow, using a built-in auditor that prompts them to consider how long it would take to train someone else to complete each shallow task. This classification helps ensure that the day's schedule is balanced and aligned with the user's productivity goals. Once the tasks are classified, the time-block planner organizes them into a daily schedule that accommodates deep work blocks of at least 90 minutes and restricts shallow tasks to two designated time windows. This method prevents task overflow and ensures that the user adheres to their planned work hours.

After completing deep work sessions, users can log their focus time and monitor their progress against weekly targets. The skill also includes a shutdown ritual checklist to help users close their workday effectively, ensuring that they leave no open loops that could disrupt their focus the next day. This structured approach is particularly beneficial for individuals seeking to enhance their productivity by minimizing distractions and maximizing their cognitive resources.

When to use it

Use this skill when you want to plan a focused workday, limit distractions, and track your deep work hours.

When not to use it

This skill may not be suitable for team-based project management or collaborative tasks that require input from multiple stakeholders.

What you can build with it

Daily Focus Planning

Use the Deep Work skill to create a structured plan for your workday, ensuring that you prioritize deep tasks during your peak hours.

Shallow Work Budgeting

Before scheduling your tasks, utilize the shallow work auditor to evaluate and budget your shallow tasks effectively.

End-of-Day Ritual

Incorporate the shutdown checklist to close your workday properly, ensuring that you leave no open tasks for the next day.

How to install Deep Work

View source

1. Install with the skills CLI

npx skills add alirezarezvani/claude-skills/deep-work --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by alirezarezvani

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.

Frequently asked questions about Deep Work

Similar skills