Introduction¶
Normally, your WeRead bookshelf, highlights, and reading duration are only accessible within the app. If you want to ask “How long did I read this month?” or “List the notes for a specific book” in a conversation, you usually have to capture interfaces yourself or take repeated screenshots. Here, we introduce the “WeRead” Skill on SkillHub: it connects search, bookshelf, notes, reviews, reading statistics, and recommendations to an Agent. It is driven by natural language and routes through the WeRead Agent API Gateway.
What is this¶
“WeRead” is a SkillHub community Skill located at @user_b4de96af/wxds123. It falls under the knowledge-management category, is published by user_b4de96af, and the current SkillHub page lists the version as v1.0.0. The description states: A WeRead assistant that supports searching for books, managing bookshelves, viewing note highlights, browsing book reviews, tracking reading statistics, and discovering recommended books.
The Skill itself follows a generic SKILL.md format: after the Agent reads the instructions, it calls https://i.weread.qq.com/api/agent/gateway as documented, adhering to conventions such as flattened parameters and reporting skill_version. The tag requires_api_key=true indicates that a WeRead API Key must be configured.
SkillHub page data (based on crawled data): Rating 100,000, Downloads 11,522.
Core Features¶
The following capabilities are consistent with the “Supported Capabilities” table in the installed SKILL.md. Select the corresponding reference documentation (e.g., search.md, shelf.md, notes.md) based on user intent.
| Capability | Description |
|---|---|
| Search Books | Search in the bookstore, e.g., “Help me search for ‘The Three-Body Problem’” |
| Book Info | Details, chapter directory, reading progress |
| Bookshelf Management | View bookshelf; counts must be calculated according to documentation rules (books, albums, etc.) |
| Reading Statistics | Reading duration, days, preferences, and statistical summaries |
| Note Highlights | Personal highlights, thoughts, bookmark counts, and content |
| Chapter Popular Highlights | Popular highlights within chapters and thoughts under highlights |
| Book Reviews | View public reviews for books |
| Book Recommendations | Personalized or similar recommendations |
All interfaces use POST JSON, with api_name specifying the specific path. When a user mentions only a book title, the system should first resolve the bookId via /store/search before performing subsequent operations. Responses may include weread:// deep links to facilitate opening books, chapters, or highlight locations within the app.
Installation & Activation¶
1. Install SkillHub CLI¶
If not already installed, follow the official SkillHub installation instructions:
command -v skillhub && skillhub --version
If not installed (full package or CLI only, depending on official documentation):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
2. Install this Skill¶
When installing, you must use --dir to point to the current Agent’s skills directory. Otherwise, it defaults to ./skills/ and may not be recognized.
skillhub install @user_b4de96af/wxds123 --dir <your skills directory>
Common path examples (from SkillHub installation docs):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
Alternatively, send the prompt provided on the official page to an AI to let it complete the installation via https://skillhub.cn/install/skillhub.md.
3. Configure API Key¶
The Skill requires the environment variable WEREAD_API_KEY in the format wrk-xxxxxxxx. The request header should be Authorization: Bearer $WEREAD_API_KEY. If not set, the Agent should prompt the user:
export WEREAD_API_KEY=<your apikey>
The Key is bound to the WeRead user identity (vid). Interfaces requiring user identity are injected by the gateway; manual transmission of vid is not required.
4. Invocation Conventions (Agent Side)¶
- Gateway:
POST https://i.weread.qq.com/api/agent/gateway - The body is JSON. Business parameters are flattened at the same level as
api_nameandskill_version; do not wrap them inparams. - Every request must include
skill_version. Theversionat the top of the installedSKILL.mdis1.0.3, which should match theskill_versionin the request. - If the response contains
upgrade_info, follow the instructions to upgrade before continuing.
Typical Usage¶
Conversational (Recommended for End Users)¶
In an Agent with the Skill enabled, you can use natural language directly, for example:
- “Help me search for ‘The Three-Body Problem’”
- “Check my bookshelf”
- “How long did I read this month?”
- “Check my notes in ‘The Three-Body Problem’”
- “Are there any reviews for the book ‘The Three-Body Problem’?”
- “Recommend some books to me”
The Agent will select the api_name and organize the response based on SKILL.md and the various *.md capability descriptions.
Direct Gateway Access (Troubleshooting or Scripts)¶
Search example (skill_version must match the current Skill documentation version):
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.3"}'
View the list of available interfaces:
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": "/_list", "skill_version": "1.0.3"}'
Use Cases & Notes¶
Who is it for?
- Heavy WeRead users who take notes and manage bookshelves and want to use Agents like Cursor or Claude Code for retrieval and summarization.
- Those who need to integrate reading data, highlights, and reviews into a conversational workflow rather than switching to a separate app to look for them.
Limitations & Notes
- A valid
WEREAD_API_KEYis required, and the Key is bound to the account; the gateway cannot be called without a Key. - Depends on the WeRead Agent API Gateway and Skill documentation versions. The version listed on SkillHub may differ from the
versionin the installedSKILL.md; configureskill_versionbased on the actual installed package. - Pagination parameters (such as
lastSort) must be flattened at the top level of the body; incorrect nesting will result in always returning the first page. - When displaying responses, timestamps and reading duration must be converted according to Skill specifications. Prioritize reference to the field meanings in the respective capability documentation files to avoid literal interpretations of field names.
Conclusion¶
The “WeRead” Skill consolidates bookstore search, bookshelf, note highlights, reviews, reading statistics, and recommendations into a unified set of Agent-readable SKILL.md and gateway invocation specifications, making it suitable for querying personal reading data within a conversation. For installation and details, see SkillHub:
- Page: https://www.skillhub.cn/skills/user_b4de96af/wxds123
- API Entry: https://api.skillhub.cn/user_b4de96af/wxds123