Borrowing it
Nothing to install: this file belongs to glincker/stacklit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/glincker/stacklit/master/AGENTS.mdgit clone --depth 1 https://github.com/glincker/stacklitWrote 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.
[](https://agentmods.dev/instructions/glincker/stacklit/agents-md)<a href="https://agentmods.dev/instructions/glincker/stacklit/agents-md"><img src="https://agentmods.dev/badge/instructions/glincker/stacklit/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.
<a href="https://agentmods.dev/instructions/glincker/stacklit/agents-md"><img src="https://agentmods.dev/badge/instructions/glincker/stacklit/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00721 | $0.00721 |
| Opus 5.5 | $0.00288 | $0.00288 |
| Sonnet 5.5 | $0.00144 | $0.00144 |
| Haiku 4.5 | $0.00072 | $0.00072 |
Grade A, and why
stacklit 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 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.
How it starts
The opening of the file, as written. The whole thing — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Guide for agents and people working on the Stacklit repo itself. If you only want to use Stacklit on your own project, read README.md and docs/INSTALL.md.
What this is
A Go CLI that indexes a codebase into stacklit.json (modules, exports, dependency edges, hints) plus a symbol graph, and serves it over MCP. Deterministic, no LLM, no network calls from the CLI. Module path github.com/glincker/stacklit, Go version from go.mod.
Build and test
make build # ./stacklit
go vet ./...
go test ./... -race -count=1
go build -o /tmp/stacklit ./cmd/stacklit # try it on another repo
CI runs vet and tests on Linux, macOS and Windows. Node is only needed for npm/.
Where things live
| Path | Holds |
|---|---|
cmd/stacklit |
main package |
internal/cli |
Cobra commands |
internal/parser, internal/graph |
extractors and the dependency and symbol graph |
internal/engine, internal/renderer, internal/schema |
pipeline, outputs, index types |
internal/mcp |
MCP server (stdio) |
internal/setup |
stacklit setup targets, hooks, the embedded skill |
skills/stacklit/SKILL.md |
the skill; internal/setup/skill/SKILL.md and plugins/stacklit/skills/stacklit/SKILL.md must match it |
plugins/stacklit, .claude-plugin/ |
Claude Code plugin and marketplace |
server.json, npm/ |
MCP registry entry, npm wrapper |
scripts/ |
install.sh, the llms-full.txt generator, sync helpers |
docs/ARCHITECTURE.md |
pipeline detail |
Rules
- Commit subjects:
<type>: <description>with type one of feat, fix, perf, refactor, docs, test, chore. Keep them short. - No em dashes or en dashes in code, comments, docs or commit messages. Plain sentences, no marketing language.
- Add a failing test first for behavior changes. Parser tests sit next to the parsers and use
testdata/. - Claims about size or speed in docs must come from
bench/output. - Do not describe unmerged features as shipped.
- Do not commit generated files (
stacklit.json,docs/DEPENDENCIES.md) unless the change is about them; CI refreshes them. - Release files (
.goreleaser.yml,.github/workflows/release.yml) andnpm/package.jsonare owner-controlled. Ask before editing. - Never commit secrets or
.envfiles.
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.
- 3d ago First seen · 55 lines · 721 tokens per session scan A 6a4a24a3ef11
stacklit AGENTS.md is an instructions file published in the GitHub repository glincker/stacklit (131 stars, last pushed 4d ago), licensed MIT. It adds 721 tokens to every session, about $0.0029 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-11-09.
stacklit AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| stacklit AGENTS.mdglincker/stacklit | Instructions file | 131 | 4d ago | MIT | A | 721 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,086 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 280k | 2d ago | MIT | A | 4,325 | Codex, OpenCode |