supsub-cli: Instructions file for Claude Code

CLAUDE.md

supsub-cli CLAUDE.md is an instructions file for Claude Code from SupSub-AI/supsub-cli. It costs 4,800 tokens per session, scanned A, original, MIT.

Repository guidance for SupSub CLI, a command-line tool whose Chinese natural-language requests are routed to specific commands. It defines the authoritative mapping for tasks such as login, subscriptions, and searches.

In plain words
What is it for?
Use it when modifying SupSub CLI or handling Chinese user requests about accounts, subscriptions, websites, public accounts, and searches.
Why use it?
It prevents an agent from interpreting an ambiguous request such as “search X” incorrectly. The routing table explains the intended command before the agent inspects implementation details.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

This is SupSub-AI/supsub-cli's own configuration. It tells Claude Code how to work on supsub-cli 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 supsub-cli configures →

Reuse

Borrowing it

Nothing to install: this file belongs to SupSub-AI/supsub-cli. 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/SupSub-AI/supsub-cli/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/SupSub-AI/supsub-cli

Made for: Claude Code.

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 supsub-cli CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/supsub-ai/supsub-cli/claude-md/github.svg)](https://agentmods.dev/instructions/supsub-ai/supsub-cli/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/supsub-ai/supsub-cli/claude-md"><img src="https://agentmods.dev/badge/instructions/supsub-ai/supsub-cli/claude-md/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 supsub-cli CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/supsub-ai/supsub-cli/claude-md"><img src="https://agentmods.dev/badge/instructions/supsub-ai/supsub-cli/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,800 This file is loaded in full into every session.
When invoked 4,800 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.04800 $0.04800
Opus 5.5 $0.01920 $0.01920
Sonnet 5.5 $0.00960 $0.00960
Haiku 4.5 $0.00480 $0.00480

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

Security

Grade A, and why

supsub-cli CLAUDE.md 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.

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.

CLAUDE.md · 124 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

READ THIS FIRST if you are answering an end-user natural-language SupSub request. Many requests will look like "搜一下 X" / "查一下 X" — they are not about microblog accounts by default. Consult the routing table immediately below before doing anything else; do not skim source code in src/commands/ to guess the command.

End-user 意图 → 命令路由(最高优先级)

This section is the authoritative routing table for end-user-style natural-language requests about SupSub usage (登录 / 订阅 / 搜索 / 找公众号 …). The same mapping is encoded in skills/*/SKILL.md; this section exists so agents that don't pick up the marketplace skills (e.g. sub-agents inheriting CWD inside this repo) still route correctly. Match the user's intent against this table first; only then look at command source if you need flag-level detail.

用户意图 (中文) Skill 命令
登录 / 登出 / 查看登录状态 / 我现在用哪个账号 supsub-auth supsub auth login / logout / status
列出订阅 / 我订阅了哪些 / 添加订阅 / 取消订阅 / 看某个订阅里有哪些文章 supsub-sub supsub sub list / add / remove / contents(订阅源类型 MP公众号 / WEBSITE网站 / X推特;contents 支持 --page / --page-size)
我的关注点 / 关注点列表 / 我关注了哪些 / 看某个关注点里的内容(文章)/ 关注点有哪些未读 / 删除关注点 supsub-focus supsub focus list / contents / remove(无新增;删除不可逆)
我的分组 / 新建(重命名 / 删除)分组 / 把某订阅加进(移出)分组 / 某分组里有哪些订阅、还有多少未读 / 整理订阅 supsub-group supsub group list / add / rename / remove / subs / add-sub / remove-sub(删除分组不可逆,先与用户确认;add-sub/remove-sub 是读-改-写全量覆盖,勿并发)
我还有什么没读 / 有多少未读 / 未读概览 / 帮我清未读 / 这个号(这个关注点)我读完了 supsub-unread supsub unread;supsub sub mark-read --all;supsub focus mark-read --all(只有整源/整关注点一档,无单篇已读;不可逆、无取消已读,执行前必须二次确认)
搜文章 / 搜内容 / 关键词找文章 / 全文搜 / 「搜一下 X」 / 「搜 X 相关的内容」 supsub-search supsub search <kw> [--type ALL|MP|WEBSITE|CONTENT]
发现一个具体公众号账号 / 「找 XXX 这个公众号」 / 想订阅某公众号但不知道 ID supsub-mp supsub mp search <name> → 拿 mpId → supsub sub add --mp-id <mpId>
精读某一篇 / 「深读一下这篇」「帮我拆解这篇」「这篇靠不靠谱 / 有没有干货」「把这几篇都精读了出份简报」/ 「昨天那篇精读好了吗」 supsub-deepread supsub deepread run --type <t> --content-id <cid>;deepread list / quota / share(扣月度额度,发起前必须确认;contentId 必须来自上下文)

Read the full file on GitHub · 124 lines

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 First seen · 124 lines · 4,800 tokens per session scan A 5c947c1a06ec

Subscribe to this mod's changes

supsub-cli CLAUDE.md is an instructions file published in the GitHub repository SupSub-AI/supsub-cli (5 stars, last pushed 2mo ago), licensed MIT. It adds 4,800 tokens to every session, about $0.0192 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-31.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,649 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,549 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens