swcc-switch

swcc-switch is a skill for Claude Code, Codex from guoqiaoZhou/study-with-claude-code. It costs 59 tokens per session (753 once invoked), scanned A, original, MIT.

A topic manager for switching between study subjects and viewing their review status. A topic is a separate subject with its own learning items and progress.

In plain words
What is it for?
Use it to switch the active subject, list all subjects, see mastery and due-review counts, or choose what to study next.
Why use it?
It prevents study progress from being mixed between subjects and shows which subject needs attention.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the study-with-claude-code plugin — 12 skills shipped together

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.

agentmods
npx agentmods add skills/guoqiaozhou/study-with-claude-code/switch
Any agent
npx skills add guoqiaoZhou/study-with-claude-code --skill switch
Clone the repo
git clone --depth 1 https://github.com/guoqiaoZhou/study-with-claude-code

Made for: Claude Code, Codex.

Or install study-with-claude-code, the plugin that ships this one along with the rest of its 12 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 swcc-switch

README.md
[![agentmods](https://agentmods.dev/badge/skills/guoqiaozhou/study-with-claude-code/switch.svg)](https://agentmods.dev/skills/guoqiaozhou/study-with-claude-code/switch)
Your own site
<a href="https://agentmods.dev/skills/guoqiaozhou/study-with-claude-code/switch"><img src="https://agentmods.dev/badge/skills/guoqiaozhou/study-with-claude-code/switch.svg" alt="Measured on agentmods" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 753 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00059 $0.00753
Opus 5 $0.00030 $0.00377
Sonnet 5 $0.00012 $0.00151
Haiku 4.5 $0.00006 $0.00075

Measured 4d ago against content hash 5e95f33bd997, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

swcc-switch 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 4d 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.

skills/switch/SKILL.md · 60 lines

What it actually says

swcc · switch — 多专题切换 + 总览

切换当前默认专题,或在无参数时列出所有专题的总览供选择。

开始前先读数据契约:${CLAUDE_PLUGIN_ROOT}/skills/_shared/data-contract.md(第九节 config、第十三节到期判定)。

参数:$ARGUMENTS —— 可选 topic(目标专题的名称或 slug)。


核心原则

  1. 唯一写入 = config.jsonactiveTopic 不碰任何专题的 tree / progress / system——总览部分全是只读。
  2. 不存在就别乱写。 目标专题不存在时,列出可选项让用户重选,绝不新建或瞎指。
  3. 总览要给决策信息。 列专题时带掌握比例 + 今日到期数,让用户一眼看出该去哪。

流程

1. 读取专题表

  • config.jsontopics[] 与当前 activeTopic。config 不存在/缺失 → 按数据契约第九节兜底扫 topics/;一个都没有 → 提示先 /swcc-plan <topic>,停止。

2. 分支:带参 or 无参

情况 行为
带 topic 参数 把参数规整为 slug,在 topics[] + 磁盘 topics/<slug>/ 里匹配。匹配到 → 设 activeTopic = 该 slug,写回 config.json,确认。匹配不到 → 列出现有专题让用户重选,不写
无参数 渲染总览(下方),让用户选一个 → 设 activeTopic 写回。

3. 总览渲染(只读)

对每个专题,读其 progress.json 算:已掌握/总数比例、今日到期数(数据契约第十三节)、上次复习日(stats.lastReviewDate)。

📚 我的复习专题
━━━━━━━━━━━━━━━━━━━━
▶ <topic-A>   🟢 <a>/<total> 掌握   🔔 今日到期 <n>   上次 <date>   ← 当前
  <topic-B>   🟢 <a>/<total> 掌握   🔔 今日到期 <n>   上次 <date>
切换:/swcc-switch <topic>

4. 切换后确认

✅ 已切换到 <topic>(activeTopic)
下一步:/swcc-go 开始复习,或 /swcc-daily 看今天到期。

质量基准

  • 只改了 config.jsonactiveTopic 一个字段,其余文件未动。
  • 目标不存在时未误写、给了可选项。
  • 总览的比例/到期数与各 progress.json 一致。
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. 4d ago First seen · 60 lines · 59 tokens per session scan A 5e95f33bd997

Subscribe to this mod's changes

swcc-switch is a skill published in the GitHub repository guoqiaoZhou/study-with-claude-code (2 stars, last pushed 2mo ago), licensed MIT. It adds 59 tokens to every session and 753 once invoked, about $0.0003 per session on Opus 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 skills, from other repositories

tutorial

Provides interactive guided album creation for new users. Use when the user is new to the plugin or asks for a walkthrough of the album creation process.

bitwize-music-studio/claude-ai-music-skills · 31 tokens

obsidian-to-clew-import

Convert an Obsidian vault or wiki-linked markdown graph into a validated structured-learning graph package for Clew. Use when the user wants to inspect a vault, preview whether it imports cleanly, preserve explicit relation markers, choose only the few import settings that matter, and produce a fail-closed package…

miuuyy/Clew · 72 tokens

interview-simulator

Simulate role-specific mock interviews, score each answer, and provide concrete feedback and model responses for interview preparation.

LazyAGI/LazyMind · 27 tokens

learning-coach

中文高级私人学习教练。用户说“开始学习 X”“继续/下一课”“学完了”“记录进度/打卡”“我学到哪了/还要多久”,正在通过真实项目、源码、作品、题目或任务学习编程、Agent、写作、语言、考试、研究或职业技能,或对具体概念和材料连续追问时使用。触发后主动读取学习现场、学习记录、进度、用户背景和真实材料,替用户选择最近发展区与入口,一次只给一个动作或问题,并用解释、实践、反馈和迁移证据推进掌握。不要让用户先设计课程、选择材料或填写长问卷;只有方向取舍本身尚未解决且会造成明显浪费时,才交给 focus-coach。.

chrichuang218/ai-learning-coach · 179 tokens

mindtrain

Configure a private MindTrain instance, query its knowledge catalog, create user-approved training domains and knowledge points from AI dialogue or local reference libraries, and run persistent conversational training through Trainer MCP. Use when the user configures MindTrain, asks what domains or topics exist…

shigella520/MindTrain · 115 tokens

notebooklm

Programmatic access to Google NotebookLM for creating notebooks, adding sources (URLs, YouTube, PDFs, audio, video, images), chatting with content, generating artifacts (podcasts, videos, reports, quizzes, mind maps, flashcards, infographics), and downloading results. Includes capabilities beyond the web UI.

jmagar/claude-homelab · 67 tokens