← The Directory
Agent rules

unprompted

Art-directed web design engine & anti-slop filter for AI coding agents: 6 WCAG archetypes, Tailwind v4 & shadcn exporters, 25-rule CLI gate + auto-fixer, and 5-tool MCP server.

View source

unprompted

The Direction Protocol for AI Coding Agents

67 checks. 6 contracts. 7 archetypes. One evidence gate.

npx github:mocasus/unprompted

Live Studio · The protocol · Before & After · Archetypes · CLI & MCP · Install · Guide · Bahasa Indonesia

Stars Live Studio Release CI Node.js AgentSkills Zero Dependencies MIT license


Why this exists

AI coding agents can produce working code with no visual point of view. The result is familiar: indigo-to-pink gradients, floating blur orbs, four-point sparkle badges, three identical rounded cards, low-contrast forms, clipped mobile tables, and comments that narrate every line.

Style prompts do not fix that. They replace one default with another. /unprompted makes the agent do the harder work:

  1. Declare a direction.
  2. Build against six explicit contracts.
  3. Prove the result with deterministic checks and evidence.
  4. Report what passed, what failed, and what was never verified.

That is the v4 Direction Protocol. It is a filter, a design system, and an evidence gate in one.


The protocol

ContractChecksWhat it protects
D — Direction12One palette, type system, surface language, imagery, icon system, motion language, and one ownable idea.
S — Structure12Focal hierarchy, a hero with a job, grouping by space and hairlines, rhythm, alignment, responsive priority, complete states.
W — Words10Concrete claims, honest proof, specific CTAs, human cadence, useful errors and empty states, localization-safe copy.
A — Access12Contrast, keyboard order, :focus-visible, landmarks, accessible names, forms, non-color states, touch targets, reduced motion, media alternatives.
M — Motion & Media10Explicit transitions, no card bounce, no decorative glow, stable assets, controlled fonts, performance budgets, media controls.
E — Evidence11Audit run, 320/768/1440/1920 screenshots, contrast proof, keyboard proof, overflow proof, state proof, clean console, CLS proof, link integrity, complete report, re-audit.

67 checks total: D 12 · S 12 · W 10 · A 12 · M 10 · E 11.

The protocol does not ask an agent to “make it beautiful.” It asks for decisions that can be inspected.


How it runs

1. Direction first

Obey an existing DESIGN.md or design system. On a greenfield surface, commit to one archetype: atelier, ledger, press, instrument, nordic, brutalist, or glass.

If no direction exists, the agent labels the output DRAFT (NO DESIGN.MD) and does not present it as shippable.

2. Build against the contracts

The core skill and seven focused subskills cover direction, UI, copy, accessibility, mobile reflow, source hygiene, and Telegram bots. Each subskill cites the same v4 rule IDs instead of inventing local rules.

3. Prove the result

# Deterministic checks: 25 automated + 42 evidence
npx github:mocasus/unprompted audit ./src --strict

# Safer auto-fixes only
npx github:mocasus/unprompted fix ./src --dry-run

# Fail CI unless the gate passes
npx github:mocasus/unprompted audit ./src --gate

4. Close with an honest report

UNPROMPTED DIRECTION REPORT
- Direction : DESIGN.md | archetype:ledger | DRAFT
- Contracts : D 12/12 · S 12/12 · W 10/10 · A 12/12 · M 10/10 · E 11/11
- Status    : PASS 52 · N/A 15 · WAIVED 0 · FAIL 0 · UNVERIFIED 0
- Automated : 25/25 run · 25 PASS · 0 FAIL
- Evidence  : 42/42 verified · 42 PASS · 0 FAIL
- N/A       : E-11 (no fix followed a first audit)
- Waivers   : none
- Verdict   : PASS

The important line is Status. Automated checks can pass while evidence is still missing. When evidence has not been verified, the verdict is INCOMPLETE, not PASS.


