lsp-tools CLAUDE.md

lsp-tools CLAUDE.md is an instructions file for coding agents from zircote/lsp-tools. It costs 282 tokens per session, scanned A, original, MIT.

Project instructions for a template that builds Claude Code automations and MCP servers. MCP is a way for an agent to call external tools through a defined server interface.

In plain words
What is it for?
They help create TypeScript MCP servers, slash commands, event hooks, validation schemas, and project configuration.
Why use it?
They establish consistent, portable defaults for tools, hooks, commands, documentation, and safe behavior.

Instructions file

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 instructions/zircote/lsp-tools/claude-md
Clone the repo
git clone --depth 1 https://github.com/zircote/lsp-tools

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 lsp-tools CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/zircote/lsp-tools/claude-md.svg)](https://agentmods.dev/instructions/zircote/lsp-tools/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/zircote/lsp-tools/claude-md"><img src="https://agentmods.dev/badge/instructions/zircote/lsp-tools/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 282 This file is loaded in full into every session.
When invoked 282 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00282 $0.00282
Opus 5 $0.00141 $0.00141
Sonnet 5 $0.00056 $0.00056
Haiku 4.5 $0.00028 $0.00028

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

Security

Grade A, and why

lsp-tools CLAUDE.md 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 4d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

CLAUDE.md · 41 lines

What it actually says

CLAUDE.md (project context)

This repository is a template for building Claude Code automations and MCP servers.

Repo goals

  • Be easy to fork.
  • Provide a sane default MCP server in TypeScript.
  • Provide examples of Claude Code commands and hooks.

Key files

  • .mcp.json: Claude Code MCP server configuration (project-scoped).
  • .claude/settings.json: Hook configuration.
  • .claude/commands/: Custom commands that show up as /....
  • .claude/hooks/: Hook scripts.
  • src/index.ts: MCP server entrypoint.

Development conventions

  • Prefer minimal diffs.
  • Keep scripts safe and portable.
  • Keep documentation in sync (README + skills files).

When adding tools

  • Use zod schemas.
  • Return text via { content: [{ type: "text", text: "..." }] }.
  • Avoid side effects by default; require explicit user intent for destructive operations.

When adding hooks

  • Hooks are configured in .claude/settings.json.
  • Keep hooks fast and deterministic.
  • Prefer blocking only high-confidence dangerous operations.

Docs:

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 · 41 lines · 282 tokens per session scan A fbb4fa67ba4d

Subscribe to this mod's changes

lsp-tools CLAUDE.md is an instructions file published in the GitHub repository zircote/lsp-tools (12 stars, last pushed 25d ago), licensed MIT. It adds 282 tokens to every session, about $0.0014 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-30.

Related

Other instructions, from other repositories

agentmako AGENTS.md

Instructions for drhalto/agentmako, covering mako mcp usage, operating model, default workflow, fast batches and freshness.

drhalto/agentmako · 2,480 tokens

ai-architect-mcp-codebase CLAUDE.md

Claude Code instructions for cdeust/ai-architect-mcp-codebase, covering ai-architect-mcp-codebase, commands, gates that fail ci but not local runs and etiquette.

cdeust/ai-architect-mcp-codebase · 613 tokens

dotnet-toolkit CLAUDE.md

Instructions for Attemainio/dotnet-toolkit, covering claude.md, what this is, non-negotiable workflow, commands and where to read what.

Attemainio/dotnet-toolkit · 2,493 tokens

river-review GEMINI.md

Gemini CLI instructions for s977043/river-review, covering gemini instructions (river-review), 必須チェック, gemini-specific tips, prompt assembly and development tips.

s977043/river-review · 318 tokens

ship-it open-pr.instructions.md

Instructions for khrichtchatyi/ship-it: When the user asks to open, create, or submit a pull request, follow the skill in skills/open-pr/SKILL.md in full: verify gh is authenticated, resolve the target repository and default branch, push the current branch, open one pull request with a title and body derived from the…

khrichtchatyi/ship-it · 84 tokens

agent-skills CLAUDE.md

Instructions for mindbox-cloud/agent-skills, covering agent-skills — developer guide for claude code, repository purpose, repository structure, how to add a new plugin and step 1 — create the directory structure.

mindbox-cloud/agent-skills · 1,143 tokens