no-mistakes: Instructions file for Codex

AGENTS.md

no-mistakes AGENTS.md is an instructions file for Codex, OpenCode from kunchenguid/no-mistakes. It costs 8,228 tokens per session, scanned A, original, MIT.

Repository instructions for the no-mistakes Go command-line application. They describe its code layout and the commands used to check, test, build, and run end-to-end tests.

In plain words
What is it for?
Use them when changing no-mistakes, especially its command-line interface, background service, agent integrations, terminal interface, or GitLab backend.
Why use it?
They give coding agents project-specific rules instead of making them infer how this repository is organized or verified.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions AGENTS.md; mentions OpenCode.

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

About the project

no-mistakes is a local Git proxy that validates changes in an isolated worktree before forwarding a push to the real remote and opening a pull request. It is for developers and coding agents that want automated checks, safe fixes, CI repair, and human review before changes are published.

kunchenguid/no-mistakes · 8,945 stars · on GitHub · kunchenguid.github.io

Reuse

Borrowing it

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

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 no-mistakes AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/kunchenguid/no-mistakes/agents-md"><img src="https://agentmods.dev/badge/instructions/kunchenguid/no-mistakes/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8,228 This file is loaded in full into every session.
When invoked 8,228 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.08228 $0.08228
Opus 5.5 $0.03291 $0.03291
Sonnet 5.5 $0.01646 $0.01646
Haiku 4.5 $0.00823 $0.00823

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

Security

Grade A, and why

no-mistakes 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 3d 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 · 98 lines

How it starts

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

AGENTS.md

This file is for agentic coding tools working in this repo.

This repository is a Go CLI app named no-mistakes. The binary entrypoint is cmd/no-mistakes; implementation code lives under internal/, and the package names there are the layout map (CLI in internal/cli, daemon in internal/daemon, pipeline and steps in internal/pipeline, agent adapters in internal/agent, terminal UI in internal/tui, shared infrastructure in internal/git, internal/ipc, internal/config, internal/db, internal/paths, internal/types). Build, test, and release commands are owned by the Makefile; read it for the full target list instead of relying on a copy here.

Safest local verification sequence after non-trivial changes:

  • gofmt -w .
  • make lint (generated-skill drift check plus go vet)
  • go test -race ./... (the e2e suite is behind the e2e build tag and excluded)
  • make e2e when touching agent integrations, the e2e harness, or recorded fixtures
  • go build -o ./bin/no-mistakes ./cmd/no-mistakes

Where detail lives

  • User-facing semantics: the docs site under docs/src/content/docs/ (reference/repo-config.md and reference/global-config.md own config keys, reference/pipeline-steps.md owns step behavior, reference/environment.md owns env vars and telemetry, concepts/gate-model.md and concepts/daemon.md own those models).
  • Per-area implementation maps (owning functions, invariants, regression lists): .agents/skills/<area>/SKILL.md (.claude/skills is a symlink to it). Read the matching skill before changing that area.
  • Provider CLI traps (glab flag drift, tea JSON shapes, Origin's draft-by-default create, GitHub user-attachments, opencode failure wire shape and retry gating) are owned by the comments in internal/scm/gitlab/gitlab.go, internal/scm/gitea/gitea.go, internal/scm/origin/origin.go, internal/scm/github/attachments.go, and internal/agent/opencode*.go; extend them there when you hit new drift.
  • skills/no-mistakes/SKILL.md is generated from internal/skill/skill.go; never hand-edit it, CHANGELOG.md, or other generated files.

Read the full file on GitHub · 98 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. 3d ago Changed · +15 tokens per session da2cb9ee394b
  2. 7d ago Changed · +2 tokens per session d2b052a31a4c
  3. 12d ago Changed · +51 tokens per session 8c5b94c49683
  4. 13d ago Changed · +17 tokens per session d807621884c8
  5. 14d ago Changed · -3 tokens per session 4d81df228f89
  6. 16d ago Changed · +23 tokens per session 64bc49651e83
  7. 19d ago Changed · +2 lines · +410 tokens per session c846ce2b7b8e
  8. 21d ago Changed · +7 lines · +526 tokens per session 41a8e02290b0
  9. 24d ago Changed · +168 tokens per session 1e8de2ffba79
  10. 25d ago First seen · 89 lines · 7,019 tokens per session scan A aaa222096bf5

Subscribe to this mod's changes

no-mistakes AGENTS.md is an instructions file published in the GitHub repository kunchenguid/no-mistakes (8,945 stars, last pushed today), licensed MIT. It adds 8,228 tokens to every session, about $0.0329 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

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,715 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,581 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

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens