Skip to content

About

Brief in. Finished, verified design out.

Topics

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

DESIGN INTELLIGENCE — the autonomous design studio any AI can use

Brief in. Finished, verified design out.
Brand identities, websites with motion and real-time 3D, apps, design systems, social, print, decks and video:
rendered in a real browser, audited, and fixed before you see them. It works with any AI, or none.

version node MCP tools skills tests

Type one thing · Quick start · Use it from any AI · Skills · Recipes · Tools · Configuration · Security


Why DI

  • Finished files, not suggestions. You get the logo suite, the website, the PDF guidelines, the MP4 and the token package, ready to use.
  • Verified, not vibes. Every page is rendered at 390, 820 and 1440 px. It's audited for accessibility (WCAG 2.2), layout, motion, performance and template clichés, then auto-fixed. You get the scores.
  • Type one thing. Say what you want in plain words. DI works out the job, keeps every value you typed, picks the skills and runs the right tool.
  • Your command stays intact. Your brand name, colours, fonts, copy and constraints come first. DI's defaults and skills raise the craft around them, never over them.
  • Smart skills. A router picks the best of 1,803 indexed skills for each request. That includes 113 bundled in the repo: DI's 4 packs plus 109 vetted skills from Anthropic, Impeccable, Hallmark, Taste, UI UX Pro Max, Uizze, Emil Kowalski, Vercel, Google Stitch, GreenSock, three.js, Addy Osmani and others. Their guidance steers the work, and DI's own checks enforce it.
  • Any AI, or none. Use it from Claude, ChatGPT, Gemini, Copilot, Cursor, Codex, DeepSeek, GLM, Qwen, Kimi, Mistral, Llama and others, over MCP, REST/OpenAPI or function calling. With no model at all, the deterministic engine still delivers.

Quick start

You need: Node.js ≥ 22.12, plus Chrome, Edge or Chromium for rendering, PDF and MP4. A model API key is optional.

git clone https://github.com/ossamamehmood/Design-Intelligence.git && cd Design-Intelligence
npm install
npx tsx src/cli.ts doctor        # checks browser, skills and the MCP server
npx tsx src/cli.ts project "Pulse — an AI bookkeeping assistant for freelancers. Brand identity, landing page and pitch deck. Trustworthy, modern."

About 30 seconds later, open output/<taskId>/review.html. That's a client-ready board with three directions explored, every deliverable, QA scores, the skills that shaped the work, and next steps.

What's in the output folder
Folder Contents
index.html, portfolio.html, product.html, dashboard.html, app-*.html Responsive pages with the brand's motion language and an optional live-shader or 3D hero, audited at 3 breakpoints
brand/ Four logo concepts, a colour/mono/reversed mark suite, lockups, a guidelines PDF, a business card with bleed, and favicons and app icons
tokens/ W3C DTCG 2025.10 JSON, CSS, SCSS, Tailwind v4/v3, SwiftUI, Android XML and Jetpack Compose
social/, print/, deck/, email/ Seven platform-exact social PNGs, an A3 poster PDF, a 16:9 deck PDF and a responsive HTML email
motion/ Verified H.264 MP4s (logo sting, kinetic type, product reel, stat counter, 9:16 story) with posters, brand loaders and a Lottie badge
screens/, review.html, manifest.json Screenshots, the review board, and a machine-readable record of everything, including QA and applied skills

Type one thing

You don't need to know DI's tools. Say what you want, and DI handles the rest:

  1. Detects the job.
  2. Keeps every value you typed (colours, headlines, files, dark/light, motion level, 3D or shader hero).
  3. Picks the best skills for that job.
  4. Runs the right tool, and asks for anything essential that's missing (like which page to fix) instead of guessing.
npx tsx src/cli.ts "landing page for Northwind, a freight platform. teal, dark, 3D globe hero. headline: Every container, one clear view."
npx tsx src/cli.ts "make site/pricing.html less generic"
npx tsx src/cli.ts "a 9:16 launch story video, brand color #E11D48"
npx tsx src/cli.ts "colour palette for a calm wellness app, sage"
npx tsx src/cli.ts do "font pairing for an editorial food magazine" --dry-run   # show the plan only
You say… DI does With skills such as
"landing page / brand identity / app / deck for …" di_design_project: full project, audited DI web-3D · Taste · frontend-design · copywriting
"make page.html less generic / fix / polish" di_fix_design: audit, then auto-fix DI anti-slop · Impeccable · interface-review
"audit / check … for WCAG" di_audit_design: rendered QA accessibility · web-quality-audit · Vercel guidelines
"a story / reel / logo sting video" di_motion_video: verified MP4 DI motion · choreograph · better-motion
"a 3D orb / globe scene" di_3d_scene: page, still, MP4 loop DI web-3D · threejs-shaders · threejs-fundamentals
"palette / font pairing / tokens / logo" di_color_palette · di_type_system · di_design_tokens · di_logo_concepts better-colors · theme-factory · better-typography
"a bouncy spring / smoother animations" di_spring_easing · di_motion_system DI motion · review-animations · better-motion
"which skills for …" di_skill_plan the best skills, with key rules

