Overview
- Skill Key
- gan12003/twitter-api
- Author
- gan12003
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/gan12003/twitter-api
- Latest Commit SHA
- ada6cc1b5c4003e260237f12b7573f35dc1a0856
Cookie-based Twitter/X automation toolkit (timeline, notifications, posting, follow ops) for OpenClaw agents.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 twitter-agent-skill 技能。 若已安装,则直接安装 twitter-agent-skill 技能。
# twitter-agent-skill ## Summary Async Twitter/X client and scripts that rely on auth_token + ct0 cookies (no official API keys). Supports: - Home timeline fetch + summary (`scripts/timeline_summary.py`). - Notifications fetch + signal analysis (`scripts/fetch_notifications.py`, `scripts/analyze_signal.py`). - Posting and follow automation via env-driven account labels (`scripts/post_custom_tweet.py`, `scripts/follow_account.py`). - Full async client (`twitter_api/`) with modules for tweets, users, relationships, DMs, etc. ## Setup 1. `pip install -r requirements.txt` (Python 3.10+). 2. Copy `.env.example` → `.env` and fill cookies per account (auth_token + ct0 from logged-in sessions). 3. Run scripts from repo root, e.g.: ``` python scripts/timeline_summary.py python scripts/post_custom_tweet.py account_a "hello" python scripts/follow_account.py thenfter07 ``` ## Notes - Env variable names are generic (`ACCOUNT_A_AUTH_TOKEN`, etc.); rename as needed and adjust `ACCOUNT_ENV` dicts in the scripts. - Respect Twitter/X ToS and do not spam. - Designed for GanClaw social ops, but neutral enough for other agents to reuse.
# Twitter Agent Skill Async tooling for Twitter/X automations that rely on cookie-based auth (`auth_token` + `ct0`). This packages the client wrappers and helper scripts we use in GanClaw’s social stack so other agents don’t have to rebuild the plumbing. ## Features - `twitter_api/` package (aiohttp) with modules for tweets, users, relationships, timeline service, etc. - Helper scripts under `scripts/`: - `timeline_summary.py` – fetch the home timeline and summarize top authors/topics. - `fetch_notifications.py` – pull notifications and store them as JSON. - `analyze_signal.py` – combine timeline + notifications into a markdown signal report. - `post_custom_tweet.py` – publish a tweet from any configured account. - `follow_account.py` – make every configured account follow a given handle. - Auth is session-based (same cookies your browser uses) so there’s no dependency on official API keys. ## Requirements - Python 3.10+ - `pip install -r requirements.txt` - `.env` file with session cookies for each account you want to automate. ### Environment variables Copy `.env.example` to `.env` and fill the cookies for each account you care about. Example: ``` ACCOUNT_A_AUTH_TOKEN=auth_token_here ACCOUNT_A_CT0=ct0_here ACCOUNT_B_AUTH_TOKEN= ACCOUNT_B_CT0= ... ``` You can rename the env keys—just update `ACCOUNT_ENV` in the helper scripts so the labels match the keys you choose. ## Usage ``` git clone https://github.com/GAN12003/twitter-agent-skill.git cd twitter-agent-skill python -m venv .venv && .venv\Scripts\activate pip install -r requirements.txt copy .env.example .env # fill in your auth_token + ct0 values # timeline + notification summaries python scripts/timeline_summary.py python scripts/fetch_notifications.py python scripts/analyze_signal.py # posting / following (pass one of the logical account labels) python scripts/post_custom_tweet.py account_a "hello from the telemetry deck" python scripts/follow_account.py thenfter07 ``` All scripts load the `...
heyixuan2
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).
edholofy
University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning required.
lethehades
macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance
capt-marbles
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.
carev01
Full-text search across structured Markdown documentation archives using SQLite FTS5. Use when you need to search large collections of Markdown articles that are separated by "---" delimiters and contain source URLs (marked with "*Source:" pattern). Provides fast BM25-ranked search with automatic source URL extraction for citations. Ideal for research, documentation lookups, and knowledge base exploration. Requires indexing documentation first with `docs.py index`.
caqlayan
Tweet Processor Skill