Borrowing it
Nothing to install: this file belongs to floor/vlist. 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/floor/vlist/main/AGENTS.mdgit clone --depth 1 https://github.com/floor/vlistWrote 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/floor/vlist/agents-md)<a href="https://agentmods.dev/instructions/floor/vlist/agents-md"><img src="https://agentmods.dev/badge/instructions/floor/vlist/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/floor/vlist/agents-md"><img src="https://agentmods.dev/badge/instructions/floor/vlist/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.01210 | $0.01210 |
| Opus 5.5 | $0.00484 | $0.00484 |
| Sonnet 5.5 | $0.00242 | $0.00242 |
| Haiku 4.5 | $0.00121 | $0.00121 |
Grade A, and why
vlist 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 8d 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 — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — working on vlist
For any coding agent (and any person in a hurry). The project tree and setup are in CONTRIBUTING.md; this page is what that tree does not tell you.
The shape in one paragraph
createVList(config, plugins) (src/core/create.ts) builds a small core — DOM, size cache,
element pool, a two-phase render pipeline (src/core/pipeline.ts: calculate into typed arrays,
then commit to the DOM) — and hands each plugin a PluginContext (src/core/types.ts:
dom, scroll, items, sizes, render, hooks, nav, pool, config, emitter).
Everything beyond a plain list is a plugin in src/plugins/<name>/. The default entry scrolls
natively; vlist/synthetic owns the input for lists taller than the browser allows.
Contracts that bite
- Three index spaces. Data (the caller's items), layout (what the size cache sees:
group headers, grid rows) and, under
carousel(), virtual (laps of the data). Convert with the published hooks —_layoutToDataIndex,_dataToLayoutIndex,_getTotal,_getLoadedItem— never by assuming two spaces coincide.data-indexandaria-posinsetcarry the public (data) index; an element'sidcarries the index it is mounted under. - One owner per concern. A plugin that owns navigation registers it with
ctx.nav.set()(carousel does); one that owns scrolling an item into view publishes_scrollItemIntoView(groups, masonry) ornav.reveal(index)(carousel: the logical item index, the same space asnav.total— not a size-cache or layout index).NavCapability.get()always carries arevealproperty (nullwhen no owner set one). Ask the owner; do not scroll behind its back. Read how the keyboard path insrc/plugins/selection/plugin.tsandsrc/plugins/a11y/plugin.tsdoes it before adding a second path. - Plugin order is
priority, lowest first: layout tier 5–11 (page and autosize 5, groups 11, and grid, table, masonry, tree and carousel all on 10), scrollbar 15, data 20, sortable 30, transition 45, selection and snapshots 50, a11y and search 55. Those five share one number andsortPluginssorts stably, so among them setup order is whatever order the caller wrote the array in — there is no defined order and you must not rely on one. What keeps that from mattering is that every pair of them is declared incompatible: a plugin that replaces size-cache methods must say which others it conflicts with (conflicts), and a missing declaration shows up as a list that works one way round and hangs the other. - The hot path allocates nothing.
pipeline.ts,state.tsand the scroll handlers run per frame: typed arrays, reused objects, no closures or array literals created per scroll event. - A plugin pays for its own bytes.
bun run sizeholds a budget per bundle (scripts/size.ts). Code added tosrc/core/lands in every bundle; code only one plugin needs lives in that plugin, or behind what the plugin already imports. A budget is a fixed number: going over it means trimming the change, or moving the pin to measured + 1% on the lead/orchestrator's recorded decision in the pull request — never a silent re-measure. - Public API is small on purpose. A new option or method needs a reason in the issue.
Types are derived from the config (
src/config.ts); noany, no@ts-ignore.
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.
- 8d ago Changed · +2 lines · +50 tokens per session 1b9a6297d64c
- 1mo ago First seen · 76 lines · 1,160 tokens per session scan A fc4621d74da0
vlist AGENTS.md is an instructions file published in the GitHub repository floor/vlist (18 stars, last pushed 9d ago), licensed MIT. It adds 1,210 tokens to every session, about $0.0048 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-09-25.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deno copilot-instructions.md
Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.