tsz: Skill for Claude Code

.agents/skills/tsz-conformance/SKILL.md

tsz-conformance is a skill for Claude Code, Codex from tsz-org/tsz. It costs 51 tokens per session (986 once invoked), scanned A, original, Apache-2.0.

A workflow for investigating and maintaining diagnostic conformance in TSZ, where conformance means matching the expected compiler errors and accepted results. It uses stored reports and focused checks instead of routinely running the entire test campaign locally.

In plain words
What is it for?
Use it to investigate diagnostic regressions, query conformance reports, create issues from failures, and make focused parity fixes.
Why use it?
It helps distinguish real regressions from known results or fingerprint-only changes without hiding failures by weakening the test data. It keeps semantic comparisons tied to the specified compiler version.

Skill for Claude CodeCodex

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

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/conformance/query-conformance.py --dashboard.

Reuse

Borrowing it

Nothing to install: this file belongs to tsz-org/tsz. 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/tsz-org/tsz/main/.agents/skills/tsz-conformance/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/tsz-org/tsz

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 tsz-conformance

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tsz-org/tsz/tsz-conformance"><img src="https://agentmods.dev/badge/skills/tsz-org/tsz/tsz-conformance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 986 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.00051 $0.00986
Opus 5.5 $0.00020 $0.00394
Sonnet 5.5 $0.00010 $0.00197
Haiku 4.5 $0.00005 $0.00099

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

Security

Grade A, and why

tsz-conformance 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 23d 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/tsz-conformance/SKILL.md · 88 lines

How it starts

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

TSZ Conformance

Conformance is a regression gate. Prefer checked-in artifacts and narrow filters; CI owns broad runs.

Rules

  • Read AGENTS.md and docs/plan/ROADMAP.md for conformance-affecting work.
  • Do not run full conformance locally.
  • Treat a failing test as a witness for a structural rule.
  • Do not hide regressions with snapshot/allowlist churn.

Offline First

python3 scripts/conformance/query-conformance.py --dashboard
python3 scripts/conformance/query-conformance.py --campaigns
python3 scripts/conformance/query-conformance.py --fingerprint-only
python3 scripts/conformance/query-conformance.py --code TS2322
python3 scripts/conformance/query-conformance.py --code TS2322 --paths-only

Artifacts: conformance-detail.json, conformance-snapshot.json, conformance-accepted-regressions.txt, conformance-shard-weights.json.

Oracle

Semantics come from the pinned compiler, not from any other copy on the box. Run manual spot-checks through the wrapper so they match what the gate scores:

scripts/conformance/oracle.sh case.ts --strict --lib es2022 --target es2022
node scripts/node_modules/typescript/lib/tsc.js --version   # Version 7.0.2
  • Use oracle.sh, not a bare tsc.js invocation. It runs the pinned [email protected] with the same --singleThreaded --stableTypeOrdering true flags generate-tsc-cache.rs uses for TypeScript 7+. This is not just about ordering: [email protected] (typescript-go) reports a different diagnostic set under --singleThreaded. A position-invalid import in a bare { } block (or if/loop/try body) gets TS2307/TS2305 only single-threaded, not under the default concurrent scheduler; the same import in a function, class static { }, or namespace body gets neither, in both modes (#16413). compare-to-parent.sh/conformance.sh score the single-threaded cache, so a plain tsc.js case.ts silently disagrees with the gate — hand-oracling without the flag reads a fix as passing that the gate then fails (this mis-scoped #16409/#16411).
  • TypeScript/ (submodule) and any container-global /opt/**/node_modules/typescript are the 6.0 line. They are corpus and test cases only — never the source of a semantic rule.
  • Reading a rule out of 6.0 source and pinning it with tests lands the wrong behaviour: #16215 encoded ignoreDeprecations !== "6.0" from a 6.0.2 typescript.js, but 7.0 removed that grace window entirely (#16217).
  • 7.0 traps when hand-oracling: --target es5 was removed — it answers error TS5108 and emits nothing else, and that line carries no file.ts(l,c): prefix, so a row filter drops it and every row reads clean. strict also defaults to true.

Read the full file on GitHub · 88 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. 23d ago First seen · 88 lines · 51 tokens per session scan A 6684d5af2421

Subscribe to this mod's changes

tsz-conformance is a skill published in the GitHub repository tsz-org/tsz (577 stars, last pushed today), licensed Apache-2.0. It adds 51 tokens to every session and 986 once invoked, about $0.0002 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-09-28.