Xpersona
T

Talebook

CLAWHUB · Unverified

Talebook(PoxenStudio)是个人书库管理系统,已更名为MyBooks,最新功能请使用PoxenStudio/MyBooks skill。提供电子书、有声书及实体书管理,包括存储、分类、搜索和元数据管理功能。你可以帮助用户:查询书库统计信息和阅读统计,搜索/浏览书籍,获取书籍详情,更新书籍元数据(书... Skill: Talebook Owner: poxenstudio Summary: Talebook(PoxenStudio)是个人书库管理系统,已更名为MyBooks,最新功能请使用PoxenStudio/MyBooks skill。提供电子书、有声书及实体书管理,包括存储、分类、搜索和元数据管理功能。你可以帮助用户:查询书库统计信息和阅读统计,搜索/浏览书籍,获取书籍详情,更新书籍元数据(书... Tags: latest:1.0.7 Version history: v1.0.7 | 2026-06-01T00:47:41.863Z | auto - 简要说明产品已更名为 MyBooks,并建议使用新版 PoxenStudio/MyBooks skill。 - description 字段同步标明现已支持有声书,并体现新品牌命名。 - 其余功能与接口保持不变。 v1.0.6 | 2026-03-24T07:09:51.

62
Rank
84
Safety
1.6k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.6K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s173jhrdgj35f8pz7vay4vakah83g5q1:talebook
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-poxenstudio-talebook/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

96,330 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: talebook
homepage: https://www.mybooks.top
allowed-tools: Bash(python3:*)
metadata: {"clawdbot":{},"openclaw":{"requires":{"bins":["python3"],"env":["TALEBOOK_HOST","TALEBOOK_USER","TALEBOOK_PASSWORD"]}}}
description: "Talebook(PoxenStudio)是个人书库管理系统,已更名为MyBooks,最新功能请使用PoxenStudio/MyBooks skill。提供电子书、有声书及实体书管理,包括存储、分类、搜索和元数据管理功能。你可以帮助用户:查询书库统计信息和阅读统计,搜索/浏览书籍,获取书籍详情,更新书籍元数据(书名、作者、标签、分类、简介等),自动联网填充书籍信息,发送书籍到邮箱或阅读器设备,上传电子书或通过ISBN添加实体书,管理阅读状态(想读/在读/已读/收藏),查看作者信息和分类信息"
---

# talebook

## Requirements
```bash
# 需要配置以下三个环境变量后方可使用
export TALEBOOK_HOST="http://127.0.0.1:8082"
export TALEBOOK_USER="admin"
export TALEBOOK_PASSWORD="your_password"

然后按如下方式执行:
<skill-installation-path>/scripts/talebook_api.py <tool-name> '<json-args>'
```

> **安全提示**:请勿将凭据写入共享或全局配置文件(如 `~/.openclaw/.env`),以避免凭据被其他 agent 或进程意外读取。建议通过会话级环境变量或专用密钥管理工具传入凭据。

## 通用响应格式与认证方式

### 通用 JSON 响应结构
所有 API 均返回如下格式:
```json
{
  "err": "ok",       // "ok" 表示成功,其他字符串表示错误码
  "msg": "...",      // 可选,人类可读的成功/错误说明
  "data": { }        // 可选,具体响应数据(因接口而异)
}
```

常见错误码:
| `err` 值 | 含义 |
|----------|------|
| `"ok"` | 操作成功 |
| `"user.need_login"` | 未登录或登录态已过期 |
| `"permission"` | 无权限执行该操作 |
| `"params.invalid"` | 请求参数错误 |
| `"params.book.invalid"` | 书籍不存在或 ID 错误 |
| `"task.running"` | 后台任务正在进行中,稍后重试 |

### 认证方式
- 脚本通过 `TALEBOOK_USER` / `TALEBOOK_PASSWORD` 环境变量自动调用 `/api/user/sign_in` 完成登录
- 服务端通过 **Secure Cookie**(`user_id` + `lt`)维持会话
- 若响应中出现 `err=user.need_login`,脚本会自动重新登录后重试一次;仍失败则报错退出
- **必须**在调用前配置 `TALEBOOK_HOST`、`TALEBOOK_USER`、`TALEBOOK_PASSWORD` 三个环境变量,否则脚本直接报错退出

---

## 工具列表

### `get_user_info` — 用户信息与系统统计

**使用场景**:获取当前登录用户信息,同时返回书库总体统计(书籍数、作者数等)

**参数**:无

**执行脚本**:
```bash
<skill-installation-path>/scripts/talebook_api.py get_user_info '{}'
```

**响应示例**:
```json
{
  "err": "ok",
  "user": { "is_login": true, "nickname": "管理员", "is_admin": true },
  "sys": { "books": 1280, "authors": 342, "tags": 86, "mtime": "2025-03-01" }
}
```

---

### `library_stats` — 书库统计

**使用场景**:获取书库详细统计,包括电子书/实体书数量及本月新增

**参数**:无

**执行脚本**:
```bash
<skill-installation-path>/scripts/talebook_api.py library_stats '{}'
```

**响应示例**:
```json
{
  "err": "ok",
  "stats": {
    "total_books": 1280,
    "ebook_count": 1210,
    "physical_count": 70,
    "month_ebook_count": 12,
    "month_physical_count": 3,
    "current_year": 2025,
    "current_month": 3
  }
}
```

---

### `reading_stats` — 阅读统计

**使用场景**:获取当前用户的阅读统计(在读/已读数量、本月数据)及当前在读书单

**参数**:无

**执行脚本**:
```bash
<skill-installation-path>/scripts/talebook_api.py reading_stats '{}'
```

**响应示例**:
```json
{
  "err": "ok",
  "stats": {
    "total_reading": 5,
    "total_read_done": 42,
    "month_reading": 2,
    "month_read_done": 3
  },
  "current_reading_books": [ /* 书籍对象列表 */ ],
  "month_read_done_books": [ /* 书籍对象列表 */ ]
}
```

---

### `search_books` — 搜索书籍

**使用场景**:
- 按书名或作者名搜索,支持简繁体自动转换
- "有没有余华的书?" / "找一下《三体》"

**参数**:

| 参数 | 类型 | 必填 | 默认值 | 说明 |
|------|------|------|--------|------|
| `name` | string | ✅ | — | 搜索关键词(书名或作者名) |
| `num` |

_meta.json

{
  "ownerId": "kn7efqfkfz4afhzzg8xd9bbcdh82drav",
  "slug": "talebook",
  "version": "1.0.7",
  "publishedAt": 1780274861863
}

skill-card.md

## Description:

Talebook helps an agent manage a Talebook/MyBooks personal library by querying library and reading statistics, searching books, updating metadata, uploading books, and sending books to email or reading devices.

This skill is ready for commercial/non-commercial use.

## Publisher:

[poxenstudio](https://clawhub.ai/user/poxenstudio)

### License/Terms of Use:

MIT-0

## Use Case:

External users and developers use this skill to operate a Talebook/MyBooks personal library through a Python command-line API client. It supports book discovery, metadata maintenance, reading-state updates, uploads, ISBN-based physical-book additions, and delivery to email or supported reading devices.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Credentials and session data are sent to a user-configured Talebook/MyBooks server.

Mitigation: Use only a server you control, prefer HTTPS, and avoid LAN or public HTTP hosts for credentialed use.

Risk: Book upload and delivery actions can send local files or books to configured destinations.

Mitigation: Confirm upload paths and recipient device or email destinations before execution, and do not provide paths to sensitive non-book files.

Risk: Library modification tools can change metadata, reading states, favorites, and collection entries.

Mitigation: Use a least-privileged Talebook account and review requested write operations before running them.

## Reference(s):

- [MyBooks homepage](https://www.mybooks.top)
- [ClawHub Talebook skill listing](https://clawhub.ai/poxenstudio/skills/talebook)

## Skill Output:

**Output Type(s):** [JSON, Shell commands, Guidance]

**Output Format:** [Markdown guidance with shell command examples and JSON API responses]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires python3 and TALEBOOK_HOST, TALEBOOK_USER, and TALEBOOK_PASSWORD environment variables.]

## Skill Version(s):

1.0.7 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Talebook and adjacent AI workflows.