pt

Twitter Post

內容創作v1.0.0
作者:pt更新於 2026-05-11twitter-post@clawhub_sit-in/twitter-post
自媒體營運#Twitter#Post Tweets#Tweet

據 AlphaMoat 統計,截至 2026-10,Twitter Post 累計下載 6,143 次、獲 5 個星標,按累計下載量在本次參與排名的 10,914 個 AI 技能中排名第 4,664 位,在「內容創作」分類(927 個)中排名第 440 位。

列表預設按累計下載量排序,也可按星標排序;詳情頁排名按累計下載量計算。

累計下載
6143
星標
5
全站下載量排名
#4,664
全站前 43% · 「內容創作」前 48%
平台累計下載星標評論
ClawHub ↗53355-
SkillHub ↗61435—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

技能支援單條推文、執行緒、回覆和引用推文,並需 OAuth 憑據。釋出會對外公開內容;先審閱文字、賬號和目標操作,並在實際釋出前取得使用者確認。

資料釋出於 2026-10-27

可以用來做什麼

  • 撰寫單條推文或執行緒草稿
  • 準備回覆或引用推文
  • 檢查帖子長度與釋出格式

什麼時候用

  • 需要整理 Twitter/X 釋出內容時
  • 已核實賬號和內容並逐次確認釋出時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

先起草這條 Twitter/X 帖子並檢查格式,不要釋出,等待我確認。

月度資料趨勢

累計下載6143
3120474463672026-03 · 累計下載 33442026-05 · 累計下載 43482026-06 · 累計下載 45552026-07 · 累計下載 48982026-08 · 累計下載 50542026-09 · 累計下載 51902026-10 · 累計下載 614326-0326-0926-10
星標5
4562026-03 · 星標 52026-05 · 星標 52026-06 · 星標 52026-07 · 星標 52026-08 · 星標 52026-09 · 星標 52026-10 · 星標 526-0326-0926-10

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-106143—5
2026-095190—5
2026-085054+3.2%5
2026-074898+7.5%5
2026-064555+4.8%5
2026-054348—5
2026-033344—5

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

3.0 KB · ClawHub v1.0.0
---
name: twitter-post
description: Post tweets to Twitter/X via the official API v2 (OAuth 1.0a). Use when the user asks to tweet, post to Twitter/X, send a thread, reply to a tweet, or quote tweet. Supports single tweets, threads, replies, and quote tweets with automatic character weight validation.
---

# Twitter Post

Post tweets via the official Twitter/X API v2 using OAuth 1.0a authentication.

## Prerequisites
展開全部(共 99 行)

