x-integration

Automate X post, like, reply, retweet, and quote actions via Playwright scripts.

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/zhaosj0315/nanoclaw --skill x-integration-zhaosj0315
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: x-integration
Source: https://github.com/zhaosj0315/nanoclaw/tree/main/.claude/skills/x-integration
Command: npx skills add https://github.com/zhaosj0315/nanoclaw --skill x-integration-zhaosj0315

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

X integration for NanoClaw enables automation of Twitter (X) interactions from within the NanoClaw environment. It reduces manual browser tasks for posting, liking, replying, retweeting, and quoting, enabling reliable testing and operation.

Core Features & Use Cases

  • Automates browser-based X actions: post, like, reply, retweet, and quote via Playwright-driven scripts.
  • Enables setup, testing, and troubleshooting of X functionality directly from NanoClaw workflows.
  • Use Case: Run a quick test post or reply to a tweet from WhatsApp to verify the X integration in a controlled environment.

Quick Start

Follow the step-by-step guide to authenticate with X, configure environment variables (CHROME_PATH, NANOCLAW_ROOT), rebuild the container, and restart the service. Then you can issue commands like "setup x" or "twitter integration" to exercise the tool.

Frequently Asked Questions about x-integration

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

FAQPage Schema
How do I automate Twitter interactions using Playwright browser automation?

You can automate Twitter interactions by using Playwright-driven scripts within a NanoClaw environment to control a persistent Chrome profile for posting, liking, replying, retweeting, and quoting.

Can I trigger automated X posts from a WhatsApp message?

Yes, you can trigger automated X posts from WhatsApp by using the container-host IPC tools and WhatsApp-triggered workflow that route commands to the Playwright-based browser automation scripts.

Do I need a specific Node environment to run browser automation for X?

Yes, running browser automation for X requires a Node environment, a Chrome or Chromium browser, and configured environment variables in a .env file to establish the persistent profile.

What is the best way to set up and test X integration in a container?

The best way to set up and test X integration in a container is to authenticate with X, configure environment variables like CHROME_PATH, rebuild the container, and restart the service using the setup scripts.

Why does my X browser automation stop working across different host environments?

X browser automation may stop working across host environments if the persistent Chrome profile is lost, environment variables in .env are misconfigured, or the container-host IPC tools fail to connect.