language-tools AGENTS.md

A guide for coding agents working in Prisma Language Tools, a monorepo containing the Prisma VS Code extension and language server. Prisma is a TypeScript database toolkit, and a language server provides editor features such as completion, formatting, and error messages.

In plain words
What is it for?
Use it when developing or debugging Prisma schema editor features, the language server, the VS Code extension, its plugins, local development services, tests, or CI/CD workflows.
Why use it?
It explains the repository's packages, documentation, build process, tests, plugins, and common development tasks. That context helps an agent make changes in the right package and follow the project's conventions.

Instructions file for CodexOpenCode

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/prisma/language-tools/agents-md
Clone the repo
git clone --depth 1 https://github.com/prisma/language-tools

Made for: Codex, OpenCode.

Per session 804 This file is loaded in full into every session.
When invoked 804 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.00804 $0.00804
Opus 5 $0.00402 $0.00402
Sonnet 5 $0.00161 $0.00161
Haiku 4.5 $0.00080 $0.00080

Measured yesterday against content hash 2d12a5da6cb7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

language-tools AGENTS.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 yesterday.

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.md · 86 lines

How it starts

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

Agent Guide for Prisma Language Tools

This document helps AI coding agents understand and work effectively in this repository.

Project Overview

This is the Prisma Language Tools monorepo—the official VS Code extension and Language Server for Prisma, the popular TypeScript ORM. The extension provides IDE features for .prisma schema files: syntax highlighting, completions, formatting, diagnostics, hover information, go-to-definition, and more.

Packages

Package Path Purpose
@prisma/language-server packages/language-server LSP implementation
prisma (VS Code ext) packages/vscode VS Code extension with plugins

Documentation

Document Description
Architecture System design and file organization
Development Setup and debugging instructions
Build System esbuild bundling and static assets
Plugin System VS Code extension plugin architecture
Language Server LSP implementation details
Local Prisma Postgres Local dev server and worker process
Testing Test patterns and helpers
Common Tasks How to add features
CI/CD GitHub Actions workflows
Gotchas Important tips and warnings

Read the full file on GitHub · 86 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. yesterday First seen · 86 lines · 804 tokens per session scan A 2d12a5da6cb7

Subscribe to this mod's changes

language-tools AGENTS.md is an instructions file published in the GitHub repository prisma/language-tools (295 stars, last pushed 5d ago), licensed Apache-2.0. It adds 804 tokens to every session, about $0.0040 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.