summarizer

summarizer is a skill for Claude Code, Codex from ntygod/ZhiWei. It costs 42 tokens per session (577 once invoked), scanned A, original, MIT.

A skill for extracting key information from existing sources and turning it into a structured summary without adding unsupported conclusions.

In plain words
What is it for?
Use it to summarize web pages, local PDFs or documents, code, meeting transcripts, or multiple documents, including short summaries, detailed outlines, meeting notes, and comparisons.
Why use it?
It makes long or scattered material easier to use while keeping each point traceable to the source.

Skill for Claude CodeCodex

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

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.

agentmods
npx agentmods add skills/ntygod/zhiwei/summarizer
Any agent
npx skills add ntygod/ZhiWei --skill summarizer
Clone the repo
git clone --depth 1 https://github.com/ntygod/ZhiWei

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 summarizer

README.md
[![agentmods](https://agentmods.dev/badge/skills/ntygod/zhiwei/summarizer.svg)](https://agentmods.dev/skills/ntygod/zhiwei/summarizer)
Your own site
<a href="https://agentmods.dev/skills/ntygod/zhiwei/summarizer"><img src="https://agentmods.dev/badge/skills/ntygod/zhiwei/summarizer.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 577 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00042 $0.00577
Opus 5 $0.00021 $0.00289
Sonnet 5 $0.00008 $0.00115
Haiku 4.5 $0.00004 $0.00058

Measured 6d ago against content hash a53d2b5efa82, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

summarizer 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 6d 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.

src/main/resources/skills/summarizer/SKILL.md · 58 lines

What it actually says

内容摘要指南

从已有来源提取关键信息生成结构化摘要。核心约束:每个观点必须能在原文找到对应段落,不添加原文没有的推断。

适用场景

  • URL 网页摘要("这个链接讲了什么")
  • 本地文件(PDF / 文档 / 代码)摘要
  • 会议纪要整理(录音转写后的会议记录)
  • 多文档对比(找共识 / 分歧)
  • 长文精简(保核心、删枝叶)

不适用场景

  • 从零创作 → content-creator
  • 数据统计报告 → data-analyst
  • 跨多源调研 → research-assistant

工作流(按来源分流)

来源 取用方法
URL web_fetch 抓正文
本地文件(含 docx/pdf/xlsx) file_read(已自动解析结构化文档)
知识库 memory
会议录音 用户先转写,得到文本后走文件路径

通用要点:

  • 选格式:短摘要(3-5 句) / 深度摘要(章节结构) / 会议纪要(议题 / 决议 / 行动项 / 责任人) / 多文档对比(共识 / 分歧 / 来源标注)
  • 抓不全要声明:抓取空 / 不全 / 被付费墙挡时告知用户,不假装抓了全部
  • 多文档对比:每篇逐一读取后再生成,不靠单文档外推
  • 来源标注:URL 摘要开头 [页面标题](URL);多文档版每条要点标"来自《X》"
  • 保存:长摘要 file_write 落盘,短摘要直接对话给

详细参考

  • 各格式模板、会议纪要骨架、错误处理:{skill_dir}/references/summary-formats.md
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 58 lines · 42 tokens per session scan A a53d2b5efa82

Subscribe to this mod's changes

summarizer is a skill published in the GitHub repository ntygod/ZhiWei (137 stars, last pushed 26d ago), licensed MIT. It adds 42 tokens to every session and 577 once invoked, about $0.0002 per session on Opus 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-30.