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 agentmods add commands/biggora/claude-plugins-registry/typescript-fixgit clone --depth 1 https://github.com/biggora/claude-plugins-registryWrote 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/commands/biggora/claude-plugins-registry/typescript-fix)<a href="https://agentmods.dev/commands/biggora/claude-plugins-registry/typescript-fix"><img src="https://agentmods.dev/badge/commands/biggora/claude-plugins-registry/typescript-fix.svg" alt="Measured on agentmods" 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 | $0.00023 | $0.00768 |
| Opus 5 | $0.00012 | $0.00384 |
| Sonnet 5 | $0.00005 | $0.00154 |
| Haiku 4.5 | $0.00002 | $0.00077 |
Grade A, and why
typescript-fix 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 3d 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 — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Use the typescript-expert skill. Preserve the user's scope and the project's runtime behavior.
1. Discover the Actual Checker
Inspect:
package.json, workspaces, and the lockfile to identify the package manager;- all relevant
tsconfig*.jsonfiles and theirextendschains; - the installed TypeScript version;
- existing
typecheck/build scripts and framework checkers such asvue-tsc,svelte-check, Angular, Astro, or MDX tooling; - the current working-tree diff so unrelated user changes are preserved.
If TypeScript 7 is installed or proposed, check whether the toolchain imports the Compiler API or requires the TypeScript 6 compatibility line. Do not upgrade dependencies unless the user requested an upgrade.
2. Establish the Baseline
Run the repository's existing type-check script. If none exists, invoke the local compiler through the detected package manager; do not use a command that can silently download a different TypeScript version.
Examples:
npm exec -- tsc --noEmit
pnpm exec tsc --noEmit
yarn exec tsc --noEmit
bun run tsc --noEmit
Do not force --noEmit when the project validates declarations, uses project references/build mode, or relies on emit. Capture the command, compiler/checker version, exit code, and complete diagnostics.
If the baseline is clean, report it and stop. If the command cannot run for an environmental reason, report BLOCKED rather than editing from guessed diagnostics.
3. Find Root Causes
Group related diagnostics, but fix dependency order rather than raw error count:
- wrong project/config or file selection;
- missing or incompatible declarations and module resolution;
- incorrect shared domain/API types;
- implementation narrowing, generics, and nullability;
- isolated downstream errors.
For each group, inspect the source, the expected runtime behavior, and the declaring dependency. A single wrong export or widened type can cause many secondary diagnostics.
4. Apply Minimal Type-safe Fixes
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.
- 3d ago First seen · 75 lines · 23 tokens per session scan A 862ba569b7a1
typescript-fix is a command published in the GitHub repository biggora/claude-plugins-registry (2 stars, last pushed 5d ago), licensed MIT. It adds 23 tokens to every session and 768 once invoked, about $0.0001 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-08-31.
Other commands, from other repositories
deslop
Remove AI-generated code slop from the current branch's changes.
triage
Triage Linear issue with comprehensive analysis.
release
Perform a full release: generate release notes, bump version, commit, tag, and push.
superpowers-execute
Execute the current GSD phase plan with Superpowers instead of gsd-execute-phase.
migrate
Command "migrate" from chohra-med/expo_boilerplate, covering invocation, steps and rule.
audit
Command "audit" from chohra-med/expo_boilerplate, covering invocation, checks and output.