In any AI, use the di_do tool or the design MCP prompt with your words. On the first run above, DI kept the headline verbatim, the teal and the 3D globe, scored 99/100 in QA and finished in 18 seconds.

How it works

flowchart LR
  A([Your request<br/>one line]) --> B[Understand<br/>job · values you typed · industry · tone]
  B --> C[Skill plan<br/>best skills + precedence]
  C --> D[3 directions<br/>13 archetypes]
  D --> E[Verified system<br/>OKLCH colour · type · motion]
  E --> F[Compose<br/>web · brand · print · video · 3D]
  F --> G[Render & audit<br/>390 · 820 · 1440 px]
  G -- issues --> H[Auto-fix]
  H --> G
  G --> I([Exports + review board])
  I -. your rating .-> J[(Taste model)]
  J -.-> D
Loading

The deterministic engine sets the quality floor. An optional LLM (any of 35 providers) raises the ceiling: it refines the strategy, art-directs and writes copy, and runs a vision critique whose patches are kept only if QA doesn't drop.

What it designs

Discipline Deliverables
Brand & identity Logo concepts, mark suite, lockups, a guidelines PDF, a business card, favicons and app icons
Web & product Landing pages, portfolios, e-commerce product pages, dark/light dashboards and mobile app screens, each with a per-brand motion language
Motion & 3D for the web Springs compiled to CSS linear(), scroll reveals, split-text headlines, count-ups, chart draw-ons, magnetic CTAs, parallax, View Transitions; 7 live WebGL shaders; 6 real-time Three.js scenes
Design systems An OKLCH colour system (light and dark, contrast-solved, CVD-checked), a fluid type scale, spacing, radius and motion tokens, a living style guide, and exports for 7 platforms
Marketing & print Social sets, an A3 poster PDF, a 16:9 deck PDF and a responsive HTML email
Motion graphics & art Verified H.264 MP4s with posters, brand loaders, a Lottie badge, and seeded generative art
Quality Rendered audits (WCAG, responsive, motion, performance, anti-slop) with auto-fix and an AI vision critique

Use it from any AI

Your AI How it connects Set up with
Claude Code / Desktop, Cursor, VS Code Copilot, Windsurf, Codex, Gemini CLI, Cline, Continue, Zed, Goose, LM Studio, OpenCode MCP over stdio di connect <client>
ChatGPT (developer mode), claude.ai connectors MCP over Streamable HTTP di serve + an HTTPS tunnel + DI_API_TOKEN
Custom GPT Actions, Dify, Coze, n8n, Zapier, LangChain REST + OpenAPI 3.1 (27 operations) https://<host>/openapi.json
Any model with function calling OpenAI, Anthropic and Gemini tool schemas di tools --format openai|anthropic|gemini
DeepSeek, GLM, Qwen, Kimi, Mistral, Llama… driving DI DI's own agent loop di agent "<goal>" --provider deepseek
Anything with a shell CLI, JSON out di call <tool> @input.json
Claude Code: one command, available in every project
claude mcp add design-intelligence --scope user -- npx tsx <repo>/src/mcp.ts
# or, after `npm run build`:
claude mcp add design-intelligence --scope user -- node <repo>/dist/mcp.js
Claude Desktop, Cursor, VS Code, Windsurf: JSON config

Run di connect claude-desktop (or cursor, vscode, windsurf …) to print the exact block with your paths:

{
  "mcpServers": {
    "design-intelligence": { "command": "node", "args": ["<repo>/dist/mcp.js"] }
  }
}
ChatGPT: remote MCP connector
  1. Set a long random token: DI_API_TOKEN=<40+ random characters>.
  2. Start DI with npm run serve. It listens on 127.0.0.1:4173.
  3. Expose it with a tunnel you trust, for example cloudflared tunnel --url http://127.0.0.1:4173.
  4. Open ChatGPT → Settings → Apps & Connectors → Advanced → Developer mode → Create connector.
    • URL: https://<tunnel-host>/t/<token>/mcp
    • Authentication: none (the token is in the URL)

