resources/skills/post-to-x/SKILL.md
Post tweets to X.com (Twitter) using the system browser's login state
npx skillsauth add aidotnet/opencowork resources/skills/post-to-xInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Automatically post tweets to X.com (Twitter) using the system Edge/Chrome browser's login state.
pip install playwright
playwright install chromium
python scripts/post_to_x.py "Your tweet content"
python scripts/post_to_x.py "First line\nSecond line\n#hashtag"
# Simple tweet
python scripts/post_to_x.py "Hello X! 👋"
# Multi-line tweet
python scripts/post_to_x.py "🚀 New product launch!\n\n✨ Feature 1: xxx\n✨ Feature 2: yyy\n\n#ProductLaunch #NewFeature"
If using for the first time:
| Issue | Solution |
| ---------------------------- | ---------------------------------------------- |
| Prompts for login every time | Close Edge browser before running the script |
| Post button click fails | Script automatically uses JavaScript click |
| Page load timeout | Check network connection, or add --wait flag |
%LOCALAPPDATA%\Microsoft\Edge\User Datatools
Product Design workflow plugin for OpenCowork. Use when the user mentions Product Design or asks to design, redesign, audit, research, prototype, clone a URL, turn an image or screenshot into code, generate UI directions, manage saved product design context, or share a runnable prototype.
development
Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When GLM needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks
development
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When GLM needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas
testing
Search Xiaohongshu (Rednote) by keyword and extract note image URLs and titles with Playwright. Use when the user wants 小红书搜索结果抓取、图片链接提取或标题采集导出。Supports terminal JSON output and optional local text export.