What v4 changes

  • The U-xx catalog is retired. v4 uses 67 checks grouped by the question they answer, not by slop category.
  • Evidence is a first-class contract. Checks are split into 25 automated and 42 evidence checks.
  • Statuses are explicit: PASS, N/A, WAIVED, FAIL, UNVERIFIED.
  • Verdicts are honest: PASS, PASS WITH WAIVERS, FAIL, INCOMPLETE.
  • Waivers have a shape: rule, scope, reason, and expiry. Strict mode fails on them.
  • The seventh archetype is glass, with a documented blur budget and a non-blur fallback.
  • The report is UNPROMPTED DIRECTION REPORT. The old UNPROMPTED DELIVERY GATE name is retired; the CLI keeps a parser alias for compatibility.

Read the full v4 specification and changelog.


Before and after

Every pair runs the same prompt twice: once without direction, once with /unprompted. Explore all states in the Live Studio.

UI

With unprompted-ui + unprompted-direction.

Before: no directionAfter: v4 direction + evidence
Before: unguided AI hero with purple-to-pink gradient text, glowing orbs, invented benchmarks, and three identical stat cardsAfter: twilight mountain painting, optical display type, calm frosted command bar, and honest subtitle
Dark slate soup, neon gradients, floating glow blobs, invented terminal claims, and three identical stat cards.A declared direction, a single focal hierarchy, honest copy, and a restrained glass surface with a real contrast floor.

Filtering and direction each need the other:

Partial: filter onlyPartial: direction only
Filter without DESIGN.md: clean neutral dark baseline marked DRAFT NO DESIGN.MD with honest copyDESIGN.md without filter: twilight art direction still leaking superlatives and invented ROI
Clichés removed, but the surface is still a neutral draft (DRAFT — NO DESIGN.MD).Art direction is present, but the agent still writes Supercharge slogans and an invented 10,000% ROI.

Copywriting

With unprompted-copywriting. The v4 contract separates mechanism from proof: W-01 hype, W-02 invented metrics, W-03 vague CTAs, W-04 LLM cadence.

Before: AI hype copy with rocket emojis and vague CTAs; after: concrete release note with mechanism and measured outcome

Accessibility

With unprompted-a11y. The contrast solver and keyboard rules cover A-01 contrast, A-03 focus, A-05 link semantics, A-06 form labels, and A-08 touch targets.

Before: low-contrast sign-in form with placeholder-only labels and no focus ring; after: labeled form with visible focus and accessible contrast

Mobile layout and data-viz restraint

With unprompted-mobile + S-08. Data stays legible without decorative chart noise.

Before: clipped desktop heading, cramped multi-color KPI pills, and overflowing table; after: fluid spend header, monochrome bars, stacked ledger, and full-width export button

Source code

With unprompted-code. Comments explain why, not what.

Before: ASCII banner comments, emoji console logs, and line-by-line narration; after: focused code with comments only for non-obvious invariants


Seven built-in archetypes

Scaffold a direction instead of prompting for a mood:

npx github:mocasus/unprompted init-design --archetype atelier --with-tokens
npx github:mocasus/unprompted init-design --archetype ledger --format tailwind
npx github:mocasus/unprompted init-design --archetype press --format shadcn
ArchetypePalette & polarityTypography & motifBuilt for
atelierWarm Alabaster #F6F3EC · Espresso #1C1917 · Terracotta #A83E1FEditorial serif + humanist sans · tactile photography and provenance rowsE-commerce, D2C storefronts, studios, hospitality
ledgerMineral Paper #F5F7F6 · Pine Ink #0F1915 · Forest #14533DTight grotesque + tabular mono · KPI headers and hairlined settlement tablesFintech, B2B SaaS, billing, operational analytics
pressNewsprint Cream #FAF7F2 · Charcoal #161615 · Crimson #9F1239High-contrast display serif + 62ch prose · masthead rules and citation railsTechnical blogs, research labs, documentation, media
instrumentMatte Carbon #101012 · Titanium #F4F4F5 · Amber #F59E0BGeometric sans + monospace · split panes and monochrome telemetry barsDevTools, CLIs, observability, hardware UIs
nordicLimestone #F4F5F7 · Slate #11141A · Cobalt #1D4ED8Clean sans + generous negative space · single focal workspaceProductivity, scheduling, health, team tools
brutalistStark Chalk #F2F2EF · Pure Ink #111111 · Orange #C2410CHeavy grotesque + exposed 1px grid · zero radius, zero shadowDesign engineering, architecture, launches
glassSmoked Glass #0B0F17 · Frosted Surface #131926 · Sky #7DD3FCOutfit display + Inter sans · translucent panes, 1px specular rims, max 2 blur layersSpatial apps, creative media, AI overlays

All seven pass the same WCAG 2.2 contrast validator. Tailwind v4 @theme and shadcn/ui token exports are generated from the same source.


Eight skills

SkillResponsibility
unpromptedCore 67 checks, statuses, evidence gate, during/after modes, and waivers
unprompted-directionSeven archetypes, DESIGN.md validation, and reference token extraction
unprompted-uiComposition, surfaces, typography, motion, and Core Web Vitals
unprompted-copywritingMechanism-first headlines, specific CTAs, honest metrics, human cadence
unprompted-a11yContrast solver, focus rings, keyboard order, form labels, landmarks, media alternatives
unprompted-mobile320px+ reflow, 44px touch targets, table-to-ledger adaptation, zero horizontal clip
unprompted-codeComment hygiene and source-level AI tells
unprompted-telegramBOT.md specs, inline keyboard budgets, Rich Messages, Mini Apps, Stars, 20 TG checks

Modes

The mode decides when the protocol runs, not which checks run. during, after, and ask use the same 67 checks and the same report format.

ModeStarts withEnds withUse when
duringApplies the contracts while the interface, copy, or code is writtenA Direction Report on every substantive turnYou are building something new
afterReads existing files without editing themA findings list ([D-xx] file:line), then approval, fixes, and a re-auditYou are auditing or refactoring code you did not write
askOne question at the start of the sessionThe mode you picked, for the rest of the sessionThe repo is shared or you do not want a saved default

The choice is stored in .unpromptedrc.json when you install into a project, or ~/.unprompted/settings.json when you install globally. If neither file has a mode, the agent asks once; the installer wizard offers during as its default. unprompted doctor prints the mode it finds.

# Save globally
npx github:mocasus/unprompted --mode ask

# Install into this project and save its mode
npx github:mocasus/unprompted --target . --agents qoder --mode after

after never edits before you approve a finding. during still reports every check; it just runs before the code exists.


CLI, CI, and MCP

Every verifier runs offline on stock Node.js >= 20 with zero npm dependencies. The same build ships as unprompted-ai on npm, so npx unprompted-ai@latest works anywhere the GitHub runner does.

# Direction audit, evidence gate, and safe fixes
npx github:mocasus/unprompted audit ./src --strict
npx github:mocasus/unprompted audit ./src --gate
npx github:mocasus/unprompted fix ./src --dry-run

# Archetype scaffolding, validation, and extraction
npx github:mocasus/unprompted init-design --archetype ledger --format shadcn
npx github:mocasus/unprompted validate-design ./DESIGN.md
npx github:mocasus/unprompted extract-design ./reference.html

# WCAG 2.2 contrast and accessible hex solver
npx github:mocasus/unprompted contrast --fg "#8e96a4" --bg "#f6f3ec"

# Telegram bot and Mini App audit (20 TG rules)
npx github:mocasus/unprompted telegram ./bot --strict
npx github:mocasus/unprompted telegram ./bot --spec BOT.md
npx github:mocasus/unprompted telegram --validate BOT.md
npx github:mocasus/unprompted telegram --init BOT.md
npx github:mocasus/unprompted telegram --init BOT.md --ask

# Git hook, self-update, diagnostics
npx github:mocasus/unprompted init-hook
npx github:mocasus/unprompted --update
npx github:mocasus/unprompted doctor

GitHub Action

- uses: mocasus/unprompted@v4.3.3
  with:
    path: ./src
    strict: "true"

MCP server

{
  "mcpServers": {
    "unprompted": {
      "command": "npx",
      "args": ["--yes", "github:mocasus/unprompted", "mcp"]
    }
  }
}

The six MCP tools are unprompted_audit, unprompted_contrast, unprompted_validate_design, unprompted_init_design, unprompted_fix, and unprompted_telegram.


Install

unprompted ships across standard skill directories, native plugin marketplaces, GitHub Actions, and MCP registries. Full update and removal instructions live in GUIDE.md.

npm

npm install -g unprompted-ai
unprompted --version

[!NOTE] The npm package ships the same CLI, skills, and MCP server as the GitHub runner.

Interactive installer or skills.sh

Auto-detects installed agents across 19 environments, asks whether to install per-project or globally, lets you pick all eight skills or a subset, and saves your session mode:

npx github:mocasus/unprompted

# Or via the open skills.sh directory:
npx skills add mocasus/unprompted

Native plugin and extension doors

Three doors, one install: a native marketplace command, an agent flag on the installer, or a single file for web chats.

Marketplace and extension commands

LogoPlatformCommand
Google Antigravityagy plugin install https://github.com/mocasus/unprompted
Gemini CLIgemini extensions install https://github.com/mocasus/unprompted
Claude Code/plugin marketplace add https://github.com/mocasus/unprompted then /plugin install unprompted@unprompted
OpenAI Codexcodex plugin marketplace add mocasus/unprompted && codex plugin add unprompted@unprompted
Cursoragent plugin marketplace add https://github.com/mocasus/unprompted
Cline CLIcline plugin install https://github.com/mocasus/unprompted.git
Kimi / Oh My Pi/plugins install https://github.com/mocasus/unprompted · omp plugin marketplace add mocasus/unprompted

Installer flags

--agents picks the integration; --global or --target . picks where it lands.

Global (--global) installs once in your home directory, so every project on the machine sees it. Use it for agents you run everywhere, like Hermes Agent and OpenClaw.

LogoAgentCommand
Hermes Agentnpx github:mocasus/unprompted --global --agents hermes
OpenClawnpx github:mocasus/unprompted --global --agents openclaw

This project (--target .) writes skills and rule files into the current repository only. Use it when the rules belong to that codebase.

LogoAgentCommand
Qodernpx github:mocasus/unprompted --target . --agents qoder
Qwennpx github:mocasus/unprompted --target . --agents qwen
GitHub Copilotnpx github:mocasus/unprompted --target . --agents copilot
Windsurfnpx github:mocasus/unprompted --target . --agents windsurf
Kironpx github:mocasus/unprompted --target . --agents kiro
Traenpx github:mocasus/unprompted --target . --agents trae

--agents accepts any id in either scope, but each agent only reads the paths it defines. Hermes Agent has no project-local path, so it is global-only; the table above groups the integrations that are normally configured per repository.

Single file for web chats

curl -fsSL -o unprompted.md https://raw.githubusercontent.com/mocasus/unprompted/main/unprompted.md

Paste unprompted.md into a chat that accepts a context file.

Platform marks belong to their respective owners.


Evidence over claims

A green audit is not the same thing as a finished interface. The report separates:

  • Automated checks that the CLI can run now.
  • Evidence checks that require screenshots, contrast proof, keyboard proof, overflow proof, console output, or a re-audit.
  • Waivers that explicitly record a known exception instead of silently skipping it.

[!IMPORTANT] If a rule was not verified, the report says UNVERIFIED. If evidence is missing, the verdict is INCOMPLETE. The protocol would rather tell the truth than print a comfortable green line.


Prior art and credits

This project started from anti-slop by miqdadbadjuber. The anti-slop framing, the original filter and DESIGN.md direction, and parts of the early information architecture came from that work and belong to Miqdad.

Everything from v4 onward is separate. The Direction Protocol, its six contracts, 67 checks, evidence gate, seven archetypes, audit engine, CLI, MCP server, exporters, and current documentation were built for this repository by mocasus.

Both rest on open standards and tools: Agent Skills, WCAG 2.2, Tailwind CSS, and shadcn/ui. Their licenses and trademarks remain their own.

References:

Spotted something that needs attribution? Open an issue.

Star history

Star History Chart

Contributing and license

  • Bug or rule gap: open an issue.
  • Before a change: read CONTRIBUTING.md, ROADMAP.md, and CODE_OF_CONDUCT.md.
  • License: MIT.