terminal-replica

Installation
SKILL.md

Terminal replica

Terminal-like graphics must match the real tool and the real setup of the person who ships the asset. A generic green-on-black "hacker terminal" reads as fake. This skill is a method for capturing your own setup, plus a render recipe and a worked example.

Method

  1. Capture the ground truth. Take a fresh screenshot of your real terminal running the tool. Sample background, foreground and accent colors from it with an eyedropper or PIL.Image.getpixel. A live screenshot beats any spec in this file.
  2. Record these five facts about your setup:
    • Emulator (Terminal.app, iTerm2, Warp, the VS Code integrated terminal, Ghostty).
    • Font family and size. Check the emulator's settings. VS Code on macOS defaults to Menlo 12.
    • Theme: background, default foreground, and the 16 ANSI colors.
    • Shell prompt shape (for example user@host ~ % for default macOS zsh, or your powerline or starship layout).
    • Statusline format, if your agent has a custom one.
  3. Use your own session logs for transcript shapes. Claude Code stores them at ~/.claude/projects/<project-slug>/*.jsonl. The assistant and tool-use turns show exactly what text appears.
  4. Draw from those facts, then verify by placing the render next to a real screenshot before you publish.

Keep a small config in your own project (a JSON or Python dict) holding the five facts, and read it from your render scripts. Do not hardcode them in shared code.

Claude Code TUI

Installs
6
GitHub Stars
1.3K
First Seen
5 days ago