supsub-auth

supsub-auth is a skill for Claude Code from SupSub-AI/supsub-cli. It costs 106 tokens per session (1,394 once invoked), scanned C, original, MIT.

A login and logout helper for the SupSub command-line tool, including a check of which account is currently signed in. SupSub is a service for collecting and reading content from subscribed sources.

In plain words
What is it for?
Signing in to SupSub, signing out, checking login status, and confirming the active account before using other SupSub commands.
Why use it?
It handles the browser-based OAuth login process, so you do not need to enter an API key or manage access tokens yourself.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the supsub-cli plugin — 8 skills shipped together

Good fit Signing in to SupSub, signing out, checking login status, and confirming the active account before using other SupSub commands.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/supsub-ai/supsub-cli/supsub-auth
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add SupSub-AI/supsub-cli --skill supsub-auth
Clone the repo
git clone --depth 1 https://github.com/SupSub-AI/supsub-cli

Made for: Claude Code.

Or install supsub-cli, the plugin that ships this one along with the rest of its 8 skills.

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-auth

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/supsub-ai/supsub-cli/supsub-auth"><img src="https://agentmods.dev/badge/skills/supsub-ai/supsub-cli/supsub-auth.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,394 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00106 $0.01394
Opus 5.5 $0.00042 $0.00558
Sonnet 5.5 $0.00021 $0.00279
Haiku 4.5 $0.00011 $0.00139

Measured 20d ago against content hash 607ca3394454, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

supsub-auth scanned grade C with 2 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 20d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

- 安装:`curl -fsSL https://raw.githubusercontent.com/SupSub-AI/supsub-cli/master/scripts/install.sh | bash`(native 安装,装到 `~/.local`、支持后台自动更新);或包管理器 `npm i -g @supsub/cli` / `pnpm add -g @supsub/cli`

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- 安装:`curl -fsSL https://raw.githubusercontent.com/SupSub-AI/supsub-cli/master/scripts/install.sh | bash`(native 安装,装到 `~/.local`、支持后台自动更新);或包管理器 `npm i -g @supsub/cli` / `pnpm add -g @supsub/cli`
skills/supsub-auth/SKILL.md · 101 lines

How it starts

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

supsub-auth Skill

Log in, log out, and check authentication status for the SupSub CLI.

Prerequisites

  • 安装:curl -fsSL https://raw.githubusercontent.com/SupSub-AI/supsub-cli/master/scripts/install.sh | bash(native 安装,装到 ~/.local、支持后台自动更新);或包管理器 npm i -g @supsub/cli / pnpm add -g @supsub/cli
  • 登录凭证保存在 ~/.supsub/config.json(目录权限 0700,文件权限 0600)。supsub auth login 走 OAuth 设备授权,成功后写入 access_token / refresh_token。CLI 不支持 API Key 登录,没有 --api-key flag / SUPSUB_API_KEY 这一类入口。
  • 令牌会自动续期:access_token 约 24 小时到期,CLI 在过期前(或收到 401 时)用 refresh_token 自动换新令牌并写回配置文件,全程无感。refresh_token 约 14 天有效,只有它也失效时才需要重新 supsub auth login。

Commands

Log in

supsub auth login

supsub auth login 会自动打开浏览器,走 OAuth 设备授权流程(Device Authorization)完成登录;授权成功后把 access_token / refresh_token 写入 ~/.supsub/config.json。这是 CLI 唯一的登录方式(不支持 API Key 登录)。

# 自动打开浏览器完成授权
supsub auth login

# 无头 / e2e 环境:跳过自动打开浏览器,手动复制终端里的链接去授权
SUPSUB_NO_BROWSER=1 supsub auth login

JSON 模式 (-o json) 下,登录成功 stdout 输出 {"success":true,"data":{"client_id":"supsub-cli","email":"...","name":"..."}}(email / name 来自登录后拉取的用户信息;若拉取失败这两个字段缺省,退化为 {"client_id":"supsub-cli"});提示信息走 stderr。


Check status

supsub auth status

Shows the current logged-in user, the masked credential, and its source。正常 OAuth 登录后 api_key_source 为 config(凭证来自配置文件里的 access_token);api_key 字段是脱敏后的访问令牌(CLI 沿用 sk_live_*** 前缀展示,并非真有 API Key)。

supsub auth status
supsub auth status -o json

JSON shape:

{
  "success": true,
  "data": {
    "email": "...",
    "name": "...",
    "client_id": "supsub-cli",
    "api_key_source": "config",
    "api_key": "sk_live_***xxxx"
  }
}

If unauthenticated, exits with code 2 (UNAUTHORIZED) and a message asking the user to run supsub auth login.


Log out

supsub auth logout

Removes saved credentials from ~/.supsub/config.json.

supsub auth logout
supsub auth logout -o json

Read the full file on GitHub · 101 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. 20d ago Changed · +1 lines 607ca3394454
  2. 3mo ago First seen · 100 lines · 106 tokens per session scan C 7d32228fb3d9

Subscribe to this mod's changes

supsub-auth is a skill published in the GitHub repository SupSub-AI/supsub-cli (5 stars, last pushed 21d ago), licensed MIT. It adds 106 tokens to every session and 1,394 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

supsub-auth compared with skills from other repositories

supsub-auth next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
supsub-authSupSub-AI/supsub-cliSkill521d agoMITC106Claude Code
imaging-data-commonssynthetic-sciences/openscienceSkill4.5ktodayApache-2.0A62Claude Code, Codex
molecular-cloningsynthetic-sciences/openscienceSkill4.5ktodayApache-2.0A70Claude Code, Codex
flow-cytometry-analysissynthetic-sciences/openscienceSkill4.5ktodayApache-2.0A67Claude Code, Codex
datamolsynthetic-sciences/openscienceSkill4.5ktodayApache-2.0A67Claude Code, Codex
shapsynthetic-sciences/openscienceSkill4.5ktodayApache-2.0A109Claude Code, Codex
genomic-intelligencesynthetic-sciences/openscienceSkill4.5ktodayApache-2.0A150Claude Code, Codex