terminal-ux

terminal-ux is a skill for Claude Code from uwuclxdy/agenticat. It costs 36 tokens per session (3,323 once invoked), scanned A, original, MIT.

A set of behavior rules for command-line programs and full-screen terminal apps. It covers output, exit codes, terminal detection, prompts, colors, confirmations, signals, and accessibility.

In plain words
What is it for?
Designing or reviewing CLI commands and terminal user interfaces, including their prompts, output streams, exit behavior, and recovery from interruptions.
Why use it?
It helps avoid confusing or unsafe terminal behavior, such as mixing normal output with errors or skipping confirmation before destructive actions.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Good fit Designing or reviewing CLI commands and terminal user interfaces, including their prompts, output streams, exit behavior, and recovery from interruptions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/uwuclxdy/agenticat/terminal-ux
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add uwuclxdy/agenticat --skill terminal-ux
Clone the repo
git clone --depth 1 https://github.com/uwuclxdy/agenticat

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for terminal-ux

README.md
[![agentmods](https://agentmods.dev/badge/skills/uwuclxdy/agenticat/terminal-ux/github.svg)](https://agentmods.dev/skills/uwuclxdy/agenticat/terminal-ux)
Your own site
<a href="https://agentmods.dev/skills/uwuclxdy/agenticat/terminal-ux"><img src="https://agentmods.dev/badge/skills/uwuclxdy/agenticat/terminal-ux/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for terminal-ux

Your own site · 80×15
<a href="https://agentmods.dev/skills/uwuclxdy/agenticat/terminal-ux"><img src="https://agentmods.dev/badge/skills/uwuclxdy/agenticat/terminal-ux.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,323 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 53
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.03323
Opus 5 $0.00018 $0.01662
Sonnet 5 $0.00007 $0.00665
Haiku 4.5 $0.00004 $0.00332

Measured 2d ago against content hash a8f3f25a9dc9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

terminal-ux scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`curl`'s progress meter goes to stderr despite not being an error, because it is messaging about the run rather than the payload.
skills/terminal-ux/SKILL.md · 220 lines

How it starts

The opening of the file, as written. The whole thing — 220 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Terminal UX

How a terminal program should behave. Two different things live here and their rules diverge:

  • CLI: a command that runs, prints, and exits. No persistent screen. State is communicated by printing what changed.
  • TUI: a full-screen interactive app that owns the terminal until it quits. A grid that redraws.

Every rule below says which it applies to. A CLI rule does not automatically hold for a TUI, and the sources differ: clig.dev, the 12-factor CLI writeup, GNU, and POSIX are CLI-first, while the TUI material comes from ratatui, Bubble Tea, Textual, and accessibility practitioners.

How solid a rule is:

  • convention: documented in a widely-adopted guide or standard.
  • house style: one project's stated choice. Reasonable, not universal.
  • unmarked: reasoning by analogy from graphical UI, with nothing behind it. Weigh it lower.

Terminal accessibility gets its own file, references/accessibility.md. There is no WCAG equivalent for terminals, so nothing there is a conformance floor. Read it anyway: it holds the one rule most likely to make a TUI unusable for someone.


1. Output Streams

CLI, convention. stdout carries the program's actual output. stderr carries everything about the run.

Do:

  • Put primary output, the thing another program would consume, on stdout.
  • Put logs, warnings, errors, and human-watched progress on stderr, so a pipe does not swallow them and they do not corrupt the data stream.
  • Surface a subprocess's stderr to the end user rather than eating it.

curl's progress meter goes to stderr despite not being an error, because it is messaging about the run rather than the payload.

A machine-readable output format is a TRUST BOUNDARY, and the boundary rule reads as though it only covers input. Any user-supplied bytes entering a line-oriented or delimited format need quoting AT THE PRINTER, never a narrowing of what the input layer accepts. A key=value printer whose value is a path straight off argv, with nothing escaped, emits forged keys ahead of the real ones the moment that path contains a newline, at exit 0, and a first-wins reader believes them. Measured 2026-08-11 against a shipped flag: --source=$'/tmp/x\nparts=one' produced a verdict about a directory that does not exist. Quote or escape every value, or emit a format that carries its own quoting (json, NUL-delimited) rather than one that trusts its payload.

Read the full file on GitHub · 220 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed a8f3f25a9dc9
  2. 10d ago First seen · 220 lines · 36 tokens per session scan A 4aaa37d7c32a

Subscribe to this mod's changes

terminal-ux is a skill published in the GitHub repository uwuclxdy/agenticat (5 stars, last pushed 3d ago), licensed MIT. It adds 36 tokens to every session and 3,323 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

meta-harness

Run a Meta-Harness-style optimization loop NATIVELY — automatically search over the scaffolding around a FIXED base model (memory, retrieval, context construction, prompt templates, summarization, tool-selection logic) by proposing candidate variants, scoring each on a cheap deterministic eval, and keeping a Pareto…

001TMF/harness-forge · 217 tokens

meta-harness-proteus

Run one iteration of proteus memory-summary evolution. Called by metaharness.py.

001TMF/harness-forge · 24 tokens

gbg

Convert any plan, PRD, feature idea, or brief into a sequenced goal-by-goal execution document with reviewer-gated commits — for everyday feature development, MVPs, migrations, refactors, and hardening alike. Generates a project brief, per-goal scope/tasks/acceptance criteria, an LLM-reviewer prompt (Codex/etc.), a…

cielebak/goal-by-goal · 150 tokens

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

haiku

When writing a haiku for this bot, follow these conventions.

agno-agi/agno · 0 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens