impeccable: Instructions file for Codex

AGENTS.md

impeccable AGENTS.md is an instructions file for Codex, OpenCode from pbakaus/impeccable. It costs 4,496 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for coding agents working on the Impeccable project, including its folders, commands, tests, and generated files.

In plain words
What is it for?
They are for building, testing, organizing, and releasing the project while handling generated distribution files and sandbox limitations.
Why use it?
They give agents project-specific rules so they know where source code lives, how builds work, and which files should not be edited by hand.

Instructions file for CodexOpenCode

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

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

About the project

Impeccable is a design-guidance toolkit for AI coding agents that helps them create and refine frontend interfaces. It is intended for developers using AI to build user interfaces, with commands, browser iteration, and rule-based design checks.

pbakaus/impeccable · 119,616 stars · on GitHub · impeccable.style

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/pbakaus/impeccable/agents-md"><img src="https://agentmods.dev/badge/instructions/pbakaus/impeccable/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,496 This file is loaded in full into every session.
When invoked 4,496 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.04496 $0.04496
Opus 5.5 $0.01798 $0.01798
Sonnet 5.5 $0.00899 $0.00899
Haiku 4.5 $0.00450 $0.00450

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

Security

Grade A, and why

impeccable 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 12d 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 · 116 lines

How it starts

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

Repository Guidelines

Branches. main is what users install: the Claude Code plugin marketplace, submodules and direct copies read it. It moves only at a release. Branch from next and open every pull request against next (gh pr create --base next); CI fails a pull request into main from any branch but next or hotfix/…. Diff and merge-tree against origin/next.

Project Structure & Module Organization

skill/ is the source of truth for the Impeccable skill: SKILL.src.md, reference/, scripts/, and agents/. skill/scripts/ holds the launcher (impeccable, impeccable.cmd), the pinned engine VERSION, command-metadata.json, and the in-page live-mode JS. Every skill verb ({{scripts_path}}/impeccable <verb>) runs in the engine binary, built from this repo's Cargo workspace under crates/; the root ENGINE_VERSION pins the released binary used by installs. Read docs/ENGINE.md before changing runtime code. Build logic lives in scripts/, with provider configs in scripts/lib/transformers/. cli/ is the npm shim that runs the same binary, the browser extension lives in extension/, and regression coverage lives in the Rust crates and tests/, including fixtures under tests/fixtures/ and behavior goldens under tests/oracle/. The website and service live in the separate private impeccable-site repo. dist/ and build/ are generated and gitignored. The root harness folders (.agents/, .claude/, .cursor/, etc.) and plugin/ are generated distribution artifacts that are tracked for direct repo installs, not hand-authored source.

Build, Test, and Development Commands

  • cargo build --release -p impeccable - build this checkout's runtime into target/release/impeccable. This one binary is also the detector (impeccable detect); there is no separate detector binary. Point IMPECCABLE_BIN at it.
  • cargo test --workspace - run the Rust workspace tests.
  • bun run test:rust-changed - run the Rust tests of the crates your change touches (against the merge base with origin/main, working tree included) plus every crate that depends on them; --print shows the selection, --base <ref> changes the base. Full log in target/test-rust-changed.log, one summary line on stdout.
  • bun run build - source-first build: regenerate dist/, derived site assets, and validation output without syncing tracked harness folders.
  • bun run build:release - release/distribution build: run the full build and sync tracked root harness folders plus plugin/.
  • bun run rebuild - clean and rebuild everything from scratch without syncing tracked harness folders.
  • bun run rebuild:release - clean and rebuild everything, including tracked harness output sync.
  • bun test tests/build.test.js - run a focused Bun test.
  • bun run fetch:engine - download the pinned engine binary for this machine into skill/scripts/bin/<os>-<arch>/ (or set IMPECCABLE_BIN to a local build). The oracle and framework suites skip without it.
  • bun run test - run the full Bun + Node test suite (includes the oracle replay against the engine binary and the plugin loader E2E, which installs the committed plugin/ subtree into a sandboxed real Claude Code and skips cleanly when the claude CLI is absent).
  • bun run test:live-e2e - opt-in live-mode E2E against framework fixtures (~2 min; needs npx playwright install chromium once).
  • bun run test:skill-behavior - opt-in LLM-backed checks that the SKILL.md Setup flow actually drives the agent (runs the DEFAULT_MODELS in tests/skill-behavior/providers.mjs; needs provider keys in ~/.config/impeccable/dev.env).
  • bun run test:plugin-e2e - just the plugin loader E2E, for fast iteration on plugin/, skill/agents/, or scripts/build.js changes.
  • bun run build:extension - rebuild the extension bundle (it runs cargo xtask bundle, which also refreshes the in-page detector bundle).

Read the full file on GitHub · 116 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. 12d ago Changed · -54 tokens per session bb4e249e259a
  2. 15d ago Changed · +2 lines · +101 tokens per session e239a92d5063
  3. 16d ago Changed · +2 lines · +86 tokens per session 617d3bcc3e90
  4. 25d ago Changed · +37 tokens per session f001fb3072f1
  5. 1mo ago Changed · +7 tokens per session ca0795fac9d6
  6. 1mo ago Changed · +59 tokens per session e69245dff059
  7. 1mo ago Changed · +22 lines · +824 tokens per session 0db71f8c5a86
  8. 2mo ago Changed · +7 tokens per session f38d1d833b77
  9. 2mo ago Changed · -2 lines · +2 tokens per session 25ab093169c0
  10. 3mo ago First seen · 92 lines · 3,427 tokens per session scan A 19284fbc22ae

Subscribe to this mod's changes

impeccable AGENTS.md is an instructions file published in the GitHub repository pbakaus/impeccable (119,616 stars, last pushed today), licensed Apache-2.0. It adds 4,496 tokens to every session, about $0.0180 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

impeccable AGENTS.md compared with instructions from other repositories

impeccable AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
impeccable AGENTS.mdpbakaus/impeccableInstructions file120ktodayApache-2.0A4,496Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file289k2d agoMITA4,393Codex, OpenCode