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 hoblin/claude-ruby-marketplace --skill ratatui-rubygit clone --depth 1 https://github.com/hoblin/claude-ruby-marketplaceWrote 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/hoblin/claude-ruby-marketplace/ratatui-ruby)<a href="https://agentmods.dev/skills/hoblin/claude-ruby-marketplace/ratatui-ruby"><img src="https://agentmods.dev/badge/skills/hoblin/claude-ruby-marketplace/ratatui-ruby/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/hoblin/claude-ruby-marketplace/ratatui-ruby"><img src="https://agentmods.dev/badge/skills/hoblin/claude-ruby-marketplace/ratatui-ruby.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00119 | $0.02204 |
| Opus 5.5 | $0.00048 | $0.00882 |
| Sonnet 5.5 | $0.00024 | $0.00441 |
| Haiku 4.5 | $0.00012 | $0.00220 |
Grade A, and why
ratatui-ruby 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 — 324 lines — stays where its author put it; the contents beside it link to each section on GitHub.
RatatuiRuby
This skill provides guidance for building terminal user interfaces with RatatuiRuby, a Ruby gem wrapping Rust's Ratatui library. Use for TUI development, terminal widgets, layout systems, event handling, and testing terminal applications.
Quick Reference
Minimal Application
require "ratatui_ruby"
RatatuiRuby.run do |tui|
loop do
tui.draw do |frame|
widget = tui.paragraph(text: "Hello, TUI!", block: tui.block(title: "App"))
frame.render_widget(widget, frame.area)
end
case tui.poll_event
in {type: :key, code: "q"}
break
in {type: :key, code: "c", modifiers: ["ctrl"]}
break
else
# Continue
end
end
end
Key Concepts
| Concept | Purpose |
|---|---|
RatatuiRuby.run |
Managed loop handling terminal setup/teardown |
tui.draw |
Render widgets each frame |
tui.poll_event |
Capture keyboard/mouse input |
frame.area |
Available rendering area (Rect) |
frame.render_widget |
Render stateless widgets |
frame.render_stateful_widget |
Render widgets with state (List, Table) |
Two Operating Modes
| Mode | Use Case | Setup |
|---|---|---|
| Full-Screen | Complete TUI applications | RatatuiRuby.run { } (default) |
| Inline Viewport | Rich CLI moments (spinners, progress) | RatatuiRuby.run(viewport: :inline, height: 5) { } |
Full-Screen: Takes over terminal, alternate screen, restored on exit.
Inline Viewport: Preserves scrollback, fixed-height widget area, output remains visible after exit.
Core Pattern
The managed loop pattern handles terminal lifecycle:
RatatuiRuby.run do |tui|
loop do
# 1. Draw UI
tui.draw do |frame|
# Render widgets
end
# 2. Handle events
case tui.poll_event
in {type: :key, code: "q"}
break
end
end
end
Common Widgets
| Widget | Factory | Purpose |
|---|---|---|
| Paragraph | tui.paragraph(text:) |
Text display |
| Block | tui.block(title:, borders:) |
Borders, titles, padding |
| List | tui.list(items:) |
Selectable item list |
| Table | tui.table(rows:, widths:) |
Tabular data |
| Gauge | tui.gauge(ratio:) |
Progress indication |
| Tabs | tui.tabs(titles:) |
Tab navigation |
| Chart | tui.chart(datasets:) |
Data visualization |
| Canvas | tui.canvas { } |
Custom drawing |
| Scrollbar | tui.scrollbar |
Scroll indication |
What ships with it
7 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 · 324 lines · 119 tokens per session scan A 5e69682563ed
ratatui-ruby is a skill published in the GitHub repository hoblin/claude-ruby-marketplace (38 stars, last pushed 2d ago), licensed MIT. It adds 119 tokens to every session and 2,204 once invoked, about $0.0005 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-ruby compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ratatui-rubyhoblin/claude-ruby-marketplace | Skill | 38 | 2d ago | MIT | A | 119 | Claude Code |
| ruby-expertpersonamanagmentlayer/pcl | Skill | 46 | 1mo ago | Apache-2.0 | A | 64 | Claude Code |
| rails-modelsShoebtamboli/rails_claude_skills | Skill | 16 | 5mo ago | MIT | A | 15 | Claude Code, Codex |
| rubypledgeandgrow/pledge-skills | Skill | 11 | 4mo ago | MIT | A | 45 | Claude Code, Codex |
| rubyericrisco/rsc-harness | Skill | 695 | yesterday | MIT | A | 87 | Claude Code, Codex |
| ruby-gcjoshukraine/dotfiles | Skill | 430 | 9d ago | MIT | A | 25 | Claude Code |
| Capybara TestingPramodDutta/qaskills | Skill | 253 | 29d ago | MIT | A | 46 | Claude Code, Codex |