Agent skill

Wjs Publishing Books To X

by jianshuo in jianshuo/claude-skills

A skill your agent uses when 王建硕 wants to publish his VoiceDrop books (voicedrop.cn/books) to X/Twitter as threads — 列出他写的书、挑没发过的、整本拆成推文串发出。Triggers — "把书发到 X", "发书的 thread", "publish my book to X"…

MITAuto-check passedMedia & Creative

Install Wjs Publishing Books To X

skills CLI
$ npx skills add jianshuo/claude-skills --skill wjs-publishing-books-to-x -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jianshuo/claude-skills wjs-publishing-books-to-x --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jianshuo/claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/wjs-publishing-books-to-x .claude/skills/wjs-publishing-books-to-x && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
wjs-publishing-books-to-x
GitHub stars
131
Token cost
~1.1k tokens
SKILL.md length
177 words
Files
6 (incl. scripts)
Skills in repo
38
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when 王建硕 wants to publish his VoiceDrop books (voicedrop.cn/books) to X/Twitter as threads — 列出他写的书、挑没发过的、整本拆成推文串发出。Triggers — "把书发到 X", "发书的 thread", "publish my book to X"…

  • Works in 6 steps: 列我的书,排除已发过的 → 读书 → 拆 thread(结构合同) → …
  • 王建硕 wants to publish his VoiceDrop books (voicedrop.cn/books) to X/Twitter as threads — 列出他写的书、挑没发过的、整本拆成推文串发出。Triggers — 把书发到 X
  • SKILL.md covers Core Principle, Workflow, 多本连发 and Daily 自动化(已装), plus 3 more sections
  • Runs Shell and Python scripts from its folder; calls jq, bash and curl; reaches voicedrop.cn and x.com

What it does

Wjs Publishing Books To X is an agent skill from jianshuo/claude-skills. Use when 王建硕 wants to publish his VoiceDrop books (voicedrop.cn/books) to X/Twitter as threads — 列出他写的书、挑没发过的、整本拆成推文串发出。Triggers — "把书发到 X", "发书的 thread", "publish my book to X", "书架的书发推", "/wjs-publishing-books-to-x".

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts (for example `daily.sh`, `scripts/fetch-book.py` and `scripts/pick-next-book.sh`).

It sits in Media & Creative, covering Social media posts. It works with X (Twitter). The repository describes itself as: 13 Claude Code skills for video production (transcribe / translate / dub / multicam / subtitles / reframe) + WeChat publishing. Compatible with Claude Code, OpenAI Codex CLI… The licence is MIT.

When your agent uses it

  • 王建硕 wants to publish his VoiceDrop books (voicedrop.cn/books) to X/Twitter as threads — 列出他写的书、挑没发过的、整本拆成推文串发出。Triggers — 把书发到 X
  • Publish my book to X
  • /wjs-publishing-books-to-x

Example prompts

  • “把书发到 X”
  • “发书的 thread”
  • “publish my book to X”
  • “/wjs-publishing-books-to-x”

Requirements

  • Python 3
  • A Bash shell

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. 列我的书,排除已发过的
  2. 读书
  3. 拆 thread(结构合同)
  4. 过目
  5. 发(xurl 链式)
  6. 记录

What it can do on your machine

Read from SKILL.md and the folder at commit b2690f5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Shell and Python), which the agent can run.

    Shell commands in SKILL.md call:

    • jq
    • bash
    • curl
    • claude

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • voicedrop.cn
    • x.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Wjs Publishing Books To X loads about 1.1k tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 177 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from jianshuo/claude-skills at commit b2690f5, republished under its MIT licence (© jianshuo). 177 words, ~1,081 tokens.

Download SKILL.mdSave it as .claude/skills/wjs-publishing-books-to-x/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
wjs-publishing-books-to-x
description
Use when 王建硕 wants to publish his VoiceDrop books (voicedrop.cn/books) to X/Twitter as threads — 列出他写的书、挑没发过的、整本拆成推文串发出。Triggers — "把书发到 X", "发书的 thread", "publish my book to X", "书架的书发推", "/wjs-publishing-books-to-x".

wjs-publishing-books-to-x

把 VoiceDrop 书架上我写的书,一本一个 thread 发到 X。首条钩子 + 封面图,中间按书的脉络走,最后一条讲这本书是怎么用 VoiceDrop 写出来的。

Core Principle

一本书 = 一个 thread。 书已经是成品,thread 是它的预告片——从章节梗概和正文里抠最硬的内容,不重新构思、不写营销腔。

只发我的书。 书架是社区书架,上面有别的用户写的书,发出去就是替别人代言,绝对不行。

Workflow

Step 1: 列我的书,排除已发过的
mcp__voicedrop__list_books   # 公开书架,免登录
  • hidden 的书(book.json 里 hidden: true)服务端已滤掉,不用再处理。
  • 我的书判定:author == "王建硕" 或为空(早期的书没署名,都是我的)→ 是我的。其他署名(蜜蜡 / Dennis / sissi / …)→ 别人的书,不发。
  • 对照 state/history.jsonl 排除已发过的,列出剩余清单让用户挑。用户点名某本 → 直接用那本。
Step 2: 读书
mcp__voicedrop__read_book <slug>            # 目录 + 每章梗概 + 一句话简介
mcp__voicedrop__read_book_chapter <slug> intro   # 序章;再挑 1-2 个最有料的章读正文

梗概给骨架,正文给 quotable 的细节(数字、比喻、反直觉的断言)。

Step 3: 拆 thread(结构合同)
条内容
1钩子:书的核心断言或问题 + 书名,配封面图 https://voicedrop.cn/books/<slug>/cover.jpg
2 … N-2按书的脉络每条讲透一个点,从梗概/正文里抠。总共 6–10 条
N-1全书免费读:https://voicedrop.cn/books/<slug>/
N(必须)这本书怎么写的:真实过程——在 VoiceDrop 丢了一句什么中心思想(seed),书自己长出来、逐章补齐、不满意的地方一句话修书。落 voicedrop.cn

硬约束:每条加权 ≤280(中文每字算 2),buffer 到 ~120 汉字。王建硕语气:平实、家常比喻。无 hashtag、无 emoji、无 @。链接只出现在 N-1 和 N 两条。盘古之白。

Step 4: 过目

整串列给用户确认(每条标序号 + 字数)。用户说过 --yes 或明确「直接发」才跳过。

Step 5: 发(xurl 链式)
bash
SLUG=<slug>
curl -s -o /tmp/cover.jpg "https://voicedrop.cn/books/$SLUG/cover.jpg"
MEDIA_ID=$(xurl media upload --category tweet_image --media-type image/jpeg /tmp/cover.jpg \
  | grep -oE '"media_id_string":"[0-9]+"' | grep -oE '[0-9]+')
# 注意:不带 --category tweet_image 会按视频处理,media id 无效

# 首条(带图)
resp=$(xurl -X POST -d "$(jq -nc --arg t "$T1" --arg m "$MEDIA_ID" \
  '{text:$t, media:{media_ids:[$m]}}')" /2/tweets)
# X 返回的 text 里有裸换行,jq 会拒;grep 抠 id
PREV=$(printf '%s' "$resp" | grep -oE '"id":"[0-9]+"' | head -1 | grep -oE '[0-9]+')
[[ -n "$PREV" ]] || { echo "POST failed: $resp"; exit 1; }

# 2…N 条依次 reply 上一条,条间 sleep 5
resp=$(xurl -X POST -d "$(jq -nc --arg t "$TN" --arg r "$PREV" \
  '{text:$t, reply:{in_reply_to_tweet_id:$r}}')" /2/tweets)

任何一条失败:停在原地,把已发到第几条 + 失败原文给用户,别跳条继续(断链)。首条 URL:https://x.com/jianshuo/status/<首条id>。

Step 6: 记录
bash
jq -nc --arg date "$(date +%F)" --arg slug "$SLUG" --arg id "$FIRST_ID" --argjson n $N \
  '{date:$date,slug:$slug,thread_first_id:$id,tweets:$n,status:"posted"}' \
  >> ~/.claude/skills/wjs-publishing-books-to-x/state/history.jsonl

收尾告诉用户:thread URL、哪本书、几条、还剩几本没发。

多本连发

一次 session 默认发一本。用户要「把书都发了」→ 每本间隔 ≥4 小时排期(一口气连发多个 thread 会被 X 判刷屏),机制照抄 wjs-tweeting-from-articles 的批量排期模式(队列 + cron 自节流)。

Daily 自动化(已装)

launchd 每天 10:10 跑 daily.sh:自动挑最新一本没发过的(chapters=0 的老书跳过)→ claude -p 按上面结构合同起草 → 校验加权长度 → 链式发出 → 记 history。书发完了自动歇着。

bash
DRY_RUN=1 bash ~/.claude/skills/wjs-publishing-books-to-x/daily.sh   # 起草不发
FORCE_SLUG=<slug> bash .../daily.sh                                  # 指定书
launchctl bootout gui/$(id -u)/com.jianshuo.wjs-publishing-books-to-x  # 停掉

日志:~/Library/Logs/wjs-publishing-books-to-x/。改时间:编辑 ~/Library/LaunchAgents/com.jianshuo.wjs-publishing-books-to-x.plist 后 bootout + bootstrap。

