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 Gekkos-tech/agency-os --skill image-to-codegit clone --depth 1 https://github.com/Gekkos-tech/agency-osWrote 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/gekkos-tech/agency-os/image-to-code)<a href="https://agentmods.dev/skills/gekkos-tech/agency-os/image-to-code"><img src="https://agentmods.dev/badge/skills/gekkos-tech/agency-os/image-to-code/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/gekkos-tech/agency-os/image-to-code"><img src="https://agentmods.dev/badge/skills/gekkos-tech/agency-os/image-to-code.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.00160 | $0.01504 |
| Opus 5.5 | $0.00064 | $0.00602 |
| Sonnet 5.5 | $0.00032 | $0.00301 |
| Haiku 4.5 | $0.00016 | $0.00150 |
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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Image to Code — Faithful Website Implementation
Turn design images into a website that someone could mistake for the images. The design image is the contract: you are a builder, not a co-designer. Deviations are bugs.
Phase 0 — Ensure images exist
- If the user provided design images: collect them, confirm which image maps to which page/section, and proceed to Phase 1.
- If no images exist and the task is visually important: generate them FIRST using the art direction rules of the imagegen-web skill (one horizontal image per section, shared style-token block, composition variety). Get the user's nod on the images, then implement. Never design-in-code from imagination when the workflow calls for image-first.
- If images cover only some sections, generate the missing ones in the same style tokens — do not freestyle the gaps.
Phase 1 — Deep analysis pass (before writing any code)
Analyze EVERY image and write the findings down (a short structured note per image). Do not skim-and-code; misread proportions compound across sections.
Per image, record:
- Layout grid — columns and split ratios ("hero: 12-col, text spans 5, visual spans 7"), container width (full-bleed vs boxed), alignment (left/center).
- Spacing rhythm — estimate the base unit (usually 4/8px) and the big numbers: section vertical padding (typically 80–160px on desktop comps), gaps between cards, internal card padding. Note whether the design is airy or compact and keep that ratio.
- Exact palette — extract actual hex values from the image (eyedropper or pixel inspection, not guesses): background, surface, primary text, secondary text, accent, border tones. Build the token list once for the whole set; sections must share it.
- Type scale — count distinct sizes; measure headline-to-body ratio roughly ("hero headline ≈ 4× body"). Note weight, case, letter-spacing feel, line-height (tight display vs airy body). Choose the closest real font (e.g. Inter/Geist for grotesque, a serif for editorial) — name it in your notes.
- Component inventory — enumerate every element in the image: nav items, buttons (count them! and their variants), badges, cards, icons, images, dividers, footer columns. This inventory is the build checklist — nothing added, nothing dropped.
- Effects — radii, shadows (subtle or none?), gradients, borders, image treatments (rounded? full-bleed?), hover affordances implied.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 71 lines · 160 tokens per session scan A 0eed638dfdc5
image-to-code is a skill published in the GitHub repository Gekkos-tech/agency-os (11 stars, last pushed 4mo ago), licensed MIT. It adds 160 tokens to every session and 1,504 once invoked, about $0.0006 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-08-31.
image-to-code compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| image-to-codeGekkos-tech/agency-os | Skill | 11 | 4mo ago | MIT | A | 160 | Claude Code |
| hallmarkoyi77/1ai-skills | Skill | 19 | yesterday | MIT | A | 60 | Claude Code, Codex |
| font-forensicsoyi77/1ai-skills | Skill | 19 | yesterday | MIT | A | 51 | Claude Code |
| prompt-library-curatoroyi77/1ai-skills | Skill | 19 | yesterday | MIT | A | 54 | Claude Code |
| awwwards-quality-sitesoyi77/1ai-skills | Skill | 19 | yesterday | MIT | A | 49 | Claude Code |
| visual-brand-kitgenfeedai/skills | Skill | 3 | today | MIT | A | 44 | Claude Code |
| diagram-designaiskillstore/marketplace | Skill | 510 | today | none | A | 188 | Claude Code, Codex |