بنقرة واحدة
twitter-publisher
// 通过 bird CLI 发布和管理 Twitter/X 内容。使用此 skill 当用户需要:(1) 发布推文或帖子,(2) 回复推文,(3) 读取或获取推文内容,(4) 搜索推文,(5) 查看 mentions/bookmarks/likes,(6) 附带图片或视频发推。触发词包括:发推、tweet、发帖、回复推文、读取推文、Twitter、X 平台。
// 通过 bird CLI 发布和管理 Twitter/X 内容。使用此 skill 当用户需要:(1) 发布推文或帖子,(2) 回复推文,(3) 读取或获取推文内容,(4) 搜索推文,(5) 查看 mentions/bookmarks/likes,(6) 附带图片或视频发推。触发词包括:发推、tweet、发帖、回复推文、读取推文、Twitter、X 平台。
交互式生成 GitHub Copilot agents.md 文件的工作流。当用户请求创建代理、构建自定义 Copilot 代理、生成 agents.md 或需要帮助配置 GitHub Copilot 自定义代理时使用。触发短语包括"创建代理"、"生成 agent.md"、"做一个文档代理"、"生成测试代理"等涉及 GitHub Copilot 代理配置的请求。
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
交互式配置 GitHub Actions 通过 SSH 密钥连接 VPS 的向导。当用户需要设置 GitHub Actions 部署到 VPS、配置 CI/CD SSH 连接、生成部署 workflow 时使用此 skill。通过问答方式收集必要信息后生成完整配置。
API 接口测试工作流,使用 HTTPie 作为核心工具。当用户需要测试 API 接口、执行接口调用、生成测试报告、管理接口依赖关系、或在项目中建立标准化的接口测试流程时使用此 skill。适用于 RESTful API 测试、接口联调、回归测试等场景。
Framework for building AI agents that work effectively across multiple context windows on complex, long-running tasks. Use when building agents for multi-hour/multi-day projects, implementing persistent coding workflows, creating systems that need state management across sessions, or when an agent needs to make incremental progress on large codebases. Provides initializer and coding agent patterns, progress tracking, feature management, and session handoff strategies.
Specification-Driven Development (SDD) methodology for building software where specifications are executable and drive code generation. Use when users want to: (1) Create feature specifications with /speckit.specify, (2) Generate implementation plans with /speckit.plan, (3) Create executable tasks with /speckit.tasks, (4) Follow test-first, library-first development, or (5) Implement constitutional architecture principles. Essential for structured AI-assisted development workflows.
| name | twitter-publisher |
| description | 通过 bird CLI 发布和管理 Twitter/X 内容。使用此 skill 当用户需要:(1) 发布推文或帖子,(2) 回复推文,(3) 读取或获取推文内容,(4) 搜索推文,(5) 查看 mentions/bookmarks/likes,(6) 附带图片或视频发推。触发词包括:发推、tweet、发帖、回复推文、读取推文、Twitter、X 平台。 |
通过 bird CLI 与 Twitter/X 交互,支持发推、回复、读取和搜索。
安装 bird CLI:
npm install -g @steipete/bird
# 或 bunx @steipete/bird <command>
bird 使用浏览器 cookie 认证(无需 API key),按以下优先级获取凭证:
--auth-token, --ct0AUTH_TOKEN, CT0验证认证状态:
bird whoami # 显示当前登录账户
bird check # 显示凭证来源
# 纯文本
bird tweet "推文内容"
# 附带媒体(最多4张图片或1个视频)
bird tweet "内容" --media image.png --alt "图片描述"
bird tweet "内容" --media img1.png --media img2.png
# 支持格式:jpg, jpeg, png, webp, gif, mp4, mov
bird reply <tweet-id-or-url> "回复内容"
bird reply https://x.com/user/status/123456789 "回复内容"
bird reply 123456789 "回复内容" --media image.png
bird read <tweet-id-or-url> # 文本输出
bird read <url> --json # JSON 输出
bird <tweet-id> # 简写形式
bird thread <url> # 完整对话线程
bird replies <url> # 查看回复
bird search "关键词" -n 10 # 搜索推文
bird search "from:username" -n 5 # 搜索特定用户
bird mentions -n 10 # 查看提及
bird mentions --user @handle -n 5 # 查看他人被提及
bird bookmarks -n 10 # 查看收藏
bird likes -n 10 # 查看喜欢
bird following -n 20 # 我关注的人
bird followers -n 20 # 关注我的人
bird following --user <userId> -n 10 # 指定用户关注的人
| 选项 | 说明 |
|---|---|
--json | JSON 格式输出 |
--plain | 稳定输出(无 emoji、无颜色) |
-n <count> | 返回数量 |
--timeout <ms> | 请求超时 |
--cookie-source <browser> | 指定浏览器:safari/chrome/firefox |
推文对象包含:id, text, author, authorId, createdAt, replyCount, retweetCount, likeCount, conversationId, inReplyToStatusId, quotedTweet
bird query-ids --fresh 刷新发布带图推文:
# 1. 准备图片
# 2. 发布
bird tweet "分享今天的成果!" --media screenshot.png --alt "项目截图"
监控并回复提及:
# 1. 获取提及
bird mentions -n 5 --json > mentions.json
# 2. 处理并回复
bird reply <tweet-id> "感谢反馈!"
搜索并分析:
bird search "关键词 lang:zh" -n 20 --json