Skip to content
Back to skills

Twitter Api

ASecurity

Cookie-based Twitter/X automation toolkit (timeline, notifications, posting, follow ops) for OpenClaw agents.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
toolspythongitapi

Works with

  • cli
  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 20 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add johnalbertini14-glitch/openclaw-skills --skill twitter-api --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Twitter Api?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Twitter Api
[![Security: A โ€” Skills Directory](https://www.skillsdirectory.com/api/skills/johnalbertini14-glitch-twitter-api/badge)](https://www.skillsdirectory.com/skills/johnalbertini14-glitch-twitter-api)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: twitter-agent-skill
description: "Cookie-based Twitter/X automation toolkit (timeline, notifications, posting, follow ops) for OpenClaw agents."
metadata:
  openclaw:
    emoji: "๐Ÿฆ"
    requires:
      bins: ["python", "git"]
---

# 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.

Files in this skill

  • README.md2.4 KB
  • SKILL.md1.4 KB
  • _meta.json304 B
  • requirements.txt13 B
  • scripts/analyze_signal.py3 KB
  • scripts/fetch_notifications.py1.1 KB
  • scripts/follow_account.py2.6 KB
  • scripts/post_custom_tweet.py2.1 KB
  • scripts/timeline_summary.py2.6 KB
  • twitter_api/__init__.py441 B
  • twitter_api/api/__init__.py308 B
  • twitter_api/api/direct_message.py5.4 KB
  • twitter_api/api/profile.py10.9 KB
  • twitter_api/api/relationship.py18.1 KB
  • twitter_api/api/subscription.py3 KB
  • twitter_api/api/timeline_service.py13.2 KB
  • twitter_api/api/tweet.py18.8 KB
  • twitter_api/api/user.py30.3 KB
  • twitter_api/config/__init__.py148 B
  • twitter_api/config/settings.py2.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools โ†’

Comments

Loading commentsโ€ฆ

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.