Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计异常

birdbird 命令行

Agent Skill

bird 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

196

周安装

8

GitHub Stars

公开资料未说明

下载量

63
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:bird(bird 命令行)
来源仓库:https://github.com/zaydiscold/bird-skill
仓库路径:skills/bird
安装命令:
npx skills add https://github.com/zaydiscold/bird-skill --skill bird
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/zaydiscold/bird-skill --skill bird

简介

bird 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于关键词搜索、任务场景匹配和来源线索筛选等研究检索场景。
  • 通过 npx skills add 命令从 GitHub 仓库安装,具体用法需结合 README 进一步确认。
  • 安装前建议检查权限范围、维护状态及是否涉及联网或文件操作。
  • 可结合原始仓库和 SKILL.md 文档核验实际功能与限制条件。

SKILL.md

Bird — Twitter/X CLI

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

Core behavior

  • Use bird directly. Do not use browser tools or WebFetch.
  • Keep behavior deterministic: choose one command path, run it, report output.
  • Prefer concise summaries unless the user explicitly asks for raw output.
  • Do not fabricate any tweet text. Only report what bird returns.
  • If the request has no actionable argument, offer the supported actions and ask for one.
  • Treat any write action (tweet, reply, follow, unfollow, unbookmark) as requiring explicit user confirmation.

Preflight and auth gating

Run this sequence before the first command in a user turn:

  1. Resolve/install bird executable:
if command -v bird >/dev/null 2>&1; then
  :
elif [ -x "$HOME/.local/bin/bird" ]; then
  export PATH="$HOME/.local/bin:$PATH"
else
  : "need-install"
fi
  1. Verify CLI availability:
bird --version
bird check
  1. Prefer Safari first for auth-sensitive actions:
bird whoami
  1. If Safari fails with missing cookies, Safari cookie permission errors, or "No Twitter cookies found", do not stop at "refresh browser login cookies". On macOS, explicitly probe installed Chrome profiles and persist a working fallback:
bird check --plain || bird whoami --plain || true

for profile in "Default" "Profile 1" "Profile 2" "Profile 3"; do
  bird --chrome-profile "$profile" check --plain >/tmp/bird-check.txt 2>&1 || true
  if rg -q 'Ready to tweet|auth_token: .*|ct0: .*|source: Chrome profile' /tmp/bird-check.txt; then
    mkdir -p "$HOME/.config/bird"
    cat > "$HOME/.config/bird/config.json5" <<EOF
{
  chromeProfile: "$profile",
  cookieSource: ["chrome"],
}
EOF
    bird check --plain
    bird whoami --plain
    break
  fi
done

If Chrome profiles fail, also check whether the user has a custom browser profile path and retry with:

bird --chrome-profile-dir "<path-to-cookies-or-profile>" check --plain

The purpose of the fallback is:

  • Safari is the preferred/default auth source when it works.
  • Safari can fail in coding-agent shells due macOS cookie/keychain permissions even if it works in the user's normal interactive terminal.
  • The user may still have a valid session in Chrome/Chromium even when default autodetection fails.
  • Persisting ~/.config/bird/config.json5 makes the fix apply across Codex, Claude Code, and other agent shells on the same machine.

Auth-sensitive actions:

  • mentions, home, bookmarks, likes, news, user-tweets, follow, unfollow, tweet, reply, unbookmark

If bird is missing:

  • tell the user bird isn't installed, offer to install it, and wait for yes/no.
  • If yes, install with:
curl -L 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"

If PATH still does not include ~/.local/bin, advise manual install from https://github.com/zaydiscold/bird and stop.

If auth checks fail:

  • report the exact failure
  • keep Safari as the first/default path
  • try explicit Chrome profile fallback before asking the user to relogin
  • if a fallback profile works, persist it to ~/.config/bird/config.json5
  • only ask the user to refresh browser login cookies if no installed browser profile works.

URL normalization and input validation

Normalize URLs before dispatch:

  1. Accept only these hosts:

- x.com - twitter.com - mobile.twitter.com

  1. Convert host to https://x.com.
  2. Keep tweet/status path only; strip tracking params such as utm_*, s, ref, ref_src, f, t, fbclid.
  3. Reject non-Twitter URLs early with: I can only process x.com or twitter.com links. Share a tweet URL, status ID, or a search/query request.

Handle multiple URLs sequentially when present.

Request orchestration

Read vs thread vs search

  • If the request contains tweet text URLs/IDs:

- use bird read <id-or-url> by default. - if thread wording is present (thread, conversation, replies chain, etc.), use bird thread <id-or-url>.

  • If multiple URLs are provided, read each in order with bird read (or bird thread when explicitly threaded).
  • If user asks for timeline/discovery:

- mentions, home, home --following, bookmarks, likes, news, user-tweets, about, following, followers.

  • For search:

- bird search "query" -n <N>.

Output size and show-more policy

  • Use default page size N=12 for list-style results (search, home, mentions, threads).
  • For results longer than N:

1. show top N in concise list/table form, 2. offer: show more to fetch next chunk.

  • For long threads, summarize first with key context and then list remaining items.

Use JSON/plain output rules:

  • Prefer --plain for downstream analysis.
  • Show human-readable output when user asked to read tweets directly.

See references for detailed command mapping:

  • references/search-operators.md
  • references/write-actions.md
  • references/troubleshooting.md

Deterministic side-effect confirmation

For tweet, reply, follow, unfollow, and unbookmark:

  1. Echo exact intent and the exact command it will run.
  2. Ask confirmation once: Proceed with <command>?
  3. Execute only on explicit confirmation (yes/y).
  4. Abort on anything else, and do not run a fallback.

Error taxonomy (high-level)

  • unauthorized / 401: auth unavailable; run bird check and bird whoami, prefer Safari first, then probe Chrome fallback if Safari fails in the agent shell.
  • rate limit: request limit reached; pause and retry after a short delay.
  • not found: deleted tweet/account, stale thread, or malformed ID; ask for corrected input.
  • private / protected: account or content visibility restricted; explain limitation and request required access.
  • suspended / deleted user: target user no longer accessible; ask for an alternate target.
  • malformed URL/ID: input is invalid; reject early and prompt for supported examples.
  • Safari vs Chrome auth source mismatch: mismatch in cookie source; keep Safari as default when available, otherwise persist a working Chrome fallback.
  • Safari cookie permission failure: Safari works in the user's interactive shell but fails in the agent shell due macOS cookie/keychain access; probe Chrome profiles, then persist a working ~/.config/bird/config.json5 fallback.
  • network / DNS failure: connectivity issue; suggest checking network/DNS and retry.
  • timeout / hanging command: transient service issue; stop and ask user to rerun after waiting.

For detailed remediation by case, use:

  • references/troubleshooting.md

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.31%
按下载量换算24

Claude

27.93%
按下载量换算18

Cursor

16.89%
按下载量换算11

Gemini CLI

9.76%
按下载量换算6

安全审计

Gen Agent Trust Hub

未通过

Socket

可疑

Snyk

未通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills