Agent skill

Wjs Cleaning Spam

by jianshuo in jianshuo/claude-skills

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

MITAuto-check passedMedia & Creative

Install Wjs Cleaning Spam

skills CLI
$ npx skills add jianshuo/claude-skills --skill wjs-cleaning-spam -a claude-code

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

GitHub CLI
$ gh skill install jianshuo/claude-skills wjs-cleaning-spam --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-cleaning-spam .claude/skills/wjs-cleaning-spam && 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-cleaning-spam
GitHub stars
131
Token cost
~532 tokens
SKILL.md length
118 words
Files
2 (incl. scripts)
Skills in repo
38
Repo updated
First seen
Licence
MIT

At a glance

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

  • The user complains about spam on his X/Twitter posts — 同城面付 / 寻固炮 / 线下上门 / 免费破处 这类引流号在他推文下刷的 emoji 垃圾回复 — and wants them removed
  • SKILL.md covers Core Principle, Workflow, 踩过的坑(2026-06-10 实战) and When NOT to use, plus 1 more section
  • Runs Python scripts from its folder; calls python3
  • Clean spam replies

What it does

Wjs Cleaning Spam is an agent skill from jianshuo/claude-skills. Use when the user complains about spam on his X/Twitter posts — 同城面付 / 寻固炮 / 线下上门 / 免费破处 这类引流号在他推文下刷的 emoji 垃圾回复 — and wants them removed. Covers the last 7 days (X recent-search window). Triggers — "把这些spam删掉", "清理X垃圾回复", "推文下面好多引流号", "clean spam replies", "/wjs-cleaning-spam".

