x-twitter-browser

Automate posting, replying, liking, and bookmarking on X via saved browser session.

Updated Mar 27, 2026
One-click install
npx skills add https://github.com/rumihut/job-researcher-landing --skill x-twitter-browser
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: x-twitter-browser
Source: https://github.com/rumihut/job-researcher-landing/tree/main/skills/x-twitter-browser
Command: npx skills add https://github.com/rumihut/job-researcher-landing --skill x-twitter-browser

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, and includes scripts (resource) components.

What problem does it solve?

This skill enables automation of posting, replying, reposting, liking, and bookmarking on X by using a saved real-browser session instead of the official API.

Core Features & Use Cases

  • Session management: log in via a visible browser and save cookies that are reused for subsequent actions.
  • Action layer: post tweets, reply to tweets, repost/quote posts, like/unlike, and bookmark/remove bookmarks using headless Playwright.
  • Real-world usage: run on servers or VMs where API access is restricted or unavailable, with persistent login across actions.

Quick Start

Run the two-phase login flow (setup_session.py) to save your session cookies, then run the action scripts (e.g., post_tweet.py, reply_post.py) to perform X actions.

Frequently Asked Questions about x-twitter-browser

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

FAQPage Schema
How do I automate X actions without the official API?

Automate X actions without the official API by running headless Playwright scripts that reuse a saved real-browser session. You can post tweets, reply, like, and bookmark on servers where API access is restricted or unavailable.

How do I set up a persistent browser session for X automation?

Set up a persistent browser session by running the setup_session.py script in a visible browser. This logs you in and saves your cookies to ~/.openclaw/auth/x-twitter/cookies.json, which are reused for subsequent headless automation actions.

Can I run X automation scripts on a headless server or VM?

Yes, you can run X automation scripts on a headless server or VM. Once the session cookies are saved via an initial visible browser login, the Playwright scripts execute actions headlessly, supporting long-running automation scenarios.

Does Playwright support posting tweets and replying with saved cookies?

Yes, Playwright supports posting tweets and replying using saved cookies. The skill executes dedicated scripts under scripts/ to perform actions like posting, reposting, liking, and bookmarking by reusing the stored browser session.

What are the limitations of using a saved browser session for X automation?

The main limitation of using a saved browser session for X automation is the requirement of an initial visible browser login to generate the cookies file. If the stored session expires, you must manually re-run the setup session flow to re-authenticate.