WeChat Reading Comments and Highlights Extraction: Saving Bookshelf and Notes to Local Markdown

Preface

Highlights, thoughts, book reviews, and reading progress in WeChat Reading (微信读书) are kept within the App by default. To organize them into Markdown by book, search locally, or browse exported content on a single page, you often have to copy manually or write your own scripts to call the APIs. Below is a community Skill on SkillHub: “WeChat Reading Comments and Highlights Fetcher” (@user_568e5b5e/weread-sync, v1.0.0). It integrates the official CLI weread-sync’s login, incremental sync, and demo browsing into an Agent workflow, so you can trigger it with natural language.

What This Is

One-line description: In Agents that support Skills (such as Cursor), when you need to look up WeChat Reading books, highlights, notes, book reviews, and reading status, or when you want to sync data to local Markdown or open a local visualization demo, the Agent will call weread-sync following a fixed workflow.

  • Source and Hosting: Community-sourced, published by user_568e5b5e, categorized as data-analysis on SkillHub.
  • Dependencies: The Skill itself does not declare requires_api_key; actual data fetching depends on the globally installed npm package weread-sync on your machine, with the login state stored locally.
  • Official Entry Points: SkillHub Skill Page, API Coordinates Page.

Core Features

The following capabilities match the SKILL.md inside the installation package, all completed via weread-sync subcommands (with --json support for JSON output):

  1. Login and Status: login for QR code login; status to view login and sync status, as well as the number of synced books; logout to clear the local login state.
  2. Books and Reading Status: notebooks to list books with notes/highlights; books-status to categorize by reading / finished / other; book-probe to fetch single book details, highlights, book reviews, and chapters in real time.
  3. Export and Sync: sync to export books as local Markdown; incremental sync determines whether there are changes based on fingerprints like the number of notes, number of reviews, and reading progress—skipping unchanged books; --force for a full re-export; export-dir to view the export directory and whether data exists.
  4. Local Browsing: demo to start a local visualization page to browse synced books and Markdown notes.

Installation and Activation

1. Install the SkillHub CLI (if not already installed)

command -v skillhub && skillhub --version

If not installed, follow the SkillHub installation instructions:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

2. Install the Skill into the Current Agent’s skills Directory

During installation, you must use --dir to point to the current client’s skills directory; otherwise, it defaults to ./skills/ and the Agent may not recognize it. Common path examples:

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ in the project directory
skillhub install weread-sync --namespace user_568e5b5e --dir ~/.cursor/skills/

You can also ask the Agent to install it following the official prompt:

Please install `@user_568e5b5e/weread-sync` according to https://skillhub.cn/install/skillhub.md.

3. Install and Prepare the CLI Tool

The Skill requires the npm package to be installed globally first:

npm install -g weread-sync

After the above steps, when you mention viewing WeChat Reading data, syncing Markdown, or opening the demo in a conversation, the Agent will guide you to execute the corresponding commands according to the workflow in the Skill.

Typical Usage

The operation order defined in the Skill is as follows.

First Use: Login

weread-sync login

A QR code will be displayed, and the login state will be written to your local machine after scanning.

Pull and Export Markdown

weread-sync sync

For a full re-export:

weread-sync sync --force

View Progress and Book List (Optional)

weread-sync status
weread-sync notebooks
weread-sync books-status

Single Book Probe (Optional)

weread-sync book-probe

For specific book names or ID parameters, refer to the weread-sync built-in help (weread-sync book-probe --help).

Open Local Visualization Demo

weread-sync demo

On the Agent side, you can initiate a conversation directly with the intents described in the introduction, for example: “Sync my WeChat Reading highlights and notes to local Markdown”, “List books with notes”, or “Open the weread-sync demo page”.

Use Cases and Notes

Who It’s For

  • People who have accumulated highlights, thoughts, and book reviews in WeChat Reading over the long term and want to store them as local Markdown for search or secondary organization.
  • People who want to check reading status and book lists within Agent sessions without writing curl commands or querying APIs every time.

Usage Notes

  1. Node.js/npm must be installed on your machine, and npm install -g weread-sync must be executable.
  2. Data and login state are stored locally; you need to login again when switching machines or clearing the cache.
  3. sync uses incremental logic; if you suspect the export is incomplete, use --force for a full re-export.
  4. The Skill is a community contribution; page statistics (as of data retrieval): rating 100000, downloads 1838, installations 5; behavior is subject to the v1.0.0 and weread-sync versions installed on your machine.
  5. Unlike other WeChat Reading Skills on SkillHub (with similar names), this Skill’s coordinates are fixed as @user_568e5b5e/weread-sync; pay attention to --namespace user_568e5b5e during installation.

Conclusion

The “WeChat Reading Comments and Highlights Fetcher” consolidates QR code login, incremental Markdown sync, and local demo browsing into a set of Agent-executable instructions, making it suitable for moving reading data from the App into your local file system. For installation and command details, refer to the SkillHub page and the SKILL.md inside the package:

  • https://www.skillhub.cn/skills/user_568e5b5e/weread-sync
  • https://api.skillhub.cn/user_568e5b5e/weread-sync
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye