Skip to content

About

Aigent is a design skill for Claude Code, Cursor and Codex that stops generic AI-looking websites. It locks a visual direction before the build, lints the page for common AI design tells (Taste), then checks it in a real Chromium browser from phone to desktop widths (Resolve, Vision). Includes an Astro site starter. MIT.

Topics

Resources

Contributing

Security policy

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

135 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aigent

a design system you can reshape, written so you and your coding agent work from the same rules.

it makes your agent pick a direction, build it, then actually look at the result in a browser.

Live demo

The Site Library in The AIgent Vault is the live showcase. It holds 30 original sites you can browse and open in the page, from local trades and dental clinics to scroll-driven product films. Every business and person shown there is fictional. Anyone can look around. Members can copy a prompt or the source and build their own.

Site Library in The AIgent Vault: the headline Sites you can copy, with Garside Eyewear and Tarn Running open as live cards

Design direction and browser QA for Claude Code, Cursor, and Codex. You and your agent read the same skills, tokens, and checks. One SKILL.md at the root, real guidance in skills/aigent-design/. The tokens, themes, and skill briefs are yours to change. A machine-readable map is in llms.txt.

Same fictional brief, two pages. On the left, a typical unguided-agent landing page: purple gradient, Inter, emoji cards, invented social proof. On the right, the same brief after Aigent picks a direction and Taste comes back clean.

Desktop above the fold: stock AI purple gradient hero on the left; on the right, the Aigent yard page, a drawn sailboat hauled out on yard stands over a dark teal ground, with the yard's address, hours and phone below it

Phone above the fold: the same two pages at 390px

Sources: stock-ai.html and aigent.html. Brief and facts are in brief.md. Taste reported 12 warnings on the stock page and none on the Aigent page. Full-page captures live next to the fold shots in docs/before-after/.

quick install

any Agent Skills client (Claude Code, Cursor, Codex, and others):

npx skills add wrg32786/aigent-design-system --yes

claude code, every project:

git clone https://github.com/wrg32786/aigent-design-system ~/.claude/skills/aigent

or per project with the bundled installer (writes .claude/skills/aigent-design/ and .claude/skills/aigent-business-sites/, see below):

npx --yes --allow-git=all github:wrg32786/aigent-design-system install

then just ask: use aigent to redesign this landing page.

cursor: clone the repo somewhere in or next to your project, then add .cursor/rules/aigent.mdc:

---
description: design, redesign, polish or review frontend UI
alwaysApply: false
---
For design work, read and follow path/to/aigent-design-system/SKILL.md.

if your cursor build has agent skills turned on, you can drop the clone into .cursor/skills/aigent instead.

codex: clone the repo (for example to ~/.agents/skills/aigent or into your project), then add this to your project's AGENTS.md:

## design work
For any design, redesign, polish or UI review task, read and follow
path/to/aigent/SKILL.md before writing frontend code.

OpenCode: copy the skill folders you need into .opencode/skills/ (it also discovers .claude/skills/ and .agents/skills/). Each skill name is lowercase kebab-case and matches its folder.

the browser backed commands (Taste, Resolve, Vision) need Node and run through npx in every tool. setup-browser installs Chromium for them.

Pick a direction

Before a large page is built, Aigent locks a direction: Variance, Motion, Density, type, color, and what the page is not allowed to invent.

Approved direction card for the Saltglass Marine brief, with Variance, Motion, and Density dials

Taste

Taste is a source-level smell linter. It flags gradient text, slop words, stock lines, scroll cues, and card grids. It is review, not aesthetic truth.

Taste report: 12 warnings on stock-ai.html, zero on aigent.html

npx --yes --allow-git=all github:wrg32786/aigent-design-system taste .

Vision and browser QA

Resolve measures the rendered page. Vision is a structured review of the same page at phone, tablet, laptop, and desktop widths.

Vision-style contact sheet of the Aigent Saltglass page at 390, 768, 1280, and 1440

npx --yes --allow-git=all github:wrg32786/aigent-design-system resolve --init --target .
npx --yes --allow-git=all github:wrg32786/aigent-design-system resolve --target . --url http://127.0.0.1:3000
npx --yes --allow-git=all github:wrg32786/aigent-design-system vision prepare --target . --url http://127.0.0.1:3000

