claude-code-best-practice-zh: Command for Claude Code

.claude/commands/workflows/best-practice/workflow-claude-skills.md

workflow-claude-skills is a command for Claude Code from Rito-w/claude-code-best-practice-zh. It costs 11 tokens per session (1,674 once invoked), scanned A, a copy of workflow-claude-commands, MIT.

A workflow for checking whether Claude Code's skills documentation has fallen out of date. Skills are reusable instructions that guide an agent through a type of task.

In plain words
What is it for?
It is for comparing recent Claude Code versions with the local report, focusing on frontmatter fields and built-in skills.
Why use it?
It identifies documentation changes before the local Skills Reference report is updated, with the update requiring approval.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code.

This is Rito-w/claude-code-best-practice-zh's own configuration. It tells Claude Code how to work on claude-code-best-practice-zh 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 claude-code-best-practice-zh configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Rito-w/claude-code-best-practice-zh. 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/Rito-w/claude-code-best-practice-zh/main/.claude/commands/workflows/best-practice/workflow-claude-skills.md
Clone the repo
git clone --depth 1 https://github.com/Rito-w/claude-code-best-practice-zh

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 workflow-claude-skills

README.md
[![agentmods](https://agentmods.dev/badge/commands/rito-w/claude-code-best-practice-zh/workflow-claude-skills/github.svg)](https://agentmods.dev/commands/rito-w/claude-code-best-practice-zh/workflow-claude-skills)
Your own site
<a href="https://agentmods.dev/commands/rito-w/claude-code-best-practice-zh/workflow-claude-skills"><img src="https://agentmods.dev/badge/commands/rito-w/claude-code-best-practice-zh/workflow-claude-skills/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 workflow-claude-skills

Your own site · 80×15
<a href="https://agentmods.dev/commands/rito-w/claude-code-best-practice-zh/workflow-claude-skills"><img src="https://agentmods.dev/badge/commands/rito-w/claude-code-best-practice-zh/workflow-claude-skills.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,674 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 86% copy Near-identical to another mod 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.00011 $0.01674
Opus 5 $0.00005 $0.00837
Sonnet 5 $0.00002 $0.00335
Haiku 4.5 $0.00001 $0.00167

Measured 10d ago against content hash 781a6dad0738, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

workflow-claude-skills 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 10d 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.

Origin

This is a copy

86% identical to workflow-claude-commands — 44 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/workflows/best-practice/workflow-claude-skills.md · 139 lines

How it starts

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

Workflow Changelog — Skills Report

You are a coordinator for the claude-code-best-practice project. Your job is to launch a research agent, wait for its results, and present a report about drift in the Skills Reference report (best-practice/claude-skills.md).

This workflow checks for exactly two types of drift:

  1. Frontmatter fields — any field added or removed in the official docs
  2. Official bundled skills — any bundled skill added or removed

Versions to check: $ARGUMENTS (default: 10 if empty or not a number)

This is a read-then-report workflow. Launch the agent, merge findings, and produce a report. Only take action if the user approves.


Phase 1: Launch Research Agent

Spawn the workflow-claude-skills-agent with this prompt:

Research the claude-code-best-practice project for skills report drift. Check the last $ARGUMENTS versions (default: 10).

Fetch these 2 external sources:

  1. Skills Reference: https://code.claude.com/docs/en/skills
  2. Changelog: https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md

Then read the local report (best-practice/claude-skills.md).

Check for exactly two things:

  1. Frontmatter fields: Compare the official docs' supported skill frontmatter fields against the report's Frontmatter Fields table. Flag any fields that were added or removed.
  2. Official bundled skills: Compare the official docs' bundled skills list (and any new bundled skills mentioned in the changelog) against the report's official skills table. Flag any skills that were added or removed.

Phase 2: Read Previous Changelog Entries

While the agent is running, read changelog/best-practice/claude-skills/changelog.md to get the last 25 entries. Parse the priority actions to identify:

  • Recurring items — issues that appeared before and are still unresolved
  • New items — issues appearing for the first time
  • Resolved items — previously flagged issues now fixed

Read the full file on GitHub · 139 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. 10d ago First seen · 139 lines · 11 tokens per session scan A 781a6dad0738

Subscribe to this mod's changes

workflow-claude-skills is a command published in the GitHub repository Rito-w/claude-code-best-practice-zh (10 stars, last pushed 2mo ago), licensed MIT. It adds 11 tokens to every session and 1,674 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to workflow-claude-commands, differing in 44 lines, and is treated as a copy.