ccboard: Skill for Claude Code

.claude/skills/ratatui/SKILL.md

ratatui is a skill for Claude Code from FlorianBruniaux/ccboard. It costs 37 tokens per session (969 once invoked), scanned A, original, MIT.

A Rust framework and workflow for building terminal user interfaces (TUIs), such as interactive lists, tables, charts, and dashboards.

In plain words
What is it for?
Use it when creating or extending a Rust command-line program with an interactive terminal screen using Ratatui and Crossterm.
Why use it?
It provides a defined structure for terminal rendering, keyboard events, application state, and safe cleanup when the program exits.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is FlorianBruniaux/ccboard's own configuration. It tells Claude Code how to work on ccboard itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ccboard configures →

Part of the ccboard plugin — 14 skills, 2 commands, 10 agents, 4 hooks, 2 MCP servers shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to FlorianBruniaux/ccboard. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/FlorianBruniaux/ccboard/main/.claude/skills/ratatui/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/FlorianBruniaux/ccboard

Made for: Claude Code.

Or install ccboard, the plugin that ships this one along with the rest of its 14 skills, 2 commands, 10 agents, 4 hooks, 2 MCP servers.

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 ratatui

README.md
[![agentmods](https://agentmods.dev/badge/skills/florianbruniaux/ccboard/ratatui.svg)](https://agentmods.dev/skills/florianbruniaux/ccboard/ratatui)
Your own site
<a href="https://agentmods.dev/skills/florianbruniaux/ccboard/ratatui"><img src="https://agentmods.dev/badge/skills/florianbruniaux/ccboard/ratatui.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 969 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00037 $0.00969
Opus 5 $0.00018 $0.00485
Sonnet 5 $0.00007 $0.00194
Haiku 4.5 $0.00004 $0.00097

Measured 8d ago against content hash 392b1bf6c84a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

ratatui 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 8d 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.

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.

.claude/skills/ratatui/SKILL.md · 140 lines

How it starts

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

Ratatui (Rust TUI)

Immediate-mode terminal UI framework for Rust using Crossterm backend.

When to Use

  • Creating a new TUI application from scratch in Rust
  • Adding an interactive terminal interface to an existing CLI tool
  • Implementing tabbed navigation, lists, tables, or charts in the terminal
  • High-performance terminal rendering where latency matters (e.g., monitoring dashboards)

Keywords: TUI, terminal UI, ratatui, crossterm, interactive CLI, dashboard, ncurses alternative

Workflow

  1. Add dependencies to Cargo.toml (ratatui + crossterm)
  2. Define App state struct — holds all mutable data (selected index, input buffer, etc.)
  3. Initialize terminal — enable raw mode, enter alternate screen
  4. Main event loopterminal.draw(|f| ui(f, &app)) + event::poll + key handler
  5. Build UI functionLayout::split → assign chunks → render_widget per chunk
  6. Teardown — disable raw mode, leave alternate screen on exit or panic

Dependencies

[dependencies]
ratatui = "0.28"
crossterm = "0.28"

Basic Application

use crossterm::{
    event::{self, Event, KeyCode},
    execute,
    terminal::{disable_raw_mode, enable_raw_mode, EnterAlternateScreen, LeaveAlternateScreen},
};
use ratatui::{backend::CrosstermBackend, widgets::{Block, Borders, Paragraph}, Terminal};
use std::io;

struct App {
    counter: i32,
}

impl App {
    fn new() -> App {
        App { counter: 0 }
    }

    fn on_key(&mut self, key: KeyCode) {
        match key {
            KeyCode::Up => self.counter += 1,
            KeyCode::Down => self.counter -= 1,
            _ => {}
        }
    }
}

fn main() -> Result<(), io::Error> {
    enable_raw_mode()?;
    let mut stdout = io::stdout();
    execute!(stdout, EnterAlternateScreen)?;

    let backend = CrosstermBackend::new(stdout);
    let mut terminal = Terminal::new(backend)?;

    let mut app = App::new();

    loop {
        terminal.draw(|f| {
            let block = Block::default().title("Counter").borders(Borders::ALL);
            let paragraph = Paragraph::new(format!("Count: {}", app.counter)).block(block);
            f.render_widget(paragraph, f.area());
        })?;

        if let Event::Key(key) = event::read()? {
            match key.code {
                KeyCode::Char('q') => break,
                code => app.on_key(code),
            }
        }
    }

    disable_raw_mode()?;
    execute!(terminal.backend_mut(), LeaveAlternateScreen)?;
    Ok(())
}

Read the full file on GitHub · 140 lines

Files

What ships with it

2 files 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. 8d ago First seen · 140 lines · 37 tokens per session scan A 392b1bf6c84a

Subscribe to this mod's changes

ratatui is a skill published in the GitHub repository FlorianBruniaux/ccboard (97 stars, last pushed 6d ago), licensed MIT. It adds 37 tokens to every session and 969 once invoked, about $0.0002 per session on Opus 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-08-30.

Related

Other skills, from other repositories

adding-a-command

Creates a new CLI command following the Commander.js pattern in src/commands/. Handles command registration in src/cli.ts, telemetry tracking via tracked() wrapper, and option parsing. Use when user says add command, new CLI command, create subcommand, or adds files to src/commands/. Do NOT use for modifying existing…

caliber-ai-org/ai-setup · 76 tokens

implementing-jsc-classes-cpp

Implements JavaScript classes in C++ using JavaScriptCore. Use when creating new JS classes with C++ bindings, prototypes, or constructors.

twaldin/hone · 38 tokens

implementing-jsc-classes-rust

Creates JavaScript classes using Bun's Rust bindings generator (.classes.ts). Use when implementing new JS APIs in Rust with JSC integration, prototypes, or constructors.

twaldin/hone · 41 tokens

rust-system-calls

Guides using bunsys for system calls and file I/O in Rust. Use when implementing file operations, opening fds, or any syscall path instead of std::fs or libc.

twaldin/hone · 42 tokens

pypi-release

This skill should be used when releasing tunacode-cli to PyPI. It keeps the existing local release checks, then hands the actual PyPI upload to a GitHub Actions workflow that uses the repository's PYPIAPITOKEN secret.

alchemiststudiosDOTai/tunacode · 52 tokens

Codex-skill-rust

Guide for Rust development including code style, testing, building, and quality checks using cargo tools. Apply when working with Rust code, Cargo.toml, or running cargo commands.

opencue/cuecards · 42 tokens