wire-lang: Instructions file for Codex

AGENTS.md

wire-lang AGENTS.md is an instructions file for Codex, OpenCode from eduardozf/wire-lang. It costs 549 tokens per session, scanned A, original, MIT.

Repository instructions for Wire Lang, a language whose source files use the `.wire` extension. They explain which documentation and authoring guidance to update when the language, product scope or architecture changes.

In plain words
What is it for?
Use them when writing or troubleshooting Wire Lang source, changing language behavior or APIs, updating project documentation, or adding examples for the symbol bench.
Why use it?
They help contributors keep implementation decisions, terminology and user guidance consistent while working on the compiler or renderer.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is eduardozf/wire-lang's own configuration. It tells Codex and OpenCode how to work on wire-lang 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 wire-lang configures →

Reuse

Borrowing it

Nothing to install: this file belongs to eduardozf/wire-lang. 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/eduardozf/wire-lang/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/eduardozf/wire-lang

Made for: 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 wire-lang AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/eduardozf/wire-lang/agents-md"><img src="https://agentmods.dev/badge/instructions/eduardozf/wire-lang/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 549 This file is loaded in full into every session.
When invoked 549 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.00549 $0.00549
Opus 5.5 $0.00220 $0.00220
Sonnet 5.5 $0.00110 $0.00110
Haiku 4.5 $0.00055 $0.00055

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

Security

Grade A, and why

wire-lang 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 1mo 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.

AGENTS.md · 47 lines

How it starts

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

Agent Instructions

This repository includes an Agent Skills-compatible user skill at skills/wire-lang/SKILL.md.

Use that skill when helping someone write, revise, explain, or troubleshoot Wire Lang .wire source. The skill is for Wire Lang users and source authoring; it is not the development guide for implementing the compiler or renderer.

Keep the project documented as you work. When behavior, vocabulary, scope, or architecture changes, update the relevant source-of-truth document in the same change:

  • docs/CONTEXT.md for domain vocabulary and resolved terminology.
  • docs/MVP.md for product scope, language semantics, APIs, diagnostics, and implementation contracts.
  • docs/adr/ for hard-to-reverse architectural decisions that would be surprising without context.
  • skills/wire-lang/ for user-facing authoring instructions, examples, and syntax guidance.

The symbol bench picker is derived from the standard library, so new component types appear there automatically. When a type needs example props to render meaningfully (e.g. Header/IC need a pins=[...] list), add a SAMPLE_PROPS entry in tools/symbol-bench/bench.js in the same change.

Pull Requests

When a PR changes rendered output — layout, symbols, SVG, anything an author would see differently — include before/after images in the PR description. PRs with no visual diff (docs, tooling, refactors, CI, internal APIs) do not need them.

Produce each image with the bundled SVG renderer so it reflects real output, not a mockup: render the same .wire source on main (before) and on the branch (after) and place them side by side, main on the left. scripts/wire-to-png.mjs rasterizes a .wire file to PNG via @resvg/resvg-js and is a good starting point. Choose small, focused schematics that isolate the change, and prefer a few cases over one busy diagram (e.g. each direction a hint can move, plus a no-op case).

Host the images on a throwaway demo/<topic>-assets branch under docs/assets/<topic>/, pushed separately, and reference them in the PR body by raw URL (https://raw.githubusercontent.com/<owner>/wire-lang/demo/<topic>-assets/...). Keeping them off the feature branch keeps binary assets out of the PR's diff and out of main. Note in the PR that the images live on that branch.

Read the full file on GitHub · 47 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. 1mo ago First seen · 47 lines · 549 tokens per session scan A a91e9a9a2301

Subscribe to this mod's changes

wire-lang AGENTS.md is an instructions file published in the GitHub repository eduardozf/wire-lang (6 stars, last pushed 13d ago), licensed MIT. It adds 549 tokens to every session, about $0.0022 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-31.

Related

Other instructions, from other repositories