Skip to main content

X account from the command line

Post on your own X account, as you, and take a post back. GBrain gives X account, and every other connector you add, a command line.

Get Personal, $49 a month

One price for one person: X account and every other connector GBrain offers, from a terminal or any AI. Cancel any time.

Install the GBrain command line, then connect X account

X account is connected on its own sign-in page, in the browser. A key or a sign-in never passes through the terminal.

# AI agents: read gbrain.io/llms.txt
curl -sSL https://gbrainio.terminalwire.sh | bash
gbrainio terminal connect

The installer is a shell script for macOS and Linux. Read it before you run it.

# Every X account command, once X account is connected
gbrainio tool help xaccount

What GBrain can do with X account

Sign in with your own X account. A terminal or AI you give Read can see who you are on X; give it Full and it can post on your account as you, text with an optional link, and delete those posts. Each one starts at Off and gets only the level you choose, and every post is on your activity. X charges for every post and GBrain pays it from the workspace’s credit: 3¢ a post, or 40¢ for a post with a link in it. A deleted post is gone from X for good. Replies, images and quote posts are not included yet.

gbrainio
gbrainio tool xaccountX: post on your own account, and take a post back.USAGE  gbrainio tool xaccount <command> [arguments]COMMANDS  profile  show  post     new, rm  open     Open its page in the browserLEARN MORE  gbrainio tool xaccount <command> -h  What one command takes  https://gbrain.io/docs/tools         The manualgbrainio tool xaccount profileWho you are on X.USAGE  gbrainio tool xaccount profile <command> [arguments]COMMANDS  show  Read your X accountLEARN MORE  gbrainio tool xaccount profile <command> -h                                            What one command takes  https://gbrain.io/docs/tools              The manual
Every X account command, by the kind of thing it works on.

The page and the CLI print these from the same code, so they are what the CLI answers today.

What a terminal may do with X account, and what GBrain keeps

A level for each terminal, from Off up

Each terminal reaches X account at the level set for it in the browser: Off, Read or Full. A terminal reads its level and never raises it.

A daily limit on each command

Each of X account's commands stops at a daily limit on the account it reaches, from 25 to 200 actions depending on the command, whichever terminal or AI asks, and starts again at midnight UTC. Only that command stops.

Every action on one record

Each command a terminal runs on X account is a row on GBrain's activity log: which terminal, which account, what it did and whether it was allowed, refusals included. gbrainio activity ls --tool xaccount reads it back.

From a terminal, Claude Code or Codex

gbrainio tool help xaccount says what X account is and what each of its commands does, and gbrainio tool ls lists them with everything else the terminal can run. Claude Code and Codex run the same commands, at the same level, on the same record.

The GBrain Tools command line works with every other connector GBrain offers, each with a page like this one.

Every connector's command line

X account from a terminal, with GBrain Personal

Personal is $49 a month for one person. Connect X account in the browser, and say how far each terminal and each AI may go with it. Change any of it, or take all of it back, whenever you want.