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 MSApps-Mobile/claude-plugins --skill typescript-lspgit clone --depth 1 https://github.com/MSApps-Mobile/claude-pluginsWrote 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/msapps-mobile/claude-plugins/typescript-lsp)<a href="https://agentmods.dev/skills/msapps-mobile/claude-plugins/typescript-lsp"><img src="https://agentmods.dev/badge/skills/msapps-mobile/claude-plugins/typescript-lsp/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/msapps-mobile/claude-plugins/typescript-lsp"><img src="https://agentmods.dev/badge/skills/msapps-mobile/claude-plugins/typescript-lsp.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.00147 | $0.01220 |
| Opus 5.5 | $0.00059 | $0.00488 |
| Sonnet 5.5 | $0.00029 | $0.00244 |
| Haiku 4.5 | $0.00015 | $0.00122 |
Grade A, and why
typescript-lsp 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 today.
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 — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.
typescript-lsp — TypeScript/JavaScript code intelligence via tsserver
Part of the LSP plugin series. Wraps typescript-language-server (tsserver) as a read-only, SOSA Level 1 intelligence source.
Workflow Process
Plan
- Confirm the user's question actually needs semantic info (type diagnostics, references, definitions, hover) vs a plain grep/glob.
- Verify
typescript-language-server --versionworks. If missing, runnpm install -g typescript typescript-language-server. - Confirm the repo has a
tsconfig.json(TS) orjsconfig.json(JS) at the root, or at least apackage.jsonthattsccan discover.
Act
- Resolve the file path the user is asking about.
- Use LSP via the plugin's
.lsp.jsonwiring:textDocument/publishDiagnostics→ type/import errorstextDocument/definition→ jump to definitiontextDocument/references→ all call sitestextDocument/hover→ inferred type / JSDocworkspace/symbol→ fuzzy symbol search
- For cross-file impact (e.g. reviewing a change), iterate
find-referencesover every exported symbol in the touched file. - Treat tsserver answers as authoritative over heuristic search. If tsserver returns empty references, say so — don't invent them.
Verify
- Cross-check one reported reference by opening the referenced file. If the
symbol isn't really there, the tsserver project may have out-of-date
node_modules— report that, don't silently retry. - If diagnostics include
Cannot find modulefor installed packages,node_moduleshasn't been populated (npm install). Note this before trusting import counts.
tsserver startup notes
- Project loading: tsserver uses
tsconfig.jsonto determine the project boundary. Withcomposite: true/ project references, tsserver loads each sub-project separately — navigate to the roottsconfig.jsonfor full cross-project references. - JavaScript support: tsserver provides basic intelligence for
.jseven without types. Enable full checking with"checkJs": trueinjsconfig.json. - Monorepos: in a workspace (pnpm/yarn/npm workspaces), point tsserver at
the root
tsconfig.jsonthat hasreferencesto all packages.
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.
- today First seen · 117 lines · 147 tokens per session scan A 606a9c10918d
typescript-lsp is a skill published in the GitHub repository MSApps-Mobile/claude-plugins (10 stars, last pushed today), licensed MIT. It adds 147 tokens to every session and 1,220 once invoked, about $0.0006 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-10-18.
Other skills, from other repositories
typescript-circular-dependency
Detect and resolve TypeScript/JavaScript circular import dependencies. Use when: (1) "Cannot access 'X' before initialization" at runtime, (2) Import returns undefined unexpectedly, (3) "ReferenceError: Cannot access X before initialization", (4) Type errors that disappear when you change import order, (5) Jest/Vitest…
cli-wiring
Bug class: Commands implemented in packages/squad-cli/src/cli/commands/ but never routed in cli-entry.ts.
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…
config
How to author a kubb.config.ts and pick the right @kubb/plugin- packages when generating TypeScript from an OpenAPI/Swagger spec. Use whenever setting up Kubb, adding a generator, or debugging codegen output.
node-modules-inspector
Inspects a project's installed nodemodules and produces three reports: duplicated packages (installed in multiple versions), packages sorted by install size, and maintenance actions (dep-upgrade opportunities + publint findings, grouped by consumer/author). Use when the user wants to audit dependencies, find duplicate…
mintlify-api
Interact with the Mintlify REST API to manage deployments, trigger builds, and query documentation site metadata programmatically.