Aesthete Agent

Communauté Outils de développement

Mechanically validated frontend aesthetics for coding agents: an evidence-ranked palette library, OKLCH harmony generation, WCAG 2.2 + APCA contrast gates, color-blind simulation and AI-slop detection; installable as an agent skill or MCP server via uvx.

Installation

Les étapes d'installation sont dans la documentation ci-dessous. Documentation

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. aesthete-agent
  2. Why
  3. What it renders
  4. Install
  5. 30-second agent quickstart
  6. What's inside
  7. The evidence library
  8. MCP server
  9. Platform availability
  10. License

English | 简体中文 | Online demo

aesthete-agent

Mechanically validated frontend aesthetics for AI agents. An agent skill (and MCP server) that plans, validates, and exports color systems — so your agent stops shipping purple-gradient AI slop and starts shipping palettes that pass WCAG, survive color-blindness, and read as designed.

Why

LLMs choose colors badly for measurable reasons: they treat hex codes as text, they regress to the median of their training data (the frontend-tutorial median is purple/indigo), and they cannot see the colors they emit. aesthete-agent fixes this the engineering way — outsource taste to process:

  • an evidence library of 119 curated palettes filtered by objective quality gates (flat lightness → rejected; no readable text pair → rejected; color-blind collisions / slop signatures → flagged),
  • mechanical gates on every decision: a 5-dimension scorecard, exact WCAG 2.2 boundaries (APCA optional), three color-blindness simulations, AI-slop signature detection, a gradient ban (any gradient = P0), and an HTML delivery linter,
  • a six-step method (manifesto → register check → source → roles → validate → five-lens review) that turns "make it pretty" into a reproducible pipeline,
  • a preference profile (profile.json) that learns from every accept/reject verdict and mechanically down-ranks what the user rejects.

What it renders

Every image below is a real deliverable produced by the engine — roles derived in OKLCH, contrast gated, color-blind simulated, slop checked, then rendered into a full scene. No hand-picked colors. Live versions: visual showcase (30 scenes across curated palettes).

Mobile app — Bees & Honey · text/bg 5.6:1 AA

SaaS landing — same palette, browser chrome, 3:1 accents

Dashboard — KPI cards, chart bars, status pills

E-commerce — Deep Space Blue · 60-30-10 enforced

Editorial — Lavender · print-grade restraint

The showcase itself — 30 scenes, one engine

Install

Agent skill — one line in any skills-compatible agent (Claude Code, ZCode, Codex, Cursor, Gemini CLI):

npx skills add docsor1212/aesthete-agent

SkillHub (中文站, fastest in China — primary release channel):

skillhub install aesthete-agent --dir <your-skills-dir>   # e.g. ~/.claude/skills

or open skillhub.cn/skills/aesthete-agent and click 安装到本地 Agent.

DeepSeek Harness native plugin (DSH desktop / web / TUI) — 11 native tools over the bundled engine:

dsh plugin --profile web add github:docsor1212/dsh-aesthete-agent

ClawHub (international registry):

ClawHub (international registry):

npx clawhub install aesthete-agent

MCP server (Claude Desktop, Cursor, any MCP client) — the engine as 21 callable tools:

uvx aesthete-agent-mcp            # from PyPI, zero keys
# or: npx -y @smithery/cli install docsor1212/aesthete-agent-mcp --client claude

Pure Python stdlib in the core engine (offline, zero keys, zero telemetry); Pillow optional for image extraction; FastMCP optional for the MCP server.

30-second agent quickstart

S="scripts/palette_forge.py"   # inside the installed skill directory
python "$S" match --brief "pediatric clinical teaching page" --limit 6   # rank the evidence library by register
python "$S" score --palette 264653,2A9D8F,E9C46A,F4A261,E76F51           # 5-dim scorecard /20
python "$S" matrix --palette ... --method apca --recommend               # full contrast matrix (APCA = WCAG 3 draft)
python "$S" semantic --count 8 --base 2A9D8F                             # color-blind-safe categorical colors
python "$S" visualize --palette ... --variants 3                         # 10 real UI scenes + variants
python "$S" report --palette ...                                         # all gates → one PASS/FAIL verdict
python "$S" theme "Golden Window Suya" --format css                      # named theme pack → CSS tokens
python "$S" export --palette ... --format w3c                            # W3C Design Tokens JSON
python "$S" export --palette ... --format prompt                         # image-generation prompt block
python "$S" doctor                                                       # environment health check

