impeccable: Agent for Claude Code

.claude/agents/impeccable-documenter.md

impeccable-documenter is an agent for Claude Code from pbakaus/impeccable. It costs 36 tokens per session (662 once invoked), scanned A, original, Apache-2.0.

An agent that documents a project's design system after the project is built. A design system is the set of visual rules for colors, type, spacing, components, and layout used in an interface.

In plain words
What is it for?
Use it after an Impeccable build to create or update DESIGN.md and its sidecar from the finished artifact, preserving confirmed existing decisions.
Why use it?
It records what the shipped code actually does, helping keep the documentation aligned with the finished product rather than with an earlier plan.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

This is pbakaus/impeccable's own configuration. It tells Claude Code 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 →

Part of the impeccable plugin — 1 skill, 1 command, 4 agents, 5 hooks shipped together

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 · 86,630 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/.claude/agents/impeccable-documenter.md
Clone the repo
git clone --depth 1 https://github.com/pbakaus/impeccable

Made for: Claude Code.

Or install impeccable, the plugin that ships this one along with the rest of its 1 skill, 1 command, 4 agents, 5 hooks.

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-documenter

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/pbakaus/impeccable/impeccable-documenter"><img src="https://agentmods.dev/badge/agents/pbakaus/impeccable/impeccable-documenter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 662 The whole file, excluding the scripts and references it only reads on demand.
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.00036 $0.00662
Opus 5.5 $0.00014 $0.00265
Sonnet 5.5 $0.00007 $0.00132
Haiku 4.5 $0.00004 $0.00066

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

Security

Grade A, and why

impeccable-documenter 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.

Origin

Copies of this mod

3 near-identical copies found in the catalogue:

.claude/agents/impeccable-documenter.md · 30 lines

How it starts

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

Impeccable Documenter

You record a project's design system after the build is done. Ground truth is the shipped artifact: every token and rule you write must be evidenced by the built code, never by what was planned. Writing the system after the fact is the point; a rulebook written before the build gets defended against reality instead of describing it.

Complete the check within your turn ceiling. Batch Reads, take reference/document.md and the stylesheets first, and sample components rather than walking the tree. When changes are needed, start writing by the midpoint; when the recorded system still matches, leave it untouched and report the evidence checked.

Input Contract

Expect: the project root; the artifact path(s); the direction contract text (THESIS, OWN-WORLD, STORY, FIRST VIEWPORT, FORM); PRODUCT.md path; the path to the skill's reference/document.md; and the boundary to write at (project or app root). An existing DESIGN.md path means update, not replace: preserve confirmed incumbent decisions and reconcile them with the build.

Workflow

  1. Read reference/document.md in full; it is the operating spec for DESIGN.md's format, token schema, sidecar, and section order. Follow it exactly.
  2. Scan the artifact: stylesheets, custom properties, computed values in the source, component patterns, spacing rhythm, type ramp as actually used. The direction contract's OWN-WORLD block names the world; the build shows how it landed. Where they diverge, the build wins and the prose may note the divergence.
  3. For a new world or approved system change, write DESIGN.md and its sidecar from durable, reused rules in the build. Ordinary extensions preserve the incumbent system; report pre-existing drift without repairing it unasked. Do not write merely to prove this pass ran.
  4. Two ways a recorded rule goes wrong, both observed live: a prohibition that bans a device the world itself uses natively, and a value recorded to legitimize a defect. Check every prohibition against the world's own materials; a value earns its place by the build and by legibility, never by making a finding disappear.
  5. Never canonize a craft-floor refusal into the system: an element the floor bans (kickers and eyebrows, hard offset shadows outside a neobrutalist world, glyph icons, system display faces) is recorded in your not-canonized line as a defect the build carries, never as a design-system rule for future surfaces to inherit. A live session shipped five invented kickers and the documenter wrote their style into DESIGN.md; that is how one violation becomes the house style.

Read the full file on GitHub · 30 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 Changed 6bc62a59f6fe
  2. 1mo ago First seen · 30 lines · 36 tokens per session scan A 9a60c388a116

Subscribe to this mod's changes

impeccable-documenter is an agent published in the GitHub repository pbakaus/impeccable (86,630 stars, last pushed yesterday), licensed Apache-2.0. It adds 36 tokens to every session and 662 once invoked, about $0.0001 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 agents, from other repositories

ux-flow-auditor

Use this agent when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app.

CharlesWiltgen/Axiom · 43 tokens

canvas-create-screens

Groups approved functional intent into task-oriented screens, in-screen states and navigation without choosing Canvas controls.

microsoft/power-platform-skills · 24 tokens

design

Design system generator — maps product domain to style, palette, typography, anti-patterns. Creates .rune/design-system.md. Use BEFORE any frontend code generation.

Rune-kit/rune · 35 tokens

mobile-ux-optimizer

Use this agent when you need to optimize UI/UX components or interfaces for mobile-first experiences, analyze existing design themes, or ensure mobile usability standards are met. Examples: Context: User has created a desktop-focused component and needs it optimized for mobile. user: 'I've built this navigation…

xbim08/awesome-claude-code-plugins · 0 tokens

visual-reviewer

Visual regression reviewer that compares live web pages against Figma designs. Takes screenshots of both, runs pixel-level diff, and uses AI vision to evaluate whether differences are bugs or acceptable variations. Use before merge or deployment to catch visual regressions.

mukiwu/muki-ai-plugins · 52 tokens

designer

Use for visual/UX design authoring — reference decomposition, design principles, divergent concept drafts, milestone screen prototypes, and DESIGN.md authoring support. Generation only; auditing stays with reviewer[design].

kohj1018/agentic-dev-harness · 42 tokens