start a new site

one command scaffolds an Astro site that is already wired to the rules (Node 22.23+):

Desktop above the fold of the graphite Astro site starter

Phone above the fold of the same site starter

npx --yes --allow-git=all github:wrg32786/aigent-design-system create-site my-site
cd my-site && npm run dev

from a clone of this repo: npm run create-site -- my-site or node scripts/create-site.mjs my-site.

you get the design tokens and four themes (graphite by default), a small section kit (hero, proof rows, one scroll story, closing action), one GSAP scroll timeline with reduced-motion and mobile handling, the Aigent skills under .claude/skills/, and an AGENTS.md + CLAUDE.md + cursor rule telling the agent to load them and run npm run gates (build plus the copy and design linter) before shipping. deploys go through the publish-site skill.

options: --theme graphite|ember|cobalt|paper, --with-remotion (adds an isolated Remotion hero-loop project, off until you render it), --no-install, --force. GSAP and Remotion come from npm under their own licenses, not MIT; see templates/agent-site-starter/README.md and THIRD_PARTY.md. the vendors' own agent skills are optional extras: npx skills add https://github.com/greensock/gsap-skills and npx skills add remotion-dev/skills.

Aigent installs a focused design skill into an existing repo while Claude Code remains the interface. It helps shape visual direction, study references, choose layout/type/motion/media, inspect the rendered browser, and run structured design review without replacing the project's own product or brand authority.

Aigent is in active beta. The strongest shipped pieces today are the core design skill, Inspiration Intelligence, Resolve, and the structured Vision review protocol.

Full install (claude code, per project)

From the repo you want to design:

npx --yes --allow-git=all github:wrg32786/aigent-design-system install
npx --yes --allow-git=all github:wrg32786/aigent-design-system init
npx --yes --allow-git=all github:wrg32786/aigent-design-system setup-browser
npx --yes --allow-git=all github:wrg32786/aigent-design-system doctor
claude

npm 12 blocks Git-backed package execution by default; --allow-git=all explicitly authorizes this GitHub repository for the command. Older npm versions may ignore the setting with a warning.

Then say:

Use Aigent to help me redesign this site.

install writes vendor-owned skill files under .claude/skills/aigent-design/ and .claude/skills/aigent-business-sites/, and records their hashes in .aigent/install.json. It does not replace root PRODUCT.md, DESIGN.md, brand docs, application source, or package configuration.

init creates .aigent/project-context.md only when you want an Aigent-specific project brief. Existing project authority remains authoritative.

setup-browser installs Chromium for browser-backed capture and QA.

What it does

Aigent can:

  • inspect the existing repo before proposing a redesign
  • help shape a vague brief without turning the process into a questionnaire
  • develop multiple visual directions before a large greenfield commitment
  • persist an approved direction in .aigent/design-direction.md
  • preserve unrelated approved work during scoped revisions
  • study public references and convert evidence into Design DNA
  • synthesize multiple references instead of cloning one source
  • choose layout, typography, color, motion, media, and interface direction
  • flag common generated-design smells with Aigent Taste, including filler words, stock lines, and scroll cues in page copy
  • plan scroll stories around a feeling curve and one peak, pick a page grammar and scroll devices on purpose, and verify scroll pages by sampling inside each section (skills/aigent-design/reference/scroll.md)
  • write copy from a fact sheet and a voice card instead of swapping slop words for synonyms (skills/aigent-design/reference/copy.md)
  • review a finished page in Floor, Reflex, and Finish tiers with fresh-context hero and finish reviews (skills/aigent-design/reference/gates.md)
  • structure business sites around visitor questions and real proof, keep forms, URLs, and analytics intact through a redesign, and run a release audit (skills/aigent-business-sites)
  • run browser-measured responsive, focus, contrast, clipping, reduced-motion, and runtime checks with Resolve
  • prepare a structured rendered-review task with Vision
  • export and deploy static work through constrained publishing tooling

Aigent does not contain a magical visual model of its own. Vision is a review protocol for a capable image-reviewing agent or human. Taste is a source-level smell linter. Design Intelligence is a deterministic planner. Those boundaries are deliberate.

Normal workflow

