aliyun-community
阿里云开发者社区 over HTTP
The connector injects ALIYUNCOMMUNITY_COOKIES as a JSON cookie array. Never print it.
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/aliyun_community.py" whoami
python3 "$SKILL_DIR/scripts/aliyun_community.py" draft --title "标题" --content-file /tmp/article.markdown
python3 "$SKILL_DIR/scripts/aliyun_community.py" draft --title "标题" --content-file /tmp/article.markdown --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
Only title and Markdown content go to articleDraft/putDraft; the script uses the connected c_csrf cookie for CSRF. Summary, tags and final publication are completed in the editor. This connection is independent of Aliyun cloud resource credentials.