Skip to content

A compact Agent Skill for highly simplified, rounded, subtly neo-skeuomorphic IP mascot logos.

feat: publish ip-as-logo skill

s1dashu598d3489c7d6
diff --git a/.agents/skills/ip-as-logo/SKILL.md b/.agents/skills/ip-as-logo/SKILL.md
new file mode 100644
index 0000000..f7efbd2
--- /dev/null
+++ b/.agents/skills/ip-as-logo/SKILL.md
@@ -0,0 +1,74 @@
+---
+name: ip-as-logo
+description: Generate highly simplified personified IP mascot logos with Flat-first geometry, rounded heavy forms, and extremely subtle neo-skeuomorphic shading. Use when creating an animal, creature, robot, ghost, plant, object, or other character as a minimal square logo or app-icon artwork, especially when the user wants an oversized corner composition, one- or two-color IP design, and a solid background without an app-icon frame.
+---
+
+# IP as Logo
+
+Create a logo first and a character second. Reduce the subject to a compact symbol that remains recognizable at `32 × 32`; do not produce a character illustration.
+
+## Workflow
+
+1. Ask before generating: `这次希望 IP 使用单色设计还是多色设计?` Skip only when the user already specified the color mode. Treat multicolor as two IP colors by default; use more only when explicitly requested.
+2. Confirm the subject and solid background color. If the user supplies a background palette, reserve every supplied color for backgrounds only unless they explicitly say otherwise. Never move a background-only color into the IP, facial marks, highlights, or shadows.
+3. Abstract the subject using the complexity budget below.
+4. Generate each distinct asset with a separate ImageGen call. Do not use existing logos as references when testing prompt-only reproducibility.
+5. Inspect the output against every rejection rule. Retry with one targeted correction when practical; never hide a failed constraint with silent post-processing.
+6. Preserve the model's native square output. Report the saved path, prompt/color mapping, dimensions, opacity, and any remaining deviation.
+
+## Complexity budget
+
+- Build one dominant continuous outer silhouette from roughly `6–10` basic geometric shapes.
+- Use at most one species-defining feature: for example, one large pouch beak, one pair of curled horns, or one broad visor.
+- Use at most two internal color regions. Keep the face to two eyes and one mouth; omit eyebrows, highlights, nostrils, texture, and decorative marks unless essential.
+- Prefer a head or compact upper-body crop. Do not explain the full anatomy, costume, machinery, or story.
+- Remove repeated feathers, scales, fur tufts, armor plates, buttons, screws, numbers, labels, and other illustrative detail.
+- Require a readable black silhouette and recognizability at `32 × 32`.
+
+## Shape language and composition
+
+- Use thick, rounded, weighty contours and broad color masses.
+- Forbid sharp corners, pointed ears or beaks, needle-like tails, thin antennae, thin smiles, narrow gaps, and acute flame or feather tips. Replace every necessary tip with a visibly blunt rounded end.
+- Show both members of paired identifying features, such as ears, horns, wings, gills, or bells.
+- Let the IP emerge from the lower-left or lower-right corner and fill about `75–85%` of the canvas. Cropping at the bottom or side is intentional, but do not crop an identifying paired feature.
+- Keep the artwork upright; never rotate the logo canvas or tilt the main mark without an explicit request.
+
+## Flat-first, ultra-light neo-skeuomorphism
+
+- Start from flat graphic shapes. Add only one diffuse internal highlight and one broad soft internal shade, with an apparent tonal variation of roughly `8–12%`.
+- Keep the light direction coherent and the transitions wide and soft. Use shallow ambient/contact shading only where two large regions meet.
+- Make the effect visible at full size but almost disappear at small icon size.
+- Never add realistic materials, texture, specular gloss, rim light, bevels, extrusion, deep occlusion, or an external cast shadow.
+- Reject pure flat fills with no tonal modeling, but also reject clay, inflatable, plastic, plush, toy-like, photorealistic, or strongly three-dimensional results.
+
+## Color and canvas
+
+- Use one IP color for monochrome mode, or exactly two IP colors for the default multicolor mode. Reuse those colors for facial marks; do not introduce a third highlight color.
+- Add one separate solid background color. Prefer black, white, or a harmonious moderately saturated solid when the user does not specify one.
+- Require a fully opaque, edge-to-edge background. Do not generate transparency, an extra white border, outer frame, card, container, rounded App-icon mask, or artificially rounded image corners.
+- Generate a direct `1:1` square with square outer corners. Request approximately `1536 × 1536`; accept and preserve a native `1254 × 1254` result when that is the service output limit. Never resample merely to reach the requested number.
+
+## Prompt skeleton
+
+```text
+Create one highly simplified IP mascot logo, not a character illustration.
+Background: fully opaque edge-to-edge solid <background>; this color is background-only.
+Subject: <subject> reduced to one rounded continuous silhouette and one defining feature.
+Complexity: 6–10 basic shapes, at most two internal color regions, only two eyes and one mouth, readable at 32 × 32.
+IP palette: exactly <one/two> colors, excluding every background-only color.
+Composition: upright, emerging from the lower-left or lower-right, filling 75–85%; show both paired identifying features.
+Style: Flat-first with one diffuse internal highlight and one broad internal shade, 8–12% tonal variation, visible but extremely subtle.
+Forbid: illustration detail, repeated anatomy, thin lines, sharp points, third colors, pure flatness, strong 3D, clay, plastic, toy rendering, texture, gloss, bevel, external shadow, text, border, transparency, App mask, or rounded canvas corners.
+```
+
+## Reject the output when
+
+- It reads as an illustration rather than a symbol, exceeds the complexity budget, or fails at small size.
+- A background-only color appears inside the IP, the background is transparent, or the palette exceeds the selected color mode.
+- Any contour is thin, sharp, spiky, or visually fragile.
+- An ear, horn, wing, gill, bell, or other paired identifier is missing or cropped.
+- The IP is too small, centered like a sticker, tilted, framed, or surrounded by excessive empty space.
+- The result is completely flat or noticeably volumetric instead of subtly modeled.
+- The background visibly becomes a scene, texture, halo, vignette, or strong gradient rather than reading as a solid field.
+
+When a generated result fails, state the exact failed rules. Do not claim compliance and do not silently repair it with code.
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c3a487c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+.DS_Store
+results/
+generated_images/
+*.png
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..234cc23
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2026 s1dashu
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..3ed0151
--- /dev/null
+++ b/README.md
@@ -0,0 +1,51 @@
+# IP as Logo
+
+`ip-as-logo` is a compact Codex skill for generating highly simplified personified mascot logos. It treats the result as a logo first and a character second: bold rounded silhouettes, strict complexity limits, oversized corner composition, and extremely subtle neo-skeuomorphic shading.
+
+## What it enforces
+
+- One dominant silhouette built from roughly 6–10 basic shapes
+- One- or two-color IP artwork on a separate solid background
+- Thick, rounded forms without sharp or fragile details
+- A 75–85% lower-corner crop with paired identifying features preserved
+- Flat-first artwork with only 8–12% soft internal tonal variation
+- Opaque square output without an App-icon mask, border, or transparent margin
+- Explicit rejection rules for illustration-level complexity, pure flatness, and excessive 3D volume
+
+## Install
+
+Clone the repository and copy the skill into a project's `.agents/skills` directory:
+
+```bash
+git clone https://github.com/s1dashu/ip-as-logo-skill.git
+mkdir -p /path/to/project/.agents/skills
+cp -R ip-as-logo-skill/.agents/skills/ip-as-logo /path/to/project/.agents/skills/
+```
+
+For a personal installation, copy the same folder into `~/.codex/skills/` instead.
+
+## Use
+
+Ask Codex for an IP mascot logo, for example:
+
+```text
+Create a two-color rounded ghost IP logo on a deep navy background.
+```
+
+The skill asks for a monochrome or multicolor choice when the request does not already specify one. Multicolor defaults to two IP colors plus one separate background color.
+
+## Repository structure
+
+```text
+.agents/skills/ip-as-logo/SKILL.md
+```
+
+The skill intentionally consists of a single instruction document. It has no scripts, bundled reference images, or style-reference dependencies.
+
+## Model behavior
+
+Image-generation models may still introduce background gradients, crop paired features, or add too much volume. The skill treats those as failures to report or retry, rather than silently claiming compliance or repairing the image after generation.
+
+## License
+
+MIT