aitools: Instructions file for Codex

AGENTS.md

aitools AGENTS.md is an instructions file for Codex, OpenCode from potatoqualitee/aitools. It costs 553 tokens per session, scanned A, original, MIT.

A set of instruction files that tells AI agents how to work in a repository. The instructions cover workflows, shorthand, testing, documentation, Git, PowerShell, and release tasks.

In plain words
What is it for?
Use it to guide code changes, documentation, tests, Git operations, PowerShell scripts, README files, and releases in the repository.
Why use it?
It gives the agent repository-specific rules and points it to the right guidance for each kind of change.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/potatoqualitee/aitools/agents-md"><img src="https://agentmods.dev/badge/instructions/potatoqualitee/aitools/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 553 This file is loaded in full into every session.
When invoked 553 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.00553 $0.00553
Opus 5.5 $0.00221 $0.00221
Sonnet 5.5 $0.00111 $0.00111
Haiku 4.5 $0.00055 $0.00055

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

Security

Grade A, and why

aitools 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 · 69 lines

How it starts

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

AI Agent Instructions

AI agents working in this repository must follow these instructions.

Template Version: 0.6.0

Last sync: 2025-12-28 (Update this date when syncing from the centralized repository)

Instructions for AI Agents

AI agents must:

  1. When deploying or updating this template, follow instructions/update.instructions.md and update the Last sync date above.

  2. Read instructions/agent-workflow.instructions.md FIRST to determine which other instruction files apply to your task. Follow all applicable instructions before proceeding with work.

Instruction Applicability Matrix

Use this matrix to determine which instruction files to read based on your task:

Task Type Required Instructions
Any task agent-workflow.instructions.md
Any code or documentation shorthand.instructions.md
Git operations git-workflow.instructions.md
Writing tests testing.instructions.md
PowerShell code powershell.instructions.md
Documentation markdown.instructions.md
README files readme.instructions.md
GitHub CLI usage github-cli.instructions.md
Creating releases releases.instructions.md
Repository-specific work repository-specific.instructions.md
Updating instructions update.instructions.md
Contributing to upstream contributing.instructions.md

Available Instruction Files

  • agent-workflow.instructions.md - Pre-flight protocol and task workflow
  • shorthand.instructions.md - Avoid shorthand and abbreviations
  • git-workflow.instructions.md - Git branching, commits, and PR conventions
  • testing.instructions.md - Test writing best practices
  • powershell.instructions.md - PowerShell coding standards
  • markdown.instructions.md - Markdown formatting standards
  • readme.instructions.md - README maintenance guidelines
  • github-cli.instructions.md - GitHub CLI usage guidelines
  • releases.instructions.md - Release management guidelines
  • repository-specific.instructions.md - Repository-specific customizations
  • update.instructions.md - Procedures for updating instructions
  • contributing.instructions.md - Contributing improvements to upstream

Read the full file on GitHub · 69 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 · 69 lines · 553 tokens per session scan A c83876b49bfa

Subscribe to this mod's changes

aitools AGENTS.md is an instructions file published in the GitHub repository potatoqualitee/aitools (58 stars, last pushed 8mo ago), licensed MIT. It adds 553 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-30.

Related

Other instructions, from other repositories