ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

Doc Summarizer

Skill by ckchzh2022

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/ckchzh2022/doc-summarizer
Or

doc-summarizer

Name: doc-summarizer

Description: 文档摘要和智能总结助手。支持文件摘要、文本总结、翻译摘要、会议纪要提取、邮件要点、报告生成、思维导图、URL抓取摘要输出文件、本地文件读取摘要输出文件、批量目录摘要、增强版文档对比。Document summarizer with translation, meeting notes extraction, email digest, mind map generation, URL fetch-to-file summary, local file read-to-file summary, batch directory summarization, and enhanced document comparison with keyword analysis. 文档总结、会议纪要、邮件摘要、翻译润色、URL网页抓取、文件输出、批量摘要、文档对比、版本差异、文档太多看不完。

Usage

All commands are run via the helper script:

bash ~/.openclaw/workspace/skills/doc-summarizer/scripts/summarize.sh <command> [args...]

Commands

CommandDescription
file <filepath>读取本地文件(.txt .md .html)生成摘要
text "长文本"对输入文本直接生成摘要
url <url>抓取网页内容并生成摘要(使用 curl)
bullets <filepath>从文件中提取要点列表
keywords <filepath>从文件中提取关键词
compare <file1> <file2>对比两个文档的异同
wordcount <filepath>字数统计 + 阅读时间估算
translate "文本" [--to en|cn]翻译摘要(自动检测语言,中英互译)
meeting "会议记录"会议纪要提取(决议/行动项/截止日期)
email "邮件内容"邮件要点提取 + 三种风格建议回复
report "长文本"生成结构化分析报告(执行摘要/关键发现/建议)
mindmap "文本"生成思维导图(ASCII 树形结构,3层层次)
fetch <url>抓取URL网页→生成摘要文件(summary_域名_日期.md)
read <filepath>读取本地文件(.txt/.md/.csv)→生成摘要文件(summary_文件名.md)
batch <目录路径>批量摘要 — 遍历目录下所有.txt/.md文件,生成汇总报告(batch_summary_日期.md)
doc-compare <file1> <file2>增强版文档对比 — 字数变化、新增/删除内容、关键词变化、相似度评估
help显示帮助信息

Examples

# 摘要本地 Markdown 文件
summarize.sh file ~/notes/meeting.md

# 摘要网页
summarize.sh url https://example.com/article

# 提取要点
summarize.sh bullets ~/report.txt

# 对比两篇文档
summarize.sh compare doc1.md doc2.md

# 字数统计
summarize.sh wordcount ~/essay.txt

# 翻译摘要
summarize.sh translate "Hello world, this is a test" --to cn

# 会议纪要
summarize.sh meeting "今天讨论了Q2计划,决定3月底前完成..."

# 邮件要点
summarize.sh email "Hi team, please review the attached..."

# 结构化报告
summarize.sh report "本季度销售数据显示增长15%..."

# 思维导图
summarize.sh mindmap "人工智能包括机器学习和深度学习..."

# 抓取URL生成摘要文件
summarize.sh fetch https://example.com/article
# → 输出 summary_example_com_20260310.md

# 读取本地文件生成摘要文件
summarize.sh read ~/notes/long-report.md
# → 输出 summary_long_report.md

# 批量摘要整个目录
summarize.sh batch ~/documents/
# → 输出 batch_summary_20260310.md (汇总报告)

# 增强版文档对比
summarize.sh doc-compare v1.md v2.md
# → 字数变化 + 新增/删除内容 + 关键词变化 + 相似度

Dependencies

  • bash
  • python3 (>= 3.6)
  • curl (for URL fetching)

When to Use

  • 用户需要快速了解一篇长文的核心内容
  • 用户要求生成阅读笔记或摘要
  • 用户需要提取文章要点或关键词
  • 用户要对比多篇文档的异同
  • 用户想知道文档的字数和预估阅读时间
  • 用户需要翻译摘要或双语对照
  • 用户有会议记录需要整理成纪要(提取决议、行动项、截止日期)
  • 用户收到邮件需要快速了解要点和建议回复
  • 用户需要将内容整理成结构化报告
  • 用户想用思维导图方式理解文档结构
  • 用户需要抓取网页URL并生成摘要文件保存
  • 用户需要读取本地文件并生成结构化摘要文件
  • 用户有一堆文档需要批量处理摘要(文档太多看不完的痛点)
  • 用户需要对比两个文档版本的差异(字数、内容、关键词变化)

Metadata

Stars3562
Views0
Updated2026-03-29
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-ckchzh2022-doc-summarizer": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.

Related Skills

chart-generator

Data visualization and chart generator with SVG file output. 数据可视化、数据图表、图表生成、柱状图、bar chart、折线图、line chart、饼图、pie chart、ASCII图表、数据报表、趋势图、sparkline、仪表盘、dashboard、HTML图表、SVG图表、SVG文件输出、数据分析图、统计图表、表格生成、格式化表格、数据展示、可视化报告、数据看板、进度条、热力图、趋势分析、变化率。Generate bar charts, line charts, pie charts, tables, sparklines, dashboards, progress bars, trend analysis, and heatmaps as ASCII or HTML. Also generates SVG chart files (bar/pie/line) that open directly in browsers. Use when: (1) creating data visualizations/charts, (2) generating bar/line/pie charts, (3) formatting data into tables, (4) building HTML chart reports, (5) showing data trends or distributions, (6) any chart, dashboard, or data visualization task, (7) progress tracking, (8) trend analysis with change rates, (9) heatmap visualization, (10) generating SVG chart files for sharing or embedding. 适用场景:生成图表、数据可视化、做报表、展示数据趋势、对比数据、ASCII图表终端展示、HTML图表报告输出、SVG图表文件生成、进度条、热力图、趋势分析。

