← 返回 Skills 市场
ryandeathridge

clawdible -audiobooks

作者 Ryan · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
113
总下载
2
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install clawdible-audiobooks
功能描述
Search, browse, and manage Audible audiobooks. Use when the user wants to search for audiobooks on Audible, view their library, get book details, purchase a...
使用说明 (SKILL.md)

Clawdible

Manage Audible via the audible Python library (unofficial API). Works across platforms — macOS, Linux, Windows.

Dependencies

Both scripts auto-install dependencies on first run via pip:

  • audible — unofficial Audible API client
  • httpx — HTTP client

No manual pip install needed.

Locating the scripts

Resolve the skill directory at runtime:

SKILL_DIR=$(python3 -c "
import subprocess, json
skills = subprocess.check_output(['openclaw', 'skills', '--json'], text=True)
for s in json.loads(skills):
    if s['name'] == 'clawdible':
        print(s['path']); break
" 2>/dev/null || find ~/.openclaw -name 'audible_cli.py' -path '*/clawdible/*' 2>/dev/null | head -1 | xargs dirname)

SCRIPT="python3 $SKILL_DIR/audible_cli.py"
AUTH="python3 $SKILL_DIR/audible_auth.py"

Or use the path OpenClaw provides when loading this skill (available as the skill's directory).

Setup (one-time)

Auth stored at ~/.config/audible/auth.json (chmod 600).

Step 1 — generate login URL:

python3 audible_auth.py --locale us

Send URL to user. They open it on any device and sign into Amazon.

Step 2 — after login, Amazon redirects to https://www.amazon.com/ap/maplanding.... User pastes that URL:

python3 audible_auth.py --callback '\x3Credirect URL>'

Verify:

python3 audible_cli.py status

Locale options: us, au, uk, de, ca, fr, in, it, jp, es Auth file's locale_code is auto-detected; override with --locale if needed.

Commands

All commands accept --locale LOCALE and --json.

# Auth status
python3 audible_cli.py status
python3 audible_cli.py status --locale us

# Search catalogue
python3 audible_cli.py search "Project Hail Mary"
python3 audible_cli.py search "Andy Weir" --limit 5 --locale us

# View library
python3 audible_cli.py library
python3 audible_cli.py library --limit 50

# Get book details
python3 audible_cli.py info B08G9PRS1K

# Purchase (requires explicit --confirm — always verify with user first)
python3 audible_cli.py buy B08G9PRS1K --confirm

# Wishlist
python3 audible_cli.py wishlist
python3 audible_cli.py wishlist add B08G9PRS1K

Workflow

Typical search-and-buy:

  1. search — find title, note the ASIN
  2. info \x3Casin> — confirm correct edition/narrator
  3. Confirm purchase with user verbally
  4. buy \x3Casin> --confirm — execute purchase

Never run buy without explicit user confirmation.

Marketplace

  • Auto-detects locale from auth file
  • Override with --locale when needed (e.g. user's account is US but located in AU)
  • Fallback purchase URL on API failure: https://www.audible.com/pd/\x3Casin> (adjust domain per locale)

Error Handling

Error Cause Fix
No auth file Not set up Run audible_auth.py
401/403 Token expired Re-run audible_auth.py
404 Wrong ASIN or locale Try different --locale
429 Rate limited Wait and retry
Buy fails API blocked Send manual URL to user
InvalidValue on auth Code expired Start auth flow again

Notes

  • audible library is unofficial — Amazon may change their API without notice
  • Auth tokens auto-refresh via device private key; re-auth only needed if device is deregistered
  • Auth file is chmod 600 (owner-only read/write)
安全使用建议
This skill appears to do what it claims: it uses the unofficial 'audible' Python library to manage an Audible account and stores tokens under ~/.config/audible/auth.json. Before installing, consider: 1) The scripts will pip-install dependencies at first run without pinned versions — that can fetch arbitrary code from PyPI, so review/verify the 'audible' package and consider running in an isolated environment (virtualenv). 2) The auth flow requires pasting an Amazon redirect URL and will store credentials locally; review the auth file if you have concerns and ensure its permissions remain private. 3) Purchases require an explicit --confirm flag in the CLI, but avoid granting the agent autonomous privilege to execute purchase commands on your behalf. If you want extra safety, inspect the included Python files yourself or run them manually rather than letting an agent invoke them automatically.
功能分析
Type: OpenClaw Skill Name: clawdible-audiobooks Version: 1.0.1 The skill implements an auto-installation mechanism in both `audible_auth.py` and `audible_cli.py` that uses `subprocess.check_call` to execute `pip install` for the 'audible' and 'httpx' packages. While this aligns with the documentation's claim of 'no manual pip install needed,' automatically installing third-party dependencies at runtime is a high-risk behavior that could be leveraged for supply chain attacks or arbitrary code execution. The rest of the code appears to be a legitimate implementation of an Audible API client with proper credential handling (chmod 600).
能力评估
Purpose & Capability
Name/description match the delivered artifacts: scripts implement searching, library queries, info, wishlist and purchase via the unofficial 'audible' Python library. No unrelated env vars, binaries, or config paths are requested.
Instruction Scope
SKILL.md instructs generation/completion of an Audible OAuth flow, running the included scripts, and storing auth at ~/.config/audible/auth.json. The instructions do not ask the agent to read unrelated system files or exfiltrate data to unexpected endpoints; external network activity is limited to Audible/Amazon and PyPI (for dependency installs).
Install Mechanism
There is no registry install spec; both scripts auto-install dependencies at first run using pip (audible, httpx) without pinned versions. This is coherent with the skill but carries the normal supply-chain risk of runtime pip installs from PyPI.
Credentials
No environment variables or external credentials are requested. The skill legitimately reads/writes auth files under ~/.config/audible (auth.json, auth_state.json) to store Audible tokens — this is expected for the stated purpose. The use of chmod 600 is appropriate. No other credentials or unrelated config paths are accessed.
Persistence & Privilege
Skill is not always-enabled and does not request elevated platform privileges or modify other skills' configurations. It stores its own auth under the user's home config directory only.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawdible-audiobooks
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawdible-audiobooks 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
clawdible-audiobooks v1.0.1 - Updated documentation for improved clarity and completeness about setup, dependencies, and usage. - Expanded instructions for cross-platform compatibility, script auto-location, and dependency handling. - Clarified command examples, workflows, and error causes/fixes. - Enhanced usage trigger phrases and user guidance for all key features.
v1.0.0
Version 1 - an openclaw skill for controlling your personal audible account, browsing, buying etc
元数据
Slug clawdible-audiobooks
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

clawdible -audiobooks 是什么?

Search, browse, and manage Audible audiobooks. Use when the user wants to search for audiobooks on Audible, view their library, get book details, purchase a... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 113 次。

如何安装 clawdible -audiobooks?

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

clawdible -audiobooks 是免费的吗?

是的,clawdible -audiobooks 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

clawdible -audiobooks 支持哪些平台?

clawdible -audiobooks 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 clawdible -audiobooks?

由 Ryan(@ryandeathridge)开发并维护,当前版本 v1.0.1。

💬 留言讨论