Anyone with that URL can use your DI while the tunnel runs. Keep the token secret and stop the tunnel when you're done. Private knowledge is never served over HTTP.

Let any LLM drive DI: 35 providers, opt-in
DI_LLM_PROVIDER=deepseek DEEPSEEK_API_KEY=sk-... npx tsx src/cli.ts agent "Design a calm landing page for a sleep clinic"
npx tsx src/cli.ts llm providers   # anthropic, openai, google, deepseek, zai, qwen, moonshot, mistral, ollama, custom …

Inside any AI, ask naturally ("design a landing page for…", "audit this page", "animate our onboarding"), or pass your words to di_do. DI's MCP instructions tell the model to keep your request intact and to start with the right skills.

Skills: the intelligence layer

DI connects 1,803 skills to its pipeline and makes every one usable from any AI. 113 of them ship inside the repo, so a fresh clone has them all.

Tier What it is Trust
DI packs (skills/, 4) design-intelligence, di-motion-design, di-web-3d, di-anti-slop-design Written for DI; their rules are injected into prompts
Vetted packs (external-skills/, 109, listed in catalog.json) See the table below Reviewed, commit-pinned, licensed, text only; rules are injected
Your library (~/.agents/skills, DI_SKILLS_DIR) Every skill on your machine Security-scanned. Suggested by name only, never injected unreviewed
The 109 vetted skills, by source
Source Skills Licence
Anthropic frontend-design, canvas-design, algorithmic-art, theme-factory, webapp-testing Apache-2.0
Impeccable (Paul Bakaus) impeccable + 50 reference guides Apache-2.0
Hallmark · Taste Skill hallmark, design-taste-frontend MIT
UI UX Pro Max ui-ux-pro-max (style/colour/UX data), design, design-system, ui-styling, brand, slides, banner-design MIT (ui-styling: Apache-2.0)
Uizze anti-ui-slop, ui-design, image-to-ui, ui-radar, uizze-ui MIT / Apache-2.0
Emil Kowalski 20 design-engineering and animation skills (emil-design-eng, animate, choreograph, review-animations, gestures, …) MIT
three.js (CloudAI-X) 13: fundamentals, geometry, materials, lighting, textures, shaders, post-processing, animation, interaction, loaders, asset pipeline, performance, React Three Fiber MIT
Addy Osmani: web quality accessibility, performance, core-web-vitals, best-practices, seo, web-quality-audit MIT
Vercel web-design-guidelines, react-view-transitions, composition-patterns, react-best-practices, react-native-skills, writing-guidelines MIT
Google Stitch design-md, taste-design, enhance-prompt, generate-design, code-to-design, shadcn-ui, react-components, react-vite-dashboard, extract-design-md, manage-design-system Apache-2.0
GreenSock 8 GSAP skills (core, timeline, ScrollTrigger, plugins, performance, React, frameworks, utils) MIT
jakubkrehel 14: better-ui, -typography, -colors, -motion, -accessibility, -layout, -writing, -interface, interface-review, explain-interface, build-design, variant, break, state-machine MIT
Corey Haines: conversion copywriting, copy-editing, cro, onboarding, paywalls, popups, pricing, signup, marketing-psychology, ad-creative, site-architecture, social MIT

How routing works. For each request, DI:

  1. Pins the topics for the job (a palette job gets colour specialists, a 3D job three.js and shader skills), and adds any topics your words mention: UI craft, anti-slop, motion, 3D, accessibility, typography, colour, brand, mobile, data, review, copy, or image-to-UI.
  2. Ranks skills by relevance × quality × trust. Specialists whose names match the topic get a boost, and no more than two come from the same pack.
  3. Extracts each skill's strongest rules.
  4. Names the DI check that enforces each topic. For example, anti-slop maps to the slop-* visual lint, and motion to the motion system plus motion audit.

The plan steers the AI brain (art direction, copy, critique). It's recorded in manifest.json, the project README and the review board, and returned to your AI so it can load the skills.

Precedence (always):

  1. Your explicit instructions: brief, brand name, colours, fonts, copy, deliverables, constraints.
  2. Accessibility and legal requirements.
  3. DI's verified design system.
  4. Skill guidance, which raises craft only where it doesn't conflict with 1–3.

Use skills anywhere:

