For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
255
Sponsor

Extract DESIGN.md

Pulls a site's design tokens, brand assets, screenshot, and page Markdown through context.dev and composes a self-contained DESIGN.md.

Output will stream here when you run the agent.

Summary

The Extract DESIGN.md Agent turns any public website into a self-contained DESIGN.md design-system document. It pulls four signals through context.dev — design tokens (styleguide), brand assets, a homepage screenshot, and clean page Markdown — then composes a document with token frontmatter and the canonical sections (Overview, Colors, Typography, Layout, Elevation, Shapes, Components, Do's and Don'ts). Reach for it when you want to capture a site's look and feel in a form another agent or designer can rebuild from.

Installation

$ pnpm dlx shadcn@latest add @agentcn/eve/extract-design-md

Composition

agent/
├── agent.ts              # Agent definition (model + config)
├── instructions.md       # Gather signals, then compose DESIGN.md
├── tools/
│   ├── extract_styleguide.ts  # Design tokens via context.dev
│   ├── get_brand.ts           # Logos, colors, slogan, industry
│   ├── capture_screenshot.ts  # Homepage screenshot URL
│   └── fetch_markdown.ts      # Clean homepage Markdown
└── skills/
    └── design-md/
        └── SKILL.md      # DESIGN.md format and composition rules

Customization

  • Data source. All four signals are pulled through context.dev — styleguide, brand, screenshot, and Markdown. Set CONTEXT_DEV_API_KEY.
  • Reshape the document. Edit agent/skills/design-md/SKILL.md to add sections, change the frontmatter token groups, or adjust the Do's and Don'ts.
  • Trim the signals. Remove a tool file from agent/tools/ (e.g. skip the screenshot) to make the agent faster or cheaper.
  • Swap the model. Edit agent/agent.tsanthropic/claude-sonnet-4-6 for richer synthesis, anthropic/claude-haiku-4-5 for speed.