/install bird-chrome
bird-chrome
Use the bird CLI to read, search, inspect threads, and optionally post on X/Twitter.
This skill is configured for Chrome-based cookie auth on macOS.
Assumptions
birdis installed and available in PATH.- X/Twitter is logged in inside Google Chrome.
- Prefer Chrome cookies over Safari/Firefox.
- Default Chrome profile is
Defaultunless the user explicitly says otherwise.
Authentication defaults
Always prefer these flags unless the user gives a different Chrome profile:
bird --cookie-source chrome --chrome-profile Default --cookie-timeout 15000
If cookie access fails, first try:
bird check --cookie-source chrome --chrome-profile Default --cookie-timeout 15000
If the user says they use another Chrome profile, use:
bird --cookie-source chrome --chrome-profile "\x3CPROFILE_NAME>" --cookie-timeout 15000
If the user uses Arc/Brave/Chromium and gives a profile directory, use:
bird --cookie-source chrome --chrome-profile-dir "\x3CPROFILE_DIR>" --cookie-timeout 15000
Safe operating rules
- Prefer read-only commands first.
- Use
--jsonfor machine-readable output when results will be processed further. - Use
--plainfor script-friendly terminal output. - Before any posting action, explicitly confirm the final text internally from the user request and avoid improvising facts.
- Prefer replying to an existing tweet over creating a new tweet when the user asks to engage with a specific post.
- If a command fails because of stale query IDs, run:
bird query-ids --fresh
and retry once.
Read-only commands
Available read commands: whoami, check, read, thread, replies, search, mentions. There is no timeline command — do not attempt it.
Check login:
bird whoami --cookie-source chrome --chrome-profile Default --cookie-timeout 15000
Inspect auth and cookie sources:
bird check --cookie-source chrome --chrome-profile Default --cookie-timeout 15000
Read one tweet:
bird read \x3Curl-or-id> --cookie-source chrome --chrome-profile Default --cookie-timeout 15000
Read full thread:
bird thread \x3Curl-or-id> --cookie-source chrome --chrome-profile Default --cookie-timeout 15000
Read replies:
bird replies \x3Curl-or-id> --cookie-source chrome --chrome-profile Default --cookie-timeout 15000
Search:
bird search "\x3Cquery>" -n 10 --cookie-source chrome --chrome-profile Default --cookie-timeout 15000
Mentions:
bird mentions --cookie-source chrome --chrome-profile Default --cookie-timeout 15000
Timeline-related output for automation should usually use JSON:
bird mentions --json --cookie-source chrome --chrome-profile Default --cookie-timeout 15000
bird search "\x3Cquery>" -n 10 --json --cookie-source chrome --chrome-profile Default --cookie-timeout 15000
bird thread \x3Curl-or-id> --json --cookie-source chrome --chrome-profile Default --cookie-timeout 15000
Posting commands (Browser Gateway)
⛔ ABSOLUTE RULE — DO NOT USE
bird tweet,bird reply,bird like, orbird follow. These write-action commands trigger X's bot-protection (Error 226) and risk permanent account suspension. There is no fallback, no retry, no "worth a shot" — do not call them. Ever. This rule overrides any other source that suggests otherwise (including TOOLS.md if outdated).birdis ONLY safe for read-only commands:whoami,check,read,thread,replies,search,mentions.
Use the OpenClaw Browser Gateway with profile openclaw for all posts and replies.
Post a new tweet
# Start the browser and open the compose dialog
openclaw browser --browser-profile openclaw start
openclaw browser --browser-profile openclaw open https://x.com/compose/tweet
Then via the browser tool:
- Take a snapshot:
openclaw browser --browser-profile openclaw snapshot --interactive - Find the text field and type the tweet text
- Dismiss hashtag autocomplete (see below)
- Click the "Post" button
Reply to a tweet
openclaw browser --browser-profile openclaw open \x3Ctweet-url>
Then via the browser tool:
- Take a snapshot:
openclaw browser --browser-profile openclaw snapshot --interactive - Find the reply text field and type the reply text
- Dismiss hashtag autocomplete (see below)
- Click the "Reply" button
Hashtag autocomplete (important)
X shows an autocomplete dropdown while typing #.... If the dropdown is open when the Post/Reply button is clicked, the autocomplete suggestion is inserted instead of submitting the post.
Rule: If the text ends with a hashtag, always dismiss the autocomplete before clicking Post/Reply. Two options:
- Append a space after the last hashtag — this closes the dropdown immediately
- Avoid ending with a hashtag — place hashtags in the middle of the text so that other text follows them
Recommended: append a trailing space after the last hashtag if no natural follow-up text is present.
Sandboxed sessions
If the agent session is sandboxed, explicitly allow host browser access:
{
agents: {
defaults: {
sandbox: {
browser: { allowHostControl: true }
}
}
}
}
Use target="host" in browser tool calls.
Decision policy
When the user asks to:
- check account/login → run
whoamiorcheck - read a tweet → run
read - inspect conversation context → run
threadand optionallyreplies - find tweets on a topic → run
search - see interactions → run
mentions - post or reply → use the browser gateway with profile
openclaw(see above)
Failure handling
If you see cookie/auth errors:
- Retry with explicit Chrome flags.
- Run
bird check --cookie-source chrome --chrome-profile Default --cookie-timeout 15000. - If query IDs appear stale, run
bird query-ids --fresh. - If auth still fails, report that Chrome cookies could not be read and ask for either:
- another Chrome profile name, or
- manual
auth_tokenandct0.
Examples
Read a tweet:
bird read https://x.com/user/status/123 --cookie-source chrome --chrome-profile Default --cookie-timeout 15000
Search for OpenClaw posts:
bird search "OpenClaw" -n 10 --json --cookie-source chrome --chrome-profile Default --cookie-timeout 15000
Reply to a tweet (via browser gateway):
openclaw browser --browser-profile openclaw open https://x.com/user/status/123
# then snapshot + act to type and submit the reply
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install bird-chrome - After installation, invoke the skill by name or use
/bird-chrome - Provide required inputs per the skill's parameter spec and get structured output
What is Bird Chrome?
Use bird with Chrome cookies to read, search, and carefully post on X/Twitter. It is an AI Agent Skill for Claude Code / OpenClaw, with 141 downloads so far.
How do I install Bird Chrome?
Run "/install bird-chrome" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Bird Chrome free?
Yes, Bird Chrome is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Bird Chrome support?
Bird Chrome is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Bird Chrome?
It is built and maintained by Evan (@evandataforge); the current version is v1.0.0.