Agent skill

Tui

by Piebald-AI in Piebald-AI/splitrail

Guide for Splitrail's terminal UI and file watching. An agent skill from Piebald-AI/splitrail.

MITAuto-check passed

Install Tui

skills CLI
$ npx skills add Piebald-AI/splitrail --skill tui -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Piebald-AI/splitrail tui --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Piebald-AI/splitrail.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/tui .claude/skills/tui && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
tui
GitHub stars
223
Token cost
~349 tokens
SKILL.md length
146 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

Guide for Splitrail's terminal UI and file watching. An agent skill from Piebald-AI/splitrail.

  • Modifying the TUI
  • SKILL.md covers Source Files, Components, Key Patterns and Adding Watch Support to an…
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Real-time update logic

What it does

Tui is an agent skill from Piebald-AI/splitrail. Guide for Splitrail's terminal UI and file watching. Use when modifying the TUI, stats display, or real-time update logic.

Its SKILL.md is about 350 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Qwen. The repository describes itself as: Fast, cross-platform, real-time token usage tracker and cost monitor for Claude Code / Codex CLI / Antigravity CLI / Qwen Code / Cline / Zoo Code / Kilo Code / GitHub Copilot /… The licence is MIT.

When your agent uses it

  • Modifying the TUI
  • Real-time update logic

Example prompts

  • “/tui”

What it can do on your machine

Read from SKILL.md and the folder at commit d9cbe50. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Tui loads about 349 tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 146 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~32
When it runs · the whole SKILL.md, loaded when a task matches
~349

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Piebald-AI/splitrail at commit d9cbe50, republished under its MIT licence (© Piebald-AI). 146 words, ~349 tokens.

