YAS demo text
SkillAI & modelsTurns terminal statusline render snapshots into plain text so changes can be compared or pasted into pull requests.
Use YAS demo text in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add YAS demo text and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the YAS demo text skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
About this skill
Convert `make demo/img` statusline snapshots into ANSI-stripped plain text for diffing and PR embedding. Use when comparing statusline renders before/after a change, producing a text representation of a demo scenario, or preparing before/after statusline output for a pull request without screenshots
What this skill tells your AI
The instructions your AI receives, as published by tmck-code/yet-another-statusline in .claude/skills/yas-demo-text/SKILL.md and read by Ahel’s review.
make demo/img writes ANSI-coloured statusline snapshots to demo/<scenario>.txt
(and per-theme renders under demo/themes/). This skill strips the ANSI escape
sequences so the box-drawing layout survives as plain, diff-able, paste-able text.
Quick start
Render the snapshots, then strip them into demo/text/ (mirrors the demo/ tree):
make demo/img # or: DEMO_ONLY=tasks make demo/img
.claude/skills/yas-demo-text/scripts/demo-text.sh
demo/text/<scenario>.txt now holds the colour-free render. Both demo/ and
demo/text/ are gitignored, so these are scratch artifacts — diff them, paste
them, regenerate them; don't commit them.
Strip arbitrary output
scripts/strip-ansi.sh is a plain ANSI filter (stdin or named files → stdout),
wrapping sed 's/\x1B\[[0-9;]\{1,\}[A-Za-z]//g':
COLUMNS=160 uv run python claude/statusline_command.py < ops/session-info-example.json \
| .claude/skills/yas-demo-text/scripts/strip-ansi.sh
Before/after comparison
make demo/img && .claude/skills/yas-demo-text/scripts/demo-text.sh
cp -r demo/text /tmp/yas-before # stash the baseline
# ... make your renderer change ...
make demo/img && .claude/skills/yas-demo-text/scripts/demo-text.sh
diff -ru /tmp/yas-before demo/text # see exactly which cells moved
Notes
- The strip regex matches CSI sequences (
\x1B[…<letter>), removing colour, bold and italic; it leaves box-drawing and Nerd Font glyphs intact, so column alignment is preserved exactly. - Nerd Font PUA glyphs render as boxes outside a Nerd-Font terminal (e.g. on
GitHub), but the layout and text labels still read clearly. For a snapshot
meant to paste into GitHub markdown, render in the
githubglyph mode first (YAS_GLYPH_MODE=github make demo/img): it folds the box-drawing frame, block/sparkline ramp, and PUA icons to width-1 EAW-narrow/ASCII stand-ins, so the result stays a clean, box-free rectangle in a browser monospace font. The yas-pr skill uses this by default for before/after PR renders. - The repo's Python
strip_ansi(test/helper.py) is SGR-only and for tests; this skill's sed filter is broader and for the demo snapshots.
Signals
- GitHub stars
- 242
- Forks
- 25
- Last commit
- Oct 2026
Ahel review
K6low
bundled executables the agent is told to run
Automated review, not a security audit. Ruleset v1+k2.
Advanced
- Item type
- skill
- Key
yas-demo-text- Source
- github.com/tmck-code/yet-another-statusline
github.com/tmck-code/yet-another-statusline
More in AI & models
Skill · anthropics
More in AI & modelstriage
Skill · mattpocock
More in AI & modelswayfinder
Skill · mattpocock
More in AI & modelsalgorithmic-art
Skill · anthropics
More in AI & modelscode-review-and-quality
Skill · addyosmani
More in AI & modelsmarketing-psychology
Skill · coreyhaines31
More in AI & models