WeRead Official Skills: Invoking Bookshelf, Notes, and Reading Data within Agents

Preface

Many people keep their reading records, highlights, and bookshelf in WeChat Reading, yet when working with AI they still have to manually copy book titles and open the app to check progress. General web search also cannot access the bookshelf or notes under your account. This article introduces the “WeChat Reading Official Skills” on SkillHub: they package book search, bookshelf, notes and highlights, book reviews, reading statistics, and recommendations into Agent-callable Skills. Driven by natural language, data is served through the WeChat Reading Agent API Gateway.

What This Is

One-line positioning: a WeChat Reading assistant Skill that calls WeChat Reading interfaces via a unified gateway, enabling the Agent to complete operations related to store search, personal bookshelf, and reading data.

  • Listing coordinates: @user_0b9d349a/weread-skills-official
  • SkillHub page: https://www.skillhub.cn/skills/user_0b9d349a/weread-skills-official
  • Version: SkillHub shows v1.0.0; the SKILL.md inside the Skill package may declare a higher version. When calling the API, the skill_version in the request body must match the installed Skill documentation.
  • Source: SkillHub is marked as community, published by user_0b9d349a; the capability description is aligned with skills/SKILL.md in Tencent’s WeChatReading repository (overview, gateway address, and capability table are consistent).
  • Category: life-service; tags include requires_api_key=true. A WeChat Reading API Key must be configured before use.

Core Functions

The capabilities below are consistent with the SkillHub overview and the “Supported capabilities” table in SKILL.md. The Agent selects the corresponding documentation file (e.g., search.md, shelf.md, notes.md) based on intent, then makes a gateway request.

Capability Description
Search books Store search; can search by book title based on user intent
Book info Details, chapter/table of contents, reading progress
Bookshelf management View the bookshelf (including e-books, audiobooks, etc.; item rules are documented in the Skill)
Notes & highlights Personal notes, highlights, thoughts/bookmarks; popular highlights by chapter
Reading statistics Reading duration, days, preferences, and statistics summary
Book reviews Browse public reviews of books
Book recommendations Personalized or similar recommendations

Unified API entry:

POST https://i.weread.qq.com/api/agent/gateway

Authentication: Authorization: Bearer $WEREAD_API_KEY. The key format is wrk-xxxxxxxx, bound to the WeChat Reading user identity. For interfaces that require a user identity, the server injects it; you do not need to manually specify a vid in parameters.

Installation and Activation

See the SkillHub installation guide at https://skillhub.cn/install/skillhub.md. First confirm whether the skillhub CLI is present on your machine; if not, install it via the official installation script in that document. When installing the Skill, you must point --dir to the current Agent’s skills directory; otherwise it defaults to ./skills/, which may not be loaded by the Agent.

command -v skillhub && skillhub --version

skillhub install user_0b9d349a/weread-skills-official --dir <your Agent skills directory>

Common skills directories (excerpted from the SkillHub installation doc):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

You can also give the Agent the following prompt so it completes installation per skillhub.md:

Please install `@user_0b9d349a/weread-skills-official` according to https://skillhub.cn/install/skillhub.md.

Install from the Tencent repository (optional)

Another installation method provided in the Tencent WeChatReading repository README:

npx skills add Tencent/WeChatReading -g

If you mainly obtain this Skill from SkillHub, use the coordinate user_0b9d349a/weread-skills-official as the source. Regardless of the installation method, you must complete API Key configuration in the next section.

Configure the API Key

  1. Obtain a personal API Key at https://weread.qq.com/r/weread-skills.
  2. Set the environment variable:
export WEREAD_API_KEY=wrk-xxxxxxxx

If not set, the Skill will prompt you to export this variable first. The key is bound to your account; do not commit it to repositories or logs.

Typical Usage

Natural language (after installation and Key configuration)

Just chat with the Agent; examples from the repository README:

Search for The Three-Body Problem.
Show my bookshelf.
How long did I read this month?
Export my highlights from this book.
Recommend a few books.
What are the popular highlights in this book?
What are the reviews for The Three-Body Problem?

After loading the Skill, the Agent will choose an api_name based on intent and call the gateway. When the user provides only a book title, it typically runs /store/search first to resolve the bookId before calling subsequent APIs (see the Skill’s general rules).

Call the gateway directly (check connectivity)

The request is JSON. api_name, business parameters, and skill_version are placed flat at the top level of the body; do not wrap them inside params:

curl -X POST "https://i.weread.qq.com/api/agent/gateway" \
  -H "Authorization: Bearer $WEREAD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"api_name": "/store/search", "keyword": "三体", "count": 10, "skill_version": "1.0.5"}'

Replace skill_version with the value of the version field at the top of the installed SKILL.md. A non-zero errcode in the response indicates an error; you can send {"api_name": "/_list"} to view the list of available APIs. If the response contains upgrade_info, upgrade the Skill as instructed before continuing.

Use Cases and Notes

Who it suits

  • You have long accumulated a bookshelf, highlights, and reading time in WeChat Reading, and want to use an Agent like Cursor / Claude Code for retrieval, summarization, and book selection instead of repeatedly opening the app to copy data.
  • Developers or individual users willing to apply for and securely keep a WEREAD_API_KEY.

Limitations and notes

  • Depends on the WeChat Reading Agent API Gateway and a valid API Key; the SkillHub side is a community distribution. The version number follows your locally installed SKILL.md, which may differ from v1.0.0 shown on the SkillHub page. Use the skill_version required by the gateway as the source of truth.
  • All personal data requests are authenticated via your Key. Configure environment variables only in trusted environments.
  • The Skill imposes detailed constraints on display formatting, pagination parameters, bookshelf counts, etc. (e.g., converting timestamps to dates, reading duration in seconds). The Agent should follow SKILL.md and the per-capability docs to avoid misreading fields.

SkillHub currently shows a rating of 100000 and about 46707 downloads (based on page statistics); this can inform Skill selection but does not represent an API SLA.

Closing

“WeChat Reading Official Skills” converge search, bookshelf, notes, statistics, reviews, and recommendations from within a WeChat Reading account into a set of Agent Skills and a unified gateway, making it easy to integrate reading data into everyday AI workflows. See SkillHub for installation and details: https://www.skillhub.cn/skills/user_0b9d349a/weread-skills-official . API entry documentation is also available at https://api.skillhub.cn/user_0b9d349a/weread-skills-official 。

羽毛球分组比赛记分
小程序二维码

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

Xiaoye