oil-oil/oil-icon

AI icon set generator skill for Claude Code & Codex. 帮你生成整套风格统一的图标。

What it solves

When drawing icons one by one, later icons tend to forget earlier line widths, corner radii, viewpoints, and colors. oil-icon solves this by generating all icons together in a single pass, so the model always sees the whole set. It also fixes shared rules (style, color, and a signature motif) before drawing, ensuring each set looks like it came from one designer.

How it works

The workflow is straightforward: define colors, viewpoint, corner radius, and a signature motif; generate one 4x4 grid of icons on a plain gray background; automatically slice that grid into 16 images and remove backgrounds (using color recognition for hard-edged icons and a background-removal model for soft-edged ones like 3D or stickers); check the icons on a high-contrast background for gray edges, grid bleeding, and consistency; then deliver 16 transparent PNGs. The slicing program keeps only the main subject in each cell, avoiding fragments from neighboring icons.

Who it's for

It's for product features, categories, marketing cards, empty states, and branded illustrations. If you only need tiny 16–24px button icons, a vector icon library like Lucide is more suitable. It's designed for use by AI agents that support Skills—you install it with npx skills add oil-oil/oil-icon or simply tell an agent to install the Skill from the repository URL.

Highlights

  • Generates all icons in one generation to maintain consistent style, color, and motif across the set.
  • Automatically slices the 4x4 grid, removes backgrounds, and performs quality checks.
  • Comes with 9 built-in style presets: linear, filled, colorblock, cartoon, isometric, 3D render, sticker, realistic, and animal-badge.
  • Presets are only starting points: you can modify them, match an existing brand, start from a text description, or save your own rules for future generations.

Related

  • Project
  • Project
  • Project
  • Project