Four environment variables must be set. Obtain them from [developer.x.com](https://developer.x.com):

```
TWITTER_CONSUMER_KEY=<API Key>
TWITTER_CONSUMER_SECRET=<API Key Secret>
TWITTER_ACCESS_TOKEN=<Access Token>
TWITTER_ACCESS_TOKEN_SECRET=<Access Token Secret>
```

Optional:
- `HTTPS_PROXY` — HTTP proxy URL (e.g. `http://127.0.0.1:7897`) for regions that need it
- `TWITTER_DRY_RUN=1` — validate and print without posting

## Setup

Store credentials as env vars. Recommended: add to the OpenClaw instance config or export in shell profile. **Never hardcode keys in SKILL.md or scripts.**

If the user hasn't set up OAuth yet, guide them:

1. Go to [developer.x.com](https://developer.x.com) → Dashboard → Create App
2. Set **App permissions** to **Read and Write**
3. Go to **Keys and tokens** tab
4. Copy API Key, API Key Secret
5. Generate Access Token and Access Token Secret (ensure Read+Write scope)
6. If the portal only shows Read, use PIN-based OAuth flow:
   - Call `POST /oauth/request_token` with `oauth_callback=oob`
   - User opens `https://api.twitter.com/oauth/authorize?oauth_token=<token>`
   - User provides the PIN code
   - Call `POST /oauth/access_token` with the PIN as `oauth_verifier`

## Usage

All commands via `exec`. Script path: `scripts/tweet.js` (relative to this skill directory).

### Single tweet

```bash
node scripts/tweet.js "Your tweet content here"
```

### Reply to a tweet

```bash
node scripts/tweet.js --reply-to 1234567890 "Reply text"
```

### Quote tweet

```bash
node scripts/tweet.js --quote 1234567890 "Your commentary"
```

### Thread (multiple tweets)

```bash
node scripts/tweet.js --thread "First tweet" "Second tweet" "Third tweet"
```

### Output

JSON to stdout:

```json
{"ok":true,"id":"123456789","url":"https://x.com/i/status/123456789","remaining":"99","limit":"100"}
```

On error: `{"ok":false,"error":"..."}`

## Character Limits

- Max 280 weighted characters per tweet
- CJK characters (Chinese/Japanese/Korean) count as **2** each
- URLs count as **23** each regardless of length
- Script auto-validates before posting; rejects if over limit

## Rate Limits

- **100 tweets / 15 min** per user (OAuth 1.0a)
- **3,000 tweets / month** on Basic plan ($200/mo)
- Check `remaining` field in output to monitor quota

## Tips

- For content from Notion/database: fetch the text first, then pipe to `tweet.js`
- For cron-based auto-posting: use `exec` with env vars set, parse JSON output to confirm success
- Thread mode posts sequentially; each tweet auto-replies to the previous one
- Combine `--thread` with `--reply-to` to attach a thread under an existing tweet

「內容創作」分類下的熱門技能

李白.Skill內容創作

李白.Skill:潤色專家 檢測並消除中文文字中的AI生成痕跡,將生硬的機器輸出轉化為自然流暢的人類文筆。融合規則檢測、分層改寫(詞彙→句式→內容→邏輯→語氣)和六步質控流水線,確保最終文字透過人工審查。

↓ 125萬★ 121user_741dc82b
libai-skill內容創作

李白.Skill:潤色專家 檢測並消除中文文字中的AI生成痕跡,將生硬的機器輸出轉化為自然流暢的人類文筆。融合規則檢測、分層改寫和質控流水線,確保最終文字透過人工審查。

↓ 101.8萬★ 11user_814dbe54
文章去AI味工具內容創作

識別並去掉文字里的 AI 寫作痕跡,讓文字讀起來更像人寫。

↓ 95.1萬★ 767user_ab5ae6ee
影片號爆款短影片拆解(付費版:全能)【零一數科·出品】內容創作

【零一數科·出品】影片號爆款短影片拆解(全能版)(付費版)。影片號爆款短影片拆解(付費版:全能)。一鍵拆解爆款,把一條影片號影片拆成結構分段、爆款歸因、六維評分和可借鑑策略,照著學照著抄。支援影片號分享連結和本地影片,付費全能版遠端分析,1–5 分鐘出視覺化 HTML 報告。

↓ 91.9萬★ 116u_c19e970c
影片號掛車爆單短影片指令碼生成【零一數科·出品】內容創作

【零一數科·出品】影片號掛車爆單短影片指令碼生成(付費版)。一條連結二創指令碼,丟進爆款影片號連結即以此骨架改寫成你的掛車指令碼,或按方向/目的/商品原創多條口播指令碼(含分段表、口播全文、六維質檢評分)。

↓ 55.4萬★ 39u_c19e970c
Humanizer內容創作

把文字里 AI 寫作的典型痕跡挑出來並改寫得更自然,同時保留原意的寫作編輯技能。

↓ 50.9萬★ 1116B*T
中文公文寫作內容創作

用於中文公文、事務性材料和新聞稿件的起草、改寫、壓縮、潤色、審校、文種核對、去口語化、降 AI 味及 Word 格式處理,適用於機關、企事業單位、學校和新聞機構。涵蓋申請、請示、報告、通知、通告、意見、決定、決議、議案、公報、命令、函、覆函、批覆、說明、方案、紀要、公告、公示、通報、制度、規定、辦法、細則、操作規程、工作要點、總結、調研、講話、致辭、主持詞、述職、可研、審查材料、技術需求、新聞訊息、編者按、新聞評論,以及採購、整改、反饋和 AI 算力等場景。

↓ 41.3萬★ 84gongyu0918
影片號爆款文案生成(體驗版)【零一數科·出品】內容創作

【零一數科·出品】影片號爆款文案生成(體驗版)。免費免登入出指令碼,給創作目的、行業、受眾、選題就按爆款結構(Hook-中段-CTA、節奏標籤)產出口播指令碼,資訊不全也能按爆款潛質兜底。本地執行、無需 Key,零成本上手。

↓ 33.9萬★ 94u_c19e970c

資料月份:2026-10 · 下載/星標數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。