Its SKILL.md is about 530 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/clean_spam.py`).

It sits in Media & Creative. 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

  • The user complains about spam on his X/Twitter posts — 同城面付 / 寻固炮 / 线下上门 / 免费破处 这类引流号在他推文下刷的 emoji 垃圾回复 — and wants them removed
  • Clean spam replies
  • /wjs-cleaning-spam

Example prompts

  • “把这些spam删掉”
  • “清理X垃圾回复”
  • “推文下面好多引流号”
  • “/wjs-cleaning-spam”

Requirements

  • Python 3

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 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

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

  • Network

    No URLs in SKILL.md.

    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 Cleaning Spam loads about 532 tokens when it runs. Until then it costs about 74 tokens; SKILL.md has 118 words of instructions outside code blocks.

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

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). 118 words, ~532 tokens.

Download SKILL.mdSave it as .claude/skills/wjs-cleaning-spam/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
wjs-cleaning-spam
description
Use when the user complains about spam on his X/Twitter posts — 同城面付 / 寻固炮 / 线下上门 / 免费破处 这类引流号在他推文下刷的 emoji 垃圾回复 — and wants them removed. Covers the last 7 days (X recent-search window). Triggers — "把这些spam删掉", "清理X垃圾回复", "推文下面好多引流号", "clean spam replies", "/wjs-cleaning-spam".

wjs-cleaning-spam

清理挂在王建硕推文下的同城引流 spam 回复:隐藏回复 + 静音账号。

Core Principle

别人的推文删不掉。 X 只给串主两个武器:hide reply(从评论区移除,访客不可见)和 mute(通知里不再出现)。block 端点已被 X 从 API 下线(v2 返回 code 34,v1.1 要更高访问级别),真要拉黑只能网页手动。「删掉spam」= 隐藏 + 静音,做到 API 上限。

先 dry-run,人审 borderline,再 apply。 启发式会把真人评论("机器人🤖"、"저지능🤪")和 spam 变体("我在济源呀🌷" + 隐形字符)分错边。flagged 直接处理,borderline 必须 Claude 逐条看。

Workflow

bash
# 1. dry-run:输出 flagged + borderline 两个名单(JSON)
python3 ~/.claude/skills/wjs-cleaning-spam/scripts/clean_spam.py

# 2. Claude 逐条审 borderline:引流号特征 = 名字带 💕🌸♥ 装饰 / 同城话术 /
#    文本夹隐形字符(U+034F 等)/ 纯 emoji。真人评论(哪怕是骂人)不动。
#    把 borderline 里确认是 spam 的 id 并入名单。

# 3. apply:隐藏 + 静音(默认只处理 flagged;审完 borderline 用 --ids 指定全集)
python3 ~/.claude/skills/wjs-cleaning-spam/scripts/clean_spam.py --apply
python3 ~/.claude/skills/wjs-cleaning-spam/scripts/clean_spam.py --apply --ids id1,id2,...

# 4. 撞 429 限流(hide 约 50 次/15 分钟)脚本会自动停 —— 15 分钟后重跑同一条命令,
#    state/cleaned.jsonl 记录了已处理的 id,自动跳过、续跑。

向用户汇报:隐藏几条、失败几条(及原因)、静音几个号;提醒 block 需网页手动。

踩过的坑(2026-06-10 实战)

坑现实
raw 查询 401 Unauthorizedquery 参数里的 : 必须 URL 编码(to%3Ajianshuo),不是 auth 问题,别去换 oauth1/oauth2
xurl block 报 code 34block 端点已从 X API 移除(v2/v1.1 都不行),用 mute 替代,别反复试
hide 报 "Invalid Request"该回复所在会话的根推文不是用户的(用户只是参与别人的串),串主才有权隐藏——记为 hide-failed,账号照样静音
hide 报 429限流约 50 次/15 分钟,等窗口刷新重跑脚本即可(状态文件保证幂等)
纯文本 spam 漏网"我在济源呀" 这类同城话术靠隐形字符(U+034F/零宽符)混过滤器——脚本已检测,新变体出现时把特征加进 NAME_KW / INVISIBLE
误伤真人emoji 启发式会扫进真人短评——这就是 borderline 名单存在的原因,必须人审

When NOT to use

  • spam 超过 7 天:recent-search 接口只覆盖 7 天,更早的要用网页手动
  • 用户要删自己发的推文:直接 xurl delete POST_ID
  • 用户要拉黑某个具体账号:API 做不到,告诉他网页操作(账号主页 ⋯ → Block)

State

state/cleaned.jsonl — 每条处理过的回复一行(id / author / status)。重跑跳过已处理;想重头来删掉此文件。

© 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 1 other file (scripts) in wjs-cleaning-spam of jianshuo/claude-skills.

  • SKILL.md
  • scripts/clean_spam.py

Open the folder on GitHubat commit b2690f5

Compare with similar skills

Wjs Cleaning Spam 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 Cleaning Spam compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Wjs Cleaning Spam this skilljianshuo/claude-skills131—~532Automated safety check: PassMIT
Podcastteam-attention/plugins-for-claude-natives827—~1.5kAutomated safety check: PassMIT
VideoiBigQiang/feedgrab614—~1.6kAutomated safety check: PassMIT
ContentGerstep/cybos104—~616Automated safety check: PassNone
X Ingestchubbyguan/chubbyskills1.2k—~966Automated safety check: NotesMIT
Cs Kai CoverChenShuo2004/cs-skills197—~460Automated safety check: PassMIT

Similar skills

  • 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
  • Video

    iBigQiang/feedgrab

    Video & Podcast Digest — send a video/podcast link, get full transcript + structured summary.

    614 GitHub stars~1.6k tokensUpdated 1 mo ago
    Media & CreativeAuto-check passed
  • Content

    Gerstep/cybos

    Generate posts, essays and images following brand guidelines.

    104 GitHub stars~616 tokensUpdated 1 mo ago
    Media & CreativeAuto-check passed
  • X Ingest

    chubbyguan/chubbyskills

    X(Twitter) 推文采集 → 统一 frontmatter Markdown。自动区分图文与视频: 图文下载图片本地嵌入,视频提取直链转成文字稿。无需登录(走官方嵌入端点)。

    1.2k GitHub stars~966 tokensUpdated 3 days ago
    Media & CreativeAuto-check: notes
  • Cs Kai Cover

    ChenShuo2004/cs-skills

    当用户要用 KAI 固定角色制作 X / Twitter 文章封面、5:2 横版观点封面或清晰中文标题封面时使用;输出角色背景与确定性文字合成 PNG,不用于小黄 IP、正文配图、PPT 或通用头像设计。

    197 GitHub stars~460 tokensUpdated 3 days ago
    Media & CreativeAuto-check passed
  • Post Optimizer

    okooo5km/Skills4U

    将平实、准确的内容改写成有网感、能引发互动的社交媒体文案。适用于 Twitter/X、小红书、即刻等平台的短文案优化。当用户希望优化推文、笔记、短帖子,或者想让功能描述/产品更新变得更抓人眼球时,使用此 skill。也适用于用户给出一个主题、一段草稿、或一组功能点,希望生成一条有活人感的推文。不适用于长文章、博客、正式文档。

    183 GitHub stars~1.5k tokensUpdated 4 days ago
    Media & CreativeAuto-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 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
  • Wjs Looping Feedback

    jianshuo/claude-skills

    A skill your agent uses when the user wants to add an in-site feedback loop to a website repo — a floating "提个建议" button where allowlisted visitors submit suggestions that become a GitHub Issue…

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

Works with

Questions about Wjs Cleaning Spam

What does Wjs Cleaning Spam do?

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

When should I use Wjs Cleaning Spam?

Wjs Cleaning Spam fits situations like: the user complains about spam on his X/Twitter posts — 同城面付 / 寻固炮 / 线下上门 / 免费破处 这类引流号在他推文下刷的 emoji 垃圾回复 — and wants them removed; clean spam replies; /wjs-cleaning-spam.

How do I install Wjs Cleaning Spam in Claude Code?

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

How do I install Wjs Cleaning Spam in Codex?

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

Can I use Wjs Cleaning Spam 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-cleaning-spam -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-cleaning-spam, .gemini/skills/wjs-cleaning-spam, .github/skills/wjs-cleaning-spam and .opencode/skills/wjs-cleaning-spam in your project.

What does Wjs Cleaning Spam need to run?

Going by SKILL.md and its folder, Wjs Cleaning Spam needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Wjs Cleaning Spam access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Wjs Cleaning Spam 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 Cleaning Spam use?

Wjs Cleaning Spam 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 Cleaning Spam use?

About 532 tokens (SKILL.md is roughly 2.1k 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 Cleaning Spam?

Skills that share tags, products or a category with Wjs Cleaning Spam: Podcast (team-attention/plugins-for-claude-natives, 827 stars), Video (iBigQiang/feedgrab, 614 stars), Content (Gerstep/cybos, 104 stars) and X Ingest (chubbyguan/chubbyskills, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Wjs Cleaning Spam?

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.