agentleFS
zaydiscoldzaydiscold/bird-skill/SKILL.md

bird

Skill2 starsChanged 8 months agoMITView on GitHub

Use when user shares x.com/twitter.com URLs, asks to "read tweet", "search twitter", "check mentions", "timeline", "bird", or any tweet-related actions. Read tweets, search, and browse Twitter/X timelines via bird CLI. Do NOT use for general web browsing or non-Twitter sites.

7 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

  • Other versions7 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 1

    1. zaydiscold/agent-skills★ 276% same

    Wrote their own version · 6

    1. seedprod/openclaw-prompts-and-skills★ 93same name
    2. dannote/dot-pi★ 56same name
    3. fspecii/openfelix★ 32same name
    4. Lazily01/openclaw-skills★ 1same name
    5. yutakobayashidev/skills★ 1same name
    6. zinan92/skills-repo★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repositoryOne other file it gives its agents.

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read tweets, search, and browse timelines directly via bird CLI using Bash.

    line 13
  2. Very specific:

    Action: Ensure bird CLI exists

    line 64
  3. Distinctive:

    Rollback: If fails, re-run install; if still fails, report "CLI installation failed"

    line 87
  4. Distinctive:

    Action: Run requested bird operation

    line 107
  5. Very specific:

    On no: Stop, ask for revised intent

    line 144

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Bird — Twitter/X CLI

Read tweets, search, and browse timelines directly via bird CLI using Bash. All commands use deterministic execution with explicit confirmation for write operations.

Quick Reference

ActionCommand
Read Tweetbird read <url>
Read Threadbird thread <url>
Searchbird search "query" -n 12
Mentionsbird mentions
Feedbird home
User Timelinebird user @handle

Examples

Read a tweet

User: "Check this tweet https://x.com/elonmusk/status/123456"

bird read "https://x.com/elonmusk/status/123456"

Search with operators

User: "Search twitter for AI announcements from OpenAI this week"

bird search "from:OpenAI AI announcement since:2025-04-01" -n 15

Read full thread

User: "Show me the whole thread"

bird thread "https://x.com/handle/status/123456"

Check mentions

User: "Do I have any twitter notifications?"

bird mentions -n 10

Post a tweet (requires confirmation)

User: "Tweet 'Hello world'"

I will run: `bird tweet "Hello world"`
Proceed? (yes/no)

Sequential Workflow: Execute Bird Command

CRITICAL: Follow this exact sequence with validation at each gate.

Step 1: Resolve Executable

Action: Ensure bird CLI exists Validation: command -v bird or check $HOME/.local/bin/bird Rollback: Auto-install from GitHub release

if command -v bird >/dev/null 2>&1; then
  BIRD_CMD="bird"
elif [ -x "$HOME/.local/bin/bird" ]; then
  export PATH="$HOME/.local/bin:$PATH"
  BIRD_CMD="$HOME/.local/bin/bird"
else
  curl -fsSL https://github.com/zaydiscold/bird/releases/download/v0.8.0/bird -o /tmp/bird && \
    chmod +x /tmp/bird && \
    mkdir -p "$HOME/.local/bin" && \
    mv /tmp/bird "$HOME/.local/bin/bird" && \
    export PATH="$HOME/.local/bin:$PATH"
  BIRD_CMD="$HOME/.local/bin/bird"
fi

Step 2: Verify CLI Health

Action: Run $BIRD_CMD check --plain Validation: Output contains "Ready" or valid auth check Rollback: If fails, re-run install; if still fails, report "CLI installation failed"

Step 3: Verify Authentication

Action: Confirm Twitter session is valid Validation: $BIRD_CMD whoami --plain returns @username Rollback: Try Chrome profile fallback; if all fail, instruct user to re-auth in browser

if ! $BIRD_CMD whoami --plain 2>/dev/null | grep -q "@"; then
  for profile in "Default" "Profile 1" "Profile 2" "Profile 3"; do
    if $BIRD_CMD --chrome-profile "$profile" check --plain 2>/dev/null | grep -q "Ready"; then
      mkdir -p "$HOME/.config/bird"
      echo "{ chromeProfile: \"$profile\", cookieSource: [\"chrome\"] }" > "$HOME/.config/bird/config.json5"
      break
    fi
  done
fi

Step 4: Execute User Command

Action: Run requested bird operation Validation: Exit code 0, valid JSON/text output Rollback: On error, classify per Troubleshooting and retry if appropriate

Step 5: Present Results

Action: Format output for user Validation: User understands the content Rollback: Offer raw output if summary is unclear

URL Normalization

CRITICAL - Validate URLs before processing:

  • Accept ONLY: x.com, twitter.com, mobile.twitter.com
  • Normalize to: https://x.com/<path>
  • Strip tracking: utm_*, s, ref, t query params
  • Reject early: Non-Twitter URLs with clear error message

Troubleshooting

ErrorCauseSolution
unauthorized / 401Expired/missing cookiesRun bird check, re-auth in browser
rate limitToo many requestsWait 60s, retry once, then stop
not foundDeleted tweet or bad URLVerify URL, inform user if deleted
private/protectedAccount requires permissionExplain limitation, suggest following
Safari vs Chrome mismatchCookie source changedUse --chrome-profile flag
exec: bird not foundCLI not installedRun auto-install from Preflight
error 226x-client-transaction-id invalidUpdate to bird v0.8.0+

Write-Action Confirmation Protocol

For tweet, reply, follow, unbookmark:

  1. Restate intent: "I will run: bird tweet \"Your text here\""
  2. Ask confirmation: "Proceed? (yes/no)"
  3. Execute only on yes
  4. Report result: Show tweet URL/ID on success
  5. On no: Stop, ask for revised intent

See references/write-actions.md for complete protocol.

Reference Navigation

Load only when needed — these are detailed references, not required for basic operation:

  • references/search-operators.md — Search syntax and filters (load if user asks for complex search)
  • references/write-actions.md — Tweeting, replying, following (load before any write operation)
  • references/troubleshooting.md — Detailed error remediation (load if auth or errors persist)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.