image-to-code

image-to-code is a skill for Claude Code from Hayatelin/taste-skill-zh-CN. It costs 143 tokens per session (10,514 once invoked), scanned A, original, no licence file.

A workflow for turning a visual website reference into website code, with detailed design analysis before implementation.

In plain words
What is it for?
Use it for image-to-code website work, especially large readable section designs and clean, spacious hero areas that fit smaller laptop screens.
Why use it?
It helps developers reproduce important visual sections more closely when building a website from an image or design.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the taste-skill-zh-CN plugin — 13 skills shipped together

Good fit Use it for image-to-code website work, especially large readable section designs and clean, spacious hero areas that fit smaller laptop screens.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hayatelin/taste-skill-zh-cn/image-to-code-skill
Install

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.

Any agent
npx skills add Hayatelin/taste-skill-zh-CN --skill image-to-code-skill
Clone the repo
git clone --depth 1 https://github.com/Hayatelin/taste-skill-zh-CN

Made for: Claude Code.

Or install taste-skill-zh-CN, the plugin that ships this one along with the rest of its 13 skills.

Wrote 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.

agentmods badge for image-to-code

README.md
[![agentmods](https://agentmods.dev/badge/skills/hayatelin/taste-skill-zh-cn/image-to-code-skill/github.svg)](https://agentmods.dev/skills/hayatelin/taste-skill-zh-cn/image-to-code-skill)
Your own site
<a href="https://agentmods.dev/skills/hayatelin/taste-skill-zh-cn/image-to-code-skill"><img src="https://agentmods.dev/badge/skills/hayatelin/taste-skill-zh-cn/image-to-code-skill/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.

agentmods 80×15 button for image-to-code

Your own site · 80×15
<a href="https://agentmods.dev/skills/hayatelin/taste-skill-zh-cn/image-to-code-skill"><img src="https://agentmods.dev/badge/skills/hayatelin/taste-skill-zh-cn/image-to-code-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 143 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,514 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00143 $0.10514
Opus 5 $0.00072 $0.05257
Sonnet 5 $0.00029 $0.02103
Haiku 4.5 $0.00014 $0.01051

Measured 10d ago against content hash ed9b6b41399d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

image-to-code 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 10d ago.

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.

skills/image-to-code-skill/SKILL.md · 1,230 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Changes

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.

  1. 10d ago First seen · 1,230 lines · 143 tokens per session scan A ed9b6b41399d

Subscribe to this mod's changes

image-to-code is a skill published in the GitHub repository Hayatelin/taste-skill-zh-CN (6 stars, last pushed 1mo ago), with no licence file. It adds 143 tokens to every session and 10,514 once invoked, about $0.0007 per session on Opus 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-08-31.

Related

Other skills, from other repositories

transitions-dev

Production-ready CSS transitions for web apps. Use when implementing notification badges, dropdowns, modals, panel reveals, page transitions, card resizes, number pop-ins, text swaps, icon swaps, success checks, avatar group hovers, error state shakes, search/input clear, skeleton loaders, shimmer text, sliding tabs…

Jakubantalik/transitions.dev · 410 tokens

variant-generate

Generate 3 distinct design variations from a prompt. Each variation feels like a different studio — layout, palette, typography, and motion diverge. Supports variation actions: Vary strong/subtle, Distill, Shuffle layout, Change style, Remix colors, Mix, Dramatize, Add motion, Make interactive, Polish, Critique, See…

YuqingNicole/variant-design-skill · 133 tokens

variant-design-system

Design System mode — tokens → components → pages three-layer workflow. Generate a complete token set (palette/type/spacing/motion/elevation/radius), confirm it, then all downstream outputs are visually consistent. Triggers on: ds, design system, tokens, create token set, define palette, define tokens, set up tokens…

YuqingNicole/variant-design-skill · 74 tokens

variant-analyze

Audit existing sites, extract design tokens, generate style-matched pages. Runs consistency checks and Visual Quality Audit (40-item anti-slop checklist, Quality Score XX/100). Triggers on: analyze my site, audit this, match this style, extract tokens, what's wrong with this design, migrate, add a page to my site…

YuqingNicole/variant-design-skill · 75 tokens

variant-component

Generate isolated UI components with all 8 states and variants — button systems, forms, cards, modals, nav. Design System-aware when a token set is confirmed. Load skills/shared/code-output.md for framework detection and output conventions. Triggers on: component, button system, form component, card component, modal…

YuqingNicole/variant-design-skill · 79 tokens

gridgeist

Use when creating, redesigning, or reviewing web interfaces that need product-specific structure, clear hierarchy, responsive composition, accessible interaction, or relief from generic AI-generated SaaS aesthetics. Adapt grid, typography, imagery, motion, and product evidence to the established brand—including…

ohmiler/gridgeist · 101 tokens