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.
npx skills add JSK9999/ai-nexus --skill ratatui_rsgit clone --depth 1 https://github.com/JSK9999/ai-nexusWrote 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.
[](https://agentmods.dev/skills/jsk9999/ai-nexus/ratatui_rs)<a href="https://agentmods.dev/skills/jsk9999/ai-nexus/ratatui_rs"><img src="https://agentmods.dev/badge/skills/jsk9999/ai-nexus/ratatui_rs/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.
<a href="https://agentmods.dev/skills/jsk9999/ai-nexus/ratatui_rs"><img src="https://agentmods.dev/badge/skills/jsk9999/ai-nexus/ratatui_rs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00037 | $0.01474 |
| Opus 5.5 | $0.00015 | $0.00590 |
| Sonnet 5.5 | $0.00007 | $0.00295 |
| Haiku 4.5 | $0.00004 | $0.00147 |
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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 248 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.
Project Setup
Always use Edition 2024:
[package]
name = "my-tui-app"
version = "0.1.0"
edition = "2024"
rust-version = "1.85"
[dependencies]
ratatui = "0.30"
crossterm = "0.29"
# Optional: Enhanced error handling
anyhow = "1.0"
thiserror = "2.0"
Why Edition 2024 for TUI apps:
- ✅ Better async support for background tasks
- ✅ Improved pattern matching for event handling
- ✅ Cleaner error handling with if let chains
- ✅ Native async traits for plugins/extensions
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(())
}
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.
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.
- 3mo ago First seen · 248 lines · 37 tokens per session scan A 16e2d06b4f52
ratatui is a skill published in the GitHub repository JSK9999/ai-nexus (19 stars, last pushed 8mo ago), licensed Apache-2.0. It adds 37 tokens to every session and 1,474 once invoked, about $0.0001 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-08-30.
ratatui compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ratatuiJSK9999/ai-nexus | Skill | 19 | 8mo ago | Apache-2.0 | A | 37 | Claude Code, Codex |
| rust-checkHmbown/CodeWhale | Skill | 41k | today | MIT | A | 15 | Claude Code, Codex |
| dd-code-generationDataDog/pup | Skill | 1.1k | yesterday | Apache-2.0 | A | 16 | Claude Code |
| rust-crate-ciZaxbyHub/opencode-swarm | Skill | 557 | today | MIT | A | 60 | Claude Code |
| Agent Browser AutomationPramodDutta/qaskills | Skill | 253 | 1mo ago | MIT | A | 37 | Claude Code, Codex |
| pixiv-cli-nativeFlanChanXwO/pixiv-cli | Skill | 142 | 14d ago | MIT | A | 49 | Codex |
| pp-crates-iomvanhorn/printing-press-library | Skill | 2.2k | yesterday | Apache-2.0 | C | 23 | Claude Code |