Anti-Patterns

不要原因
发署名是别人的书社区用户的书,不是我的
thread 写成目录(第一章讲X,第二章讲Y…)要抠内容,不是报菜名
每条都塞链接链接只在 N-1、N 两条
最后一条写成 VoiceDrop 广告词讲这本书的真实写作过程,产品是顺带的
jq -r '.data.id' 解析发推返回返回的 text 带裸换行,jq 报 control characters;用 grep
media upload 不带 --category默认按视频处理,图挂不上

File Layout

~/.claude/skills/wjs-publishing-books-to-x/
├── SKILL.md
├── daily.sh                  # launchd 每日入口(挑书→起草→校验→发→记录)
├── com.jianshuo.wjs-publishing-books-to-x.plist.template
├── scripts/
│   ├── pick-next-book.sh     # 下一本没发过的我的书(新→旧)
│   └── fetch-book.py         # 抓书素材(目录梗概+序章+前两章)→ 纯文本
└── state/
    ├── .gitignore            # history.jsonl / today-* 不进公开 repo
    ├── history.jsonl         # 每发一本记一行
    └── today-*.{txt,json,jpg}  # 当天工作文件

Dependencies

  • xurl:xurl whoami 能返回用户名
  • voicedrop MCP:list_books / read_book / read_book_chapter(公开内容,免登录)
  • jq

© jianshuo, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (scripts) in wjs-publishing-books-to-x of jianshuo/claude-skills.

  • SKILL.md
  • com.jianshuo.wjs-publishing-books-to-x.plist.template
  • daily.sh
  • scripts/fetch-book.py
  • scripts/pick-next-book.sh
  • state/.gitignore

Open the folder on GitHubat commit b2690f5

Compare with similar skills

Wjs Publishing Books To X next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Wjs Publishing Books To X compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Wjs Publishing Books To X this skilljianshuo/claude-skills131—~1.1kAutomated safety check: PassMIT
ContentGerstep/cybos104—~616Automated safety check: PassNone
AI Social Media ContentNeverSight/learn-skills.dev2171 repos~1.8kAutomated safety check: PassNone
Socialcoreyhaines31/marketingskills54k4 repos~4.5kAutomated safety check: PassMIT
Outlier Post FinderScrapeCreators/social-media-research-skills3.4k—~1.5kAutomated safety check: NotesMIT
Podcastteam-attention/plugins-for-claude-natives827—~1.5kAutomated safety check: PassMIT

Similar skills

  • Content

    Gerstep/cybos

    Generate posts, essays and images following brand guidelines.

    104 GitHub stars~616 tokensUpdated 1 mo ago
    Media & CreativeAuto-check passed
  • AI Social Media Content

    NeverSight/learn-skills.dev

    Create AI-powered social media content for TikTok, Instagram, YouTube, Twitter/X.

    217 GitHub starsUsed in 1 repo~1.8k tokens
    Writing & ContentAuto-check passed
  • Social

    coreyhaines31/marketingskills

    When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram, TikTok, or Facebook, or wants to do social listening and engagement triage.

    54k GitHub starsUsed in 4 repos~4.5k tokens
    Writing & ContentAuto-check passed
  • Outlier Post Finder

    ScrapeCreators/social-media-research-skills

    A skill your agent uses when the user wants to find posts, videos, reels, shorts, tweets, or social content that overperformed versus a creator, brand, or competitor baseline.

    3.4k GitHub stars~1.5k tokensUpdated 1 mo ago
    Writing & ContentAuto-check: notes
  • Podcast

    team-attention/plugins-for-claude-natives

    Generate Korean podcast episodes from any source (URLs, tweets, articles, PDFs) — analyzes content, writes a script, generates audio via OpenAI TTS, converts to MP4, and auto-uploads to YouTube.

    827 GitHub stars~1.5k tokensUpdated 5 mo ago
    Media & CreativeAuto-check passed
  • X Algorithm Post Writing

    carson2222/skills

    Writes and reviews X posts, threads and replies using what the open-sourced For You ranking system rewards, and explains why a post may have underperformed.

    113 GitHub stars~3.8k tokensUpdated 3 mo ago
    Writing & ContentAuto-check passed

More from jianshuo/claude-skills

