Overview
- Skill Key
- asaphko/hardcover
- Author
- asaphko
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/asaphko/hardcover
- Latest Commit SHA
- dbdb0c448d44e2eeb297d0f8c76757a88139b84d
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.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 hardcover 技能。 若已安装,则直接安装 hardcover 技能。
# 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):
```bash
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:
```graphql
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
```graphql
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
```graphql
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
```graphql
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
```graphql
query {
editions(where: { title: { _eq: "Oathbringer" } })...
youmind-openlab
AI skill for OpenClaw & Claude Code — recommend from 10000+ Nano Banana Pro (Gemini) image prompts. Smart search by use case, content remix, sample images.
23blocks-os
AI Agent Orchestrator with Skills System - Give AI Agents superpowers: memory search, code graph queries, agent-to-agent messaging. Manage Claude, Codex or any AI Agent from one dashboard. Move Agents between computers and locations
hashgraph-online
AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols. Works with Claude, Codex, Cursor, OpenClaw, and any AI assistant.
rito-w
A cross-platform skills manager for AI IDEs. Search marketplace, download locally, and install to Claude, Cursor, Windsurf, and more with one click.
besoeasy
Battle-tested skill library for AI agents. Save 98% of API costs with ready-to-use code for crypto, PDFs, search, web scraping & more. No trial-and-error, no expensive APIs.
zeropointrepo
YouTube Transcript API skills for AI agents. Get transcripts, search videos, browse channels. Works with OpenClaw, ClawdBot, Claude Code, Cursor, Windsurf.