Token导航 LogoToken导航

Agent Skill · 研究检索

deep-read(深读)

deep-read 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

deep-read 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 42,382。

总安装 1,080周安装 45GitHub Stars 2下载 360核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:deep-read(深读)
来源仓库:https://github.com/pfangueiro/claude-code-agents
仓库路径:skills/deep-read
安装命令:
npx skills add https://github.com/pfangueiro/claude-code-agents --skill deep-read
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/pfangueiro/claude-code-agents --skill deep-read

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于源码优先的系统化代码阅读,输出带行号引用的具体发现。分六阶段推进:定范围、读实现、找模式、建映射、验假设、出结论。拒绝仅依赖文档或接口,坚持代码为唯一事实来源。适用于架构理解、遗留系统分析与技术债务评估。deep-read 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/deep-read

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/pfangueiro/claude-code-agents --skill deep-rea…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

deep-read 怎么安装?

在终端执行 npx skills add https://github.com/pfangueiro/claude-code-agents --skill deep-read。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

deep-read 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

deep-read 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/pfangueiro/claude-code-agents --skill deep-read 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

deep-read 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

deep-read 用的人多吗?

公开数据是累计安装 1,080 次,近一周安装 45 次,下载 360 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

deep-read 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
deep-read

深读 · 本页

1,0802执行命令未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Deep Read — Codebase Reading Engine

Systematic source-code-first analysis protocol. Reads implementations, not just interfaces. Every finding cites file:line.

Core principle: Source code is the source of truth. Documentation lies, comments rot, function names mislead. Read the actual code.

Protocol

Process every /deep-read invocation through these 6 phases in strict order. Never skip a phase. Gate each phase: do not advance until the gate condition is met.


Phase 1: SCOPE — Define the Reading Target

Narrow the target to a tractable area before reading anything.

  1. Parse $ARGUMENTS as the reading target (module, flow, question, or path)
  2. Read CLAUDE.md and MEMORY.md for project context — but treat these as hints, not truth
  3. Run initial discovery to estimate scope:

- Glob for relevant file patterns (**/*.ts, **/*.py, etc.) - Grep for key terms from the target description - Count matching files

  1. If scope exceeds 50 source files:

- Use AskUserQuestion to narrow: which subsystem, which flow, which layer? - Suggest specific narrowing options based on directory structure

  1. If the target is a question (e.g., "how are commissions calculated?"):

- Translate to concrete search terms - Grep for domain terms to locate relevant modules

  1. If the target is a path (e.g., src/services/billing/):

- List all files in the path - Identify entry points (exported functions, route handlers, main files)

Output: A scope definition listing:

  • Target description (1-2 sentences)
  • File list (< 50 source files)
  • Identified entry points
  • Out-of-scope areas (explicitly noted)

Gate: Scope is defined and contains < 50 source files. Entry points identified. Proceed.


Phase 2: MAP — Build Structural Overview

Understand the shape of the code before reading it deeply.

  1. Directory structure — map the relevant directories:

- Use Glob to list files by type and directory - Note the organizational pattern (by feature, by layer, by domain)

  1. Tech stack — identify from configs (not from docs):

- Read package.json, Cargo.toml, go.mod, requirements.txt, or equivalent - Note frameworks, key dependencies, build tools

  1. Entry points — verify by reading actual files (not just file names):

- Read route definitions, main files, exported modules - Read the first 50 lines of each candidate entry point - Confirm which files are actual entry points vs. helpers

  1. Dependency graph — map internal imports within the scope:

- Grep for import/require statements within scoped files - Build a mental model: what calls what, what depends on what - Identify the core files (most imported by others)

  1. Configuration and constants — read files that define behavior:

- Config files, environment schemas, constants, enums, types - These shape behavior as much as code does

Launch parallel Explore agents for steps 2-4 if the scope has 20+ files.

Output: Structural map including:

  • Directory layout with annotations
  • Tech stack (from configs, not docs)
  • Entry points (verified by reading)
  • Dependency flow diagram (text-based)
  • Core files ranked by centrality

Gate: Entry points verified by reading actual files. Dependency flow mapped. Proceed.


Phase 3: TRACE — Follow Execution Paths

Start from entry points and trace through the code. Read every file in the path.

  1. Select the primary execution path based on the reading target:

