Skip to content
max1874Public

About

Claude Code agent skills (SKILL.md) hardened on real work. deep-read makes an agent read a long transcript, SRT/VTT subtitles, article or PDF to the last line in token-sized chunks, and prove it with a coverage statement.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

skills

skills is a public collection of agent skills for Claude Code that I use daily and have hardened on real work. Each one is a folder with a SKILL.md, usable from Claude Code as /name.

deep-read reads a 1547-line transcript chunk by chunk and writes notes after each chunk

A recorded demo from max1874.com/skills, where you can try it yourself.

中文说明

All skills

Skill What it does
deep-read Reads a long transcript, PDF or article to the end, proves it, and says what it means
handoff Hands work to a fresh session with why it exists, every open request, and settled decisions
read-repo Reads an unfamiliar repository in full with a coverage ledger, then compares it with your own code
stt Transcribes audio or video (Chinese first) through a cloud provider (Alibaba Cloud Bailian today) into text, SRT and speaker-labelled JSON, then proofreads it
diagnose A red-loop-first diagnosis method for hard bugs, flaky failures and slowdowns in a running product
retro Runs a retrospective of an agent incident from the raw Claude Code or Codex session log, maps it to classic failure patterns, and proposes a structural change instead of another rule
taste A working method and quality floor for designing screens and pages, with twenty high-taste exemplars
apple-design Designs and reviews Apple-platform UI against the Human Interface Guidelines and Liquid Glass
codex-worker-guide Dispatches one work order to a Codex CLI worker and reviews every line it returns
ios-app-name Screens, checks and reserves App Store names across all 39 name locales through the App Store Connect API
find-skills Finds similar skills, benchmarks how a skill is written, and prepares one for sharing
ip-design Designs an original mascot or IP character, from three directions to a full character sheet
ip-draw Draws new images of a finished IP character that stay on model
mac-uninstall Fully uninstalls a macOS app and audits the leftovers other uninstallers miss

Install any of them with npx skills add max1874/skills --skill <name>. Skills that ship with a tool live in that tool's repository: open-agent-keys, open-browser-use, open-computer-use.

deep-read

Makes an agent read a long source to the end, prove it, and actually understand what it says.

