Reads a connected Baijiahao account and saves HTML article drafts using login cookies. Prepares HTML fragments and creates private drafts for final review in the platform editor.
Ships in acedatacloud-content. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
The connector injects BAIJIAHAO_COOKIES as a JSON cookie array. Never print it.
Use the bundled stdlib-only script; resolve this skill's own directory if
SKILL_DIR points to another skill loaded in the same turn.
python3 "$SKILL_DIR/scripts/baijiahao.py" whoami
python3 "$SKILL_DIR/scripts/baijiahao.py" draft \
--title "标题" --content-file /tmp/article.html
python3 "$SKILL_DIR/scripts/baijiahao.py" draft \
--title "标题" --content-file /tmp/article.html --confirm
The first draft command is a local dry run: no cookies or network are needed.
--confirm must be the final argument and actually saves a private draft.
Use it only when the user's request authorizes that draft and its content.
This CLI has no public-publish command; a request to publish should produce
a draft and clearly hand off the returned edit URL for final review/publication.
Prepare an HTML fragment, not Markdown source. Render headings, paragraphs, lists and code blocks before calling the script, and inspect the complete draft preview. The local size cap is 4 MiB; account/platform limits may be lower. External images are not downloaded or re-hosted. Verify them in the editor and upload replacements there if hotlinking fails. The script does not claim originality, enroll the article in a campaign, or select a public cover.
On expired login, CAPTCHA, WAF or rate-limit errors, inspect the account and reconnect at https://studio.acedata.cloud/console/connectors if needed; an HTTP 403 alone does not establish that the cookie expired. Do not retry in a loop. After any uncertain write, check the existing draft list before another attempt.
Return draft_id, edit_url and status=draft. The editor URL is not a public
article URL. Do not call publish_artifact for this draft. Account lookup or a
saved draft does not prove public publication.
The account endpoint, editor token and draft-save wire format were inspected in Wechatsync's Baijiahao adapter and cross-checked against the account/editor routes in cose. The CLI is an independent Python implementation; no GPL source is bundled. Tests use mocked responses. An authenticated live draft has not been validated as part of adding this connector.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
baijiahao, article-drafts, content-creation, chinese-platform
/acedatacloud-content:baijiahaofrom acedatacloud-content
npx claudepluginhub acedatacloud/skills --plugin acedatacloud-content15 skills in this plugin
/aliyun-communityUse 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./content-fanoutAdapt one canonical technical source into reviewed drafts for explicitly named connected channels, publish only selected targets, and collect verified URLs with channel attribution./doubanUse 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.Other plugins' skills for the same job