cc-sessions-viewer: Skill for Claude Code

.agents/skills/skill-designer/SKILL.md

skill-designer is a skill for Claude Code, Codex from jerrywu001/cc-sessions-viewer. It costs 27 tokens per session (2,060 once invoked), scanned A, original, MIT.

A guide for designing SKILL.md files, which are instruction files that teach a coding agent how to handle a specific kind of task. It activates when you create a new skill.

In plain words
What is it for?
Use it when creating or shaping a new SKILL.md file.
Why use it?
It helps you turn a rough idea into clear, useful instructions for an agent. This reduces the chance of making a skill that is incomplete or difficult to follow.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is jerrywu001/cc-sessions-viewer's own configuration. It tells Claude Code and Codex how to work on cc-sessions-viewer 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 cc-sessions-viewer configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jerrywu001/cc-sessions-viewer. 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/jerrywu001/cc-sessions-viewer/main/.agents/skills/skill-designer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/jerrywu001/cc-sessions-viewer

Made for: Claude Code, Codex.

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 skill-designer

README.md
[![agentmods](https://agentmods.dev/badge/skills/jerrywu001/cc-sessions-viewer/skill-designer/github.svg)](https://agentmods.dev/skills/jerrywu001/cc-sessions-viewer/skill-designer)
Your own site
<a href="https://agentmods.dev/skills/jerrywu001/cc-sessions-viewer/skill-designer"><img src="https://agentmods.dev/badge/skills/jerrywu001/cc-sessions-viewer/skill-designer/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 skill-designer

Your own site · 80×15
<a href="https://agentmods.dev/skills/jerrywu001/cc-sessions-viewer/skill-designer"><img src="https://agentmods.dev/badge/skills/jerrywu001/cc-sessions-viewer/skill-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,060 The whole file, excluding the scripts and references it only reads on demand.
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.00027 $0.02060
Opus 5.5 $0.00011 $0.00824
Sonnet 5.5 $0.00005 $0.00412
Haiku 4.5 $0.00003 $0.00206

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

Security

Grade A, and why

skill-designer 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.

.agents/skills/skill-designer/SKILL.md · 275 lines

How it starts

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

Agent Skill Designer

一个教你怎么设计高质量SKILL.md内容的skill。当用户要创建新skill时自动触发。

核心概念

SKILL.md的格式已经标准化了,但内容设计才是难点。同样的skill,用不同模式组织,效果天差地别。

5种设计模式:

模式 核心作用 何时用
Tool Wrapper 让AI临时变成某个库的专家 传递框架/库的规范和使用惯例
Generator 按固定模板生成结构化文档 生成固定格式的输出物
Reviewer 按检查清单评分/审查 评审、审计、打分
Inversion AI先问你,再决定怎么做 需求不明确、需要引导
Pipeline 强制按步骤执行,有检查点 复杂任务、不能跳过步骤

第一步:判断用哪种模式

回答3个问题,快速定位:

Q1: 这个skill是要产生一个固定的文档/代码结构吗?

  • 是 → Generator
  • 否 ↓

Q2: 这个skill需要先收集用户信息才能工作吗?

  • 是 → Inversion
  • 否 ↓

Q3: 这个skill需要分步骤执行、不能跳过吗?

  • 是 → Pipeline
  • 否 ↓

Q4: 这个skill是让AI"学习"某个库的用法吗?

  • 是 → Tool Wrapper
  • 否 ↓

兜底: Reviewer(默认模式)

第二步:按模式写SKILL.md

Pattern 1: Tool Wrapper

适用场景:让AI在遇到特定技术栈时,自动加载最佳实践

核心结构:

## 核心规范
读取 'references/conventions.md' 获取完整规范

## 写作时
1. 加载规范文件
2. 严格遵守每一条规则
3. 为所有函数签名添加类型注解

## 审查时
1. 加载规范文件
2. 对照检查每一条
3. 对每个违规,引用具体规则并给出修复建议

关键点:

  • 规范文件独立存放(references/)
  • 只在真正需要时才加载(渐进式披露)
  • 规则要具体、可执行

Pattern 2: Generator

适用场景:生成结构一致的文件(报告、文档、代码模板)

核心结构:

## 工作流程

Step 1: 加载样式指南
读取 'references/style-guide.md'

Step 2: 加载输出模板
读取 'assets/output-template.md'

Step 3: 询问缺失信息
向用户收集模板中缺失的变量:
- 主题是什么?
- 关键数据点?
- 目标读者?

Step 4: 填充模板
严格按照样式指南的规则填充每个section

Step 5: 输出
返回完整的Markdown文档

关键点:

  • 模板和样式指南独立(assets/ + references/)
  • 必须向用户收集缺失变量
  • 输出格式固定,不可自定义

Pattern 3: Reviewer

适用场景:代码审查、质量审计、安全检查

核心结构:

## 审查协议

Step 1: 加载检查清单
读取 'references/review-checklist.md'

Step 2: 理解代码
先读懂代码的目的,再开始批评

Step 3: 逐项检查
对每个违规项:
- 记录位置(行号或大概位置)
- 分类 severity:error / warning / info
- 解释为什么是问题
- 给出具体修复代码

Step 4: 输出结构化报告
- Summary:代码做什么、总体评价
- Findings:按 severity 分组
- Score:1-10分,简短理由
- Top 3 Recommendations:最有价值的改进

关键点:

  • 检查清单独立(可替换)
  • 按 severity 分组输出
  • 每个问题要解释"为什么"而不只是"是什么"

Pattern 4: Inversion

适用场景:需求不明确、需要AI引导用户思考

核心结构:

## 采访式交互

你是主持人。**不要**在收集完所有信息前开始构建。

### Phase 1 — 问题发现(一次问一个,等回答)

Q1: 这个项目为用户解决什么问题?
Q2: 主要用户是谁?技术水平如何?
Q3: 预期规模?(日活、数据量、请求量)

### Phase 2 — 技术约束(仅在Phase 1完成后再问)

Q4: 部署环境是什么?
Q5: 技术栈有什么偏好或限制?
Q6: 有什么硬性要求?(延迟、可用性、合规、预算)

### Phase 3 — 整合(仅在所有问题回答后才执行)

1. 加载输出格式模板
2. 用收集的信息填充每个section
3. 呈现完整方案
4. 询问:"这个方案准确吗?有什么要改的?"
5. 根据反馈迭代,直到用户确认

Read the full file on GitHub · 275 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 275 lines · 27 tokens per session scan A 9784da9935cd

Subscribe to this mod's changes

skill-designer is a skill published in the GitHub repository jerrywu001/cc-sessions-viewer (408 stars, last pushed yesterday), licensed MIT. It adds 27 tokens to every session and 2,060 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

autofix-pr

Watch a pull request and fix it from a worktree of its own - CI failures, review feedback from trusted authors and merge conflicts are fixed, pushed to the PR branch and answered on the PR under the user's git and gh identity. Usage - /autofix-pr [ | ] [--once] [--every ] [--no-reply] [--yes] [instructions]…

QwenLM/qwen-code · 123 tokens

stuck

Diagnose frozen, stuck, or slow Qwen Code sessions on this machine. Scans for problematic processes, high CPU/memory usage, hung subprocesses, and debug logs. Use /stuck or /stuck to focus on a specific process.

QwenLM/qwen-code · 57 tokens

e2e-testing

Guide for running end-to-end tests of the Qwen Code CLI, including headless mode, MCP server testing, and API traffic inspection. Use this skill whenever you need to verify CLI behavior with real model calls, reproduce user-reported bugs end-to-end, test MCP tool integrations, or inspect raw API request/response…

QwenLM/qwen-code · 94 tokens

structured-debugging

Hypothesis-driven debugging methodology for hard bugs. Use this skill whenever you're investigating non-trivial bugs, unexpected behavior, flaky tests, or tracing issues through complex systems. Activate proactively when debugging requires more than a quick glance — especially when the first attempt at a fix didn't…

QwenLM/qwen-code · 85 tokens

desktop-brand-builder

Generate a branded Qwen Code desktop package from the Tauri desktop shell using a minimal brandId and logo. Use when the user wants a custom, white-label, or rebranded desktop client, installer, DMG/EXE/AppImage/deb, or one-click brand build on top of packages/desktop.

QwenLM/qwen-code · 68 tokens

batch-api

Prepare a many-file, single-turn transform (translate, rewrite, extract) as a plan and submit it to the asynchronous, half-price DashScope Batch API; results are delivered as new files hours later. Invoke explicitly with /batch-api.

QwenLM/qwen-code · 51 tokens