All 38 skills in this repo
  • Wjs Segmenting Video

    jianshuo/claude-skills

    A skill your agent uses when the user has a long-form video (interview / lecture / podcast / conversation) and a transcript SRT, and wants to extract 3–6 stand-alone topical short clips from it.

    131 GitHub stars~3.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Wjs Uploading Video

    jianshuo/claude-skills

    Upload one or many videos to YouTube. An agent skill from jianshuo/claude-skills.

    131 GitHub stars~2.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Wjs Converting Wp To Hugo

    jianshuo/claude-skills

    A skill your agent uses when migrating a WordPress site to a Hugo static site on GitHub Pages from a WXR export (.xml) plus the wp-content/uploads folder — preserving /archives/<id/ URLs, localizing…

    131 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Wjs Burning Subtitles

    jianshuo/claude-skills

    A skill your agent uses when the user has a video + an SRT and wants the subtitles either burned into the pixels (libass, always-visible) or soft-muxed as a togglable track.

    131 GitHub stars~3k tokensUpdated 1 mo ago
    Auto-check passed
  • Wjs Cleaning Spam

    jianshuo/claude-skills

    A skill your agent uses when the user complains about spam on his X/Twitter posts — 同城面付 / 寻固炮 / 线下上门 / 免费破处 这类引流号在他推文下刷的 emoji 垃圾回复 — and wants them removed.

    131 GitHub stars~532 tokensUpdated 1 mo ago
    Auto-check passed
  • Wjs Creating Video Book

    jianshuo/claude-skills

    A skill your agent uses when the user wants a book turned into YouTube chapter videos — 每章用 VoiceDrop 读书的有声书 mp3 做音轨,配 GPT Image 2 画面和中心思想大字,输出 1920×1080 横屏视频发 YouTube。Triggers — "把这本书做成视频"…

    131 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Wjs Publishing Books To X

What does Wjs Publishing Books To X do?

A skill your agent uses when 王建硕 wants to publish his VoiceDrop books (voicedrop.cn/books) to X/Twitter as threads — 列出他写的书、挑没发过的、整本拆成推文串发出。Triggers — "把书发到 X", "发书的 thread", "publish my book to X"…. Wjs Publishing Books To X is an agent skill from jianshuo/claude-skills.cn/books) to X/Twitter as threads — 列出他写的书、挑没发过的、整本拆成推文串发出。Triggers — "把书发到 X", "发书的 thread", "publish my book to X", "书架的书发推", "/wjs-publishing-books-to-x".

When should I use Wjs Publishing Books To X?

Wjs Publishing Books To X fits situations like: 王建硕 wants to publish his VoiceDrop books (voicedrop.cn/books) to X/Twitter as threads — 列出他写的书、挑没发过的、整本拆成推文串发出。Triggers — 把书发到 X; publish my book to X; /wjs-publishing-books-to-x.

How do I install Wjs Publishing Books To X in Claude Code?

Run `npx skills add jianshuo/claude-skills --skill wjs-publishing-books-to-x -a claude-code`. Or copy the skill folder (wjs-publishing-books-to-x in jianshuo/claude-skills) into .claude/skills/wjs-publishing-books-to-x in your project. Claude Code loads it when a task matches its description.

How do I install Wjs Publishing Books To X in Codex?

Run `npx skills add jianshuo/claude-skills --skill wjs-publishing-books-to-x -a codex`. Or copy the skill folder (wjs-publishing-books-to-x in jianshuo/claude-skills) into .agents/skills/wjs-publishing-books-to-x in your project. Codex loads it when a task matches its description.

Can I use Wjs Publishing Books To X in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jianshuo/claude-skills --skill wjs-publishing-books-to-x -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/wjs-publishing-books-to-x, .gemini/skills/wjs-publishing-books-to-x, .github/skills/wjs-publishing-books-to-x and .opencode/skills/wjs-publishing-books-to-x in your project.

What does Wjs Publishing Books To X need to run?

Going by SKILL.md and its folder, Wjs Publishing Books To X needs a shell and Python for the scripts in its folder and the command-line tools its instructions call (jq, bash, curl and claude). Our summary lists: Python 3; A Bash shell.

Does Wjs Publishing Books To X access the network?

SKILL.md names 2 domains. In commands or code: voicedrop.cn and x.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Wjs Publishing Books To X safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Wjs Publishing Books To X use?

Wjs Publishing Books To X is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Wjs Publishing Books To X use?

About 1.1k tokens (SKILL.md is roughly 4.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Wjs Publishing Books To X?

Skills that share tags, products or a category with Wjs Publishing Books To X: Content (Gerstep/cybos, 104 stars), AI Social Media Content (NeverSight/learn-skills.dev, 217 stars), Social (coreyhaines31/marketingskills, 54k stars) and Outlier Post Finder (ScrapeCreators/social-media-research-skills, 3.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Wjs Publishing Books To X?

jianshuo (a GitHub user) maintains it in jianshuo/claude-skills, which has 131 GitHub stars. The repository holds 38 skills in this directory. The repository was last updated on August 20, 2026.

Source: jianshuo/claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.