Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here
charm-ruby logo

charm-ruby

charm-ruby

developmentClaude Codeby Loris Mazloum

Summary

Build beautiful, interactive CLI tools in Ruby using the charm-ruby ecosystem (Bubble Tea, Lipgloss, Bubbles, Huh, and more)

Install to Claude Code

/plugin install charm-ruby@charm-ruby

Run in Claude Code. Add the marketplace first with /plugin marketplace add lorismaz/charm-ruby-claude-plugin if you haven't already.

README.md

Charm Ruby Plugin for Claude Code

Build beautiful, interactive command-line applications in Ruby using the charm-ruby ecosystem.

What is Charm Ruby?

Charm Ruby is a collection of Ruby gems ported from Charm.sh's Go libraries by Marco Roth. It provides everything you need to build stunning terminal user interfaces:

| Gem | Purpose | |-----|---------| | bubbletea | Model-View-Update architecture for interactive apps | | lipgloss | CSS-like terminal styling | | bubbles | Pre-built components (spinners, inputs, lists, tables) | | huh | Interactive forms with validation | | glamour | Markdown rendering in terminal | | harmonica | Physics-based spring animations | | gum | Shell script interactions | | bubblezone | Mouse event tracking and clickable zones | | ntcharts | Terminal charts (sparklines, bar/line charts, heatmaps) |

Features

Skill: Charm Ruby Development

Comprehensive knowledge for building CLI tools:

  • Quick start guides
  • Bubble Tea MVU architecture patterns
  • Lipgloss styling reference
  • Component integration
  • Best practices
  • Gem distribution

Triggered when you ask about building CLI tools in Ruby, terminal UIs, or any charm-ruby library.

Commands

| Command | Description | |---------|-------------| | /charm:init [name] | Scaffold a new charm-ruby CLI project | | /charm:add-component [type] | Add a Bubbles component to your project | | /charm:package | Prepare your CLI for RubyGems distribution |

Agent: CLI Architect

Expert Ruby CLI architect that helps you:

  • Design application architecture
  • Plan multi-screen navigation
  • Select appropriate components
  • Structure your Bubble Tea models
  • Follow terminal UX best practices

Quick Start

1. Create a new project:

   /charm:init my-awesome-cli

2. Add components as needed:

   /charm:add-component list
   /charm:add-component spinner

3. When ready to publish:

   /charm:package

Example: Simple Counter

require "bubbletea"
require "lipgloss"

class CounterModel
  include Bubbletea::Model

  def initialize
    @count = 0
    @style = Lipgloss::Style.new.bold(true).foreground("#FF69B4")
  end

  def init
    nil
  end

  def update(msg)
    case msg
    when Bubbletea::KeyMsg
      case msg.string
      when "q" then return [self, Bubbletea.quit]
      when "up", "k" then @count += 1
      when "down", "j" then @count -= 1
      end
    end
    [self, nil]
  end

  def view
    "Count: #{@style.render(@count.to_s)}\n\n↑/k inc • ↓/j dec • q quit"
  end
end

Bubbletea.run(CounterModel.new)

Resources

Installation

In Claude Code, run these slash commands:

1. Add the marketplace:

   /plugin marketplace add lorismaz/charm-ruby-claude-plugin

2. Install the plugin:

   /plugin install charm-ruby@charm-ruby

The skill, commands, and agent will be automatically available after installation.

License

MIT

Related plugins

Browse all →