Skip to content
Skills Library
Marketing & content · Automation

douban

/douban

Use direct HTTP with the user's 豆瓣日记 login cookies to inspect the account and create private notes. Use for 豆瓣日记 article preparation; no paired browser is required for execution.

Repository
Skills ↗
Licence
Apache-2.0
Last repository change
13.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
2
HTML comments
0
URLs in SKILL.md
2
Deprecation

No signals detected. Repository changed on 13.11.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What to check before installing
  • 2 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/douban.py, scripts/publishing_http.py

What it does and when to use it

Use direct HTTP with the user's 豆瓣日记 login cookies to inspect the account and create private notes. Use for 豆瓣日记 article preparation; no paired browser is required for execution.

Original author description

Use direct HTTP with the user's 豆瓣日记 login cookies to inspect the account and create private notes. Use for 豆瓣日记 article preparation; no paired browser is required for execution.

How it works

  1. Platform contract
  2. Content and outcomes
  3. Protocol evidence
Original SKILL.md headings · 32 lines, 446 words
SKILL.md preview
---
name: douban
description: Use direct HTTP with the user's 豆瓣日记 login cookies to inspect the account and create private notes. Use for 豆瓣日记 article preparation; no paired browser is required for execution.
connections:
  - douban
allowed_tools:
  - Bash
license: Apache-2.0
metadata:
  author: acedatacloud
  version: '2.0'
---

# 豆瓣日记 over HTTP

The connector injects `DOUBAN_COOKIES` as a JSON cookie array. Never print it or remove quoting from cookie values; the client preserves the browser-captured representation.
Use this bundled Python standard-library client. It talks directly to the platform's web endpoints; no local browser or browser fallback runs during execution. Login cookies are initially captured by the ACE extension and encrypted in the connection vault.

```bash
python3 "$SKILL_DIR/scripts/douban.py" whoami
python3 "$SKILL_DIR/scripts/douban.py" post-private --title "标题" --content-file /tmp/article.txt
python3 "$SKILL_DIR/scripts/douban.py" post-private --title "标题" --content-file /tmp/article.txt --confirm
```

`SKILL_DIR` belongs to the most recently loaded skill. When switching back to this platform after loading another skill, load this skill again and immediately invoke its client through `SKILL_DIR`. Do not search shared cache directories for a script: they can contain older bundles.
Without trailing `--confirm`, writes only build a local preview: no cookies or network are accessed. Use `--confirm` only when the user's request authorizes that exact content, account and action. The script does not infer public-publication permission from a draft request.

## Platform contract

**This creates a real private note, not a draft.** The current topic endpoint replaced the old note autosave API. The only write command is `post-private`, always with `accessible=private`; there is no public-publish command. Obtain authorization for creating a private post. Default `text` input is literal prose; use [native content](references/native-content.md) and `--format native` for Draft.js formatting. Report `status=private_post`, never `draft` or public delivery.

## Content and outcomes

- Preserve the complete article. The client does not re-host images or fetch external media. Use already hosted images and verify them in the editor; do not silently strip an image or change the content to make a request pass.
- The default input format is `text`. Plain text does not render Markdown. Native editor JSON must be prepared explicitly and checked against the source before submission.
- Account lookup must succeed before a write. A timeout, non-JSON/WAF page, missing result ID or business error stops the flow. Never retry a write through another route/browser automatically; inspect the original item first.
- Responses expose only selected account/result fields. Raw errors, CSRF tokens and cookies are never printed. HTTP 403 can mean WAF or account restrictions, not necessarily expiry. Reconnect at <https://studio.acedata.cloud/console/connectors> when login is invalid.
- A successful save response is **not** independent readback. Results include `readback_verified=false`; inspect/reopen the returned item before claiming the complete text persisted. No HTTP public publication is implemented.
- Do not call `publish_artifact` as delivered for a draft or private post.

## Protocol evidence

Request/response contracts inspected in [Wechatsync](https://github.com/wechatsync/Wechatsync/blob/42f61e39e214b8d5377d09d788a716defc4abdc0/packages/core/src/adapters/platforms/douban.ts). The Python implementation is independent; no GPL source is bundled. Offline tests verify the wire contract and failure handling, not current live-account publishing access.
Files in this package (4)
  • SKILL.md 4 KB
  • references/native-content.md 1 KB
  • scripts/douban.py 3 KB
  • scripts/publishing_http.py 11 KB

Versions

The database has no other skills named douban.

Database snapshot: 13.11.2026 · package version c47ab6f11293 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100jianshu
    Use direct HTTP with the user's 简书 login cookies to inspect the account and save article drafts. Use for 简书 article preparation; no paired browser is required for execution.
  • 100infoq
    Use direct HTTP with the user's InfoQ 写作社区 login cookies to inspect the account and save article drafts. Use for InfoQ 写作社区 article preparation; no paired browser is required for execution.
  • 100douban-skill
    Export and sync Douban (豆瓣) book/movie/music/game collections to local CSV files via Frodo API. Supports full export (all history) and RSS incremental sync (recent items). Use when the user wants to export Douban reading/watching/listening/gaming history, back up their Douban…
  • 100douban-book-notes
    Generate a source-backed, shareable Chinese Markdown reading note from a Douban book URL. Use when the user provides a Douban book link and asks for 读书笔记, book notes, book summary, reading reflection, 图文并茂笔记, or a Markdown article that combines book metadata, high-quality…
  • 100book-note-writer
    生成深度读书笔记的专用 Skill。输入书籍的豆瓣链接(或书名+作者),自动搜索书籍信息、高质量书评、学术评价等素材,结合 Claude 的深度思考,生成图文并茂、观点鲜明、适合分享的读书笔记,以 Markdown 格式保存到项目 markdown/ 目录。触发条件:用户提供豆瓣链接、提到"读书笔记"、"书评"、"帮我分析这本书"、"写一篇XX书的笔记",或任何希望深度理解一本书的场景。即使用户只说"帮我写一下这本书的感悟",也应使用本 skill。

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.