run-tui

run-tui is a skill for Claude Code, Codex from donaldfilimon/abi. It costs 88 tokens per session (812 once invoked), scanned A, original, Apache-2.0.

A test driver for abi's interactive diagnostics dashboard. It uses tmux, a terminal session manager, to run the dashboard without a person typing into it and capture what it displays.

In plain words
What is it for?
Launches the dashboard or TUI, captures a screenshot-like terminal view, checks for expected output and errors, sends the quit key, and tears down the session.
Why use it?
Interactive terminal programs can be difficult to test automatically; this checks that the dashboard renders and exits cleanly in a simulated terminal.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; installed under .agents/ (shared by several agents).

Good fit Launches the dashboard or TUI, captures a screenshot-like terminal view, checks for expected output and errors, sends the quit key, and tears down the session.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/donaldfilimon/abi/run-tui
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 donaldfilimon/abi --skill run-tui
Clone the repo
git clone --depth 1 https://github.com/donaldfilimon/abi

Made for: Claude Code, Codex.

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 run-tui

README.md
[![agentmods](https://agentmods.dev/badge/skills/donaldfilimon/abi/run-tui/github.svg)](https://agentmods.dev/skills/donaldfilimon/abi/run-tui)
Your own site
<a href="https://agentmods.dev/skills/donaldfilimon/abi/run-tui"><img src="https://agentmods.dev/badge/skills/donaldfilimon/abi/run-tui/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 run-tui

Your own site · 80×15
<a href="https://agentmods.dev/skills/donaldfilimon/abi/run-tui"><img src="https://agentmods.dev/badge/skills/donaldfilimon/abi/run-tui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 812 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00088 $0.00812
Opus 5.5 $0.00035 $0.00325
Sonnet 5.5 $0.00018 $0.00162
Haiku 4.5 $0.00009 $0.00081

Measured 15d ago against content hash 80f64c0f25a1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

run-tui scanned grade A with 0 findings 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 15d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (tui.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/run-tui/SKILL.md · 56 lines

How it starts

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

run-tui — drive abi's interactive diagnostics dashboard

Driver: .agents/skills/run-tui/tui.sh (paths relative to repo root). abi dashboard/tui/--tui are interactive on a real TTY; this driver gives them a tmux pty, captures the rendered pane, asserts the dashboard painted, sends q, and kills the session. Evidence is the RESULT: line. Fully local.

Prerequisites

  • tmux (brew install tmux). The driver checks for it and fails fast if absent.

Run (agent path)

.agents/skills/run-tui/tui.sh              # drives `abi dashboard` (default)
.agents/skills/run-tui/tui.sh tui          # drive `abi tui` instead

Launches the command under tmux new-session (200x50 pane), waits for paint, captures the pane, and asserts the ABI Diagnostics Dashboard marker is present and there's no errno 19/tcgetattr/panic. Sends q (the quit key — isQuitKey accepts q/Q/Esc) and confirms the session tore down. Prints RESULT: PASS (exit 0) or a FAIL count.

To eyeball it yourself: tmux capture-pane -pt <session> shows the System pane (GPU backend, accelerated, native-linked) and the Plugins pane (16 registered).

Historical verification: PASS on stable Rust via ./tools/cargo.sh — dashboard box + System + Plugins panes render under the pty; q quits; session cleaned up.

Gotchas (battle scars)

  • ⚠️ Always build with ./tools/cargo.sh (never bare Homebrew cargo). The driver needs tmux on PATH (brew install tmux); do not let brew's stable cargo shadow the repository-selected toolchain used for the build.
  • A pty is mandatory for the interactive path. Piped stdin or /dev/null intentionally uses the one-shot fallback; use tmux when you need to prove the live loop paints and accepts q.
  • Give it time to paint. The driver sleeps 2.5s before capture; a busy machine may need more. A blank pane = captured too early, not a failure to run.
  • Accelerated: yes / Native Linked: yes in the System pane is the dashboard's own rendering of backend state; the CLI backends report phrases the same Metal-linked/CPU-fallback status differently — both are correct.
  • For the render loop and screen lifecycle internals, use the tui-navigation-guide subagent.

Read the full file on GitHub · 56 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. 15d ago First seen · 56 lines · 88 tokens per session scan A 80f64c0f25a1

Subscribe to this mod's changes

run-tui is a skill published in the GitHub repository donaldfilimon/abi (18 stars, last pushed 5d ago), licensed Apache-2.0. It adds 88 tokens to every session and 812 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-15.

Related

run-tui compared with skills from other repositories

run-tui next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
run-tuidonaldfilimon/abiSkill185d agoApache-2.0A88Claude Code, Codex
smiles-validationsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A24Claude Code, Codex
clinical-reportssynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A71Claude Code
imaging-data-commonssynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A62Claude Code, Codex
curated-bio-datasetssynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A79Claude Code, Codex
ggetsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A66Claude Code, Codex
immunology-assayssynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A79Claude Code, Codex