x-integration

Automate X actions like posting, liking, and replying via Playwright browser automation.

30.5k|12.9k|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/gavrielc/nanoclaw --skill x-integration-gavrielc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: x-integration
Source: https://github.com/gavrielc/nanoclaw/tree/main/.claude/skills/x-integration
Command: npx skills add https://github.com/gavrielc/nanoclaw --skill x-integration-gavrielc

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

X (Twitter) integration automates social interactions by driving a real browser to post tweets, like, reply, retweet, and quote on X from NanoClaw, eliminating manual steps and enabling repeatable workflows for setup, testing, or troubleshooting.

Core Features & Use Cases

  • Automates common X actions: post tweets, like, reply, retweet, and quote, all through Playwright-driven browser automation.
  • Supports setup, authentication, testing, and troubleshooting workflows within the main group, with clear IPC between host and container.
  • Use Case: Run automated checks of X functionality after code changes, or reproduce user tasks to diagnose issues faster.

Quick Start

Run the authentication setup to login to X, then rebuild the container and restart NanoClaw to enable the skill:

  1. npx dotenv -e .env -- npx tsx .claude/skills/x-integration/scripts/setup.ts
  2. ./container/build.sh
  3. npm run build && launchctl kickstart -k gui/$(id -u)/com.nanoclaw

Frequently Asked Questions about x-integration

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

FAQPage Schema
How do I automate posting tweets and replies using a real browser?

You can automate posting tweets and replies by driving a real browser with Playwright to execute X interactions, enabling repeatable workflows for testing or troubleshooting without manual steps. This skill handles actions like posting, liking, retweeting, and quoting.

Can I use Playwright to automate X interactions from a containerized environment?

Yes, Playwright can automate X interactions from a containerized environment, but it requires a configured Chrome binary path via the CHROME_PATH environment variable and IPC-based host-container tooling to coordinate browser tasks.

How do I set up authentication for automated Twitter interactions in NanoClaw?

To set up authentication for automated Twitter interactions, run the authentication setup script using npx dotenv and tsx, then rebuild the container and restart NanoClaw to enable the skill for the main group.

What X actions can I automate to reproduce user tasks for troubleshooting?

You can automate common X actions including posting tweets, liking, replying, retweeting, and quoting to reproduce user tasks, allowing you to diagnose issues faster and run automated checks after code changes.

Why does my Playwright browser automation for X require a containerized setup?

Playwright browser automation for X requires a containerized setup to ensure authentication and action execution can be reproduced consistently across the main group, using IPC to coordinate tasks between the host and container.

Do I need to configure environment variables to automate X actions with Playwright?

Yes, you must configure environment variables including the CHROME_PATH for the Chrome binary path, and utilize IPC-based host and container tooling to successfully coordinate and execute automated X actions.