Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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…

AceDataCloudот AceDataCloud★ 17 звёзд на GitHub

Об этом скилле

豆瓣日记 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.

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 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. 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.

Полный SKILL.md на GitHub

Установить douban в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/native-content.mdscripts/douban.pyscripts/publishing_http.py

FAQ

Что делает скилл 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.

Как установить скилл douban?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл douban запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить douban с