x-webmcp

x-webmcp is a skill for Codex from holon-run/webmcp-bridge. It costs 54 tokens per session (983 once invoked), scanned A, original, MIT.

A browser-connected tool for using X, the social network formerly known as Twitter, and its Grok chat assistant. It works through a signed-in browser profile.

In plain words
What is it for?
Reading timelines, inspecting posts, publishing posts or articles, and chatting with Grok on X.
Why use it?
It lets an agent read and interact with X without manually switching between pages. It also handles checking the browser session before using account-related actions.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: $skill-name invocation.

Good fit Reading timelines, inspecting posts, publishing posts or articles, and chatting with Grok on X.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/holon-run/webmcp-bridge/x-webmcp
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.

Any agent
npx skills add holon-run/webmcp-bridge --skill x-webmcp
Clone the repo
git clone --depth 1 https://github.com/holon-run/webmcp-bridge

Made for: Codex.

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 x-webmcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/holon-run/webmcp-bridge/x-webmcp/github.svg)](https://agentmods.dev/skills/holon-run/webmcp-bridge/x-webmcp)
Your own site
<a href="https://agentmods.dev/skills/holon-run/webmcp-bridge/x-webmcp"><img src="https://agentmods.dev/badge/skills/holon-run/webmcp-bridge/x-webmcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for x-webmcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/holon-run/webmcp-bridge/x-webmcp"><img src="https://agentmods.dev/badge/skills/holon-run/webmcp-bridge/x-webmcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 983 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00054 $0.00983
Opus 5 $0.00027 $0.00491
Sonnet 5 $0.00011 $0.00197
Haiku 4.5 $0.00005 $0.00098

Measured 9d ago against content hash 79020230251c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

x-webmcp 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 9d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/ensure-links.sh, scripts/validate.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/x-webmcp/SKILL.md · 90 lines

How it starts

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

X WebMCP

Use this skill to operate X through the built-in --site x bridge preset in @webmcp-bridge/local-mcp.

For generic bridge setup patterns or non-X sites, switch to $webmcp-bridge.

Prerequisites

  • uxc is installed and available in PATH.
  • npx is installed and available in PATH.
  • Network access to https://x.com.
  • On a fresh machine, or under an isolated HOME, install Playwright browsers first with npx playwright install.
  • X is auth-sensitive. Expect bootstrap_then_attach behavior when the profile is not signed in yet.

Core Workflow

  1. Ensure the fixed X link exists:
    • command -v x-webmcp-cli
    • if missing or pointed at the wrong profile, run skills/x-webmcp/scripts/ensure-links.sh
  2. Inspect the bridge and tool schema before calling tools:
    • x-webmcp-cli -h
    • x-webmcp-cli timeline.home.list -h
    • x-webmcp-cli grok.chat -h
    • x-webmcp-cli article.publishMarkdown -h
  3. Check authentication state first when the profile is new or looks stale:
    • x-webmcp-cli bridge.session.status
    • x-webmcp-cli auth.get
    • if the session is not ready, start bootstrap or switch to headed:
      • x-webmcp-cli bridge.session.bootstrap
      • x-webmcp-cli bridge.session.mode.set '{"mode":"headed"}'
      • x-webmcp-cli bridge.open
  4. Use read tools for timelines, conversations, and profiles:
    • x-webmcp-cli timeline.home.list limit=10
    • x-webmcp-cli search.tweets.list '{"query":"playwright","mode":"latest","limit":10}'
    • x-webmcp-cli tweet.get '{"url":"https://x.com/.../status/..."}'
    • x-webmcp-cli tweet.conversation.get '{"id":"2033895522382319922","limit":10}'
    • x-webmcp-cli user.get username=jack
  5. Use write tools only after reading help and confirming user intent:
    • x-webmcp-cli tweet.create '{"text":"hello from webmcp","dryRun":true}'
    • x-webmcp-cli tweet.reply '{"id":"2033895522382319922","text":"reply text","dryRun":true}'
    • x-webmcp-cli article.publishMarkdown '{"markdownPath":"/abs/path/post.md","dryRun":true}'
  6. Use Grok through the same authenticated X session:
    • x-webmcp-cli grok.chat '{"prompt":"Summarize this thread","timeoutMs":180000}'
    • for uploads, pass absolute local file paths in attachmentPaths
  7. Parse JSON output only:
    • success path: .ok == true, consume .data
    • failure path: .ok == false, inspect .error.code and .error.message

Read the full file on GitHub · 90 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 90 lines · 54 tokens per session scan A 79020230251c

Subscribe to this mod's changes

x-webmcp is a skill published in the GitHub repository holon-run/webmcp-bridge (27 stars, last pushed 5mo ago), licensed MIT. It adds 54 tokens to every session and 983 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

webcmd-browser

Use when a live browser task requires Playwright interaction, authenticated handoff, visible UI verification, or ad-hoc page inspection.

agentrhq/webcmd · 30 tokens

moli-webfetch

Fetch, inspect, crawl, and capture live, JavaScript-rendered websites with Moli. Use when Codex needs current web content, web research, fact lookup, link following, a bounded crawl, client-rendered or response-gated content, network diagnostics, or a standalone HTML, Markdown, JSON, semantic-tree, viewport or…

lexmount/moli · 90 tokens

moli-cdp-server

Start Moli's CDP server and connect Playwright, Puppeteer, or raw CDP clients. Use to run a headless-browser CDP endpoint, replace a Chromium process, attach over CDP, enable real layout and screenshot surfaces, or diagnose CDP discovery, connection, and target startup—even when Moli is not named.

lexmount/moli · 74 tokens

playwright-rs-usage

Procedural reference for using playwright-rs in Rust browser-automation code — object model (Browser/Context/Page/Locator), the locator!() macro, builder pattern for options, auto-wait semantics, adding the crate and installing its browsers, and how to capture / inspect traces for failure diagnosis. Use when writing…

padamson/playwright-rust · 98 tokens

opensteer

Direct browser control via CDP. Use when the user wants to automate, inspect, scrape, test, or interact with web pages.

steerlabs/opensteer · 31 tokens

browser-automation-expert

Drive a real browser to navigate, extract data and complete flows on sites without an API: scraping, crawling, authentication, dynamic content and anti-bot handling. Use when the user mentions web scraping, crawling, browser automation, Puppeteer or headless Chrome, wants data pulled from a website, needs a login or…

personamanagmentlayer/pcl · 94 tokens