ckchzh2022 3562

crypto-tracker

Track cryptocurrency markets in real-time. 加密货币行情追踪、比特币价格、以太坊ETH、市值排行、DeFi数据、恐惧贪婪指数、趋势币种、空投信息、RSI技术分析、均线分析、金叉死叉、DeFi收益率对比、Gas费查询。Use when checking crypto prices, market sentiment, DeFi TVL, trending coins, meme coins, RSI indicators, moving averages, DeFi yield comparison, or Ethereum gas fees. Free APIs (CoinGecko, DefiLlama) — no API keys needed. 实时行情、涨跌幅、市场情绪分析、技术指标。

ckchzh2022 3562

social-copywriter

Social media copywriter. 社交媒体文案、朋友圈文案、朋友圈怎么发、微博文案、微博段子、Twitter文案、tweet、Instagram文案、IG caption、社交媒体文案生成、节日祝福、生日祝福文案、美食文案、旅行文案、心灵鸡汤、日常文案、晒照文案、show off、心情文案、搞笑文案、高级感文案、文艺文案、伤感文案、节日营销文案、品牌文案、长线程、病毒传播文案、裂变文案、品牌调性、festival marketing、brand copy、viral copy、thread。Generate copy for WeChat Moments, Weibo, Twitter/X, Instagram, birthdays, holidays, food, travel, festival marketing, brand voice, threaded posts, and viral content. Use when: (1) writing WeChat Moments/朋友圈 posts, (2) creating Weibo content, (3) writing Twitter/X posts, (4) crafting Instagram captions with hashtags, (5) birthday or holiday greetings, (6) food or travel captions, (7) daily inspirational quotes, (8) festival/holiday marketing campaigns, (9) establishing brand voice and copywriting style, (10) creating Twitter/Weibo thread series, (11) designing viral/shareable content for maximum reach, (12) any social media copywriting. 适用场景:发朋友圈、写微博、发Twitter、写Instagram文案、生日祝福、节日祝福、美食打卡、旅行打卡、日常心情、节日营销借势、品牌文案风格、长线程创作、病毒传播文案。

ckchzh2022 3562

zhihu-writer

Zhihu answer and article generator. 知乎回答、知乎文章、知乎专栏、知乎盐选、盐选故事、高赞回答、知乎SEO、知乎涨粉、知乎运营、知乎写作、专栏写作、知乎问答、知乎干货、知乎长文、Zhihu answer、Zhihu article、数据型回答、故事型回答、专业回答、辩论型回答、知乎标题。Generate Zhihu answers, articles, titles, and Yanxuan-style content. Use when: (1) writing Zhihu answers in various styles (professional/story/data/debate), (2) creating Zhihu column articles, (3) generating engaging Zhihu titles, (4) writing Zhihu Yanxuan/盐选 style stories, (5) any Zhihu content creation. 适用场景:写知乎回答、写专栏文章、生成知乎标题、写盐选故事、知乎内容运营。

ckchzh2022 3562

job-hunter

Job hunting assistant with resume generator & scoring. 求职助手、简历生成、简历评分、简历优化、简历模板、resume、markdown简历、简历打分、简历诊断、面试准备、面试问题、薪资谈判、找工作、跳槽、换工作、Boss直聘、拉勾网、猎聘、求职信、cover letter、自我介绍、电梯演讲、elevator pitch、求职追踪、offer谈判、offer对比、面试跟进邮件、follow-up email、职业规划、校招、社招、秋招春招、面经、八股文、JD匹配、简历匹配度、模拟面试、mock interview。Job search, resume file generator (markdown), resume scoring system (10 dimensions/100 points), interview prep, salary negotiation, application tracker, follow-up emails, offer comparison, JD skill matching analysis, mock interview (HR/Technical/Final rounds with 10 Q&A each). Use when: (1) generating a resume/CV file with smart skill matching by position, (2) scoring/evaluating an existing resume, (3) writing cover letters, (4) preparing for job interviews, (5) researching salary ranges, (6) tracking job applications, (7) crafting elevator pitches/self-introductions, (8) writing follow-up emails after interviews, (9) comparing multiple job offers, (10) analyzing JD to find skill gaps, (11) mock interview practice with coaching tips, (12) any job hunting or career transition task. 适用场景:一键生成markdown简历文件(根据职位智能匹配技能+项目)、简历评分诊断(10维度100分制)、写求职信、准备面试、查薪资、追踪求职进度、写自我介绍、面试跟进邮件、offer对比分析、JD匹配分析(投了没回复的痛点)、模拟面试(面试紧张的痛点)、跳槽准备。春招旺季必备!中英双语输出。本地运行,无需API。

ckchzh2022 3562