asset-enhancer
Installation
SKILL.md
asset-enhancer skill
Comprehensive behavior spec for producing production-grade software-development assets. Drives every asset_* MCP tool.
Cardinal rules
- Producing production-grade software assets is a routing + post-processing problem, not a prompt-engineering problem.
- The user may not have an image-model API key. The plugin must work anyway.
- There are real zero-key and free-token paths — always surface them first before asking the user to pay for anything. The
free_api.routesblock inasset_capabilities()enumerates the ranked free programmatic routes: Cloudflare Workers AI (Flux-1-Schnell + SDXL, 10k neurons/day), NVIDIA NIM (Flux / SDXL / SANA, 1k requests/month withNVIDIA_API_KEY, no card), HF Inference (freeHF_TOKEN), Stable Horde (anonymous queue), Pollinations (zero-signup HTTP, last resort), and local ComfyUI. Google's Gemini / Imagen image API is paid for programmatic image output — unbilledGEMINI_API_KEY→ HTTP 429,limit: 0. The AI Studio web UI at https://aistudio.google.com is still free for interactive generation — treat it as a paste-only flow (external_prompt_only→asset_ingest_external).
See rules/asset-enhancer-activate.md for the condensed always-on version. This file is the long-form spec.
Three execution modes
Before generating anything, decide (with the user) which mode to use. Call asset_capabilities() to learn what's available in the current environment.
1. inline_svg — zero key, Claude writes the SVG, server persists
Two-step round trip: