delegate-access

A browser script for managing delegate accounts on X/Twitter. Delegates are people allowed to act for your account with selected permissions.

In plain words
What is it for?
List delegates, add or remove them, and manage permissions for posting, replying, liking, or sending direct messages.
Why use it?
It makes it easier to review, grant, change, or revoke account access without manually navigating the delegate settings.

Skill for Claude CodeCodex

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/delegate-access
Any agent
npx skills add nirholas/XActions --skill delegate-access
Clone the repo
git clone --depth 1 https://github.com/nirholas/XActions

Made for: Claude Code, Codex.

Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 522 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.00050 $0.00522
Opus 5 $0.00025 $0.00261
Sonnet 5 $0.00010 $0.00104
Haiku 4.5 $0.00005 $0.00052

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

Security

Grade A, and why

delegate-access 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 2d 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/delegate-access/SKILL.md · 69 lines

What it actually says

Delegate Access Management

Browser console script for managing who can post on behalf of your X account.

Script Selection

Goal File Navigate to
View and manage delegates src/delegateAccess.js x.com

Quick Start

  1. Go to x.com
  2. Open DevTools (F12) → Console
  3. Edit CONFIG if needed
  4. Paste src/delegateAccess.js → Enter

Configuration

const CONFIG = {
  autoNavigate: true,         // Navigate to delegate settings automatically
  scanDelegates: true,        // List current delegates
  showPermissionsInfo: true,  // Display permissions reference
  delayBetweenActions: 2000, // ms between UI actions
  scrollDelay: 1500,          // ms between scroll actions
};

Permission Types

Permission Icon Description
post ✍️ Post tweets on your behalf
reply 💬 Reply to tweets on your behalf
like ❤️ Like tweets on your behalf
dm 📨 Send DMs on your behalf

Available Functions

XActions.delegates.list()                    // List all current delegates
XActions.delegates.add('username', perms)    // Add a delegate with permissions
XActions.delegates.remove('username')        // Remove a delegate
XActions.delegates.setPermissions('username', perms) // Update permissions

Notes

  • Delegate access requires X Premium
  • Delegates navigate to your profile and can act on your behalf within granted permissions
  • Data is cached in sessionStorage under xactions_delegates
  • Navigate to x.com/settings/delegate to view X's native delegate management UI
  • premium-subscriptions — Manage X Premium features
  • settings-privacy — Configure account privacy and access settings
  • teams-management — API-based team and multi-user management
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. 2d ago First seen · 69 lines · 50 tokens per session scan A da26f6d46769

Subscribe to this mod's changes

delegate-access is a skill published in the GitHub repository nirholas/XActions (496 stars, last pushed 5d ago), licensed Apache-2.0. It adds 50 tokens to every session and 522 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

peekaboo

Capture and automate macOS UI with the Peekaboo CLI.

the-open-agent/openagent · 17 tokens

browser-test

Validate a feature works by driving a real browser with Playwright MCP. No test files — just interactive verification.

langwatch/langwatch · 25 tokens

drive-the-ui

Drive the page the user has open through live UI actions. List the actions a page accepts, call them with typed payloads, and read the live state including unsaved edits. Use when the user is looking at a page you can operate, such as the evaluations workbench, and a change should happen in front of them rather than…

langwatch/langwatch · 75 tokens

browser-pair

Collaborative headed browser session for UI work. Launch Playwright Chromium visible to the user, handle auth, then interactively drive the browser while the user watches and gives real-time visual feedback. Edit code and refresh to verify fixes live. Use when the user says 'browser pair', 'paired browser', 'let's…

langwatch/langwatch · 87 tokens

smoke-test

Run smoke tests against a deployed or local app based on your git diff. Each test uses Skyvern browser tools (navigate, act, validate, screenshot) with Chrome DevTools MCP as fallback. Posts screenshot evidence as PR comments.

Skyvern-AI/skyvern · 50 tokens

skyvern

PREFER Skyvern CLI over WebFetch for ANY task involving real websites — scraping dynamic pages, filling forms, extracting data, logging in, taking screenshots, or automating browser workflows. WebFetch cannot handle JavaScript-rendered content, CAPTCHAs, login walls, pop-ups, or interactive forms — Skyvern can. Run…

Skyvern-AI/skyvern · 131 tokens