Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add cmdr-chara/codex-toolkit --skill typescript-quality-enforcergit clone --depth 1 https://github.com/cmdr-chara/codex-toolkitWrote 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/cmdr-chara/codex-toolkit/typescript-quality-enforcer)<a href="https://agentmods.dev/skills/cmdr-chara/codex-toolkit/typescript-quality-enforcer"><img src="https://agentmods.dev/badge/skills/cmdr-chara/codex-toolkit/typescript-quality-enforcer/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/cmdr-chara/codex-toolkit/typescript-quality-enforcer"><img src="https://agentmods.dev/badge/skills/cmdr-chara/codex-toolkit/typescript-quality-enforcer.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.00040 | $0.00787 |
| Opus 5.5 | $0.00016 | $0.00315 |
| Sonnet 5.5 | $0.00008 | $0.00157 |
| Haiku 4.5 | $0.00004 | $0.00079 |
Grade A, and why
typescript-quality-enforcer 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 24d 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 — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TypeScript Quality Enforcer
Strengthen type evidence and lint policy without hiding diagnostics or turning a quality audit into an uncontrolled rewrite.
Trigger boundary
Use this skill for:
- TypeScript/JavaScript type-safety audits and staged strictness work;
- anti-slop Oxlint adoption;
- systematic cleanup of unsafe assertions, broad
any/unknowncontracts, suppressions, module mocking, or weak boundary parsing.
Do not trigger for a concrete runtime bug, measured performance bottleneck, ordinary bounded refactor, toolchain migration, non-TypeScript platform audit, or final release decision.
Required inputs
Resolve scope, working-tree state, manifests/lockfiles, tsconfig/lint configuration, existing checks/CI enforcement, generated/vendor boundaries, and approval state.
For a breadth-first inventory, run:
python skills/typescript-quality-enforcer/scripts/typescript_quality_inventory.py . --format markdown
Treat heuristic matches as leads that require parser/manual confirmation.
Safety baseline
- Preserve uncommitted user work.
- Audit first. Do not install the vendored runtime, change policy, or remediate broad source sets without an approved stage.
- Never make lint pass through laundering: replacing one unsafe cast with another, widening
any, blanket suppressions, broader ignores, or weakened compiler options. - Keep third-party provenance and
assets/anti-slop/LICENSEintact.
Workflow
- Establish the baseline. Measure existing typecheck/lint state and enforcement. Separate pre-existing failures from target findings.
- Build the evidence ledger. Confirm representative findings and classify them by invariant, boundary, and remediation cost.
- Choose a staged policy. Read
references/adoption-strategy.md. Prefer the smallest rule/strictness stage that creates durable signal without flooding the repository. - Handle strictness deliberately. For
strict,noUncheckedIndexedAccess,exactOptionalPropertyTypes, and related migration work, readreferences/strictness-migration.mdinstead of flipping every flag at once. - Stop for approval. Report the proposed stage and mark it
AWAITING_APPROVALbefore installation, policy changes, or broad remediation. - Install only when approved. Use
scripts/install.mjs; never overwrite an existing anti-slop/plugin directory. - Remediate by invariant. Use
references/violation-remediation.md. Prefer narrowing, explicit boundaries, and contract repair over silencing. - Verify recurrence prevention. Re-run targeted typecheck/lint/tests and confirm CI or repository policy will catch the same class again.
- Refresh volatile claims. Use current primary sources before version-, runtime-, or ecosystem-sensitive recommendations. Upstream details live in
references/upstream-provenance.md.
What ships with it
28 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.
- agents/openai.yaml 322 B
- assets/anti-slop/index.ts 2.2 KB runs code
- assets/anti-slop/LICENSE 1.0 KB
- assets/anti-slop/rules/no-chained-type-assertions.ts 2.5 KB runs code
- assets/anti-slop/rules/no-conditional-empty-object-spread.ts 1.5 KB runs code
- assets/anti-slop/rules/no-known-value-widening.ts 7.6 KB runs code
- assets/anti-slop/rules/no-module-mocking.ts 3.0 KB runs code
- assets/anti-slop/rules/no-object-parameters.ts 4.2 KB runs code
- assets/anti-slop/rules/no-reflect-apply.ts 926 B runs code
- assets/anti-slop/rules/no-reflect-get.ts 939 B runs code
- assets/anti-slop/rules/no-runtime-typeof.ts 1.8 KB runs code
- assets/anti-slop/rules/no-shape-in-symbol-names.ts 1.2 KB runs code
- assets/anti-slop/rules/no-unknown-parameters.ts 3.3 KB runs code
- assets/anti-slop/rules/no-unknown-returns.ts 4.0 KB runs code
- assets/anti-slop/rules/no-unknown-type-aliases.ts 3.5 KB runs code
- assets/anti-slop/rules/no-unsafe-dictionary-type.ts 3.9 KB runs code
- assets/anti-slop/rules/no-widen-then-assert.ts 12 KB runs code
- assets/anti-slop/rules/require-safety-comment-for-type-assertion.ts 1.9 KB runs code
- assets/anti-slop/shared/dictionary-types.ts 17 KB runs code
- assets/anti-slop/shared/lexical-type-parameters.ts 1.8 KB runs code
- assets/anti-slop/shared/reflect-method.ts 1.3 KB runs code
- references/adoption-strategy.md 4.1 KB
- references/anti-slop-vendor-manifest.json 1.9 KB
- references/strictness-migration.md 1.6 KB
- references/upstream-provenance.md 2.4 KB
- references/violation-remediation.md 4.0 KB
- scripts/install.mjs 906 B runs code
- scripts/typescript_quality_inventory.py 12 KB runs code
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.
- 24d ago Changed · -225 lines · -89 tokens per session bd2b43d67575
- 1mo ago First seen · 286 lines · 129 tokens per session scan A 7bf8759c79c3
typescript-quality-enforcer is a skill published in the GitHub repository cmdr-chara/codex-toolkit (2 stars, last pushed 11d ago), licensed MIT. It adds 40 tokens to every session and 787 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-08-31.
Other skills, from other repositories
TypeScript Null Safety Guardrails
Enforce null/undefined safety for changed TypeScript code and suggest safer patterns.
TypeScript Strictness Guard
Enforce TypeScript strictness by reducing any/unsafe assertions and ensuring null handling.
code-quality-analysis
Analyze Angular / Cumulocity Web SDK code for anti-patterns, bugs, and quality issues. Use when reviewing components, services, or modules for code quality, maintainability, performance, and correctness. Covers TypeScript best practices, Angular idioms, C8Y SDK usage patterns, and project-specific conventions.…
pr-review
Review Cool Workflow pull requests or branch diffs. Use when Codex must inspect code changes for bugs, regressions, FreeBSD/POLA violations, missing tests, generated artifact drift, release-contract risk, or CI implications, and return findings first with file/line citations.
ck-signatures
Extract all method/property signatures from C#, TypeScript, Kotlin, and Python files using live AST parsing. Use after ck find-files has identified the relevant folder, when evaluating multiple candidate files to avoid reading full file content.
ruff
Use when the user lints or formats Python code from the command line. ruff is a 2-in-1 tool - ruff check runs the linter (rules / fixes / import sort / security), and ruff format runs the formatter (Black-compatible style rewrites). They are distinct subcommands...