neodb

NeoDB 书影音标注助手 — 通过 API 替代网页/客户端完成所有 NeoDB 操作。支持搜索条目、标记(想看/在看/看过/放弃)、评分、短评、长评、笔记、收藏单、标签管理。触发场景:(1) 用户提到 NeoDB、书影音、标记、想看、看过、在读、读完、评分、评论 (2) 用户要搜索/标注书籍、电影、剧集、音乐、游戏、播客、演出 (3) 用户要管理书架、收藏单、标签 (4) 用户提到豆瓣链接需要导入 NeoDB

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "neodb" with this command: npx skills add gitnapp/neodb

NeoDB 书影音标注助手

通过 NeoDB API 替代网页/客户端完成搜索、标注、评论等全部操作。

前置条件

需要环境变量(~/.claude/settings.jsonenv):

  • NEODB_TOKEN — OAuth Access Token(必须)
  • NEODB_INSTANCE — 实例域名(可选,默认 neodb.social

首次使用运行鉴权:bash scripts/setup-auth.sh [instance]

API 调用模板

# GET
curl -s -H "Authorization: Bearer $NEODB_TOKEN" \
  "https://${NEODB_INSTANCE:-neodb.social}/api/{endpoint}"

# POST (JSON)
curl -s -X POST -H "Authorization: Bearer $NEODB_TOKEN" \
  -H "Content-Type: application/json" -d '{...}' \
  "https://${NEODB_INSTANCE:-neodb.social}/api/{endpoint}"

所有写入操作执行前必须向用户确认。

核心工作流

搜索 → 标记(最常用)

# 1. 搜索
curl -s "https://${NEODB_INSTANCE:-neodb.social}/api/catalog/search?query={关键词}&category={类型}"
# category: book, movie, tv, movie,tv, music, game, podcast, performance

# 2. 标记
curl -s -X POST -H "Authorization: Bearer $NEODB_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"shelf_type":"complete","visibility":0,"rating_grade":8,"comment_text":"短评","tags":["标签"],"post_to_fediverse":false}' \
  "https://${NEODB_INSTANCE:-neodb.social}/api/me/shelf/item/{uuid}"

shelf_type: wishlist=想看, progress=在看, complete=看过, dropped=放弃 visibility: 0=公开, 1=仅关注者, 2=私密 rating_grade: 1-10(五星对应: 2/4/6/8/10),0=不评分

从外部链接导入

curl -s "https://${NEODB_INSTANCE:-neodb.social}/api/catalog/fetch?url={豆瓣/IMDB/Goodreads链接}"
# 302=已存在(提取URL中UUID), 202=抓取中(等15秒重试), 422=不支持

浏览书架

curl -s -H "Authorization: Bearer $NEODB_TOKEN" \
  "https://${NEODB_INSTANCE:-neodb.social}/api/me/shelf/{type}?category={category}&page=1"
# type: wishlist, progress, complete, dropped
# category: book, movie, tv, music, game, podcast, performance

写长评

curl -s -X POST -H "Authorization: Bearer $NEODB_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"title":"标题","body":"正文(Markdown)","visibility":0,"post_to_fediverse":false}' \
  "https://${NEODB_INSTANCE:-neodb.social}/api/me/review/item/{uuid}"

写笔记

curl -s -X POST -H "Authorization: Bearer $NEODB_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"title":"标题","content":"内容","visibility":0,"progress_type":"page","progress_value":"120"}' \
  "https://${NEODB_INSTANCE:-neodb.social}/api/me/note/item/{uuid}/"
# progress_type: page, chapter, timestamp, percentage, null

完整 API 参考

按需查阅,不必全部加载:

输出格式

搜索结果:

📖 书名 — 作者
   ⭐ 8.5/10 (120人) | UUID: xxx

标记成功:

✅ 已标记「书名」为 读过 ⭐⭐⭐⭐ (8/10)
   短评:评论内容 | 标签:标签1, 标签2

错误处理

状态码含义处理
401未授权检查 NEODB_TOKEN
404未找到条目不存在
202抓取中等 15 秒重试 fetch
429频率限制等待重试

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Gigo Lobster Resume

🦞 GIGO · gigo-lobster-resume: 续跑入口:v2 stable 当前会清理旧 checkpoint 并从头重跑;保留此 slug 作为旧 checkpoint 兼容入口。 Triggers: 继续试吃 / 恢复评测 / resume tasting / continue lobster...

Registry SourceRecently Updated
General

YiHui CONTEXT MODE

context-mode is an MCP server that saves 98% of your context window by sandboxing tool outputs. It routes large file reads, shell outputs, and web fetches th...

Registry SourceRecently Updated
General

xinyi-drink

Use when users ask about 新一好喝/新一咖啡 drinks, stores, menu, activities, Skill用户大礼包, today drink recommendations, afternoon tea, feeling sleepy, or personalized...

Registry SourceRecently Updated
General

vedic-destiny

吠陀命盘分析中文入口。用于完整命盘研判、命主盘 Rashi chart 与九分盘 Navamsha chart 联读、既往事件回看、出生时间稳定度判断、事业主题、婚姻主题、时空盘专题,以及基于 Jagannatha Hora PDF、星盘截图或文本命盘数据的系统拆盘。当用户提到完整星盘、事业方向、婚姻问题、关系窗...

Registry SourceRecently Updated