tait-crt-interface-skill
tait-crt-interface-skill
Mode Policy
Use one shared content pipeline with two capability-gated execution profiles. Resolve the profile once, parse any optional named style preset, resolve palette, resolve ratio, inspect once, anchor the subject roster, build one abstraction blueprint, apply the matching preset recipe or select one normal variation recipe, compile one internal prompt, generate once, complete only the selected profile's delivery path, inspect once, and return one image.
Execution Profile Gate
Resolve execution_profile from advertised capabilities before intake. Use capabilities—not product names, self-description, or user choice—and never call an unavailable tool merely to test it. Retain the profile across palette and ratio turns; never ask the user to choose a profile or switch profiles after generation starts.
- Select
codex-fullonly when the environment exposes the exact callablecodex_app__load_workspace_dependencies, local script execution, and a readable local path for the generated image. This profile preserves the existing dependency lookup, Pillow probe, same-resolutionscripts/finalize_crt.pypass, report inspection, and finalized PNG output exactly as written below. - Otherwise select
portable-directwhen an image-generation capability exists. Never callcodex_app__load_workspace_dependencies, inspect Python or Pillow, search for interpreters, run local scripts, reopen or convert the generated image, or attempt any post-processing. Compile the finalizer-owned visual requirements into the single generation prompt and return that generated image directly after one visual inspection. - If no image-generation capability exists, stop once with a concise unsupported-environment message. Do not attempt dependency discovery, script execution, prompt-only text output, or repeated recovery.
Two-Stage Intake Gate
Before any image-generation call, parse the current request and retained conversation state for palette and aspect_ratio. Read references/palettes.md whenever selecting, displaying, deriving, or validating color.