Skills

Twitter Agent

Build and run a Twitter/X agent with a distinct personality and automated workflows

Install

npx skills add BankrBot/skills --skill twitter-agent -g -a claude-code -y
Repository
BankrBot/skills1.2k
Category
AI and agents
Updated
5d ago
License
See repository
Context cost
Mediumabout 3,000 tokens
Runs scripts
No, instructions only

What it does

Build and run a Twitter/X agent with a distinct personality and automated workflows

Twitter Agent Skill

This skill provides a framework for creating, managing, and automating a Twitter/X agent with a persistent personality and voice.

Prerequisites

X Account Setup (REQUIRED, Do This First)

Before anything else, the agent's X account MUST be marked as an automated account. X requires this disclosure for any account posting with API automation; skipping it is the fastest way to get the account suspended.

Exact path (do this once, while logged in as the agent account):

  1. Log in to x.com as the agent account.
  2. Go to Settings and privacy → Your account → Account information.
  3. Scroll to Automation and tap it.
  4. Re-enter the password when prompted.
  5. Set Managing account to the human/handle responsible for the bot and save.

Direct link: https://x.com/settings/account/automation

This adds the "Automated by @…" label to the profile and replies. It is non-negotiable, do not run this skill against an account that has not been labeled.

Environment Variables

Set these 4 variables in your Bankr settings (gear icon -> Env Vars). Generate them from the X Developer Portal with Read and Write permissions enabled:

  • X_API_KEY: Consumer Key (OAuth 1.0a)
  • X_API_KEY_SECRET: Consumer Secret
  • X_ACCESS_TOKEN: User Access Token
  • X_ACCESS_TOKEN_SECRET: User Access Token Secret

Approval Channel for Automations

Bankr automations natively support routing their output to Telegram. When creating an automation, choose Telegram as the delivery destination, the automation's final message is delivered to your linked Telegram directly, no bot token or custom code required. Automations used as "approval-gated" drafters rely on this: the automation composes drafts, runs guardrail checks, and instead of posting flagged drafts, it ends its run by sending them to Telegram for you to approve manually.

Read the whole SKILL.md on GitHub

More in AI and agents