SHAPE → DIRECT → BUILD → TASTE → RESOLVE → SEE → POLISH

References add an optional inspiration loop before direction is locked.

Aigent keeps three lightweight controls behind the scenes:

VARIANCE  familiar ↔ unconventional
MOTION    static ↔ motion-led
DENSITY   sparse ↔ information-dense

Once you approve a direction, later work reads that authority instead of improvising a new visual world on every page.

Browser-backed commands

npx --yes --allow-git=all github:wrg32786/aigent-design-system taste .

npx --yes --allow-git=all github:wrg32786/aigent-design-system inspire add https://example.com

npx --yes --allow-git=all github:wrg32786/aigent-design-system resolve --init --target .
npx --yes --allow-git=all github:wrg32786/aigent-design-system resolve --target . --url http://127.0.0.1:3000

npx --yes --allow-git=all github:wrg32786/aigent-design-system vision prepare --target . --url http://127.0.0.1:3000

Private, loopback, local-network, and common metadata URLs are denied by Inspiration Intelligence unless --allow-private is explicitly supplied.

Update and uninstall

Run the install command again to update vendor-owned files:

npx --yes --allow-git=all github:wrg32786/aigent-design-system install

Aigent tracks installed file hashes. Files you modified are preserved rather than overwritten silently. Obsolete untouched vendor files can be removed during update.

To remove Aigent-owned skill files:

npx --yes --allow-git=all github:wrg32786/aigent-design-system uninstall

Modified installed files are preserved and reported.

Token layer

The same markup, with and without tokens/system.css. This is the neutral token layer, not a full skill run. Web fonts are not loaded, so the display face falls back to the stack in the tokens. Source in docs/before-after/. Change the tokens and themes when you want the system to look like your brand; your agent uses those files the same way you do.

plain html same html with aigent tokens/system.css
the demo page with no stylesheet: default serif text, blue links, a bulleted list the same markup with the repo's graphite theme: dark ground, cream condensed headline, orange mono labels, rule list rows

Examples

The repository includes canonical examples for:

  • an Astro site starter for agents (templates/agent-site-starter, scaffolded with create-site)
  • modular editorial/product pages
  • guided sales decks
  • command-center interfaces
  • progressive Three.js product stages
  • inspiration analysis and synthesis
  • the Site Library case study: fictional brand sites built to these rules, and the lessons their review rounds added (case-studies/site-library)

These are implementation examples, not evidence that Aigent automatically outperforms every baseline or competing skill. Comparative no-skill/Impeccable/Aigent evaluations and broader before/after case studies remain part of the validation roadmap.

For contributors

npm install
npm run check
npm run taste:check
npm run registry
npm run intelligence
npm run inspiration
npm run resolve:check
npm run vision:check
npm run publish:check
npm run starter:check
npm run eval

The public install path should also be exercised in a clean consumer fixture before release.

Get guidance

Want help putting this to work? The AIgent Academy on Skool offers guidance, courses and a community of builders. Membership comes with a guarantee: you have a business in 90 days or your money back. See the terms. The full walkthrough is in The AIgent Academy.

The installer may print a short Academy invitation when it finishes. Set AIGENT_NO_SKOOL=1 to turn it off. It also stays off when CI is set, when stdout is not a TTY, or when output is JSON.

License

MIT for Aigent-authored code and documentation. skills/aigent-business-sites/ is adapted from Ultra Web Design under Apache-2.0; see its NOTICE.md. The site starter installs GSAP and the optional Remotion project from npm under their own non-MIT licenses. Third-party tools and assets retain their own licenses; see THIRD_PARTY.md.

Credits

The scroll, copy, and review-gate references adapt ideas from scroll-craft, taste-skill, and Hallmark, all MIT. The business-sites skill adapts Ultra Web Design (Apache-2.0). Details in THIRD_PARTY.md and skills/aigent-design/NOTICE.md.

About

Aigent is a design skill for Claude Code, Cursor and Codex that stops generic AI-looking websites. It locks a visual direction before the build, lints the page for common AI design tells (Taste), then checks it in a real Chromium browser from phone to desktop widths (Resolve, Vision). Includes an Astro site starter. MIT.

Topics

Resources

Contributing

Security policy

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages