lsp-architecture

lsp-architecture is a skill for Claude Code from OKHP3/skillz. It costs 0 tokens per session (2,287 once invoked), scanned A, a copy of lsp-architecture, MIT.

A method for measuring how a system behaves when many requests or users arrive at once. It examines throughput, response time, concurrency, capacity limits, and how the system fails under pressure.

In plain words
What is it for?
It helps verify traffic targets, find breaking points, model realistic usage, plan capacity, and investigate latency or resource exhaustion during spikes.
Why use it?
It reveals bottlenecks and failure modes that may not appear during normal testing or when testing only one endpoint.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/user/myproject.

Good fit It helps verify traffic targets, find breaking points, model realistic usage, plan capacity, and investigate latency or resource exhaustion during spikes.

Compare 6 skills from other repositories ↓
View source ↗ OKHP3/skillz
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

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 lsp-architecture

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/okhp3/skillz/lsp-architecture"><img src="https://agentmods.dev/badge/skills/okhp3/skillz/lsp-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,287 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.
Origin 100% 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.1 $0.00000 $0.02287
Opus 5 $0.00000 $0.01144
Sonnet 5 $0.00000 $0.00457
Haiku 4.5 $0.00000 $0.00229

Measured 7d ago against content hash 2b4b6870baa7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

lsp-architecture 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 7d 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

This is a copy

100% identical to lsp-architecture — 0 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.

community/lsp-architecture/SKILL.md · 325 lines

How it starts

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

Requires the agent-lsp MCP server.

lsp-architecture

Generate a structural architecture overview of any codebase: language distribution, package hierarchy, entry points, dependency flow, and hotspot files. One invocation for the big picture.

Read-only; does not modify any files.

Invocation: User provides the workspace root path (e.g. "/home/user/myproject"). If omitted, use the current working directory.


Depth Controls (hard limits)

These limits are strict constraints. Never exceed them:

  • Package enumeration: cap at 30 packages
  • Hotspot analysis: cap at 10 files
  • Workspace symbol queries: cap at 5 queries
  • Do NOT recurse into vendor/, node_modules/, .git/, or other dependency directories

Step 0 — Initialize

If LSP is not yet running, start it with the workspace root:

mcp__lsp__start_lsp({
  "workspace_root": "<workspace-root>"
})

Then detect which language servers are available:

mcp__lsp__detect_lsp_servers({
  "workspace_root": "<workspace-root>"
})
→ returns: list of detected servers with language names and file patterns

Record the available languages and their file globs. This determines which queries to run in later steps.


Step 1 — Language Detection

Scan the workspace to determine language distribution. Use file extension counts from the detected servers and supplement with a filesystem scan (via Glob tool) to count files per language.

For each detected language, report:

  • Language name
  • File count
  • Estimated lines of code (sample 3-5 representative files and extrapolate)

Skip files in vendor/, node_modules/, .git/, dist/, build/, and other common dependency or output directories.


Step 2 — Package Structure

Use find_symbol with broad queries to discover the package and module hierarchy. Tailor queries by language:

Go:

mcp__lsp__find_symbol({
  "query": "",
  "symbol_kind_filter": "Package"
})

Also query for top-level types and functions to fill in package-level detail:

Read the full file on GitHub · 325 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. 7d ago First seen · 325 lines · 0 tokens per session scan A 2b4b6870baa7

Subscribe to this mod's changes

lsp-architecture is a skill published in the GitHub repository OKHP3/skillz (3 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,287 tokens. A static security scan graded it A with 0 findings. It is 100% identical to lsp-architecture, differing in 0 lines, and is treated as a copy.