Hand an agent a 3-hour transcript and it will usually read part of it — a single read tops out at ~25k tokens, a paragraph-per-line transcript can't be chunked, the first 2000 lines are the default cap, or it just greps and summarizes — and then hand you a summary that looks complete. deep-read fixes the workflow:

  1. A script turns the source (SRT/VTT subtitles, text, extracted PDF) into a reading copy with short lines and a chunk plan that fits the read limit, estimated per language (CJK text costs ~4x the tokens of English per character).
  2. The agent reads every chunk in order, itself — no subagent summaries, no sampling.
  3. Notes are written after each chunk, so progress survives context compaction.
  4. Once every line is read, the notes open with what it is saying: the main point, how the parts build it, where it is strong or weak, and what is worth taking away. How hard to fact-check depends on the kind of source: a speech is read for its meaning, a market call for its evidence. The notes end with a coverage line (file, line count, each chunk's range).
  5. A second agent reads the source from scratch without seeing the notes and writes its own understanding; every disagreement is checked against the source. It catches what the first reader is anchored against, like a host's summary recorded as the guest's view.

On a 3-hour YouTube course (~41k words), this surfaced what a skim would miss: $6.41 transcribed as $641, a community size stated two different ways, and two "I'll explain later"s that never came.

How it differs from similar skills

  • full-output-enforcement stops agents from writing less than asked. deep-read stops them from reading less than given.
  • dsh-deepread and the "deep reading" framework skills apply an analysis template (claims, evidence, mental models). deep-read makes every line read, with proof, the floor, and asks for understanding in the source's own terms on top of it.
  • Research skills that delegate reading to a background agent trade completeness for speed. deep-read makes the opposite trade on purpose.

Install

npx skills add max1874/skills --skill deep-read

Or copy the deep-read/ folder into ~/.claude/skills/ (all projects) or .claude/skills/ (one project). Then use /deep-read, or just ask the agent to read something thoroughly.

Requirements: Node.js 22.18+ (no packages to install). For PDFs, pdftotext from poppler.

handoff

Hands work to a fresh session with the reason it exists, not just what was built.

A handoff usually records how the work was built: architecture, what passed, what is left. It drops why the work exists. The next session takes a side effect for the goal, and each later handoff summarizes the previous summary, so the original purpose fades a little each time. handoff closes that gap:

  1. It starts from the primary source: the user's own messages in the session logs (Claude Code and Codex both keep them as JSONL). It does not write from memory or from the last summary, and it lists every request made, including asides and deferrals.
  2. Facts that will still be true next month go into the project's standing instructions (AGENTS.md, CLAUDE.md), so every session loads them, handoff or not.
  3. The handoff has fixed sections: purpose in the user's words, next step, open requests, decisions with reasons and rejected options, state marked verified or believed, authority, sources, suggested skills.
  4. Two checks before it is done. Every listed request must appear in the handoff. Then a reader with no context gets only the handoff and the repository and must say why the project exists.
  5. A session that starts from a handoff reads the original conversation's first messages too, and restates the purpose before it begins.

On a real project, a reader given the old handoff said the files never explained why the project was built, and picked a cleanup task as the next step. Given the rewritten one, it named the original frustration and picked the outcome the project was started for.

How it differs: Matt Pocock's handoff writes a portable summary to the temp directory, for moving work to another harness or person, and its docs note that it captures the what more than the why. This one keeps a durable file in the project and is built around carrying the why.

npx skills add max1874/skills --skill handoff

Then use /handoff, optionally with what the next session will do.

FAQ

How do I make Claude Code read a long document or transcript all the way through? Install deep-read, then run /deep-read or ask it to read everything without skipping. The script builds a short-line reading copy and a chunk plan; the agent reads and takes notes chunk by chunk, and finishes with notes that open with what the source is saying and end with a coverage line listing the lines each chunk covered.

Why does Claude Code only read part of a long file? A single read errors above ~25k tokens, Read returns the first 2000 lines by default, a paragraph-per-line transcript can't be split by line, or the agent greps and summarizes instead of reading. deep-read's script and rules target each of these.

How do I install a Claude Code skill? npx skills add max1874/skills --skill deep-read, or copy the skill's folder into ~/.claude/skills/ (all projects) or .claude/skills/ (one project). Then call it with /name.

Does it work with Codex or other agents? Each skill is a standard SKILL.md folder, and npx skills add can install it for other agents (-a codex). prepare.ts runs from any agent with a shell, but the reading steps (offset/limit, pages, the read-size limit) are written for Claude Code's Read tool.

Can it read subtitles and PDFs? SRT/VTT become timestamped paragraphs. PDFs with a text layer go through pdftotext -layout first; scanned PDFs are read in page order with Read's pages parameter, up to 20 pages at a time.

More: max1874.com/skills


中文说明

skills 是一组公开的 Claude Code agent skill,都是我日常在用、在真实任务里打磨过的。每个 skill 是一个带 SKILL.md 的文件夹,在 Claude Code 里用 /名字 调用。

deep-read 一块一块读完 1547 行的转写稿,每读完一块记一次笔记

动图录自 max1874.com/skills,那里可以亲手试。

deep-read:让 agent 真的把长材料读完、证明读完了,并且读懂

把一份 3 小时的转写稿交给 agent,它通常只读了一部分就给出一份看起来完整的总结。原因有几种:单次读取超过约 2.5 万 token 会报错;一段一行的转写稿没法按行切块;默认只读前 2000 行;或者干脆 grep 几下就开始总结。deep-read 把读的流程固定下来:

  1. 用脚本把原文(SRT/VTT 字幕、纯文本、从 PDF 抽出的文字)折成短行,并按估算的 token 数给出分块计划。中文每个字的 token 成本约是英文字符的 4 倍,脚本会分语言估算。
  2. agent 自己按顺序读完每一块,不交给子 agent 总结,也不抽样。
  3. 每读完一块就写笔记,上下文被压缩也不丢进度。
  4. 全部读完后,笔记开头先写它在说什么:主旨、各部分怎么把它说出来、哪里有力量哪里站不住、值得带走什么。事实核对做多少看材料类型:演讲读的是意思,行情判断查的是依据。笔记末尾一行写明读了哪个文件、多少行、每块的行号范围。
  5. 另一个 agent 不看笔记,从头独立读一遍,写出它自己的理解;每一处分歧都回原文核对。

实测一门 3 小时的 YouTube 课程(约 4.1 万词),读出了略读发现不了的问题:字幕把 $6.41 识别成 $641,社群规模前后说法不一,两处「后面再解释」最后都没解释。

和同类的区别:full-output-enforcement 防止 AI 写得比要求的少,deep-read 防止 AI 读得比给的少;dsh-deepread 等「深度阅读」类 skill 套分析框架,deep-read 以读全、留证据为底线,在此之上按材料本身读懂它。

安装:npx skills add max1874/skills --skill deep-read,或者把 deep-read/ 文件夹复制到 ~/.claude/skills/。需要 Node.js 22.18+,不用装任何包;处理 PDF 需要 poppler 里的 pdftotext。

全部 skill

除了下面详细介绍的 deep-read 和 handoff,还有 read-repo(完整读一个陌生仓库并留覆盖账本)、stt(把音视频转成文字稿和字幕,带说话人,再校对;现在用阿里云百炼,服务商可以换)、diagnose(先造出能复现的循环再查疑难 bug)、retro(从 Claude Code 或 Codex 的原始会话记录复盘一次 agent 事故,对上经典问题,给出结构改动而不是再加一条规则)、taste(设计界面的工作方法和质量底线)、apple-design(按 Apple 人机界面指南设计和审查)、codex-worker-guide(把一张工单派给 Codex 并逐行审)、find-skills(找同类 skill、对标写法、准备分享)、ios-app-name(筛选、查重并占用 App Store 名称,覆盖全部 39 个语言)、ip-design 和 ip-draw(设计原创 IP 形象并持续出图)、mac-uninstall(彻底卸载 macOS app 并审计残留)。安装:npx skills add max1874/skills --skill <名字>。随工具发布的 skill 在各自仓库里:open-agent-keys、open-browser-use、open-computer-use。

handoff:交接时带上「为什么」,不只是「做了什么」

交接通常记下了架构、验收结果和剩下的活,却丢了这件事为什么要做。接手的会话于是把副产品当成目标;每次交接又是在转述上一次的转述,最初的目的一点点消失。handoff 这样做:

  1. 先回到原始对话:从会话记录(Claude Code 和 Codex 都存成 JSONL)里读用户自己的话,不凭记忆、不拿上一份摘要当依据,并把提过的每个要求列出来,包括顺口一提和说「以后再做」的。
  2. 下个月还成立的事写进项目的常驻说明(AGENTS.md、CLAUDE.md),不靠交接传递。
  3. 交接固定分段:用户原话里的目的、下一步、未完成的要求、已定的决定(含理由和被否掉的选项)、标明「已验证」或「推测」的现状、授权、出处、建议使用的 skill。
  4. 写完做两项检查:每个要求都要在交接里找得到;再让一个没有上下文的读者只看交接和仓库,说出这个项目为什么存在。
  5. 接手的会话也要读原始对话的开头几句,开工前先复述目的。

安装:npx skills add max1874/skills --skill handoff,然后用 /handoff。

常见问题

怎么让 Claude Code 把一份长文档或转写稿完整读完? 装上 deep-read,用 /deep-read,或者直接说「全部读完,别跳」。脚本先生成短行阅读副本和分块计划,agent 逐块读、逐块写笔记,最后的笔记开头写它在说什么,末尾一行写明每块读了哪些行。

为什么 Claude Code 读长文件只读了一部分? 单次读取超过约 2.5 万 token 会报错;Read 默认只返回前 2000 行;一段一行的转写稿没法按行切块;或者 agent grep 几下就开始总结。deep-read 的脚本和规则针对的就是这几种情况。

怎么安装 Claude Code 的 skill? npx skills add max1874/skills --skill deep-read,或者把 skill 文件夹复制到 ~/.claude/skills/(所有项目)或 .claude/skills/(单个项目),然后用 /名字 调用。

能用在 Codex 或其他 agent 上吗? 每个 skill 是标准的 SKILL.md 文件夹,npx skills add 可以装给其他 agent(-a codex)。prepare.ts 在任何能跑命令的 agent 里都能用,但读取步骤(offset/limit、pages、读取上限)是按 Claude Code 的 Read 工具写的。

能读字幕和 PDF 吗? SRT/VTT 会转成带时间戳的段落。有文字层的 PDF 先用 pdftotext -layout 转成文本;扫描版用 Read 的 pages 参数按页序读,每次最多 20 页。

更多:max1874.com/skills

About

Claude Code agent skills (SKILL.md) hardened on real work. deep-read makes an agent read a long transcript, SRT/VTT subtitles, article or PDF to the last line in token-sized chunks, and prove it with a coverage statement.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages