lid: Instructions file for Claude Code

AGENTS.md

lid AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from jszmajda/lid. It costs 2,136 tokens per session, scanned A, original, MIT.

Repository instructions for coding agents working on the Linked-Intent Development project, a method for keeping a project's goals and code aligned. They also describe the repository structure, Claude Code plugins, and setup files for other coding tools.

In plain words
What is it for?
Explaining the project's purpose and folders, documenting its plugin system, and guiding setup for tools such as Cursor, Windsurf, GitHub Copilot, Aider, Continue, JetBrains Junie, Zed, and Codex.
Why use it?
It gives coding agents the project context and rules they need, so they can work consistently across different tools without guessing how the repository is organised.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: Claude Code plugin machinery, but also the file is AGENTS.md. Also seen: mentions .claude-plugin; mentions CLAUDE.md; mentions Claude Code.

This is jszmajda/lid's own configuration. It tells Claude Code, Codex and OpenCode how to work on lid itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything lid configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jszmajda/lid. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jszmajda/lid/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/jszmajda/lid

Made for: Claude Code, Codex, OpenCode.

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 lid AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/jszmajda/lid/agents-md/github.svg)](https://agentmods.dev/instructions/jszmajda/lid/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/jszmajda/lid/agents-md"><img src="https://agentmods.dev/badge/instructions/jszmajda/lid/agents-md/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 lid AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/jszmajda/lid/agents-md"><img src="https://agentmods.dev/badge/instructions/jszmajda/lid/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,136 This file is loaded in full into every session.
When invoked 2,136 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.02136 $0.02136
Opus 5.5 $0.00854 $0.00854
Sonnet 5.5 $0.00427 $0.00427
Haiku 4.5 $0.00214 $0.00214

Measured today against content hash f4498ababe0b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

lid 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 today.

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 · 110 lines

How it starts

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

AGENTS.md

Project instructions for coding agents working in this repository. The file is named AGENTS.md per the emerging cross-tool convention; tools that look for other filenames (e.g. Claude Code's CLAUDE.md) find the same content via symlink or adapter file.

Repository Purpose

This is the Linked-Intent Development (LID) project — a methodology for keeping intent and code coherent in agentic codebases. The repo ships:

  • The methodology itself (this document plus docs/).
  • Three Claude Code plugins under plugins/ (two core, one opt-in experimental) — richest integration, with auto-invoking skills and slash commands. Cursor reads the same plugins through its own manifests.
  • Rule-file adapters for other agentic coding tools (Cursor, Windsurf, GitHub Copilot, Aider, Continue, JetBrains Junie, Zed, Codex, and any tool that reads AGENTS.md). See docs/setup.md for per-tool setup.

There is no build system or application code. The plugins are prose (skills, references, templates); the only executable code is maintainer tooling under tools/ (the alternate-model eval runner and the packaging checks), which ships in no plugin. The repo is simultaneously the distribution source for the plugins and the canonical LID-on-LID reference — its own docs/ tree is LID applied to LID.

Structure

  • plugins/: Three installable plugins (Claude Code and Cursor)
    • linked-intent-dev/: Core LID workflow skill (/linked-intent-dev), configuration skill (/update-lid), and principle-review coach (/lid-coach)
    • arrow-maintenance/: Arrow tracking overlay skill (/arrow-maintenance) and brownfield bootstrap skill (/map-codebase)
    • lid-experimental/: Opt-in experiments under evaluation (review-depth, bidirectional-differential)
  • .claude-plugin/marketplace.json: Claude Code plugin manifest (technical file — users install via /plugin marketplace add jszmajda/lid)
  • docs/setup.md: Per-tool setup instructions for non-Claude-Code agents
  • docs/: The HLD, LLDs, and EARS specs that define the project
  • tools/: Maintainer tooling that ships in no plugin
    • alt-model-evals/: runs the skills' eval suites on non-Claude models (optional evidence, never a merge gate; see docs/intent/alt-model-evals/)
    • packaging-checks/: checks that the plugins are well-formed and load whole on a host (the merge gate; see docs/intent/packaging-checks/); also regenerates the shipped workflow doc

Read the full file on GitHub · 110 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. today Changed · +5 lines · +201 tokens per session f4498ababe0b
  2. yesterday Changed 93432be7a097
  3. 16d ago Changed · +3 lines · +238 tokens per session 779e8f4740c4
  4. 1mo ago First seen · 102 lines · 1,697 tokens per session scan A 368a2af841df

Subscribe to this mod's changes

lid AGENTS.md is an instructions file published in the GitHub repository jszmajda/lid (115 stars, last pushed yesterday), licensed MIT. It adds 2,136 tokens to every session, about $0.0085 per session on Opus 5.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