toofan: Instructions file for Codex

AGENTS.md

toofan AGENTS.md is an instructions file for Codex, OpenCode from vyrx-dev/toofan. It costs 1,242 tokens per session, scanned A, original, MIT.

A project guide for Toofan, an offline terminal typing test written in Go with a text-based interface.

In plain words
What is it for?
Use it to build or run the program, check Go code, or change typing logic, statistics, profiles, themes, storage, and terminal screens.
Why use it?
It explains how the application is built, where its game and user-data code lives, and that it has no external services or network calls.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/vyrx-dev/toofan/agents-md"><img src="https://agentmods.dev/badge/instructions/vyrx-dev/toofan/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,242 This file is loaded in full into every session.
When invoked 1,242 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.01242 $0.01242
Opus 5.5 $0.00497 $0.00497
Sonnet 5.5 $0.00248 $0.00248
Haiku 4.5 $0.00124 $0.00124

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

Security

Grade A, and why

toofan 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 2mo 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 · 133 lines

How it starts

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

AGENTS.md

Project context for AI coding assistants working on this repository.

Overview

Toofan is a terminal typing test written in Go. It uses Bubble Tea for the TUI and Lipgloss for styling. Everything runs offline — words, code snippets, themes, and user data are all local.

Build & Run

go build -o toofan .   # compile binary
go run .               # run without building
go vet ./...           # lint check before committing

There are no external services, databases, or network calls. User data lives in ~/.config/toofan/ as local JSON/JSONL files.

Project Structure

main.go                         Entry point. Initializes Bubble Tea program.
internal/
  game/
    game.go                     Core game logic: typing, backspace, stats, timer.
    storage.go                  All file I/O: config, results, PBs, backups.
  tui/
    model.go                    Bubble Tea model, Update loop, View dispatch.
    typing.go                   Typing screen: input handling, live WPM, progress bar.
    results.go                  Post-test results screen.
    profile.go                  Profile dashboard: overview, PBs, ranks, history, heatmap.
    text.go                     Text rendering: syntax coloring, word wrapping, cursor.
    picker.go                   Picker overlays: language, lesson, theme, duration.
  lang/
    lang.go                     Loads embedded word lists and code snippets from data/.
    data/<language>/            One directory per language.
      words.txt                 Word list (one word per line, english only).
      lessons/<topic>.go        Code lessons (hand-written, not generated).
  theme/
    theme.go                    Palette struct, All slice, Next/ByName helpers.
    <name>.go                   One file per theme. Each exports a single Palette var.

Architecture Rules

  • game/ has zero UI dependencies. It must never import tui/, theme/, or lipgloss.
  • tui/ reads game state through accessors (g.Text(), g.Input(), g.Errors()). It never touches game internals directly.
  • All file I/O is centralized in storage.go. No file reads/writes anywhere else.
  • lang/ uses embed.FS to bake data files into the binary at compile time. No runtime file system access for content.

Read the full file on GitHub · 133 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. 2mo ago First seen · 133 lines · 1,242 tokens per session scan A d414adc16ac4

Subscribe to this mod's changes

toofan AGENTS.md is an instructions file published in the GitHub repository vyrx-dev/toofan (361 stars, last pushed 1mo ago), licensed MIT. It adds 1,242 tokens to every session, about $0.0050 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.

Related

toofan AGENTS.md compared with instructions from other repositories

toofan AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
toofan AGENTS.mdvyrx-dev/toofanInstructions file3611mo agoMITA1,242Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode