universal-lsp CLAUDE.md

universal-lsp CLAUDE.md is an instructions file for coding agents from developerz-ai/universal-lsp. It costs 3,483 tokens per session, scanned A, original, Apache-2.0.

A repository instruction file for universal-lsp, a project that aims to provide one language server for multiple programming languages and an embeddable graph library.

In plain words
What is it for?
It guides work on this C++ project, including its build layout, coding rules, command choices, and current graph-library development status.
Why use it?
It gives the coding agent project-specific rules for reading code, responding, building, testing, and handling failures.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/developerz-ai/universal-lsp/claude-md.svg)](https://agentmods.dev/instructions/developerz-ai/universal-lsp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/developerz-ai/universal-lsp/claude-md"><img src="https://agentmods.dev/badge/instructions/developerz-ai/universal-lsp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,483 This file is loaded in full into every session.
When invoked 3,483 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.03483 $0.03483
Opus 5 $0.01741 $0.01741
Sonnet 5 $0.00697 $0.00697
Haiku 4.5 $0.00348 $0.00348

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

Security

Grade A, and why

universal-lsp 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 3d 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.

CLAUDE.md · 231 lines

How it starts

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

Universal LSP + graph-lite

One C++ language server for many languages (Lua-declared plugins, no external language-server processes), plus graph-lite — the embeddable graph library it runs on. Built for a terminal-first, agent-driven world; standard LSP for editors, MCP for agents.

Status: pre-implementation. Repo infrastructure, gates and docs are in place; build phase 1 (graph-lite core) is the current work. Scope: docs/spec.md.

This repo is AI-first. Agents write the code; humans review at the PR. Every rule below exists to make that loop fast and safe.

Response rules

  • Execute. No preamble, no "I'll start by…", no restating the task.
  • Lead with action or answer. Reasoning after, only if non-obvious.
  • Batch independent tool calls. Read several files at once, grep in parallel.
  • Never speculate about code you have not read. Read first.
  • Disagree when the user is wrong. State the correction, once.
  • Terse. Fragments fine. Commands, paths and code stay exact.
  • End summary: 1–2 sentences.

Coding rules

  • Fail fast, loudly. A crash on a bad assumption beats a wrong answer. Invalid config throws; it never silently degrades. Validate at the seam where the bad value enters, not three layers down.
  • Optimize for the next debugger. Errors name the value, the seam, and the fix. One seam per invariant — one place to look, one place to fix.
  • Simplicity. Minimum code that solves the stated problem. No speculative abstraction, no config knob nobody asked for, no error handling for impossible cases. Concrete first; introduce an interface when the SECOND implementation actually arrives.
  • Surgical. Every changed line traces to the request. No drive-by reformatting. Match surrounding style.
  • Verifiable done. Convert the task to a command that proves it. Bug → reproducing test first. Refactor → green before AND after.
  • TDD is the working method here, not an aspiration. Write the failing test, then the code. This project has no UI to eyeball and no staging to poke: a test is the only thing that says "done".
  • Ship the guard with the fix. A defect that can recur gets its mechanical guard — a test, an assertion at the seam, a scripts/lint/ rule — in the SAME PR. Prose telling the next agent to be careful is a bug report against tooling.
  • Never ship a fix you know is wrong. Say so in one sentence and take the right path. Never silence a failing test, a warning, or a guard to get green — the guard is the asset. If the quick fix is chosen anyway, pin the known-bad behaviour with a test; never a bare TODO, nobody greps those.
  • One path, replaced completely. No shims, no dual paths, no feature flags, no v2 beside v1. Public contracts (the LSP surface, MCP tool names, the graph-lite header, the persistence format) are the genuine exception — those are one-way doors; name them and think before shipping.

Read the full file on GitHub · 231 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. 3d ago First seen · 231 lines · 3,483 tokens per session scan A 0195d50784c9

Subscribe to this mod's changes

universal-lsp CLAUDE.md is an instructions file published in the GitHub repository developerz-ai/universal-lsp (0 stars, last pushed 12d ago), licensed Apache-2.0. It adds 3,483 tokens to every session, about $0.0174 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-31.