mini-games: Instructions file for Codex

AGENTS.md

mini-games AGENTS.md is an instructions file for Codex, OpenCode from mazipan/mini-games. It costs 4,077 tokens per session, scanned A, original, MIT.

Project-specific instructions for building and maintaining a collection of browser mini-games. They explain the tools, folder layout, and commands used in the project.

In plain words
What is it for?
Use them when starting the development server, creating a production build, formatting files, or regenerating game images and icons.
Why use it?
They give a coding agent the project’s conventions and development steps, reducing guesswork when changing or checking the games.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 mini-games AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/mazipan/mini-games/agents-md"><img src="https://agentmods.dev/badge/instructions/mazipan/mini-games/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,077 This file is loaded in full into every session.
When invoked 4,077 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.04077 $0.04077
Opus 5.5 $0.01631 $0.01631
Sonnet 5.5 $0.00815 $0.00815
Haiku 4.5 $0.00408 $0.00408

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

Security

Grade A, and why

mini-games 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 · 366 lines

How it starts

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

mini-games — AI Coding Guide

Project Overview

A collection of free, browser-based mini games built with Eleventy (SSG), Tailwind CSS, and Nunjucks templates. Each game is a self-contained page.

Tech Stack

  • Eleventy 3.x — static site generator, config in eleventy.config.js
  • Nunjucks — template engine for layouts and partials
  • Tailwind CSS v4 — utility-first CSS, configured via src/css/main.css (@theme)
  • PostCSS + @tailwindcss/postcss — CSS pipeline, config in postcss.config.js
  • Prettier — code formatter, config in .prettierrc
  • Lefthook — pre-commit hooks, config in lefthook.yml
  • Commitlint — conventional commit enforcement
  • Bun — package manager and script runner

Development Commands

bun run dev              # start dev server (Eleventy + Tailwind watch)
bun run build            # production build
bun run format           # format all files with Prettier
bun run format:check     # check formatting without writing
bun run generate:og      # re-render public/og-image.svg → public/og-image.png
bun run generate:favicon # regenerate all per-game favicons in public/

Project Structure

public/                  # static assets copied as-is to _site/ root
  og-image.svg           # source OG image (1200×630, edit this)
  og-image.png           # pre-rendered PNG (committed, copied at build)
  favicon.png            # site-wide fallback favicon (🎮)
  favicon-[slug].png     # per-game emoji favicons (one per game)
  google…html            # Google Search Console verification file
scripts/
  generate-og-image.mjs  # renders og-image.svg → og-image.png
  generate-favicon.mjs   # generates all favicon-[slug].png from games.js icons
src/
  _data/
    site.js              # site-wide metadata (title, description, url)
    games.js             # array of all games with metadata
  _includes/
    layouts/
      base.njk           # base HTML wrapper (head, full SEO meta, CSS)
      game.njk           # game page layout (nav, full SEO meta, per-game favicon)
    partials/
      header.njk         # site header with nav
      footer.njk         # site footer
      hero.njk           # landing page hero section
      features.njk       # USP/features section
      games-list.njk     # games grouped by category
  css/
    main.css             # Tailwind v4 entry point (@import "tailwindcss" + @theme)
  games/
    [slug]/
      index.njk          # individual game page
  index.njk              # homepage

Read the full file on GitHub · 366 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 · 366 lines · 4,077 tokens per session scan A 7785fd849ecf

Subscribe to this mod's changes

mini-games AGENTS.md is an instructions file published in the GitHub repository mazipan/mini-games (5 stars, last pushed 3mo ago), licensed MIT. It adds 4,077 tokens to every session, about $0.0163 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

mini-games AGENTS.md compared with instructions from other repositories

mini-games AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mini-games AGENTS.mdmazipan/mini-gamesInstructions file53mo agoMITA4,077Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot