x

Post tweets, read timelines, and follow users via X API v2.

Updated Apr 1, 2026
One-click install
npx skills add https://github.com/CactusByte/ReginaldOS --skill x-cactusbyte
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: x
Source: https://github.com/CactusByte/ReginaldOS/tree/main/skills/x
Command: npx skills add https://github.com/CactusByte/ReginaldOS --skill x-cactusbyte

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, python-dotenv, and includes scripts (resource) components.

What problem does it solve?

Post and manage X activity (Twitter) from ReginaldOS, eliminating manual switching between apps and enabling automated posting, timeline access, and engagement workflows.

Core Features & Use Cases

  • Post tweets to X on behalf of the authenticated account
  • Read timelines and user profiles to inform engagement
  • Follow users and manage interactions within automated workflows

Quick Start

Post a tweet using the built-in X tools by telling the agent what to say.

Frequently Asked Questions about x

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate posting tweets using the X API v2?

Automate posting tweets using the X API v2 by authenticating with an OAuth2 user token and instructing the agent to compose and submit the post on your behalf.

Do I need different tokens to read timelines and post tweets on X?

Yes, reading timelines requires a Bearer token for read operations, while posting tweets and following users require an OAuth2 user token for write actions.

Can I read user mentions and timelines in an automated X workflow?

You can read user mentions and timelines within automated X workflows by utilizing the built-in tools to fetch timeline data using your Bearer token.

What's the best way to handle X API tokens safely in development?

Handle X API tokens safely by using environment-safe handling practices that store Bearer and OAuth2 tokens securely in your environment configuration.

Does this automation approach use curl for X API requests?

No, this approach relies on built-in tools and Python requests rather than curl to execute X API v2 operations for reading timelines and posting tweets.

How do I follow users automatically through the X API?

Follow users automatically through the X API by providing the target user details to the agent, which executes the follow action using your OAuth2 user token.