zhtw-mcp: Skill for Claude Code

.claude/skills/zhtw-verify/SKILL.md

zhtw-verify is a skill for Claude Code from sysprog21/zhtw-mcp. It costs 117 tokens per session (2,532 once invoked), scanned A, original, MIT.

A project-specific guide for checking changes to zhtw-mcp, including tests, code formatting, generated files, hooks, and continuous integration (CI), which runs checks automatically on a server.

In plain words
What is it for?
Use it to validate changes with the project’s make commands, formatter checks, hook tests, security audits, size checks, and CI lanes.
Why use it?
It explains which checks must pass and points out where local checks can skip tools that CI requires, reducing the risk of treating an incomplete local run as proof that a change is valid.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is sysprog21/zhtw-mcp's own configuration. It tells Claude Code how to work on zhtw-mcp 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 zhtw-mcp configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/gen-s2t-tables.py # src/engine/s2t_data.rs, then rustfmt it.

Reuse

Borrowing it

Nothing to install: this file belongs to sysprog21/zhtw-mcp. 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/sysprog21/zhtw-mcp/main/.claude/skills/zhtw-verify/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/sysprog21/zhtw-mcp

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 zhtw-verify

README.md
[![agentmods](https://agentmods.dev/badge/skills/sysprog21/zhtw-mcp/zhtw-verify.svg)](https://agentmods.dev/skills/sysprog21/zhtw-mcp/zhtw-verify)
Your own site
<a href="https://agentmods.dev/skills/sysprog21/zhtw-mcp/zhtw-verify"><img src="https://agentmods.dev/badge/skills/sysprog21/zhtw-mcp/zhtw-verify.svg" alt="Measured on agentmods" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,532 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.1 $0.00117 $0.02532
Opus 5 $0.00059 $0.01266
Sonnet 5 $0.00023 $0.00506
Haiku 4.5 $0.00012 $0.00253

Measured today against content hash acb9cbbf1c1d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

zhtw-verify 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 today.

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/skills/zhtw-verify/SKILL.md · 190 lines

How it starts

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

Validating a zhtw-mcp change

One gate, and it is the thing to run:

make check       # cargo test, clippy on three feature shapes, the formatters,
                 # the ruleset lint, the hook suite, shellcheck
make check-size  # the release binary has to stay under 20 MiB

Python 3 is a build requirement, not just a test requirement: make regenerates src/engine/s2t_data.rs from the pinned OpenCC dictionaries before it builds.

What skips, and why that matters

Every formatter lane skips when its tool is missing rather than failing, and that is every tool scripts/indent.sh drives: commentflow, cargo, black, shfmt and python3, plus shellcheck in the Makefile. That is right on a laptop and wrong on a runner, so CI installs them on the Linux leg and sets ZHTW_REQUIRE_TOOLS=1 there, which turns a skip into a hard failure. The macOS leg still skips, and the verdict line names what it skipped. A green local run is therefore weaker evidence than a green CI run, and so is what the local gate leaves out: CI also holds a pull request's own commit messages to the rules, runs cargo audit against Cargo.lock, builds the browser extension, and runs the whole suite on macOS and Windows. Two of the three Windows-only regressions this project has shipped were found by that last one and by nothing else.

The indent gate is the one that surprises people

scripts/indent.sh --check copies the tree, runs the whole formatter chain over the copy, and diffs: comment reflow with commentflow, then cargo fmt, black, shfmt, and the assets/ruleset.json normalization that scripts/check-ruleset.py owns. Checking the composition rather than each tool is not a flourish. commentflow puts a blank line before a comment inside a method chain and cargo fmt takes it straight back out, so commentflow --check alone can never be satisfied on Rust. make indent runs the same script with --write, so the fix for a failure is always that one command.

Read the full file on GitHub · 190 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. today Changed · +7 lines acb9cbbf1c1d
  2. yesterday First seen · 183 lines · 117 tokens per session scan A d07eaccc0b28

Subscribe to this mod's changes

zhtw-verify is a skill published in the GitHub repository sysprog21/zhtw-mcp (474 stars, last pushed today), licensed MIT. It adds 117 tokens to every session and 2,532 once invoked, about $0.0006 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-09-05.

Related

Other skills, from other repositories

Verification & Quality Assurance

Comprehensive truth scoring, code quality verification, and automatic rollback system with 0.95 accuracy threshold for ensuring high-quality agent outputs and codebase reliability.

ruvnet/ruflo · 36 tokens

migrate-vstest-to-mtp

Use this skill before answering, planning, or editing whenever .NET tests or CI are switching from VSTest to Microsoft.Testing.Platform (MTP), or an MTP migration behaves differently. Triggers include "switch from VSTest"; MSTest/NUnit/xUnit MTP enablement; OutputType=Exe only for test projects in…

dotnet/skills · 191 tokens

ci

Configure Ginkgo for continuous integration — the recommended CLI flag set and the rationale for each flag (-r -p --randomize-all --randomize-suites --fail-on-pending --fail-on-empty --keep-going --cover --race --trace --json-report --timeout --poll-progress-after/-interval), invoking via go run to pin the CLI to…

onsi/ginkgo · 132 tokens

playwright-ci

Production-ready CI/CD configurations for Playwright — GitHub Actions, GitLab CI, CircleCI, Azure DevOps, Jenkins, Docker, parallel sharding, reporting, code coverage, and global setup/teardown.

zebbern/claude-code-guide · 48 tokens

ci-maintenance-workflow

CI and GitHub Actions maintenance workflows — fix a failing test from a CI URL, fix a failing smoke test, add @pytest.mark.slow markers to slow tests, or review a PR against agent-checkable standards. Use when user asks to fix a failing test, fix a smoke test, mark slow tests, or review a PR. Trigger when the user…

UKGovernmentBEIS/inspect_evals · 120 tokens

test-setup

Scaffold the test framework and CI/CD pipeline for the project's engine. Creates the tests/ directory structure, engine-specific test runner configuration, and GitHub Actions workflow. Run once during Technical Setup phase before the first sprint begins.

Donchitos/Claude-Code-Game-Studios · 49 tokens