SkillAgentSearch skills...

yao-weread-skill

当用户需要分析微信读书阅读历史、生成读书报告、可视化阅读统计、笔记、书架、词云、热力图、雷达图,或导出精排 HTML 报告时使用。也适用于创建 AI 创业者示例阅读报告。不用于通用图书推荐,或不生成报告的原始微信读书 API 查询。

Install / Use

npx skills add yaojingang/yao-open-skills --skill yao-weread-skill

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

76/100

Supported Platforms

Universal

Our assessment of yao-weread-skill

yao-weread-skill scores 76/100 on our quality scale, 3079th of 4,259 Development & Engineering skills we index.

Its SKILL.md is 2.1 KB long, split into 7 sections with 3 code examples: moderately detailed.

With 1,318 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
20/30
Structure
16/20
Description
12/15
Adoption
13/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 34 days ago, so yao-weread-skill is actively maintained.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

yao-weread-skill compared with similar skills

All 4 of these similar skills score higher than yao-weread-skill; compare them before choosing.

SkillScoreStarsUpdatedFormat
yao-weread-skill (this skill)by yaojingang761.3k34d agoSKILL.md
Agent-Reachby Panniantong10086.6k15d agoCLAUDE.md
headroomby headroomlabs-ai10074.2ktodayCLAUDE.md
ai-job-searchby MadsLorentzen10044.6k1d agoCLAUDE.md
claude-howtoby luongnv8910041.7ktodayCLAUDE.md

Frequently asked questions

How do I install yao-weread-skill?
Run npx skills add yaojingang/yao-open-skills --skill yao-weread-skill. The install tabs above show the steps for each supported agent.
Which AI agents does yao-weread-skill work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is yao-weread-skill safe to use?
It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is yao-weread-skill still maintained?
The repository was last updated 34 days ago, so yao-weread-skill is actively maintained.

name: yao-weread-skill description: 当用户需要分析微信读书阅读历史、生成读书报告、可视化阅读统计、笔记、书架、词云、热力图、雷达图,或导出精排 HTML 报告时使用。也适用于创建 AI 创业者示例阅读报告。不用于通用图书推荐,或不生成报告的原始微信读书 API 查询。

<!-- Copyright © 2026 姚金刚. All rights reserved. Project: yao-weread-skill Created by: 姚金刚 Date: 2026-05-16 X: https://x.com/yaojingang -->

Yao WeRead Skill

从微信读书账号数据生成精排中文 HTML 报告。默认范围为截至今天的最近 24 个月。

输入

  • 环境变量 WEREAD_API_KEY,格式遵循微信读书 skill 的要求。
  • 可选报告范围:--years、--start 或 --end。
  • 可选笔记深度:--max-note-books;省略或传 0 时处理微信读书返回的全部笔记书籍。
  • 可选输出目录。
  • 可选示例模式:--sample-ai-founder --sample-scale 5,不需要 WEREAD_API_KEY。

输出

流程会生成:

  • weread-report.html:参考 kami 排版风格的交互式 HTML 报告。
  • weread-report-data.json:聚合后的图表数据。
  • weread-raw-summary.json:不含密钥的 API 结构和计数摘要,便于复核。

报告还会生成一个读者画像模块:顶部诗性总结、1 条画像金句,以及从近两年划线中筛选出的最多 20 条高价值句子。原始划线和想法仅用于聚合分析与画像筛选。除非用户明确要求分享或发布,否则报告产物应视为私有内容。

工作流

  1. 调用 API 前先阅读微信读书 skill 文档:
    • shelf.md:书架计数、公开/私密规则。
    • readdata.md:阅读时长单位、周期规则、年度/月度字段。
    • notes.md:笔记分页、笔记数计算、划线/想法文本。
    • book.md:仅在需要书籍详情或阅读进度时使用。
  2. 运行 scripts/generate_weread_report.py。
  3. 检查生成的 HTML 至少包含 20 个图表面板,没有 TODO、占位文本或内嵌 API key。
  4. 检查矩形树图、热力图、横向条形图等高密度图表没有被默认边距压缩,没有右侧空白导致标签截断。
  5. 检查读者画像模块:金句必须来自画像划线清单第一条;真实账号模式不得编造划线,划线不足 20 条时如实少展示。
  6. 如果用户要求视觉验证,或报告排版有实质变化,使用浏览器打开生成的 HTML,并检查桌面、平板宽度和窄屏宽度。

命令

python3 scripts/generate_weread_report.py --output reports/generated

常用选项:

python3 scripts/generate_weread_report.py \
  --years 2 \
  --max-note-books 0 \
  --output reports/generated

AI 创业者示例报告:

python3 scripts/generate_weread_report.py \
  --years 2 \
  --sample-ai-founder \
  --sample-scale 5 \
  --output reports/generated/ai-founder-sample

报告设计

  • 视觉系统遵循 references/report-design.md。
  • 图表模块遵循 references/chart-catalog.md。
  • API 字段语义和降级规则遵循 references/data-contract.md。
  • 高密度图表必须显式设置容器占满、标签换行/隐藏策略和 resize 监听,避免 ECharts 默认布局留下空白。
  • 内容画像必须基于真实划线文本生成,顶部总结可以使用统计口径生成温暖、诗性但不冒充用户原文的描述。

边界

  • 真实账号模式下,不编造微信读书响应中不存在的阅读事件、笔记文本、评分或分类。
  • AI 创业者示例模式用于在不接入真实账号时生成可复用示例报告。
  • 不导出书籍全文;只使用用户自己的划线/想法,以及微信读书 skill 可访问的元数据。
  • 不存储或打印 WEREAD_API_KEY。
  • 无法获得精确滚动日期边界时,必须清楚标注月度或年度近似口径。

Related Skills

View on GitHub
GitHub Stars1.3k
CategoryDevelopment
Updated1mo ago
Forks147

Languages

HTML

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions