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 skills/plunderstruck/scip-query/typescriptnpx skills add PlunderStruck/scip-query --skill typescriptgit clone --depth 1 https://github.com/PlunderStruck/scip-queryWhat 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.00057 | $0.00858 |
| Opus 5 | $0.00028 | $0.00429 |
| Sonnet 5 | $0.00011 | $0.00172 |
| Haiku 4.5 | $0.00006 | $0.00086 |
Grade A, and why
typescript 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 2d 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 — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TypeScript Best Practices
Use this skill as a compact router to the TypeScript rule pack. A TypeScript rule is a narrow, evidence-backed coding guideline whose purpose is to improve compile speed, runtime behavior, type safety, or maintainability for TypeScript projects.
The full compiled document is AGENTS.md. Individual detailed rules live under references/.
Rules
- Start with the highest-impact category that matches the work.
- Read the specific reference file before applying a non-obvious rule.
- Prefer project conventions when a rule conflicts with established local architecture.
- Verify with the project typecheck, test, or build command after edits.
Categories
| Priority | Category | Use for | Prefix |
|---|---|---|---|
| 1 | Type system performance | slow type checking, complex types, exported APIs | type- |
| 2 | Compiler configuration | tsconfig, project references, included files | tscfg- |
| 3 | Async patterns | Promise concurrency, async wrappers, return types | async- |
| 4 | Module organization | imports, barrels, dynamic imports, @types scope | module- |
| 5 | Type safety | unknown, guards, exhaustive checks, nullability | safety- |
| 6 | Memory management | timers, listeners, closures, global caches | mem- |
| 7 | Runtime optimization | hot loops, lookups, object spread, string methods | runtime- |
| 8 | Advanced patterns | branded types, satisfies, template literal types | advanced- |
Quick Map
Type system:
type-interfaces-over-intersectionstype-avoid-large-unionstype-extract-conditional-typestype-limit-recursion-depthtype-explicit-return-typestype-avoid-deep-genericstype-simplify-mapped-types
Compiler:
tscfg-enable-incrementaltscfg-skip-lib-checktscfg-isolate-modulestscfg-project-referencestscfg-exclude-properlytscfg-strict-function-types
Async and modules:
async-parallel-promisesasync-defer-awaitasync-avoid-loop-awaitasync-explicit-return-typesasync-avoid-unnecessary-asyncmodule-avoid-barrel-importsmodule-avoid-circular-dependenciesmodule-use-type-importsmodule-dynamic-importsmodule-control-types-inclusion
What ships with it
46 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.md 8.2 KB
- CHANGELOG.md 1.2 KB
- references/_sections.md 1.4 KB
- references/advanced-branded-types.md 2.4 KB
- references/advanced-satisfies-operator.md 2.6 KB
- references/advanced-template-literal-types.md 2.6 KB
- references/async-avoid-loop-await.md 2.1 KB
- references/async-avoid-unnecessary-async.md 1.8 KB
- references/async-defer-await.md 2.1 KB
- references/async-explicit-return-types.md 2.1 KB
- references/async-parallel-promises.md 2.1 KB
- references/mem-avoid-closure-leaks.md 2.5 KB
- references/mem-avoid-global-state.md 2.4 KB
- references/mem-cleanup-event-listeners.md 2.9 KB
- references/mem-clear-timers.md 2.5 KB
- references/mem-use-weakmap-for-metadata.md 2.2 KB
- references/module-avoid-barrel-imports.md 1.7 KB
- references/module-avoid-circular-dependencies.md 1.8 KB
- references/module-control-types-inclusion.md 1.8 KB
- references/module-dynamic-imports.md 2.1 KB
- references/module-use-type-imports.md 1.9 KB
- references/runtime-avoid-object-spread-in-loops.md 2.1 KB
- references/runtime-cache-property-access.md 2.1 KB
- references/runtime-prefer-array-methods.md 2.3 KB
- references/runtime-use-for-of-for-iteration.md 2.0 KB
- references/runtime-use-set-for-lookups.md 1.8 KB
- references/runtime-use-string-methods.md 2.2 KB
- references/safety-assertion-functions.md 2.5 KB
- references/safety-const-assertions.md 2.2 KB
- references/safety-exhaustive-checks.md 2.4 KB
- references/safety-prefer-unknown-over-any.md 2.0 KB
- references/safety-strict-null-checks.md 1.9 KB
- references/safety-use-type-guards.md 2.1 KB
- references/tscfg-enable-incremental.md 1.4 KB
- references/tscfg-exclude-properly.md 1.8 KB
- references/tscfg-isolate-modules.md 1.7 KB
- references/tscfg-project-references.md 2.1 KB
- references/tscfg-skip-lib-check.md 1.5 KB
- references/tscfg-strict-function-types.md 1.7 KB
- references/type-avoid-deep-generics.md 1.8 KB
- references/type-avoid-large-unions.md 1.6 KB
- references/type-explicit-return-types.md 2.0 KB
- references/type-extract-conditional-types.md 1.6 KB
- references/type-interfaces-over-intersections.md 1.3 KB
- references/type-limit-recursion-depth.md 1.7 KB
- references/type-simplify-mapped-types.md 1.8 KB
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.
- 2d ago First seen · 92 lines · 57 tokens per session scan A 4e7abd3ecd51
typescript is a skill published in the GitHub repository PlunderStruck/scip-query (5 stars, last pushed 2d ago), licensed Apache-2.0. It adds 57 tokens to every session and 858 once invoked, about $0.0003 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 skills, from other repositories
build-and-test
Build, run and debug this C++ project — CMake presets, CTest, sanitizers, clang-tidy, and which gate tier to run. Triggers: build, compile, test, ctest, cmake, sanitizer, asan, segfault, linker error.
client-setup
Create a vanilla tRPC client with createTRPCClient (), configure link chain with httpBatchLink/httpLink, dynamic headers for auth, transformer on links (not client constructor). Infer types with inferRouterInputs and inferRouterOutputs. AbortController signal support. TRPCClientError typing.
custom-features
Author a TanStack Table v9 feature plugin across every FeatureMap and API installation surface: state, options, column definitions, table, column, row, cell, header, row-model functions/caches, defaults, prototypes, and table/row/column instance data lifecycles. Load for initTableInstanceData, resetTableInstanceData…
effect-and-errors
Composing Effect programs, domain errors, HttpError, repository error types, or error propagation at HTTP boundaries.
fast-typescript-check
Keep www-sacred's TypeScript fast to type-check and fast to run. Use when touching the ASCII/canvas animation components (the only real per-frame code here), tightening type-check wall-clock, or auditing a change for runtime or compiler regressions. Scoped to this repo — a React 19 / Next.js 16 component library plus…
typescript-magician
Designs complex generic types, refactors any types to strict alternatives, creates type guards and utility types, and resolves TypeScript compiler errors. Use when the user asks about TypeScript (TS) types, generics, type inference, type guards, removing any types, strict typing, type errors, infer, extends…