Logo van Terminal Replica

Terminal Replica

CommunityPopulair
huytieu
terminal-replica

Geef JOUW echte terminal en CLI-agents (Claude Code, Codex CLI, Gemini CLI) natuurgetrouw weer in elke gegenereerde afbeelding, GIF of videoframe. Gebruik dit zodra een visual een terminal, agenttranscript, statusregel of CLI-banner bevat. Leg eerst je eigen thema, lettertype, prompt en statusregel vast en verzin nooit een generieke "hackerterminal"-look.

Add to TypingMind

Overzicht

Uitgeverhuytieu
RepositoryCOG-second-brain
Skillnaamterminal-replica
Sterren
1.3K
Forks
162
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door huytieu op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Terminal Replica in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/huytieu/COG-second-brain/tree/main/.claude/skills/terminal-replica
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die 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 na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Terminal Replica in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Terminal Replica automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Terminal Replica niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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

Veelgestelde vragen

Wat doet de AI-skill Terminal Replica?

Geef JOUW echte terminal en CLI-agents (Claude Code, Codex CLI, Gemini CLI) natuurgetrouw weer in elke gegenereerde afbeelding, GIF of videoframe. Gebruik dit zodra een visual een terminal, agenttranscript, statusregel of CLI-banner bevat. Leg eerst je eigen thema, lettertype, prompt en statusregel vast en verzin nooit een generieke "hackerterminal"-look.

Waarom Terminal Replica gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Terminal Replica bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Terminal Replica in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/huytieu/COG-second-brain/tree/main/.claude/skills/terminal-replica. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Terminal Replica gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Terminal Replica gebruiken?

Zoveel als je wilt. Je kunt Terminal Replica gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Terminal Replica gratis?

Ja. Deze skill is door huytieu op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