Logo: Terminal Replica

Terminal Replica

CommunautéitBeléift
huytieu
terminal-replica

Stellt ÄR richteg Terminal- an CLI-Agenten (Claude Code, Codex CLI, Gemini CLI) an all generéierter Grafik, GIF oder Video-Frame genee no. Benotzt dëst, wann en Asset en Terminal, en Agent-Transkript, eng Statuszeil oder e CLI-Banner weist. Erfaasst fir d'éischt Äert tatsächlecht Theme, Är Schrëft, Äre Prompt an Är Statuszeil, a benotzt ni en ausgeduechten, generesche „Hacker-Terminal“-Look.

Add to TypingMind

Iwwersiicht

Editeurhuytieu
RepositoryCOG-second-brain
Skill-Nummterminal-replica
Stären
1.3K
Forks
162
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    huytieu huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Terminal Replica an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/huytieu/COG-second-brain/tree/main/.claude/skills/terminal-replica
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/huytieu/COG-second-brain.git /tmp/COG-second-brain
mkdir -p .claude/skills
cp -r /tmp/COG-second-brain/.claude/skills/terminal-replica .claude/skills/terminal-replica
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Terminal Replica an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Terminal Replica automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Terminal Replica net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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

Layout top to bottom on launch (verify against your installed version):

  1. A pixel-art logo on the left: a blocky creature in Anthropic terracotta (#D97757), roughly 5x4 fat pixels with feet. Do not redraw it as an emoji or a robot.
  2. A header text block to its right: Claude Code in bold white plus the version in gray, a gray model and account line, and a gray working-directory path.
  3. Warnings: a warning glyph plus orange-yellow text (for example "N MCP servers need authentication") and a gray · run /mcp.
  4. Notice blocks: an orange left border │, an orange bold title line, the body in the default foreground, and underlined blue links.
  5. Prompt: ❯ then a dim gray placeholder with a block cursor over its first character.
  6. Statusline at the bottom, one line, if you have configured one. Draw exactly your own format, including filled bars in green and empty bars dimmed.
  7. Mode line below the statusline when a permission mode is active (for example "bypass permissions on (shift+tab to cycle)").

Transcript shapes (session JSONL to TUI rendering):

  • Assistant tool call: ⏺ Bash(git status), with the dot colored (green when ok), the tool name white and the args dim.
  • Result continuation: ⎿ <first line of output> dim, and … +N lines in gray.
  • Working spinner: a single animated glyph cycling ✳ ✶ ✻ ✽, plus a gerund word ("Reticulating…") and a gray token count.
  • User turn: > followed by plain text.
  • Never show affordances that do not exist: no tabs, no menu bar, no fake buttons inside the TUI.

Animation notes for GIF and video: the cursor blinks as a square block at about 530ms, the spinner steps at about 120ms, and output appears in whole-line chunks. Only the user's typing appears character by character.

Codex CLI

  • Invoked as codex in the same terminal, so the same background and font as above.
  • Banner: a minimal >_ OpenAI Codex (vX.Y.Z) style header line with a blue accent, then a bordered input box drawn with rounded box-drawing characters (╭─╮ │ ╰─╯) and a dim placeholder such as "Ask Codex to do anything".
  • A dim gray shortcuts line at the bottom.
  • Verify live before shipping: run codex yourself in a scratch directory and screenshot it. Check ~/.codex/config.toml for a custom theme.

Gemini CLI

  • Do not fake it from memory. If an asset needs it, install it in a scratch environment (npm i -g @google/gemini-cli), run it and screenshot it.
  • Known shape if you cannot verify: a large GEMINI ASCII banner in a blue to purple gradient, a tips list, a bordered input box (> Type your message), and a bottom status line with cwd, sandbox note, model name and context percent. Mark any unverified render as a draft.

Render recipe (PIL)

  • Render at 2x, then downscale 50% with LANCZOS for anti-aliasing.
  • Mono font from your captured setup (/System/Library/Fonts/Menlo.ttc on macOS if that is what you use). Draw TUI glyphs that your font lacks (record dot, elbow, spinner) as vector shapes. Never ship tofu boxes.
  • Line height about 1.35em, left padding about 2 characters, no drop shadows inside the terminal.
  • Window chrome: either a flat panel matching your emulator, or crop the chrome entirely and show only content.

Example values

An example only, taken from a typical VS Code Dark Modern setup. Replace every value with what you captured in the Method section.

  • Emulator: VS Code integrated terminal. Font: Menlo 12.
  • Background #181818, default foreground #CCCCCC.
  • ANSI normal: black #000000, red #CD3131, green #0DBC79, yellow #E5E510, blue #2472C8, magenta #BC3FBC, cyan #11A8CD, white #E5E5E5.
  • ANSI bright: #666666 #F14C4C #23D18B #F5F543 #3B8EEA #D670D6 #29B8DB #FFFFFF.
  • Prompt: user@host ~ %.
  • Statusline (a custom one): 🤖 Model | ctx: 0% | s:▰▰▰▰▰ 87% | $4.06, with filled bars in green #23D18B and empty bars dim.

Definition of done

  • Colors sampled from a real screenshot of your own terminal, or matched to your captured config
  • The mono font matches your emulator, with no emoji-style logo substitutes
  • Transcript lines copied or adapted from a real session log
  • The statusline matches your own format if shown
  • Codex and Gemini banners verified live, or explicitly flagged as unverified

Heefeg gestallte Froen

Wat mécht de KI-Skill Terminal Replica?

Stellt ÄR richteg Terminal- an CLI-Agenten (Claude Code, Codex CLI, Gemini CLI) an all generéierter Grafik, GIF oder Video-Frame genee no. Benotzt dëst, wann en Asset en Terminal, en Agent-Transkript, eng Statuszeil oder e CLI-Banner weist. Erfaasst fir d'éischt Äert tatsächlecht Theme, Är Schrëft, Äre Prompt an Är Statuszeil, a benotzt ni en ausgeduechten, generesche „Hacker-Terminal“-Look.

Firwat Terminal Replica op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Terminal Replica besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Terminal Replica an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/huytieu/COG-second-brain/tree/main/.claude/skills/terminal-replica an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Terminal Replica benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Terminal Replica benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Terminal Replica domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Terminal Replica gratis?

Jo. huytieu huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