typescript-lsp

typescript-lsp is a skill for Claude Code, Codex from AI-Safeter/antigravity-cli-plugin. It costs 33 tokens per session (3,603 once invoked), scanned C, a copy of typescript-expert, MIT.

A TypeScript and JavaScript development guide covering type-level programming, performance, tooling, migrations, and monorepos—a single repository containing multiple related packages or applications.

In plain words
What is it for?
Managing TypeScript projects and monorepos, improving type design and compiler performance, planning migrations, checking development tools, and solving advanced JavaScript or TypeScript problems.
Why use it?
It helps diagnose project-wide TypeScript issues and choose suitable patterns for large codebases. It also identifies cases that need more specialized expertise, such as bundler internals or complex module migrations.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/ai-safeter/antigravity-cli-plugin/typescript-lsp
Any agent
npx skills add AI-Safeter/antigravity-cli-plugin --skill typescript-lsp
Clone the repo
git clone --depth 1 https://github.com/AI-Safeter/antigravity-cli-plugin

Made for: Claude Code, Codex.

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/ai-safeter/antigravity-cli-plugin/typescript-lsp.svg)](https://agentmods.dev/skills/ai-safeter/antigravity-cli-plugin/typescript-lsp)
Your own site
<a href="https://agentmods.dev/skills/ai-safeter/antigravity-cli-plugin/typescript-lsp"><img src="https://agentmods.dev/badge/skills/ai-safeter/antigravity-cli-plugin/typescript-lsp.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,603 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
Origin 97% copy Near-identical to another mod 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 $0.00033 $0.03603
Opus 5 $0.00016 $0.01801
Sonnet 5 $0.00007 $0.00721
Haiku 4.5 $0.00003 $0.00360

Measured 4d ago against content hash df88467f70b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

typescript-lsp scanned grade C with 1 finding 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 4d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (references/utility-types.ts, scripts/ts_diagnostic.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

4. Try clearing cache: `rm -rf node_modules/.cache .tsbuildinfo`
Origin

This is a copy

97% identical to typescript-expert — 123 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/typescript-lsp/SKILL.md · 432 lines

How it starts

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

TypeScript Expert

You are an advanced TypeScript expert with deep, practical knowledge of type-level programming, performance optimization, and real-world problem solving based on current best practices.

When invoked:

  1. If the issue requires ultra-specific expertise, recommend switching and stop:

    • Deep webpack/vite/rollup bundler internals → typescript-build-expert
    • Complex ESM/CJS migration or circular dependency analysis → typescript-module-expert
    • Type performance profiling or compiler internals → typescript-type-expert

    Example to output: "This requires deep bundler expertise. Please invoke: 'Use the typescript-build-expert subagent.' Stopping here."

  2. Analyze project setup comprehensively:

    Use internal tools first (Read, Grep, Glob) for better performance. Shell commands are fallbacks.

    # Core versions and configuration
    npx tsc --version
    node -v
    # Detect tooling ecosystem (prefer parsing package.json)
    node -e "const p=require('./package.json');console.log(Object.keys({...p.devDependencies,...p.dependencies}||{}).join('\n'))" 2>/dev/null | grep -E 'biome|eslint|prettier|vitest|jest|turborepo|nx' || echo "No tooling detected"
    # Check for monorepo (fixed precedence)
    (test -f pnpm-workspace.yaml || test -f lerna.json || test -f nx.json || test -f turbo.json) && echo "Monorepo detected"
    

    After detection, adapt approach:

    • Match import style (absolute vs relative)
    • Respect existing baseUrl/paths configuration
    • Prefer existing project scripts over raw tools
    • In monorepos, consider project references before broad tsconfig changes
  3. Identify the specific problem category and complexity level

  4. Apply the appropriate solution strategy from my expertise

  5. Validate thoroughly:

    # Fast fail approach (avoid long-lived processes)
    npm run -s typecheck || npx tsc --noEmit
    npm test -s || npx vitest run --reporter=basic --no-watch
    # Only if needed and build affects outputs/config
    npm run -s build
    

Read the full file on GitHub · 432 lines

Files

What ships with it

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

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. 4d ago First seen · 432 lines · 33 tokens per session scan C df88467f70b8

Subscribe to this mod's changes

typescript-lsp is a skill published in the GitHub repository AI-Safeter/antigravity-cli-plugin (10 stars, last pushed 3mo ago), licensed MIT. It adds 33 tokens to every session and 3,603 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). It is 97% identical to typescript-expert, differing in 123 lines, and is treated as a copy.

Related

Other skills, from other repositories

gh-pr-description

Drafts and reviews GitHub pull request descriptions for the eve repository. Use when opening, updating, or reviewing a PR, or when summarizing a branch for reviewers.

vercel/eve · 38 tokens

technical-writing

Write, edit, review, or audit user-facing documentation for the eve repository. Use for changes under docs/, documentation tied to eve APIs or CLI behavior, docs work based on Slack or support feedback, and requests to make eve docs clearer, more natural, or less AI-patterned while verifying claims against current…

vercel/eve · 78 tokens

om-auto-update-changelog

Open Mercato releases must keep CHANGELOG.md, UPGRADENOTES.md, and version-specific downstream migration skills aligned. Apply this contract after the external skill resolves {version}, {date}, and the previous changelog release, but before it edits files or delegates to om-auto-create-pr.

open-mercato/open-mercato · 0 tokens

om-ds-guardian

Design System Guardian for Open Mercato. Use for frontend UI work, design-system compliance reviews, semantic token migration, hardcoded color or typography cleanup, DS-compliant page scaffolding, and common DS violations such as arbitrary text sizes, raw color classes, or missing shared states. Prefer this skill…

open-mercato/open-mercato · 76 tokens

om-integration-builder

Build integration provider packages for the Open Mercato Integration Marketplace (payment, shipping, data-sync, webhook). Scaffolds the npm package, adapter, credentials, widget injection, webhook processing, health checks, i18n, tests. Triggers on "build integration", "add provider", "integrate with…

open-mercato/open-mercato · 73 tokens

om-integration-tests

Run and create QA integration tests (Playwright TypeScript), including executing the full suite, converting optional markdown scenarios, and generating new tests from specs or feature descriptions. Defers all environment boot/reuse to the om-prepare-test-env skill and attaches to the shared descriptor it writes. Use…

open-mercato/open-mercato · 99 tokens