mychoiand

Codeimage Skill — AI skill for Claude Code

AI community

Images drawn in code — HTML · CSS · SVG plus GPU shaders, real 3D (three.js), textures, device mockups and sketch lines, captured as PNG by your local Chrome.

How to install Codeimage Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open mychoiand/codeimage-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Codeimage Skill does

Images drawn in code — HTML · CSS · SVG plus GPU shaders, real 3D (three.js), textures, device mockups and sketch lines, captured as PNG by your local Chrome. No image model needed; AI pictures optional. A Claude Code / Codex skill.

Alternatives in AI

  • Dashboard Icons — 3,400+ curated icons and logos for dashboards and AI agents 8.9k ★
  • Draw UI — Claude Code skill: generate UI design mockups with GPT Image 2 via ZenMux 348 ★
  • Claude Code Sourcemap Learning Notebook — Reverse-engineering Claude Code's 512K+ lines of TypeScript — architecture, design decisions, and 11 transfera 160 ★

README

codeimage-skill

**English** · [한국어](README.ko.md)

A skill that **draws images in code**. The agent writes the scene; the local headless Chrome (playwright-core) captures it as PNG. No external service, account or image model — and Korean text is always exact.

Built first for Claude Code, it works with any agent that can run shell commands — **Claude Code, Codex (ChatGPT), Antigravity (Gemini)**, Gemini CLI, Cursor — on **macOS, Linux and Windows**. Moving to another tool or OS: [agents handover](docs/handover-agents.md) · [Windows handover](docs/handover-windows.md).

  • Templates — thumbnail, flow diagram, bar chart, comparison, stat card, quote, list, background (eight), with layouts, title effects, chips and stickers.
  • Beyond HTML · CSS · SVG — the same browser also draws GPU shader backgrounds (WebGL: gradient, aurora, silk, nebula, liquid, topo), real 3D with soft shadows and reflections (three.js, installed locally), Canvas light effects (bokeh, stars, rays), SVG-filter textures (paper, linen, concrete, marble, clouds), CSS-3D device mockups (browser, phone, laptop) and hand-drawn sketch lines.
  • Freehand scenes — a blank scene for anything else; all helpers are in assets/base.js and assets/fx.js.
  • Local finishing — background removal (ISNet), upscale, contact sheets and a benchmark set.
  • Optional AI — only when you ask for one: an AI picture from a public Hugging Face Space (gen, or render --ai).

Samples

All six are drawn in code on this computer — no image model. Reproduce them with `codeimg.py render examples/samples/spec.json`.

Aurora thumbnail Thumbnail + aurora shader — thumbnail · background: aurora · chips · sticker 3D GPU cover Real 3D — CI.three (isometric camera, metal fins, glowing fans) + an HTML label pinned to a 3D point
Mockup and sketch Mockups + sketch —