Terminal demo gif
Generate terminal-style demo GIFs and PNG cover images from real command transcripts, shell output, CLI logs, or user-provided terminal text. Use when asked to create a demo GIF, terminal animation, README-ready command-line visual, CLI walkthrough, or proof-backed visual artifact from command execution.From its SKILL.md
npx -y skills add silicon-based-Lin/terminal-demo-gifAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.3 KB, 877 tokens by cl100k_base, as published. Nobody here has run it
Terminal Demo GIF
Create README-ready terminal demo GIFs from command-line material. The output should be visually polished while remaining honest about its source.
Workflow
-
Gather source material.
- If the user wants a real command demo, run commands in a safe scratch directory and capture stdout/stderr.
- If the user provides logs or terminal text, use that transcript directly.
- If the user wants README assets, copy final media into a stable repo asset directory such as
assets/<demo-name>/.
-
Preserve evidence.
- Save the cleaned transcript as
terminal-transcript.txt. - Save raw logs when commands were actually run.
- Save a small
verification.jsonwhen there are pass/fail claims, important result markers, or source distinctions to preserve.
- Save the cleaned transcript as
-
Render the demo.
- Use
scripts/render_demo.shto gate the environment, install local dependencies, and generate a GIF and PNG cover from the transcript. - Before first use or after changing renderer/assets, run
scripts/selftest.shso dependency setup and both supported render styles are verified by script. - Prefer concise transcript text; long paths and raw JSON should be summarized before rendering while raw logs stay available beside the media.
- Use a clear title and subtitle describing the workflow.
- Use
--claude-simulated-statusonly for clearly labeled simulated Claude Code demos. Do not add synthetic status metadata to real command transcripts.
- Use
-
Review the generated GIF and PNG before delivery.
- Treat GIF/PNG review as a required delivery gate, not an optional polish pass.
- Verify both output files exist, open successfully, and have the expected format, dimensions, frame count, and nonblank pixels.
- Visually inspect the PNG cover and the GIF/final animated state when possible. Check that text is readable, important commands/results are visible, colors are legible, and there is no awkward wrapping, clipping, overlap, or blank/mostly empty frame.
- Spawn a subagent for an independent review whenever the environment supports subagents and the user has not explicitly forbidden delegation. Ask it to inspect the generated GIF/PNG, transcript, provenance notes, README-facing paths, and stable workflow risks. Incorporate or explain its findings before final delivery.
- If the output is README-facing, regenerate the tracked assets through
scripts/render_demo.shand runscripts/selftest.shso stale GIF/PNG files are caught before delivery. - Iterate on transcript length, title/subtitle, font size, or render style until the image is clear enough for a public README.
-
Describe provenance clearly.
- Say "generated from real transcript/logs" when rendering from captured output.
- Say "generated from provided terminal text" when the user supplied the transcript.
- Say "simulated transcript" when illustrative terminal text or simulated Claude Code status metadata is used.
- Do not call a generated terminal animation a screen recording unless an actual screen recorder was used.
Renderer
Run:
bash scripts/render_demo.sh \
--transcript /path/to/terminal-transcript.txt \
--out-dir /path/to/assets/demo-name \
--name demo-name \
--title "CLI demo" \
--subtitle "generated from real logs"
Outputs:
<name>.gif<name>.png
Useful options:
--width 1280 --height 720--font-size 20--footer "Generated from terminal transcript."--claude-simulated-statusfor clearly labeled simulated Claude Code demos only
Transcript Style
Use a simple line-oriented transcript:
# project demo
$ command --flag
important output
result: OK
Rendering colors are inferred from line prefixes:
#for title/context lines$for commandsprompt:andconstraint:for explanatory linesresult:,child result:,OK,PASS,successfor success lineserror,failed,FAILfor failure lines
Keep the animated transcript short enough to fit on screen. Put detailed evidence in raw logs, not in the GIF.
What ships with it: 18 files
1700.7 KB alongside SKILL.md, 5 of them executable
agents/
- openai.yaml240 B
assets/
- install-claude-code-codex-cli/install-claude-code-codex-cli.gif1018.7 KB
- install-claude-code-codex-cli/install-claude-code-codex-cli.png80.8 KB
- install-claude-code-codex-cli/terminal-transcript.txt645 B
- install-claude-code-codex-cli/verification.json667 B
- readme-demo/readme-terminal-demo.gif403.8 KB
- readme-demo/readme-terminal-demo.png151.0 KB
- readme-demo/terminal-transcript.txt2.0 KB
- readme-demo/verification.json417 B
scripts/
- bootstrap_env.shruns1.9 KB
- render_demo.shruns226 B
- render_terminal_demo.pyruns18.2 KB
- selftest.shruns228 B
- selftest_terminal_demo.pyruns8.8 KB
- .gitignore36 B
- README.md6.6 KB
- README.zh-CN.md6.3 KB
- requirements.txt15 B