Full method (manifesto → register → source → roles → validate → five-lens review) lives in SKILL.md. References carry a 30-second routing table per task.

What's inside

AreaHighlights
Engine (35 subcommands)match/search/harmony/ramp/mutate/roles/score/contrast/blind/matrix/semantic/slop/themes/theme/export(w3c·context·css·tailwind·prompt)/card/showcase/visualize/report/critique/doctor/selftest/house/extract/directions/scene/scaffold/check-image/evidence/tokens/audit/chartpal/typescale/qc/narrate
Evidence library119 curated palettes with like tiers, computed style tags, gate flags
Scene visualizer10 real front-end scene types × any palette, light and dark, --variants for A/B, --svg slot-list recoloring
Theme packs8 named packs (colors + fonts + voice + use-when), all with provenance
Quality gatesexit-code enforced: scorecard, contrast, blind collisions, slop, HTML lint (gradient ban: any gradient = P0), report one-verdict aggregator
Learningprofile.json preferences consumed by match/score/lint; verdict write-back is an iron rule
Tests39 automated tests incl. WCAG boundary values (#767676=4.54 pass / #777777=4.48 fail), APCA, W3C export

The evidence library

Nobody can know "beautiful" a priori — so the library is built from three filters, each doing only what it can: crowd signal (community-endorsed charts, like tiers, cross-page recurrence), objective gates (reject only objectively broken architecture: flat lightness, no readable pair; flag CB collisions and slop), and in-context review (the final verdict happens in real layouts, with the user). Every rejection is recorded with a measured cause.

MCP server

mcp/ wraps the engine as MCP tools (JSON-RPC over stdio). Zero keys, zero telemetry; ships as a self-contained wheel — server_data/ carries the engine, so uvx aesthete-agent-mcp works standalone. A pure-stdlib stdio fallback (--stdio) runs even without FastMCP.

ToolWraps
palette_matchevidence-library ranking by brief
palette_harmonyOKLCH harmony generation
palette_score / palette_report5-dim scorecard / all-gates PASS-FAIL verdict
palette_contrast / palette_matrixpair check / full pair matrix (WCAG + APCA)
palette_blind / palette_semanticCB simulation / CB-safe categorical colors
palette_slopAI-slop signature detection
palette_visualize10-scene renderings + variants
palette_themes / palette_themenamed theme packs
palette_exportcss / tailwind / w3c / context / prompt

Platform availability

PlatformHandleLink
GitHub (source of truth)docsor1212/aesthete-agentinstall above
SkillHub (中文站)aesthete-agentskillhub install aesthete-agent
ClawHubaesthete-agentnpx clawhub install aesthete-agent
PyPI (MCP)aesthete-agent-mcpuvx aesthete-agent-mcp
Smithery (MCP)docsor1212/aesthete-agent-mcpnpx -y @smithery/cli install ...
Online demoGitHub Pagesshowcase + live visualizers

License

MIT

Questions fréquentes

Qu'est-ce que Aesthete Agent ?

Mechanically validated frontend aesthetics for coding agents: an evidence-ranked palette library, OKLCH harmony generation, WCAG 2.2 + APCA contrast gates, color-blind simulation and AI-slop detection; installable as an agent skill or MCP server via uvx.

Comment installer Aesthete Agent ?

Suivez les étapes d'installation de sa documentation, affichée sur cette page et dans son dépôt.

Aesthete Agent est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient Aesthete Agent ?

Il est publié par docsor1212. AI.tn le référence sans le maintenir ni le recommander.

Issu des listes communautaires awesome-mcp-servers et du dépôt GitHub du projet. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.