Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add roedyrustam/vibes-plug --skill screenshot-to-code-expertgit clone --depth 1 https://github.com/roedyrustam/vibes-plugWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/roedyrustam/vibes-plug/screenshot-to-code-expert)<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/screenshot-to-code-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/screenshot-to-code-expert/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/screenshot-to-code-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/screenshot-to-code-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00129 | $0.02822 |
| Opus 5.5 | $0.00052 | $0.01129 |
| Sonnet 5.5 | $0.00026 | $0.00564 |
| Haiku 4.5 | $0.00013 | $0.00282 |
Grade A, and why
screenshot-to-code-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 248 lines — stays where its author put it; the contents beside it link to each section on GitHub.
screenshot-to-code-expert — vibes-plug Skill
English
Orchestration & Integration
Connects and orchestrates with senior-frontend, design-system-architect, tailwind-expert, ui-ux-pro-max, modern-css-native-expert, multimodal-spatial-video-cloner, website-design-cloner, hig, svg-animation-motion-expert, frontier-ai-models-expert, and anti-slop to produce pixel-perfect, accessible, production-grade code from visual inputs.
Description
Production workflow for transforming visual design artifacts (screenshots, Figma exports, whiteboard photos, PDF mockups) into clean, semantic, responsive frontend code. Leverages the native vision capabilities of frontier models (Gemini 4 Pro's 2M multimodal context, Claude 5.5's pixel-level visual understanding, GPT Astra 6's design comprehension) to extract layout structure, color palettes, typography, spacing, and interaction patterns — then maps them to the project's existing design system and component library.
Trigger Conditions
Activate this skill when:
- The user provides a screenshot, mockup, or design image and asks to "build this" or "convert to code."
- Translating Figma frames or exported design assets into React, Vue, Svelte, or HTML/CSS components.
- Reverse-engineering competitor UIs from screenshots for inspiration (not exact cloning).
- Rapidly prototyping UI from hand-drawn sketches or whiteboard photos.
- Performing visual QA by comparing rendered output against original design.
Core Concepts & Patterns
1. Multi-Pass Extraction Pipeline
Single-pass screenshot-to-code produces fragile output. Use a structured multi-pass approach:
PASS 1: STRUCTURAL ANALYSIS
├── Identify layout grid (columns, rows, flex/grid containers)
├── Detect component boundaries and nesting hierarchy
└── Map semantic HTML elements (header, nav, main, aside, footer)
PASS 2: DESIGN TOKEN EXTRACTION
├── Extract color palette (convert to OKLCH for design system)
├── Identify typography (font family, size, weight, line-height)
├── Measure spacing rhythm (padding, margin, gap patterns)
└── Detect border radii, shadows, and elevation levels
PASS 3: COMPONENT DECOMPOSITION
├── Break UI into reusable atomic components
├── Identify repeated patterns (cards, list items, badges)
├── Map to existing project components where possible
└── Define component props and variant slots
PASS 4: RESPONSIVE BEHAVIOR INFERENCE
├── Predict mobile/tablet adaptations from desktop layout
├── Identify collapsible navigation patterns
├── Map breakpoint-appropriate layout shifts
└── Infer touch targets and mobile interaction patterns
PASS 5: CODE GENERATION & REFINEMENT
├── Generate semantic HTML + CSS/Tailwind classes
├── Apply project's design tokens and component library
├── Add accessibility attributes (ARIA roles, alt text)
└── Refine with anti-slop review (no placeholder content)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday Changed 6b14aaf50407
- 10d ago Changed 09ccbb61dab9
- 15d ago First seen · 248 lines · 129 tokens per session scan A 19a87d763279
screenshot-to-code-expert is a skill published in the GitHub repository roedyrustam/vibes-plug (78 stars, last pushed today), licensed MIT. It adds 129 tokens to every session and 2,822 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-04.
Other skills, from other repositories
frontend-ui-engineering
Builds production-quality, accessible, responsive user-facing UIs. Use when building or modifying interfaces and pages, creating components, implementing layouts, meeting WCAG accessibility requirements, managing state, or when the output needs to look and feel production-quality rather than AI-generated.
frontend-blueprint
AI frontend specialist and design consultant that guides users through a structured discovery process before generating any code. Collects visual references, design tokens, typography, icons, layout preferences, and brand guidelines to ensure the final output matches the user's vision with high fidelity. Use when the…
bootstrap
Expert Bootstrap 5 assistance covering 12-column grid system, flexbox utilities, components, and responsive breakpoints. Use when rapidly prototyping responsive, mobile-first web layouts.
shadcnui
Expert shadcn/ui assistance covering Radix UI primitives, Tailwind CSS styling, copy-paste architecture, and accessibility. Use when building modern React component systems and accessible design systems.
tailwindcss
Expert Tailwind CSS assistance covering utility classes, responsive variants, arbitrary values, and configuration. Use when styling modern web applications with speed and consistency.
frontend-ui-engineering
Front-load UI construction decisions — component boundary and prop API, state placement, required states, responsiveness, accessibility. Use when creating or refactoring a component, page, or design-system primitive. Don't use for pure logic (/tdd), throwaway exploration (/prototype), or auditing finished UI…