# Delegate Access

> Delegate Access is an Agent Skill for apps & automation published in the nirholas/XActions repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Add, remove, and manage delegate accounts on X/Twitter. Delegates can post, reply, or like on behalf of your account. Use when users want to grant or revoke access to their account for a team member or manager.

- Skill name: `delegate-access`
- Category: [Apps & Automation](https://www.openparable.com/skill/apps-automation/1)
- Source: https://github.com/nirholas/XActions/blob/HEAD/skills/delegate-access/SKILL.md
- Repository: nirholas/XActions (385 GitHub stars when collected)

## SKILL.md

# 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

```js
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

```js
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

## Related Skills

- **premium-subscriptions** — Manage X Premium features
- **settings-privacy** — Configure account privacy and access settings
- **teams-management** — API-based team and multi-user management

---

Source: https://www.openparable.com/skill/apps-automation/delegate-access (OpenParable). Cite the canonical URL above.