- For a flow (e.g., "payment processing"): start at the user-facing entry point - For a module: start at its public API / exports - For a question: start at the code most likely to contain the answer

  1. Trace forward from the entry point:

- Read the entry point file in full with the Read tool - For every function call, class instantiation, or module import encountered: - Grep to locate the implementation (not just the type signature) - Read the implementation file in full - Continue until reaching terminal operations (DB queries, API calls, file I/O, return values)

  1. Document the path as a chain with file:line citations: Request enters at routes/payments.ts:42 (POST /api/payments) -> calls PaymentService.processPayment() at services/payment.ts:87 -> validates input via PaymentSchema at schemas/payment.ts:15 -> calls StripeClient.charge() at clients/stripe.ts:34 -> constructs request at clients/stripe.ts:45-62 -> stores result via PaymentRepository.save() at repos/payment.ts:28 -> returns PaymentResponse at routes/payments.ts:58
  2. Trace secondary paths if the reading target involves multiple flows:

- Error paths, edge cases, fallback logic - Event handlers, webhooks, background jobs triggered by the primary path

  1. Note every branch point — conditions, switches, feature flags:

- What determines which path is taken? - Read the condition logic, don't just note "there's a conditional here"

Output: Complete execution trace(s) with file:line citations for every step.

Gate: At least 1 complete path traced from entry to terminal. Every file in the path has been Read in full. Proceed.


Phase 4: DEEP READ — Line-by-Line Analysis of Critical Files

This is the core phase. Read critical files thoroughly, understanding every line of business logic.

  1. Identify critical files from Phase 3 — files that contain:

- Business logic (calculations, rules, transformations) - State management (mutations, transactions, side effects) - Security logic (auth, validation, access control) - Data transformations (mapping, filtering, aggregation) - Error handling (catch blocks, error boundaries, recovery logic)

  1. Read each critical file in full with the Read tool:

- Do NOT skim — read the entire file - For files > 500 lines: read in sections, but read ALL sections - Launch parallel Read calls for independent files

  1. For each critical file, document:

- Purpose: What this file actually does (based on code, not comments) - Key functions: Each function's logic, with citations: calculateCommission(sale: Sale): number [billing/commission.ts:45-78] - Base rate: 5% of sale.amount (line 52) - Bonus tier: if sale.amount > 10000, rate += 2% (line 56) - Cap: commission capped at 5000 (line 62) - Proration: multiplied by daysInPeriod/30 (line 67) - Returns: rounded to 2 decimal places (line 74) - Formulas and conditions: Write out the actual math and logic, not summaries - State changes: What gets mutated, what side effects occur - Edge cases handled: Null checks, bounds, error recovery - Edge cases NOT handled: Missing validation, unchecked assumptions

  1. Cross-reference between files:

- When file A calls file B, verify that A's expectations match B's implementation - Note any mismatches between interface contracts and implementations - Check that error handling in callers matches errors thrown by callees

Output: Detailed analysis of each critical file with:

  • Function-level logic documentation with file:line citations
  • Formulas written out explicitly
  • Conditions and branch logic documented
  • State changes and side effects listed

Gate: Every critical file (identified in step 1) has been Read in full. Logic documented with formulas, conditions, and citations. Proceed.


Phase 5: CONNECT — Synthesize Understanding

Step back and reason about the system as a whole. Use sequential-thinking MCP for structured analysis.

  1. Start a sequential-thinking chain with all evidence from Phases 1-4: mcp__sequential-thinking__sequentialthinking({thought: "Synthesizing understanding of <target>. Evidence from phases:...", thoughtNumber: 1, totalThoughts: 8, nextThoughtNeeded: true})
  2. Identify patterns across the codebase (minimum 3):

- Architectural patterns (layering, dependency injection, event-driven, etc.) - Coding conventions (error handling style, naming patterns, data flow patterns) - Implicit rules (invariants maintained by convention, not enforced by code) - Anti-patterns or technical debt

  1. Map data flows end to end:

- How does data enter the system? - What transformations does it undergo? (with file:line citations) - Where does it end up? (DB, API response, file, event)

  1. Identify risks and assumptions:

