ai-agent

hirb – Faster Ruby Console UI with Tables, Trees & Menus

hirb gives Ruby founders a sleek console view framework—no‑wrap tables, auto‑pager, tree and menu navigation—all in one. 1.7k+ GitHub stars.

From the repo · “A mini view framework for console/irb that's easy to use, even while under its influence. Console goodies include a no-wrap table, auto-pager, tree and menu.”

1,688 stars70 forksRubyGuide quality 8/10 · reviewed Oct 6Updated 2/28/2024100% free · open source
What it does

Hirb is a Ruby library that provides a set of features to enhance the console/IRB experience, including a table view, auto-pager, tree, and menu.

When to use it
  • •Exploring large datasets in the console
  • •Visualizing complex data structures like trees or graphs
  • •Creating interactive command-line tools or scripts
Ready-to-paste prompt
Hirb.view([{'name' => 'John', 'age' => 30}, {'name' => 'Jane', 'age' => 25}], :fields => [:name, :age])
Heads up: Hirb requires Ruby 1.9 or later, and may have issues with certain console encodings or character sets, so make sure your environment is set up correctly before using it.
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/hirb && curl -fsSL https://workflowstacks.com/api/skills/hirb/claude-skill -o ~/.claude/skills/hirb/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How hirb – Faster Ruby Console UI with Tables, Trees & Menus works
Codeflow
Free to inspect

Hirb – Faster Ruby Console UI with Tables, Trees & Menus is a small Ruby project (~2k lines across 31 code files, plus 16 test files). Setup is light: installs like a normal app. Reading the code is optional. Last commit 32 months ago, MIT license, has a test suite.

Size
Small codebase
~2k lines · 31 code files · 16 min skim
Setup
One-command install
Installs like a normal app. Reading the code is optional.
Runs on
Ruby
No API keys detected
Ruby 100%
Where to start reading
  1. 1
    README.rdoc
    Start here — what it does and how to install it
  2. 2
    lib/hirb.rb
    Inside lib/ — the main logic begins here
What's in each folder
lib/Core code — the actual logic31 files
test/Tests — proof it works16 files
READMEHas testsThin docsCI checksMIT licenseLast update 32 mo ago
Quick Actions
Details
Creator
cldwalker
Language
Ruby
Category
ai-agent
Published
3/7/2009

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/hirb.svg)](https://workflowstacks.com/skills/hirb?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.