← 返回 Skills 市场
asaphko

Hardcover.app skill for tracking books you're reading, reading goal, and finding books you'd love to read

作者 Asaph M. Kotzin · GitHub ↗ · v1.0.7
cross-platform ✓ 安全检测通过
1724
总下载
1
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install hardcover
功能描述
Query reading lists and book data from Hardcover.app via GraphQL API. Triggers when user mentions Hardcover, asks about their reading list/library, wants book progress, searches for books/authors/series, or references "currently reading", "want to read", or "books I've read". Also use for syncing reading data to other systems (Obsidian, etc.) or tracking reading goals.
使用说明 (SKILL.md)

Hardcover GraphQL API

Query your reading library, book metadata, and search Hardcover's catalog.

Configuration

  • Env variable: HARDCOVER_API_TOKEN from https://hardcover.app/settings
  • Endpoint: https://api.hardcover.app/v1/graphql
  • Rate limit: 60 req/min, 30s timeout, max 3 query depth

Authentication

All queries require Authorization: Bearer {token} header (token from settings, add Bearer prefix):

curl -X POST https://api.hardcover.app/v1/graphql \
  -H "Authorization: Bearer $HARDCOVER_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"query": "query { me { id username } }"}'

Workflow

  1. Get user ID first — most queries need it:

    query { me { id username } }
    
  2. Query by status — use status_id filter:

    • 1 = Want to Read
    • 2 = Currently Reading
    • 3 = Read
    • 4 = Paused
    • 5 = Did Not Finish
  3. Paginate large results — use limit/offset, add distinct_on: book_id

Common Queries

Currently Reading with Progress

query {
  me {
    user_books(where: { status_id: { _eq: 2 } }) {
      user_book_reads { progress_pages }
      book {
        title
        pages
        image { url }
        contributions { author { name } }
      }
    }
  }
}

Library by Status

query ($userId: Int!, $status: Int!) {
  user_books(
    where: { user_id: { _eq: $userId }, status_id: { _eq: $status } }
    limit: 25
    offset: 0
    distinct_on: book_id
  ) {
    book {
      id
      title
      pages
      image { url }
      contributions { author { name } }
    }
  }
}

Search Books/Authors/Series

query ($q: String!, $type: String!) {
  search(query: $q, query_type: $type, per_page: 10, page: 1) {
    results
  }
}

query_type: Book, Author, Series, Character, List, Publisher, User

Book Details by Title

query {
  editions(where: { title: { _eq: "Oathbringer" } }) {
    title
    pages
    isbn_13
    edition_format
    publisher { name }
    book {
      slug
      contributions { author { name } }
    }
  }
}

Limitations

  • Read-only (no mutations yet)
  • No text search operators (_like, _ilike, _regex)
  • Access limited to: your data, public data, followed users' data
  • Tokens expire after 1 year

Entity Reference

For detailed field documentation on Books, Editions, Authors, Series, User Books, Activities, Lists, Goals, and other entities, see references/entities.md.

Response Codes

Code Meaning
200 Success
401 Invalid/expired token
429 Rate limited
安全使用建议
This skill is instruction-only and will use the HARDCOVER_API_TOKEN you provide to make read-only GraphQL requests to api.hardcover.app. Before installing, confirm you trust the skill source (homepage is hardcover.app) and understand that anyone with that token can access your Hardcover account data until you revoke it. If you have the option, use a token with limited scope or rotate/revoke the token after use. Because the skill can be invoked by the agent, consider whether you want automatic/unsupervised access to your reading data; if not, keep it user-invocable only. If you want additional assurance, ask the publisher for source code or verify an official marketplace listing.
功能分析
Type: OpenClaw Skill Name: hardcover Version: 1.0.7 The OpenClaw AgentSkills skill bundle for Hardcover.app is benign. It clearly defines its purpose as querying the Hardcover.app GraphQL API, requiring a `HARDCOVER_API_TOKEN` for authentication. The `SKILL.md` provides standard API usage instructions, including a `curl` example that interacts solely with `https://api.hardcover.app/v1/graphql` using the specified token. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, prompt injection attempts against the agent, or obfuscation. All provided GraphQL queries are read-only, fetching book and user data, which aligns perfectly with the skill's description.
能力评估
Purpose & Capability
Name/description and required asset (HARDCOVER_API_TOKEN) align: the skill only documents querying Hardcover's GraphQL endpoint for user/library/book data and searching the catalog. No unrelated services, binaries, or credentials are requested.
Instruction Scope
SKILL.md contains only API endpoint, authentication header format, rate/timeout guidance, and example GraphQL queries. It does not instruct the agent to read local files, access unrelated environment variables, or send data to endpoints other than https://api.hardcover.app/v1/graphql. The 'syncing to other systems (Obsidian, etc.)' mention is advisory and does not include instructions to exfiltrate data to third-party endpoints.
Install Mechanism
No install specification or packaged code is provided (instruction-only), so nothing is downloaded or written to disk by an installer. This minimizes install-time risk.
Credentials
Only one environment variable is required: HARDCOVER_API_TOKEN. That single credential is appropriate and proportionate for a skill that queries a user's Hardcover account. No unrelated secrets or multiple credentials are requested.
Persistence & Privilege
Skill is not always-enabled (always: false) and is user-invocable; it does not request persistent system modifications or cross-skill configuration changes. Being able to be invoked autonomously by the agent is the platform default and is not by itself concerning here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install hardcover
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /hardcover 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.7
Hardcover Skill v1.0.0 - Initial release: Query your reading lists and book data from Hardcover.app via GraphQL API. - Supports triggers for reading list/library, book progress, search for books/authors/series, syncing to other systems, and tracking reading goals. - Requires a Hardcover API token for authentication. - Includes documentation for common queries (reading status, progress, searching catalog). - Read-only access to your data, public data, and followed users’ reading. - Rate limited to 60 requests/minute; no text search operators or mutations yet.
元数据
Slug hardcover
版本 1.0.7
许可证
累计安装 2
当前安装数 2
历史版本数 1
常见问题

Hardcover.app skill for tracking books you're reading, reading goal, and finding books you'd love to read 是什么?

Query reading lists and book data from Hardcover.app via GraphQL API. Triggers when user mentions Hardcover, asks about their reading list/library, wants book progress, searches for books/authors/series, or references "currently reading", "want to read", or "books I've read". Also use for syncing reading data to other systems (Obsidian, etc.) or tracking reading goals. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1724 次。

如何安装 Hardcover.app skill for tracking books you're reading, reading goal, and finding books you'd love to read?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install hardcover」即可一键安装,无需额外配置。

Hardcover.app skill for tracking books you're reading, reading goal, and finding books you'd love to read 是免费的吗?

是的,Hardcover.app skill for tracking books you're reading, reading goal, and finding books you'd love to read 完全免费(开源免费),可自由下载、安装和使用。

Hardcover.app skill for tracking books you're reading, reading goal, and finding books you'd love to read 支持哪些平台?

Hardcover.app skill for tracking books you're reading, reading goal, and finding books you'd love to read 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Hardcover.app skill for tracking books you're reading, reading goal, and finding books you'd love to read?

由 Asaph M. Kotzin(@asaphko)开发并维护,当前版本 v1.0.7。

💬 留言讨论