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 44 tokens per session (939 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 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 939 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.00044 $0.00939
Opus 5 $0.00022 $0.00469
Sonnet 5 $0.00009 $0.00188
Haiku 4.5 $0.00004 $0.00094

Measured today against content hash 806e577c579a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 today.

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 · 79 lines

How it starts

The opening of the file, as written. The whole thing — 79 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;真实浏览器操作走当前可用的 Computer Use 工具,不受 CLI 路径限制。
  • The script passes --auth-token and --ct0 explicitly to bird
  • 不依赖 bird 自动读取凭据环境变量;由 wrapper 显式传入。版本从实际解析到的 @steipete/bird/package.json 核对,不把历史版本当成本机现状。

操作路由

读取与搜索使用下方命令。发布、浏览器操作或 CLI 故障时,读取发布路径与故障处理。已有发布授权不重复询问。

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

Post only after the user explicitly asks:

node .agents/skills/x-twitter-bird/scripts/x-bird.mjs tweet 'text here'
node .agents/skills/x-twitter-bird/scripts/x-bird.mjs reply <tweet-id-or-url> 'text here'

Rules

  • Treat auth_token and ct0 as full login credentials
  • Never write them into repo files, docs, tests, or iteration logs
  • 发布授权按发布路径 reference 处理。已授权的稳定 minor 发布在发布核验及公共链接检查完成后直接执行,不重复确认。
  • 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.
  • The wrapper refreshes current GraphQL query IDs before every tweet or reply. 报错后区分 query ID、网络、频率限制和 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 · 79 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. today Changed · -4 lines · +4 tokens per session 806e577c579a
  2. 10d 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 (256 stars, last pushed today), licensed MIT. It adds 44 tokens to every session and 939 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

openclaw-github-dedupe

Investigate a cluster of GitHub issues and PRs, determine canonical candidates, post duplicate/related status, preserve contributor credit, and execute cleanup actions. Supports autonomous mode for provided-link-only closeout, merge/fix follow-through, changelog, and post-merge issue/PR cleanup.

vincentkoc/dotskills · 68 tokens

tmux-lane-orchestrator

Manage one tmux agent lane from its matching ops pane, inspect live pane state and Codex logs on cold start, and produce concise manager summaries for OpenClaw and adjacent project work.

vincentkoc/dotskills · 46 tokens

ghcrawl-cluster-operator

Use when inspecting a ghcrawl SQLite store, pulling GitHub issue/PR data, refreshing summaries, embeddings, and clusters, or extracting one cluster and its evidence through the ghcrawl CLI.

vincentkoc/dotskills · 45 tokens

opik-optimizer

Optimize LLM prompts, tools, and agents in Opik using standardized optimizer workflows (prompt optimization, tool optimization, and parameter tuning), dataset/metric wiring, and result interpretation.

vincentkoc/dotskills · 41 tokens

crabpot-perf-metrics

Interpret Crabpot and OpenClaw performance dashboard metrics, import-loop profiles, runtime profiles, and branch-to-branch perf deltas without over-reading noisy samples.

vincentkoc/dotskills · 40 tokens

org-branch-cleanup

Audit and safely prune stale branches across a GitHub organization with immutable snapshots, conservative merged-PR classification, live SHA/protection/open-PR revalidation, resumable deletion ledgers, and post-delete verification. Use when a maintainer asks to clean up old, dead, merged, bot-created, or abandoned…

vincentkoc/dotskills · 91 tokens