- What assumptions does the code make that aren't validated? - What would break if those assumptions were violated? - Are there race conditions, consistency gaps, or security concerns?

  1. Answer the original question if the reading target was a question:

- Provide the answer with full evidence chain - Cite every source

Use branching in sequential-thinking to explore alternative interpretations of ambiguous code.

Output: Synthesis including:

  • 3+ patterns identified with evidence (file:line)
  • End-to-end data flow map
  • Risk assessment
  • Answer to the original question (if applicable)

Gate: At least 5 reasoning steps completed. At least 3 patterns identified with file:line evidence. Proceed.


Phase 6: REPORT — Structured Deliverable

Produce the final report. Every claim must cite file:line.

## Deep Read Report: <target>

### Scope
- **Target:** <what was analyzed>
- **Files analyzed:** <count> files, <count> read in full
- **Entry points:** <list with file:line>

### Architecture Overview
<structural summary from Phase 2 — directory layout, tech stack, dependency flow>

### Execution Flow
<traced paths from Phase 3 — entry to terminal with file:line citations>

### Critical Logic
<detailed function-level analysis from Phase 4>

For each critical area:
- **What it does:** <plain language description>
- **How it works:** <formulas, conditions, logic with file:line>
- **State changes:** <what gets mutated>
- **Edge cases:** <handled and unhandled>

### Patterns & Conventions
<synthesized patterns from Phase 5>
1. <pattern> — evidence: <file:line>
2. <pattern> — evidence: <file:line>
3. <pattern> — evidence: <file:line>

### Data Flow
<end-to-end data flow map from Phase 5>

### Risks & Assumptions
<risk assessment from Phase 5>

### Key Findings
<concise bullet list of the most important discoveries>
- <finding> — <file:line>

### Answer
<if the reading target was a question, answer it here with full evidence>

Gate: All sections populated. Every finding cites file:line. Report complete.


Tool Usage by Phase

PhasePrimary ToolsWhen to Use Agents
1. SCOPERead, Glob, Grep, AskUserQuestion--
2. MAPGlob, Grep, Read (configs, entry points)Explore agents (parallel) for 20+ file codebases
3. TRACERead (full files), Grep (cross-refs)Explore agent for locating implementations
4. DEEP READRead (full files, parallel)--
5. CONNECTsequential-thinking MCPdeep-analysis skill for complex reasoning
6. REPORTStructured output--

Anti-Patterns — What This Skill Prevents

Bad HabitWhat /deep-read Does Instead
Read README/CLAUDE.md and call it donePhase 1 treats docs as hints; Phases 3-4 read source
Skim file headers and imports onlyPhase 4 requires line-by-line reading with citations
Summarize without evidenceEvery claim must cite file:line
Stop at the first abstraction layerPhase 3 traces full call chains to leaf functions
Rely on function names to infer behaviorPhase 4 reads implementations, documents actual logic
Produce vague "this seems to do X"Phase 4 requires concrete formulas and conditions
Read types/interfaces instead of implementationsPhase 3 Greps for implementations, not just signatures
Skip error paths and edge casesPhase 3 traces secondary paths; Phase 4 documents edge cases

Scope Examples

/deep-read payment processing flow from checkout to settlement
/deep-read src/services/billing/
/deep-read how are sales commissions calculated and distributed?
/deep-read the authentication and authorization system
/deep-read data pipeline from ingestion to reporting dashboard
/deep-read how does the caching layer work and when does it invalidate?

When to Use /deep-read vs Other Tools

SituationUse
Understand how existing code works/deep-read
Quick "what does this function do?"Read tool directly
Bug, crash, error, unexpected behavior/investigate
Architecture decision or trade-off/deep-analysis
Build a new feature/execute
Understand code, then reason about it/deep-read then /deep-analysis
Understand code, then redesign it/deep-read then /deep-analysis then /execute
Onboard to an unfamiliar codebase/deep-read
Code review with full context/deep-read then code-quality agent

References

See references/reading-strategies.md for codebase-type-specific reading strategies and context management approaches.

平台分布

Codex

35.18%
按下载量换算127

Claude

33.05%
按下载量换算119

Cursor

19.1%
按下载量换算69

Gemini CLI

10%
按下载量换算36

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/pfangueiro/claude-code-agents --skill deep-read 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills