Borrowing it
Nothing to install: this file belongs to egeominotti/bunqueue. 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/egeominotti/bunqueue/main/AGENTS.mdgit clone --depth 1 https://github.com/egeominotti/bunqueueWrote 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/egeominotti/bunqueue/agents-md)<a href="https://agentmods.dev/instructions/egeominotti/bunqueue/agents-md"><img src="https://agentmods.dev/badge/instructions/egeominotti/bunqueue/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/egeominotti/bunqueue/agents-md"><img src="https://agentmods.dev/badge/instructions/egeominotti/bunqueue/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.03768 | $0.03768 |
| Opus 5.5 | $0.01507 | $0.01507 |
| Sonnet 5.5 | $0.00754 | $0.00754 |
| Haiku 4.5 | $0.00377 | $0.00377 |
Grade A, and why
bunqueue 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 4d 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 — 313 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
This file applies to the entire repository unless a more specific AGENTS.md
exists in a subdirectory.
Project overview
bunqueue is a high-performance job queue written in TypeScript for Bun. The
server and embedded runtime are Bun-only. Persistence uses bun:sqlite; public
clients may run in other runtimes through the network protocol.
Repository map
src/application/: queue orchestration and use-case logic.src/domain/: jobs, shards, priority queues, counters, and limiters.src/infrastructure/: SQLite persistence and transport adapters.src/client/: public Queue/Worker APIs.test/: Bun unit, integration, regression, and reproduction tests.docs/: documentation site.sdk/: language SDKs and conformance fixtures.
Working rules
- Before every
git commitand everygit push, invoke theskepticcustom subagent and wait for its verdict. It must inspect the complete staged diff, identify at least three potential failure points per changed file, verify error handling, races, idempotency, type safety and test evidence, and run applicable checks.FAILblocks the operation;CONDITIONALrequires the user's explicit confirmation. The project profiles live at.codex/agents/skeptic.tomland.claude/agents/skeptic.md. - When a bug is reported, first add a regression test that reproduces it. Only after the test fails for the expected reason, use subagents to investigate fixes and prove the chosen fix with the passing regression test.
- Preserve user changes. Never run
git reset,git checkout,git clean, or discard unrelated edits unless the user explicitly requests it. - Keep all repository content in English, including source comments, tests, internal documentation, user-facing documentation and agent configuration.
- Keep changes narrowly scoped to the requested behavior. Do not refactor unrelated code while fixing a bug.
- Use
rg/rg --filesfor repository searches andapply_patchfor manual source edits. - Runtime source is TypeScript ESM. Follow the existing 2-space, single-quote, semicolon style; Oxlint and Oxfmt are authoritative.
- Keep hot queue paths synchronous while a shard lock is held. Do not introduce
an
awaitinside a synchronous critical section. - Maintain queue invariants together: heap membership,
jobIndex, processing maps, counters, temporal indexes, group ownership, and concurrency slots must transition exactly once. - SQLite filtering, ordering, and pagination must happen in a consistent order. Use deterministic tie-breakers for paginated queries and add migrations for schema or index changes.
- Do not silently change externally visible scheduling semantics. Add explicit regression coverage when priority, delay, FIFO-group, retry, or recovery behavior changes.
- Keep source files at or below 300 lines. Give each file one responsibility and export only what is needed; split a file instead of growing it beyond that boundary.
- Respect the lock hierarchy:
jobIndex->completedJobs->shards[N]->processingShards[N]. Read prerequisite state before acquiring the next lock and always release locks infinally.
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.
- 4d ago Changed · +29 lines · +399 tokens per session d4fe841da8d8
- 16d ago Changed · +2 lines · +58 tokens per session 5c75d0fd27e3
- 21d ago Changed · +1 lines · +20 tokens per session c1a313b6ec8e
- 1mo ago Changed · +24 lines · +355 tokens per session dc0c3f972c29
- 2mo ago First seen · 257 lines · 2,936 tokens per session scan A fc5921d57b9e
bunqueue AGENTS.md is an instructions file published in the GitHub repository egeominotti/bunqueue (590 stars, last pushed today), licensed MIT. It adds 3,768 tokens to every session, about $0.0151 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.
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).
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.