buzz AGENTS.md

Repository instructions for buzz, a statically typed scripting language written in Zig. They cover its compiler, virtual machine, debugger, editor support, and other tools.

In plain words
What is it for?
Use them when modifying, testing, formatting, or debugging buzz’s language implementation and tooling.
Why use it?
They give coding agents the project structure, risk areas, working-tree rules, and common commands before making changes.

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

Made for: Codex, OpenCode.

Per session 1,851 This file is loaded in full into every session.
When invoked 1,851 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.01851 $0.01851
Opus 5 $0.00925 $0.00925
Sonnet 5 $0.00370 $0.00370
Haiku 4.5 $0.00185 $0.00185

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

Security

Grade A, and why

buzz 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 · 174 lines

How it starts

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

AGENTS.md

Guidance for coding agents working in this repository.

Project

buzz is a small/lightweight statically typed scripting language written in Zig.

Main buzz implementation subsystems:

  • Scanner: src/Scanner.zig
  • Parser and AST: src/Parser.zig, src/Ast.zig
  • Code generation and bytecode: src/Codegen.zig, src/Chunk.zig
  • Runtime values and objects: src/value.zig, src/obj.zig
  • VM: src/vm.zig
  • GC: src/GC.zig
  • JIT: src/Jit.zig, src/mir.zig
  • FFI: src/FFI.zig, src/lib/buzz_ffi.zig, src/lib/ffi.buzz

Tooling subsystems:

  • Debugger: src/Debugger.zig
  • LSP: src/lsp.zig
  • Formatter: src/renderer.zig, src/tests/fmt.zig
  • REPL: src/repl.zig, src/repl.html, src/wasm_repl.zig

FFI, Debugger, and LSP are immature. Treat changes there as higher risk.

Working Tree Policy

  • Never commit changes.
  • Before editing, check the working tree.
  • If the working tree is clean, make the requested changes normally.
  • If the working tree only has untracked files, edits are allowed. Do not overwrite or delete unrelated untracked files.
  • If the working tree has tracked modifications or staged changes that were not initiated by the current agent/session, continue investigation read-only, then show the diff you would have applied and say that no files were modified because the working copy was not clean.
  • If tracked modifications were initiated by the current agent/session for the active task, the agent may continue editing those files and related files needed to finish the same task.
  • Do not overwrite or revert user changes.

Agents may delete files they generated during their own work. Do not delete files that were already tracked by git.

Do Not Touch

  • Never edit vendors/.
  • Do not edit generated or local build artifacts, including zig-cache/, zig-out/, dist/, build/, node_modules/, object files, dylibs, tarballs, and platform package directories.
  • Only edit package.json, package-lock.json, or WASM/frontend files when the task is specifically web/WASM-related.
  • Do not download or install dependencies.
  • If submodules are missing, git submodule update --init is acceptable.
  • Do not run scripts/perf_compare_commits.py.

Read the full file on GitHub · 174 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 · 174 lines · 1,851 tokens per session scan A 74a32a60c2e7

Subscribe to this mod's changes

buzz AGENTS.md is an instructions file published in the GitHub repository buzz-language/buzz (1,529 stars, last pushed 5d ago), licensed MIT. It adds 1,851 tokens to every session, about $0.0093 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.