Terminal specific art fallbacks

From ychampion/cskill-agents · View interactive version

Terminal specific art fallbacks is an AI agent skill from the GitHub repository ychampion/cskill-agents. Layer terminal detection and fallback fragments so the same mascot identity renders correctly across Apple Terminal, xterm, and other hosts.

How to use this skill

Skill file

SKILL: Terminal-specific Art Fallbacks

Domain: terminal-ui

Trigger: When the same brand art must render on Apple Terminal, xterm, and other hosts with different Unicode/color capabilities while preserving the mascot identity.

Source Pattern: Distilled from reviewed terminal rendering and compatibility patterns.

Core Method

Detect the terminal host (e.g., via env.terminal) before rendering and prepare specialized fragments for hosts that need them. Use a default art path for general terminals but route sensitive fragments (eye shapes, raised arms, background fills) through the host-specific data, keeping the fallback path centered on the default segments so the identity stays consistent even when the terminal cannot express the fancy fragments.

Key Rules

Example Application

If your release banner has env.terminal === "Apple_Terminal" users and others, detect the host early, feed Apple with background-filled eye fragments, and serve the general Unicode art to everyone else while maintaining the same mascot name, spacing, and pose structure.

Anti-Patterns (What NOT to do)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.