microcheck: Instructions file for Codex

AGENTS.md

microcheck AGENTS.md is an instructions file for Codex, OpenCode from tarampampam/microcheck. It costs 1,234 tokens per session, scanned A, original, MIT.

A set of repository rules for Microcheck, a collection of command-line programs. It documents the required tools, build commands, tests, formatting, and project structure.

In plain words
What is it for?
Use it when building the C programs, running unit and feature tests, formatting source files, cleaning generated files, or setting a version during a build.
Why use it?
It gives an agent the exact checks expected after code changes and explains how the project produces and tests its programs.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/tarampampam/microcheck/agents-md"><img src="https://agentmods.dev/badge/instructions/tarampampam/microcheck/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,234 This file is loaded in full into every session.
When invoked 1,234 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.01234 $0.01234
Opus 5.5 $0.00494 $0.00494
Sonnet 5.5 $0.00247 $0.00247
Haiku 4.5 $0.00123 $0.00123

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

Security

Grade A, and why

microcheck 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 · 103 lines

How it starts

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

AGENTS - Project Rules

Read this file AND the global rules before making any code changes - https://tarampampam.github.io/.github/ai/AGENTS.md (mirror - https://raw.githubusercontent.com/tarampampam/.github/refs/heads/master/ai/AGENTS.md).

Instruction Priority

  1. This file (AGENTS.md in this repository)
  2. Global rules (external URLs)
  3. Other documentation

If rules conflict, follow the highest priority source.

Build & Test Commands

Requires musl-gcc, make, cmake, python3. Compile sources on any changes to ensure no warnings or errors. Run all tests after batching changes to ensure no regressions.

make       # build all binaries → build/bin/{httpcheck,httpscheck,portcheck,parallel,pidcheck}
make test  # build + run all unit tests (C) + all feature tests (Python)
make fmt   # format all C source with clang-format
make clean # remove build/ and apps/version.h
APP_VERSION=1.2.3 make  # set version string (generates apps/version.h)

Run a single unit test binary:

make build/bin/cli_test && ./build/bin/cli_test         # CLI module unit tests
make build/bin/http_test && ./build/bin/http_test       # HTTP module unit tests
make build/bin/command_test && ./build/bin/command_test # command parsing unit tests

Run a single feature test suite:

python3 ./tests/feature/httpcheck.py --bin ./build/bin/httpcheck             # HTTP mode
python3 ./tests/feature/httpcheck.py --bin ./build/bin/httpscheck --https    # HTTPS mode (needs openssl)
python3 ./tests/feature/httpcheck.py --bin ./build/bin/httpscheck --fallback # fallback mode (HTTPS->HTTP)
python3 ./tests/feature/portcheck.py --bin ./build/bin/portcheck
python3 ./tests/feature/parallel.py  --bin ./build/bin/parallel
python3 ./tests/feature/pidcheck.py  --bin ./build/bin/pidcheck

Architecture

Single-source dual-binary pattern

apps/httpcheck.c compiles to both httpcheck and httpscheck. The difference: httpscheck is compiled with -DWITH_TLS and linked against mbedTLS 4. All TLS code paths in the file are gated on #ifdef WITH_TLS. Both binaries share the same CLI flags.

Read the full file on GitHub · 103 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 · 103 lines · 1,234 tokens per session scan A 90f100d7535d

Subscribe to this mod's changes

microcheck AGENTS.md is an instructions file published in the GitHub repository tarampampam/microcheck (157 stars, last pushed 4mo ago), licensed MIT. It adds 1,234 tokens to every session, about $0.0049 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

microcheck AGENTS.md compared with instructions from other repositories

microcheck AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
microcheck AGENTS.mdtarampampam/microcheckInstructions file1574mo agoMITA1,234Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,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