Install
openclaw skills install toutiao-publisherClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
Publish articles to Toutiao (Today's Headlines). Handles persistent authentication (login once) and session management. Opens browser for interactive publishing.
openclaw skills install toutiao-publisherManage Toutiao (Today's Headlines) account, maintain persistent login session, and publish articles.
Trigger when user:
The skill requires a one-time login. The session is persisted for subsequent uses.
# Browser will open for manual login (scan QR code)
python scripts/run.py auth_manager.py setup
Instructions:
# Opens browser with authenticated session at publish page
python scripts/run.py publisher.py
Instructions:
Ctrl+C in the terminal when done.Note: Toutiao requires titles to be 2-30 characters. This tool automatically optimizes titles to fit this constraint (truncating if >30, padding if <2).
You can fully automate the publishing process by providing arguments:
# Publish with title, content file, and cover image
python scripts/run.py publisher.py --title "AI Trends 2025" --content "article.md" --cover "assets/cover.jpg" --headless
# Check authentication status
python scripts/run.py auth_manager.py status
# Clear authentication data (logout)
python scripts/run.py auth_manager.py clear
patchright to launch a persistent browser context. Cookies and storage state are saved to data/browser_state/state.json.patchright's stealth features to avoid bot detection..venv) with required dependencies.scripts/auth_manager.py: Handles login, session validation, and state persistence.scripts/publisher.py: Launches authenticated browser for publishing.scripts/run.py: Wrapper ensuring execution in the correct virtual environment.