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 andresquirogadev/skillsense --skill typescriptgit clone --depth 1 https://github.com/andresquirogadev/skillsenseWrote 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/andresquirogadev/skillsense/typescript)<a href="https://agentmods.dev/skills/andresquirogadev/skillsense/typescript"><img src="https://agentmods.dev/badge/skills/andresquirogadev/skillsense/typescript/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/andresquirogadev/skillsense/typescript"><img src="https://agentmods.dev/badge/skills/andresquirogadev/skillsense/typescript.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.00000 | $0.00545 |
| Opus 5.5 | $0.00000 | $0.00218 |
| Sonnet 5.5 | $0.00000 | $0.00109 |
| Haiku 4.5 | $0.00000 | $0.00055 |
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 1mo 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 — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TypeScript Skill
You are working in a TypeScript codebase. Apply strict TypeScript practices.
Compiler Settings
- Enable
"strict": true— this activatesstrictNullChecks,noImplicitAny, and others. - Enable
"noUncheckedIndexedAccess": true— array/object index access returnsT | undefined. - Enable
"exactOptionalPropertyTypes": true— distinguishes{ x?: string }from{ x: string | undefined }. - Use
"moduleResolution": "NodeNext"for Node.js projects with ESM.
Type Definitions
- Prefer
interfacefor objects that can be extended; usetypefor unions, intersections, and aliases. - Use discriminated unions for state machines:
type State = { status: 'loading' } | { status: 'error'; error: Error } | { status: 'success'; data: Data }. - Avoid
any— useunknownwhen the type is genuinely unknown, then narrow with type guards. - Use
satisfiesto validate an expression matches a type without widening it. - Use
as constfor literal types and tuple inference.
Utility Types
Partial<T>— all properties optionalRequired<T>— all properties requiredReadonly<T>— immutablePick<T, K>/Omit<T, K>— select or exclude propertiesReturnType<typeof fn>— infer return type of a functionParameters<typeof fn>— infer parameter tuple typeAwaited<T>— unwrap a Promise type
Narrowing
- Use
typeof x === 'string',Array.isArray(x),x instanceof Datefor runtime narrowing. - Write type predicates:
function isUser(x: unknown): x is User { return … }. - Use
inoperator for discriminated union narrowing on string literal fields.
Common Pitfalls
Object.keys(obj)returnsstring[], not(keyof typeof obj)[]— cast when needed.JSON.parse()returnsany— always validate with Zod or another schema parser.Datecomparisons: use.getTime()or convert to number for reliable comparison.- Optional chaining (
?.) and nullish coalescing (??) are your friends for safe access.
Imports
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.
- 1mo ago First seen · 47 lines · 0 tokens per session scan A 2c04b4674cba
typescript is a skill published in the GitHub repository andresquirogadev/skillsense (2 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 545 tokens. 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
codegen
Use for .NET code generation work with Roslyn, Microsoft.OpenApi, Razor templates, DTO/manager/controller generation, REST API generation, C# HttpClient generation, Angular/Axios TypeScript request clients, generated formatting, and deterministic output.
cli-builder
Guide for building TypeScript CLIs with Bun. Use when creating command-line tools, adding subcommands to existing CLIs, or building developer tooling. Covers argument parsing, subcommand patterns, output formatting, and distribution.
effect
Work with Effect v4 / effect-smol TypeScript code in this repo.
agents-sdk-typescript
Use when any code imports @microsoft/agents-hosting, @microsoft/agents-hosting-express, or related Agents SDK packages, or when the user is building, configuring, or asking questions about a Microsoft 365 Agents SDK agent in TypeScript. Trigger on questions about environment variables, connection configuration…
agents-sdk-typescript-debugging
Use when troubleshooting an agent built with the Microsoft Agents SDK (@microsoft/agents-hosting and related packages). Trigger on any of these symptoms: build or TypeScript errors, crashes on startup, 401 or auth errors on incoming requests, the bot not responding to messages, .env configuration problems, Azure AD…
dd-code-generation
Use pup CLI for immediate Datadog operations or generate code for integration into applications.