跳到主要内容

深度工作

收藏0

按精力排一天的深度工作时间块:区分深度与浅层任务、给浅层工作设上限、守住专注时段,带今日时间块模板与下班关闭清单。

让 AI 安装

星光尘缘LV2最新版本 0.1.0更新于 2026-11-19下载 0 次

SKILL.md

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.

用途与依赖

作者没写,这些是平台读文件后整理的,以文件为准。

使用示例

请求:帮我规划今天:写 Q3 产品规格 2 小时、设计引导流程 1.5 小时、清理邮件 30 分钟、团队状态更新 20 分钟、报销 15 分钟。8:30 开始,17:00 必须结束,12:30 午饭。

预期

先运行浅层审计:写规格和设计引导流程判为深度,其余三项判为浅层,浅层占比 23.6% 低于 50% 预算,通过。再运行时间块规划器,输出从 08:30 到 17:00 的完整时间表:08:30–10:30 深度写规格,10:30–10:40 缓冲,10:40–12:10 深度设计引导流程,12:10–12:20 缓冲,12:20–12:30 弹性,12:30–13:00 午饭,13:00–13:50 浅层批次(邮件+状态更新),13:50–16:45 弹性吸收意外,16:45–17:00 浅层批次(报销)。深度合计 3 小时 30 分,未超 4 小时上限。若中途被会议打断,用剩余任务和当前时间重画当天剩余部分,并把被挤掉的设计块明确推迟到明天第一个深度块。最后记录实际专注时段,查看本周深度小时数,并按关机清单收尾。

适用场景
  • 把今天的任务清单排成一份保护专注时间的日程表
  • 判断浅层工作是否超出预算,并决定砍掉、合并还是委派
  • 为深度任务安排至少 90 分钟、最早时段的专注块
  • 把零散的邮件、消息、行政事务合并成最多两个窗口
  • 记录每次专注时段,查看本周深度小时数与目标差距
  • 统计连续多少天至少有一次专注时段
  • 用关机清单结束一天,把未完成事项安排到明天
  • 在日程被突发事件打乱后,用剩余任务重画当天剩余时间
输入
  • 今天的任务清单,每项附大致分钟数
  • 可选:用 :deep 或 :shallow 后缀显式指定任务类型
  • 浅层工作预算百分比(默认 50)
  • 一天的硬性开始时间和硬性结束时间(HH:MM)
  • 可选的午饭开始时间(HH:MM)
  • 每次专注时段的分钟数和标签
  • 每周深度小时目标(默认 15 小时)
  • 可选:指定日期(YYYY-MM-DD)用于记录或统计
输出
  • 浅层审计表:每个任务的深度/浅层判定、依据、浅层占比与预算对比、通过或超预算结论
  • 每个浅层任务的“培训应届生需要多久”强制问题
  • 从开始到结束无空隙的时间块日程表(深度块、缓冲、弹性、午饭、浅层批次)
  • 深度总量与 4 小时上限的对比,以及被加宽到 90 分钟的深度任务说明
  • 超预算或超时时的拒绝信息,点名要砍掉或推迟的任务
  • 专注时段记录确认与当天累计分钟数
  • 本周深度小时数、目标、剩余小时数、按天分布与是否达标
  • 连续有专注时段的天数
运行环境
Python 3(仅标准库)
依赖
无