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.
curl -O https://raw.githubusercontent.com/tsz-org/tsz/main/.claude/skills/tsz-emit/SKILL.mdgit clone --depth 1 https://github.com/tsz-org/tszWrote 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.
[](https://agentmods.dev/skills/tsz-org/tsz/tsz-emit)<a href="https://agentmods.dev/skills/tsz-org/tsz/tsz-emit"><img src="https://agentmods.dev/badge/skills/tsz-org/tsz/tsz-emit/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.
<a href="https://agentmods.dev/skills/tsz-org/tsz/tsz-emit"><img src="https://agentmods.dev/badge/skills/tsz-org/tsz/tsz-emit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00053 | $0.00572 |
| Opus 5.5 | $0.00021 | $0.00229 |
| Sonnet 5.5 | $0.00011 | $0.00114 |
| Haiku 4.5 | $0.00005 | $0.00057 |
Grade A, and why
tsz-emit 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.
How it starts
The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TSZ Emit
Use for JS/DTS emit, transforms, helpers, temp/hoist planning, target/module output, source maps, and emit parity tests.
Start
- Read
AGENTS.mdanddocs/plan/ROADMAP.mdfor durable emit/DTS work. - Inspect overlapping emit PRs/issues.
- Name the failure family: target gate, module/export schedule, helper, temp/ hoist, region transform, printer layout, DTS nameability/portability, source maps, or parser recovery.
- State:
When <syntax/output context>, tsc emits X; tsz emits X through <owner>.
Architecture
- Emit is
OUTPUT: no checker/solver semantic validation in emitter code. - Prefer planned facts before writing text: target/module facts, helper needs, temp reservations, hoists, prologues, exports, resource/disposable regions.
- Keep direct-to-target emit; do not introduce an
ESNext -> ... -> ES5pipeline. - No semantic output surgery with
replace,replacen, orreplace_range. Data cleanup is fine for escaping, source-map paths, numeric separators, and path normalization. - DTS should use declaration summaries/structured emission, not late string rewrites.
Hot Checks
- Use writer/list/token/source-map helpers; add delimiter helpers when they prevent real mistakes.
- Target/module policy belongs in target/module facts or emit-plan-like owners, not random printer branches.
- Every function-like body needs temp scope and hoist strategy. Bypasses of
emit_blockmust still handle function-body flags and insertion points. - Check adjacent shapes: arrows, declarations, expressions, methods, accessors, constructors, async/generator wrappers, static blocks, namespaces/modules, parameter prologues, ES2015+ and relevant legacy targets.
Verification
No full emit/conformance/fourslash locally.
scripts/emit/run.sh --filter=<family> --js-only --verbose --json-out=/tmp/<name>.json
scripts/emit/run.sh --filter=<family> --dts-only --verbose --json-out=/tmp/<name>.json
cargo nextest run -p tsz-emitter <test-or-family>
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.
- 23d ago First seen · 58 lines · 53 tokens per session scan A 20360675847b
tsz-emit is a skill published in the GitHub repository tsz-org/tsz (577 stars, last pushed today), licensed Apache-2.0. It adds 53 tokens to every session and 572 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.
Other skills, from other repositories
V3 Core Implementation
Core module implementation for claude-flow v3. Implements DDD domains, clean architecture patterns, dependency injection, and modular TypeScript codebase with comprehensive testing.
ax-rust-signature
Use when writing Rust code with axllm for string signatures, field descriptors, JSON schema output, validation, and typed tool argument shapes.
dd-code-generation
Use pup CLI for immediate Datadog operations or generate code for integration into applications.
typescript-test-writing
Use this skill when writing or modifying tests in the llxprt-code repository. Covers mandatory TDD, behavioral testing, bun:test conventions and file naming, mock hygiene (no mock theater), and what never to test. Distilled from dev-docs/RULES.md, which remains the source of truth.
typescript
TypeScript strict mode with eslint and jest.
jest-unit
Unit testing skill using Jest for TypeScript and JavaScript, covering mocking, spies, snapshots, coverage, async testing, and custom matchers.