Where How
MCP prompts design (one line → di_do), design_with_skills (plan → load → produce), use_skill (any skill with its full instructions attached; names autocomplete)
MCP resources di://skills/<name> for any skill; DI and vetted packs are listed for browsing
Tools (MCP, REST, function calling) di_do (plans skills for every job automatically), di_skill_plan, di_search_skills, di_load_skill, di_read_skill_resource
CLI di skills plan "<task>", di skills search <q>, di skills load <name>
Automatically di_design_project routes every brief (turn off with use_skills: false)

Recipes

A landing page with a 3D hero, using your own copy
npx tsx src/cli.ts call di_design_project @brief.json
{
  "brief": "Northwind — freight visibility for global shippers. Landing page. Precise, calm, premium.",
  "brand_color": "#0F766E",
  "hero_visual": "3d",
  "motion": "expressive",
  "content": { "heroHeadline": "Every container, one clear view.", "primaryCta": "Book a demo" }
}

Your headline, CTA and colour are used exactly as given. DI builds the system, the globe hero and the motion around them, then audits the result.

A brand identity
npx tsx src/cli.ts project "Fieldnote — a slow-living magazine about craft and food. Brand identity and editorial website." --deliverables brand-identity,landing-page
Audit and fix any page
npx tsx src/cli.ts call di_audit_design '{"target":"path/to/page.html"}'
npx tsx src/cli.ts call di_fix_design   '{"target":"path/to/page.html"}'   # writes page.fixed.html

The scores cover accessibility, responsive, visual (including slop-* tells), technical, motion and performance.

Motion graphics for social, and a 3D scene for your own site
npx tsx src/cli.ts call di_motion_video '{"brief":"Fieldnote — a slow-living magazine","template":"social-story"}'
npx tsx src/cli.ts call di_3d_scene '{"scene":"globe","brand_color":"#0F766E","mode":"dark","video":true}'

di_3d_scene returns an embed snippet and the files to copy: the three.js bundle and the scene script.

Pick and apply the right skills for any task
npx tsx src/cli.ts skills plan "Make our pricing page feel premium and less generic, with tasteful hover motion"
# → di-anti-slop-design, di-motion-design, emil-design-eng, animate, each with key rules and the DI check that enforces it

In an MCP client, run the design_with_skills prompt with your task, or use_skill with a skill such as impeccable.

Quality you can check

Category What DI measures on the rendered page
Accessibility Computed WCAG contrast (including proven contrast over animated backgrounds), 2.5.8 target sizes, names, headings, landmarks, labels, keyboard focus, pause controls (2.2.2), reduced motion
Responsive Horizontal overflow and grid blowouts at 390, 820 and 1440 px
Visual Type-scale and spacing consistency, plus anti-slop tells: gradient and glass overuse, centred-everything, emoji icons, weak hierarchy, monotonous rhythm, mixed icon styles, placeholder copy
Motion Layout-thrashing animation, transition: all, endless motion without a pause control
Performance LCP, CLS, long tasks and gzip page weight against budgets
Technical Runtime and network errors, duplicate IDs, image dimensions

Honest limits are listed in CAPABILITIES.md. For example, photography needs an external image model, PDFs are RGB, and MP4s are silent.

Tools

