WeRead Assistant
Paste the following prompt into your AI chat to install this skill:
Please follow the installation guide at https://skillhub.cn/install/skillhub.md to install the skill @user_0b9d349a/weread-skills-official.
About this skill
Background: The Challenge of Automating WeRead Data Management
WeRead, a popular reading app, accumulates rich personal data such as notes, highlights, reading time, and preferences. However, its official client lacks an open API, making it difficult for users to automatically extract or analyze this data. Manual efforts are time-consuming, error-prone, and cannot enable cross-platform integration—for example, generating an annual reading summary or batch-viewing book notes is limited to in-app features without programmatic access.
Core Capabilities and Workflow of the Skill
This skill leverages an Agent API Gateway to call WeRead's private interfaces, enabling programmatic data access. Its capabilities span the full reading lifecycle:
- Book Search and Info Retrieval: Use /store/search to find books by keyword, returning bookId and other details; fetch chapter directories and reading progress via /book/detail.
- Shelf and Reading Statistics: Manage the bookshelf with /shelf/sync, supporting albums/audiobooks (calculated as books.length + albums.length + (mp非空 ? 1 : 0)); generate reading summaries including time, days, and preference analysis through /readdata/summary.
- Notes and Review Management: View highlights and thoughts via /book/bookmarklist, retrieve public reviews with /book/readreviews, and analyze popular highlight trends.
- Personalized Recommendations: Discover books through /discover/recommendations, expanding reading exploration.
Key Workflow Steps:
1. Authentication Setup: Configure the environment variable WEREAD_API_KEY (format wrk-xxxxxxxx); include Authorization: Bearer $WEREAD_API_KEY in request headers, with the API automatically associating user identity.
2. Request Construction: Send POST requests with JSON body containing mandatory skill_version: "1.0.3" and api_name (e.g., /shelf/sync). Business parameters must be flattened at the root level—never nest them in objects like params.
3. Response Processing: Parse the JSON response and check errcode; if upgrade_info appears, immediately pause and upgrade the skill before retrying. Field interpretation must follow dedicated documentation (e.g., readdata.md), not literal translation.
4. Result Presentation规范: Use numbered lists for easy selection; convert timestamps (e.g., updateTime) to YYYY-MM-DD format; transform reading time from seconds to "X hours Y minutes"; for books, chapters, or highlights, construct deep links (e.g., https://weread.qq.com/web/reader/...) to open directly in the app.
Constraints and Applicability
- Data Dependencies: Requires stable internet; API responses depend on WeRead's service status, potentially returning error codes that need user checks or retries.
- Permission Limits: Some interfaces (e.g., note export) may have API permission constraints, preventing full data access; bookshelf counts must strictly follow the documented formula to avoid errors.
- Field Accuracy: Response field names may conflict with intuition (e.g.,
count); explanation must refer to the corresponding documentation (e.g.,shelf.md), avoiding guesses based on experience. - Upgrade Mechanism: The skill version is reported via
skill_version; the server may returnupgrade_infoto trigger mandatory updates, which—if ignored—could disable functionality. - Use Cases: Suitable for personal reading data analysis, automated note organization, or integration development, but does not support batch book modifications or direct reading control (e.g., page-turning); limited to query and statistics operations.
Use Cases
- When writing reading notes or a book review article, need to extract highlights, thoughts, and public reviews for a specific book from WeRead to organize as content material.
- When assessing individual or team reading habits, need to call interfaces to get past week/month reading time, completed books count, and preference analysis for creating or adjusting reading plans.
- When managing a personal digital library, need to sync the WeRead bookshelf, calculate total books, albums, and audiobooks using a specific formula, and view current reading progress for each book.
- When exploring new books, need to quickly search the book store by keywords or interests, and check book details, chapter directories, and popular highlights to aid selection decisions.
Best For
- Students who need to generate monthly reading reports for academic reflection, course assignments, or reading club sharing.
- Book bloggers or content creators who regularly share reading insights on social media and need to export highlights and thoughts as creative material.
- Team leaders or training managers who need to aggregate reading data of department members to assess learning plan progress or organize reading events.
- Personal knowledge managers who wish to integrate WeRead data like notes and reviews into other note-taking software for long-term storage and cross-referencing analysis.
Related Skills
The Tencent Map Assistant generates travel guides, searches locations, plans routes, and resolves address coordinates via natural language, rendering results into maps or mini-program guides.
Offline 15-question self-assessment for evaluating economic stress levels and coping abilities, providing five-dimensional analysis and advice without login.
Generates an offline HTML test page to assess spending tendencies and financial judgment in romantic relationships.
Transforms todos into focus units, tracks focus sessions, and generates visual reports to manage attention flow.