typescript-lsp

typescript-lsp is a skill for Claude Code from youdotcom-oss/dx-toolkit. It costs 51 tokens per session (1,439 once invoked), scanned A, original, MIT.

A TypeScript and JavaScript code-navigation skill that finds symbols such as functions, types, and classes and understands how they connect.

In plain words
What is it for?
Exploring TypeScript or JavaScript projects, finding definitions and references, checking types and documentation, and locating implementations.
Why use it?
It can locate code by meaning and relationships instead of relying only on matching text.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

Good fit Exploring TypeScript or JavaScript projects, finding definitions and references, checking types and documentation, and locating implementations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/youdotcom-oss/dx-toolkit/typescript-lsp
Install

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.

Any agent
npx skills add youdotcom-oss/dx-toolkit --skill typescript-lsp
Clone the repo
git clone --depth 1 https://github.com/youdotcom-oss/dx-toolkit

Made for: Claude Code.

Wrote 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.

agentmods badge for typescript-lsp

README.md
[![agentmods](https://agentmods.dev/badge/skills/youdotcom-oss/dx-toolkit/typescript-lsp/github.svg)](https://agentmods.dev/skills/youdotcom-oss/dx-toolkit/typescript-lsp)
Your own site
<a href="https://agentmods.dev/skills/youdotcom-oss/dx-toolkit/typescript-lsp"><img src="https://agentmods.dev/badge/skills/youdotcom-oss/dx-toolkit/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.

agentmods 80×15 button for typescript-lsp

Your own site · 80×15
<a href="https://agentmods.dev/skills/youdotcom-oss/dx-toolkit/typescript-lsp"><img src="https://agentmods.dev/badge/skills/youdotcom-oss/dx-toolkit/typescript-lsp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,439 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.01439
Opus 5.5 $0.00020 $0.00576
Sonnet 5.5 $0.00010 $0.00288
Haiku 4.5 $0.00005 $0.00144

Measured 1mo ago against content hash a2b87629a799, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 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.

.agents/skills/typescript-lsp/SKILL.md · 162 lines

How it starts

The opening of the file, as written. The whole thing — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TypeScript LSP Skill

Purpose

This skill provides TypeScript Language Server Protocol integration for exploring and understanding TypeScript/JavaScript codebases.

IMPORTANT: Prefer LSP tools over Grep/Glob when working with *.ts, *.tsx, *.js, *.jsx files. LSP provides type-aware results that understand imports, exports, and symbol relationships.

Use these tools to:

  • Explore codebases - Find symbols, understand module structure, discover implementations
  • Find references - Type-aware search across the entire codebase (better than grep for symbols)
  • Understand types - Get full type signatures, generics, and documentation
  • Verify before editing - Check all usages before modifying or deleting exports
  • Navigate code - Jump to definitions, find implementations

When to Use Each Tool

Tool LSP Method Purpose
Glob — Find files by pattern
Grep — Search text content
workspace/symbol symbol search Find a TypeScript symbol by name across the workspace
textDocument/hover hover Get type signature + TSDoc at a position
textDocument/references references Find all usages of a symbol
textDocument/documentSymbol doc symbols List all symbols in a file

LSP vs Grep/Glob

Task Use LSP Use Grep/Glob
Find all usages of a function/type ✅ textDocument/references ❌ Misses re-exports, aliases
Search for a symbol by name ✅ workspace/symbol ❌ Matches strings, comments
Get type signature + TSDoc ✅ textDocument/hover ❌ Not possible
List all symbols in a file ✅ textDocument/documentSymbol ❌ Doesn't resolve re-exports
Find files by pattern ❌ ✅ Glob
Search non-TS files (md, json) ❌ ✅ Grep
Search for text in comments/strings ❌ ✅ Grep

When to Use

Exploring code (prefer LSP):

  • workspace/symbol to search for a symbol by name across the workspace
  • textDocument/documentSymbol to get an overview of all symbols in a file
  • textDocument/hover to get the exact type signature at a position

Read the full file on GitHub · 162 lines

Changes

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.

  1. 1mo ago First seen · 162 lines · 51 tokens per session scan A a2b87629a799

Subscribe to this mod's changes

typescript-lsp is a skill published in the GitHub repository youdotcom-oss/dx-toolkit (25 stars, last pushed 1mo ago), licensed MIT. It adds 51 tokens to every session and 1,439 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-30.

Related

Other skills, from other repositories

add-export

Add a new subpath export to the @cyanheads/mcp-ts-core package. Use when creating a new public API surface that consumers import from a dedicated subpath (e.g., @cyanheads/mcp-ts-core/newutil).

cyanheads/mcp-ts-core · 50 tokens

api-errors

McpError constructor, JsonRpcErrorCode reference, and error handling patterns for @cyanheads/mcp-ts-core. Use when looking up error codes, understanding where errors should be thrown vs. caught, or using ErrorHandler.tryCatch in services.

cyanheads/pubmed-mcp-server · 54 tokens

api-errors

McpError constructor, JsonRpcErrorCode reference, and error handling patterns for @cyanheads/mcp-ts-core. Use when looking up error codes, understanding where errors should be thrown vs. caught, or using ErrorHandler.tryCatch in services.

cyanheads/secedgar-mcp-server · 54 tokens

api-errors

McpError constructor, JsonRpcErrorCode reference, and error handling patterns for @cyanheads/mcp-ts-core. Use when looking up error codes, understanding where errors should be thrown vs. caught, or using ErrorHandler.tryCatch in services.

cyanheads/shift-mcp-server · 54 tokens

script-execute

Compiles and runs C# in the Unity Editor (Roslyn): plain statements with the last expression as the result, or a full class with a static method. See the skill body for the modes, usings/include and Unity object parameters.

IvanMurzak/Unity-MCP · 53 tokens

script-read

Read a .cs script file and return its content as a string. Supports a 1-based lineFrom/lineTo slice for partial reads. Pair with 'script-update-or-create' to write back.

IvanMurzak/Unity-MCP · 49 tokens