All 28 tools (the same registry feeds MCP, REST, OpenAPI, function calling, the CLI and the agent)
Group Tools
Front door di_do: one request in your own words → the right job, skills and tool
Produce di_design_project, di_render_export, di_list_projects, di_read_file
Direction & parts di_analyze_brief, di_creative_directions, di_color_palette, di_type_system, di_design_tokens, di_logo_concepts
Motion, 3D & video di_motion_system, di_spring_easing, di_3d_scene, di_motion_video
Quality di_audit_design, di_fix_design, di_critique_design, di_check_contrast
Skills di_skill_plan, di_search_skills, di_load_skill, di_read_skill_resource, di_run_skill_script (local only, approval-gated)
Knowledge & learning di_search_knowledge, di_brand_systems, di_record_feedback, di_capabilities
CLI reference
"<anything you want>"  |  do "<request>" [--dry-run]   one line: DI picks the job, skills and tool
project "<brief>" [--deliverables a,b] [--brand Name] [--concept A|B|C] [--archetype id] [--color #hex]
                  [--mode light|dark] [--motion auto|none|subtle|expressive] [--hero auto|mockup|art|shader|3d]
                  [--motion-templates logo-sting,social-story] [--no-llm] [--critique]
agent "<goal>" [--provider id] [--model m]        any LLM drives DI's tools
call <tool> ['<json>' | @input.json]              run any tool, JSON out
skills plan "<task>" | search <q> | load <name> | sync | doctor | approve <name>
mcp | serve | connect <client> | tools --format … | interop export
llm providers | llm test --provider id | doctor | feedback <taskId> <1-5> "<note>"

di means npx tsx src/cli.ts in a checkout, or node dist/cli.js after npm run build.

Configuration

Copy .env.example to .env. Everything is optional.

Variable Purpose
DI_LLM_PROVIDER + that provider's key Enables the AI brain (opt-in). di llm providers lists the 35 providers
DI_LLM_MODEL, DI_LLM_VISION_MODEL, DI_LLM_EFFORT Model overrides. Claude defaults to claude-opus-5-5 at effort high
DI_BROWSER_PATH Chromium-based browser for rendering (auto-detected)
DI_SKILLS_DIR Your skill library (default ~/.agents/skills)
DI_API_TOKEN, DI_HOST, DI_PORT, DI_PUBLIC_URL HTTP server. A token is required for any non-localhost bind
DI_ALLOWED_ORIGINS, DI_ALLOWED_ROOTS, DI_ALLOW_REMOTE_URLS Origins, folders and URLs agents may use
DI_EXPOSE_PRIVATE, DI_LLM_SHARE_PRIVATE Private-knowledge sharing (off by default)

Security & privacy

  • Local by default. The server binds to 127.0.0.1 and refuses network binds without a token.
  • No uninvited models. LLMs are opt-in, and secrets and home paths are redacted from anything sent to them.
  • Your data stays home. Private knowledge never leaves over HTTP, and remote callers can only reach the output folder.
  • Skills are guidance, not code. Vetted packs ship text only. Third-party scripts run only after you approve them, in a sandbox without API keys. Rules from unreviewed local skills are never injected into prompts.

Details are in SECURITY.md.

Project layout

src/
  design/      colour · typography · layout · tokens · brand · direction · motion · three · compose
  render/      CDP browser engine · rendered audit + auto-fix · PNG/PDF/APNG/ICO export · MP4 (WebCodecs)
  pipeline/    autonomous project pipeline · review board
  skills/      skill runtime · skill router (plans, precedence)
  ai/          35 providers · LLM client · creative brain · agent loop · privacy
  core/        tool registry (single source of truth) · schema validation · runtime security
  interop/     MCP (dual-era, stdio + HTTP) · schema exporters · client configs
skills/            DI's own skill packs
external-skills/   vetted third-party skills (SOURCE.json: commit, licence, exclusions)
integrations/      generated tool schemas + client configs
tests/             node:test suites (browser tests skip without Chromium)

Development

npm run lint        # tsc --noEmit
npm test            # 47 tests: engines, pipeline, MCP, agent protocols, intent, skills, browser QA, MP4
npm run build       # dist/
npm run interop     # regenerate integrations/ after changing tools
  • Add a capability: add it as a tool in src/core/tools.ts. MCP, REST, OpenAPI, the CLI and the agent pick it up automatically.
  • Add a third-party skill:
    • MIT or Apache only, reviewed first, text only.
    • Put it in external-skills/<owner>-<repo>/<id>/ with a SOURCE.json.
    • Add one entry to external-skills/catalog.json. tests/skills.test.ts checks that the catalog and folders match, plus licences and the no-executables rule.

See AGENTS.md for the full contributor and agent guide.

Credits & licences

  • DESIGN INTELLIGENCE: proprietary (private repository).
  • Bundled third-party skills: 109 skills, each keeping its own licence and attribution in its folder.
    • Apache-2.0: Anthropic's skills, Impeccable (with NOTICE), Google Stitch, and UI UX Pro Max's ui-styling.
    • MIT: Hallmark, Taste Skill, UI UX Pro Max, Emil Kowalski, three.js skills (CloudAI-X), Addy Osmani's web-quality skills, Vercel, GreenSock, jakubkrehel and Corey Haines' conversion skills.
    • Uizze: MIT / Apache-2.0.
  • Libraries: three.js (MIT), esbuild (MIT), @anthropic-ai/sdk and openai (Apache-2.0).
  • Fonts: typefaces are SIL OFL pairings served by Google Fonts.

Documentation

AGENTS.md · docs/INTEGRATIONS.md · ARCHITECTURE.md · CAPABILITIES.md · SECURITY.md · RESEARCH.md · CHANGELOG.md

About

Brief in. Finished, verified design out.

Topics

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages