nextclaw: Skill for Claude Code

.agents/skills/x-twitter-bird/SKILL.md

x-twitter-bird is a skill for Claude Code, Codex from Peiiii/nextclaw. It costs 50 tokens per session (1,006 once invoked), scanned A, original, MIT.

A local skill for reading and managing X/Twitter content through the bird command-line tool. It can use stored account credentials to access bookmarks, likes, posts, threads, searches, and requested drafts or replies.

In plain words
What is it for?
Use it to search X/Twitter, inspect bookmarks or likes, read threads and posts, and draft or send posts and replies when explicitly requested.
Why use it?
It gives the coding agent a repeatable way to work with X/Twitter without manually opening the site or re-entering credentials.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is Peiiii/nextclaw's own configuration. It tells Claude Code and Codex how to work on nextclaw itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything nextclaw configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Peiiii/nextclaw. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Peiiii/nextclaw/master/.agents/skills/x-twitter-bird/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Peiiii/nextclaw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for x-twitter-bird

README.md
[![agentmods](https://agentmods.dev/badge/skills/peiiii/nextclaw/x-twitter-bird/github.svg)](https://agentmods.dev/skills/peiiii/nextclaw/x-twitter-bird)
Your own site
<a href="https://agentmods.dev/skills/peiiii/nextclaw/x-twitter-bird"><img src="https://agentmods.dev/badge/skills/peiiii/nextclaw/x-twitter-bird/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for x-twitter-bird

Your own site · 80×15
<a href="https://agentmods.dev/skills/peiiii/nextclaw/x-twitter-bird"><img src="https://agentmods.dev/badge/skills/peiiii/nextclaw/x-twitter-bird.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,006 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.01006
Opus 5.5 $0.00020 $0.00402
Sonnet 5.5 $0.00010 $0.00201
Haiku 4.5 $0.00005 $0.00101

Measured 1mo ago against content hash 20c5d66a99d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

x-twitter-bird scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/x-bird.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/x-twitter-bird/SKILL.md · 72 lines

How it starts

The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.

X / Twitter 读取与发布交接

Primary contract

  • Credentials live in a user-local file, not in the repo:
    • default path: ~/.nextclaw/secrets/x-bird.json
  • 用户允许使用 CLI 时,读取与搜索通过 scripts/x-bird.mjs;用户禁用 bird 时,下方 CLI 示例全部不适用。真实浏览器的只读操作走当前可用的 Computer Use 工具。
  • The script passes --auth-token and --ct0 explicitly to bird
  • 不依赖 bird 自动读取凭据环境变量;由 wrapper 显式传入。版本从实际解析到的 @steipete/bird/package.json 核对,不把历史版本当成本机现状。

操作路由

用户要扩大 X 账号的相关关注者时,先读取独立的 X 账号受众增长 Skill,由它决定目标、行动与复盘;本 Skill 只负责平台操作。用户允许 CLI 时可用下方读取命令,首次调用前核实实际解析到的 bird 是 @steipete/bird;出现 Init Modele 等无关帮助时按发布交接与故障处理修正命令入口。发帖、回复、点赞、关注、浏览器操作或 CLI 故障时也读取该 reference。

Setup

Store credentials once:

node .agents/skills/x-twitter-bird/scripts/x-bird.mjs auth set --auth-token '<token>' --ct0 '<token>'

Check the current account:

node .agents/skills/x-twitter-bird/scripts/x-bird.mjs whoami --plain

Common commands

Read bookmarks:

node .agents/skills/x-twitter-bird/scripts/x-bird.mjs bookmarks -n 20 --json

Read likes:

node .agents/skills/x-twitter-bird/scripts/x-bird.mjs likes -n 20 --json

Search:

node .agents/skills/x-twitter-bird/scripts/x-bird.mjs search 'DeepSeek V4 reasoning_content' -n 10 --json

Read a tweet or thread:

node .agents/skills/x-twitter-bird/scripts/x-bird.mjs read <tweet-id-or-url> --json
node .agents/skills/x-twitter-bird/scripts/x-bird.mjs thread <tweet-id-or-url> --json

Rules

  • Treat auth_token and ct0 as full login credentials
  • Never write them into repo files, docs, tests, or iteration logs
  • 用户授权发布不自动证明写入途径符合 X 规则。按发布交接 reference 判断可否执行;没有经核实可用的合规途径时交付可直接手动发布的成稿,不声称已发布。
  • Stable minor release posts should include one public-safe, high-information image by default. Choose the best fit among a real product screenshot, a benchmark/release summary card, AI-generated campaign art, or an AI-assisted composition containing an unaltered real screenshot. Never present generated UI as a real product screenshot or change verified release facts. Patch releases do not post unless the user explicitly overrides this rule.
  • When HTTP_PROXY/HTTPS_PROXY is required, invoke this wrapper with a Node version that supports environment proxies (for example NODE_USE_ENV_PROXY=1 <node-24+> scripts/x-bird.mjs ...). The wrapper launches bird with the same Node executable so the proxy setting reaches X requests.
  • 226 只证明该次请求被拒;按 reference 查重和停止,不把它一概解释为账号封禁,也不换路径绕过。
  • A successful write response is not completion by itself. 通过浏览器详情或 wrapper 回读已知 ID,核对作者、完整正文及素材后才报告成功并记录 URL。缺少 ID、回读失败或内容不符不能盲目重发。多个平台分别报告状态,一个成功不代表整批完成;新发不隐含授权删除旧帖。
  • Prefer --json for read/search workflows so downstream analysis stays structured
  • If the user asks for only reading, do not post, like, follow, or unbookmark anything

Read the full file on GitHub · 72 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -7 lines · +6 tokens per session 20c5d66a99d3
  2. 1mo ago Changed · -4 lines · +4 tokens per session 806e577c579a
  3. 2mo ago First seen · 83 lines · 40 tokens per session scan A 7a71fa4cb326

Subscribe to this mod's changes

x-twitter-bird is a skill published in the GitHub repository Peiiii/nextclaw (263 stars, last pushed yesterday), licensed MIT. It adds 50 tokens to every session and 1,006 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

x-twitter-bird compared with skills from other repositories

x-twitter-bird next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
x-twitter-birdPeiiii/nextclawSkill263yesterdayMITA50Claude Code, Codex
ha-skill-creatorshiwenwen/hope-agentSkill1.9kyesterdayMITA106Claude Code
ha-browsershiwenwen/hope-agentSkill1.9kyesterdayMITA140Claude Code
ha-logsshiwenwen/hope-agentSkill1.9kyesterdayMITA183Claude Code, Codex
ha-pet-importshiwenwen/hope-agentSkill1.9kyesterdayMITA109Codex
ha-skill-installershiwenwen/hope-agentSkill1.9kyesterdayMITA82Claude Code, Codex
email-draftshiwenwen/hope-agentSkill1.9kyesterdayMITA46Claude Code, Codex