engagement-interaction

engagement-interaction is a skill for Claude Code, Codex from nirholas/XActions. It costs 85 tokens per session (1,140 once invoked), scanned A, original, Apache-2.0.

Browser automation for interacting with posts on X/Twitter, including likes, replies, reposts, bookmarks, and hidden replies.

In plain words
What is it for?
Like or unlike posts, reply with text or media, bookmark posts, hide replies, automatically like posts by keyword, and engage with every post in a feed.
Why use it?
It removes repetitive engagement work across individual posts, feeds, searches, profiles, and hashtags.

Skill for Claude CodeCodex

Part of the xactions plugin — 50 skills, 1 command, 8 agents, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/nirholas/xactions/engagement-interaction
Any agent
npx skills add nirholas/XActions --skill engagement-interaction
Clone the repo
git clone --depth 1 https://github.com/nirholas/XActions

Made for: Claude Code, Codex.

Or install xactions, the plugin that ships this one along with the rest of its 50 skills, 1 command, 8 agents, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for engagement-interaction

README.md
[![agentmods](https://agentmods.dev/badge/skills/nirholas/xactions/engagement-interaction.svg)](https://agentmods.dev/skills/nirholas/xactions/engagement-interaction)
Your own site
<a href="https://agentmods.dev/skills/nirholas/xactions/engagement-interaction"><img src="https://agentmods.dev/badge/skills/nirholas/xactions/engagement-interaction.svg" alt="Measured on agentmods" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,140 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00085 $0.01140
Opus 5 $0.00043 $0.00570
Sonnet 5 $0.00017 $0.00228
Haiku 4.5 $0.00009 $0.00114

Measured 4d ago against content hash efdbca275ec4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

engagement-interaction scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/engagement-interaction/SKILL.md · 116 lines

How it starts

The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Engagement & Interaction

Browser automation for X/Twitter engagement — liking, replying, bookmarking, hiding replies, and bulk unlike.

Script Selection

Goal File Navigate to
Like/unlike/reply/bookmark tweets src/engagementManager.js Tweet URL or timeline
Auto-like by keyword src/engagementManager.js x.com/home or search page
Get engagement analytics for a post src/engagementManager.js Tweet URL
Hide replies on your posts src/engagementManager.js Reply URL
Unlike ALL liked posts src/unlikeAllPosts.js x.com/USERNAME/likes
Like + repost + reply to EVERY post in a feed (profile, search, list, hashtag, home) scripts/engageProfile.js, xactions engage , or MCP x_engage the feed itself, or any terminal

Engagement Manager

File: src/engagementManager.js

Puppeteer-based module for individual and bulk engagement actions.

Functions

Function Purpose
likeTweet(page, tweetUrl) Like a specific tweet (skips if already liked)
unlikeTweet(page, tweetUrl) Unlike a specific tweet
replyToTweet(page, tweetUrl, text, { media? }) Reply with text and optional media
bookmarkTweet(page, tweetUrl) Bookmark a tweet
unbookmarkTweet(page, tweetUrl) Remove a bookmark
hideReply(page, replyUrl) Hide a reply on your post
autoLikeByKeyword(page, { keywords, limit, delay, url }) Auto-like posts matching keywords
getEngagementAnalytics(page, tweetUrl) Get likes, reposts, replies, impressions

Auto-Like by Keyword

Scrolls a timeline or search page and likes posts containing any of the specified keywords. Empty keywords array likes all posts.

await autoLikeByKeyword(page, {
  keywords: ['AI', 'javascript'],
  limit: 20,
  delay: 2000,
  url: 'https://x.com/home',
});

Reply to Tweet

Navigates to a tweet, types a reply, optionally attaches media, and submits.

Read the full file on GitHub · 116 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 116 lines · 85 tokens per session scan A efdbca275ec4

Subscribe to this mod's changes

engagement-interaction is a skill published in the GitHub repository nirholas/XActions (502 stars, last pushed today), licensed Apache-2.0. It adds 85 tokens to every session and 1,140 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.