doc-summarize

doc-summarize is a skill for Claude Code, Codex from xyy277/doc77. It costs 54 tokens per session (301 once invoked), scanned A, original, MIT.

A document-summary workflow for Markdown, plain text, and code documents. It extracts the main points, structure, data, and practical recommendations.

In plain words
What is it for?
Use it to summarize documents, outline their sections, extract configuration or API details, and identify relevant cautions.
Why use it?
It reduces long documents to their important information while keeping the original structure and key details.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to summarize documents, outline their sections, extract configuration or API details, and identify relevant cautions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xyy277/doc77/doc-summarize
View source ↗ xyy277/doc77
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add xyy277/doc77 --skill doc-summarize
Clone the repo
git clone --depth 1 https://github.com/xyy277/doc77

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for doc-summarize

README.md
[![agentmods](https://agentmods.dev/badge/skills/xyy277/doc77/doc-summarize/github.svg)](https://agentmods.dev/skills/xyy277/doc77/doc-summarize)
Your own site
<a href="https://agentmods.dev/skills/xyy277/doc77/doc-summarize"><img src="https://agentmods.dev/badge/skills/xyy277/doc77/doc-summarize/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for doc-summarize

Your own site · 80×15
<a href="https://agentmods.dev/skills/xyy277/doc77/doc-summarize"><img src="https://agentmods.dev/badge/skills/xyy277/doc77/doc-summarize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 301 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.00301
Opus 5.5 $0.00022 $0.00120
Sonnet 5.5 $0.00011 $0.00060
Haiku 4.5 $0.00005 $0.00030

Measured 1mo ago against content hash 30c41cb13304, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

doc-summarize scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/ai/src/skills/builtin/skills/doc-summarize/SKILL.md · 36 lines

What it actually says

文档摘要技能

摘要原则

  1. 保留核心论点和关键数据
  2. 移除冗余示例和过渡语句
  3. 按原文结构组织摘要
  4. 中文文档用中文摘要,英文文档用英文摘要
  5. 保持客观,不添加原文没有的评价

摘要格式

核心要点

  • 用 3-5 个要点概括文档主旨

详细摘要

按原文章节顺序组织,每节用 1-2 句话概括

关键数据

  • 提取文档中的具体数据点、配置项、版本号等

建议操作

  • 基于文档内容给出 1-3 条可执行建议

注意事项

  • 如果文档是代码,提取函数签名和关键逻辑
  • 如果文档是配置文件,列出关键配置项和默认值
  • 如果文档是 API 文档,提取端点列表和参数说明
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 36 lines · 54 tokens per session scan A 30c41cb13304

Subscribe to this mod's changes

doc-summarize is a skill published in the GitHub repository xyy277/doc77 (8 stars, last pushed 10d ago), licensed MIT. It adds 54 tokens to every session and 301 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.