gno: Instructions file for Codex

AGENTS.md

gno AGENTS.md is an instructions file for Codex, OpenCode from gmickel/gno. It costs 8,791 tokens per session, scanned A, original, MIT.

A project instruction file that tells a coding agent how to work in a Bun-based JavaScript and TypeScript project. It covers preferred commands, Bun’s built-in APIs, testing, and model-name freshness.

In plain words
What is it for?
Running scripts, installing packages, building files, loading environment settings, serving HTTP, testing, and tracking work with the project’s Flow-Next commands.
Why use it?
It keeps the agent aligned with the project’s chosen tools and avoids outdated model suggestions or unnecessary Node.js alternatives.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: reads $CODEX_HOME, but also the file is AGENTS.md. Also seen: mentions CLAUDE.md; names the TodoWrite tool; mentions Claude Code.

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

Reuse

Borrowing it

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

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 gno AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/gmickel/gno/agents-md"><img src="https://agentmods.dev/badge/instructions/gmickel/gno/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8,791 This file is loaded in full into every session.
When invoked 8,791 The same file — it is already loaded in full.
Security scan A 2 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.08791 $0.08791
Opus 5.5 $0.03516 $0.03516
Sonnet 5.5 $0.01758 $0.01758
Haiku 4.5 $0.00879 $0.00879

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

Security

Grade A, and why

gno AGENTS.md scanned grade A with 2 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 11d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Verify with `curl -fsSI https://gno.sh`, `ssh [email protected] "systemctl is-active gno-sh"`, and confirm `/srv/gno-sh/repo/.output/REVISION` matches `origin/main`.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

| Shell commands | `Bun.$\`cmd\`` | execa, child_process |
AGENTS.md · 686 lines

How it starts

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

KNOWLEDGE CUTOFF WARNING

DO NOT suggest outdated models due to knowledge cutoff. Current models (2026):

  • OpenAI: gpt-5.5
  • Anthropic: claude-opus-4.5, claude-sonnet-4.5, claude-haiku-4.5

When in doubt about model names, ASK the user rather than defaulting to outdated versions.


Note: This project uses Flow-Next for issue tracking. Use .flow/bin/flowctl commands instead of markdown TODOs.

Default to using Bun instead of Node.js.

  • Use bun <file> instead of node <file> or ts-node <file>
  • Use bun test instead of jest or vitest
  • Use bun build <file.html|file.ts|file.css> instead of webpack or esbuild
  • Use bun install instead of npm install or yarn install or pnpm install
  • Use bun run <script> instead of npm run <script> or yarn run <script> or pnpm run <script>
  • Bun automatically loads .env, so don't use dotenv.

APIs - BUN FIRST!

CRITICAL: Always prefer Bun native APIs over Node.js equivalents. Search for Bun alternatives before using node:* imports.

Must Use Bun

Task Use This NOT This
HTTP server Bun.serve() express, fastify, koa
SQLite bun:sqlite better-sqlite3, sqlite3
Redis Bun.redis ioredis, redis
Postgres Bun.sql pg, postgres.js
WebSockets WebSocket (built-in) ws
File read/write Bun.file(), Bun.write() node:fs readFile/writeFile
File existence Bun.file(path).exists() node:fs stat/access
Shell commands Bun.$\cmd`` execa, child_process
YAML Bun.YAML js-yaml, yaml
Env loading (automatic) dotenv

Read the full file on GitHub · 686 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. 11d ago Changed · +2 lines · +156 tokens per session d211e77920f2
  2. 12d ago Changed · +1 lines · +61 tokens per session e93c81749bda
  3. 16d ago Changed · +5 lines · +260 tokens per session 1b9a354742df
  4. 25d ago Changed · +2 lines · +115 tokens per session a2a38c447d4a
  5. 26d ago Changed · +1 lines · +63 tokens per session 5fb87fe74251
  6. 27d ago Changed · +23 lines · +494 tokens per session ea483335a99f
  7. 1mo ago Changed · +16 lines · +255 tokens per session 40aee4787e38
  8. 1mo ago Changed · -40 lines · -728 tokens per session 256583a1915e
  9. 1mo ago Changed · +28 lines · +585 tokens per session 06d5cd29cad4
  10. 1mo ago First seen · 648 lines · 7,530 tokens per session scan A d71c6b033a2d

Subscribe to this mod's changes

gno AGENTS.md is an instructions file published in the GitHub repository gmickel/gno (118 stars, last pushed today), licensed MIT. It adds 8,791 tokens to every session, about $0.0352 per session on Opus 5.5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

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).

microsoft/vscode · 9,649 tokens

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.

vercel/next.js · 7,549 tokens

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).

microsoft/vscode · 5,262 tokens

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.

langchain-ai/langchain · 4,680 tokens

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).

microsoft/vscode · 2,731 tokens

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.

denoland/deno · 3,077 tokens