Download SKILL.mdSave it as .claude/skills/tui/SKILL.md (or your agent's skills folder).
name
tui
description
Guide for Splitrail's terminal UI and file watching. Use when modifying the TUI, stats display, or real-time update logic.

Real-Time Monitoring & TUI

Splitrail provides a terminal UI with live updates when analyzer data files change.

Source Files

  • src/tui.rs - TUI entry point and rendering
  • src/tui/logic.rs - TUI state management and input handling
  • src/watcher.rs - File watching implementation

Components

FileWatcher (src/watcher.rs)

Watches analyzer data directories for changes using the notify crate. Triggers incremental re-parsing on file changes and updates TUI via channels.

RealtimeStatsManager

Coordinates real-time updates: background file watching, auto-upload to Splitrail Cloud (if configured), and stats updates to TUI via tokio::sync::watch.

TUI (src/tui.rs, src/tui/logic.rs)

Terminal interface using ratatui:

  • Daily stats view with date navigation
  • Session view with lazy message loading
  • Real-time stats refresh

Key Patterns

  • Channel-based updates - Stats flow through tokio::sync::watch channels
  • Lazy message loading - Messages loaded on-demand for session view to reduce memory

Adding Watch Support to an Analyzer

Implement get_watch_directories() in your analyzer to return root directories for file watching. See src/analyzer.rs for the trait definition.

© Piebald-AI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/tui of Piebald-AI/splitrail.

Open the folder on GitHubat commit d9cbe50

Compare with similar skills

Tui next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Tui compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Tui this skillPiebald-AI/splitrail223—~349Automated safety check: PassMIT
AI Image Generation and Editingzhayujie/CowAgent47k—~1.3kAutomated safety check: PassMIT
Agent Feature ReproductionQwenLM/qwen-code28k—~1.5kAutomated safety check: PassApache-2.0
Qwen Code E2E TestingQwenLM/qwen-code28k—~2.1kAutomated safety check: PassApache-2.0
Game Asset Generatorhtdt/godogen7.1k—~2.8kAutomated safety check: PassMIT
Fix Art IssuesOpenPipe/ART11k—~840Automated safety check: NotesApache-2.0

Similar skills

  • Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.

    47k GitHub stars~1.3k tokensUpdated today
    Media & CreativeAuto-check passed
  • Reproduces a feature from Codex or Claude Code in Qwen Code by running the reference agent under capture, reading the traces, then implementing matching behavior.

    28k GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Qwen Code E2E Testing

    QwenLM/qwen-code

    Guides end-to-end testing of the Qwen Code CLI in headless mode with real model calls, MCP test servers and inspection of raw API traffic.

    28k GitHub stars~2.1k tokensUpdated today
    Testing & QAAuto-check passed
  • Generates game art from text prompts: PNG images, GLB 3D models, rigged characters, animations and sprites, with background removal.

    7.1k GitHub stars~2.8k tokensUpdated 8 days ago
    Game DevelopmentAuto-check passed
  • Fix Art Issues

    OpenPipe/ART

    Fix a GitHub issue on OpenPipe/ART and open a PR. An agent skill from OpenPipe/ART.

    11k GitHub stars~840 tokensUpdated today
    AI & LLM EngineeringAuto-check: notes
  • Weavebench Cua Reproduce

    AMAP-ML/LongHorizon-Harness

    Reproduce CUA-Harness experiments on WeaveBench from a GitHub checkout.

    1.7k GitHub stars~1.6k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed

More from Piebald-AI/splitrail

  • MCP

    Piebald-AI/splitrail

    Guide for working with Splitrail's MCP server. An agent skill from Piebald-AI/splitrail.

    223 GitHub stars~335 tokensUpdated 2 days ago
    Auto-check passed
  • Pricing

    Piebald-AI/splitrail

    Guide for updating model pricing in Splitrail. An agent skill from Piebald-AI/splitrail.

    223 GitHub stars~783 tokensUpdated 2 days ago
    Auto-check passed
  • New Analyzer

    Piebald-AI/splitrail

    Guide for adding a new AI coding agent analyzer to Splitrail.

    223 GitHub stars~326 tokensUpdated 2 days ago
    Auto-check passed
  • Performance

    Piebald-AI/splitrail

    Performance optimization guidelines for Splitrail. An agent skill from Piebald-AI/splitrail.

    223 GitHub stars~245 tokensUpdated 2 days ago
    Auto-check passed
  • Types

    Piebald-AI/splitrail

    Reference for Splitrail's core data types. An agent skill from Piebald-AI/splitrail.

    223 GitHub stars~271 tokensUpdated 2 days ago
    Auto-check passed

Works with

Questions about Tui

What does Tui do?

Guide for Splitrail's terminal UI and file watching. An agent skill from Piebald-AI/splitrail. Tui is an agent skill from Piebald-AI/splitrail. Guide for Splitrail's terminal UI and file watching.

When should I use Tui?

Tui fits situations like: modifying the TUI; real-time update logic.

How do I install Tui in Claude Code?

Run `npx skills add Piebald-AI/splitrail --skill tui -a claude-code`. Or copy the skill folder (.claude/skills/tui in Piebald-AI/splitrail) into .claude/skills/tui in your project. Claude Code loads it when a task matches its description.

How do I install Tui in Codex?

Run `npx skills add Piebald-AI/splitrail --skill tui -a codex`. Or copy the skill folder (.claude/skills/tui in Piebald-AI/splitrail) into .agents/skills/tui in your project. Codex loads it when a task matches its description.

Can I use Tui in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Piebald-AI/splitrail --skill tui -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tui, .gemini/skills/tui, .github/skills/tui and .opencode/skills/tui in your project.

What does Tui need to run?

SKILL.md names no scripts, command-line tools or credentials: Tui is instructions for the agent only.

Does Tui access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Tui safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Tui use?

Tui is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Tui use?

About 349 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Tui?

Skills that share tags, products or a category with Tui: AI Image Generation and Editing (zhayujie/CowAgent, 47k stars), Agent Feature Reproduction (QwenLM/qwen-code, 28k stars), Qwen Code E2E Testing (QwenLM/qwen-code, 28k stars) and Game Asset Generator (htdt/godogen, 7.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Tui?

Piebald-AI (a GitHub organization) maintains it in Piebald-AI/splitrail, which has 223 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 7, 2026.

Source: Piebald-AI/splitrail on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.