claude-code-agents-manager: Agent for Claude Code

.claude/agents/cli-gem-expert.md

cli-gem-expert is an agent for Claude Code from dallasgoldswain/claude-code-agents-manager. It costs 33 tokens per session (2,127 once invoked), scanned A, original, MIT.

A Ruby development specialist for command-line programs and reusable Ruby packages called gems, using common terminal-interface tools.

In plain words
What is it for?
Use it to build or improve Ruby command-line tools, Thor commands, interactive terminal flows, gem layouts, and release-ready packaging.
Why use it?
It gives structure to CLI and gem work, including commands, prompts, progress displays, packaging, and compatibility across operating systems.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is dallasgoldswain/claude-code-agents-manager's own configuration. It tells Claude Code how to work on claude-code-agents-manager 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 claude-code-agents-manager configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dallasgoldswain/claude-code-agents-manager. 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/dallasgoldswain/claude-code-agents-manager/main/.claude/agents/cli-gem-expert.md
Clone the repo
git clone --depth 1 https://github.com/dallasgoldswain/claude-code-agents-manager

Made for: Claude Code.

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 cli-gem-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/dallasgoldswain/claude-code-agents-manager/cli-gem-expert/github.svg)](https://agentmods.dev/agents/dallasgoldswain/claude-code-agents-manager/cli-gem-expert)
Your own site
<a href="https://agentmods.dev/agents/dallasgoldswain/claude-code-agents-manager/cli-gem-expert"><img src="https://agentmods.dev/badge/agents/dallasgoldswain/claude-code-agents-manager/cli-gem-expert/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.

agentmods 80×15 button for cli-gem-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/dallasgoldswain/claude-code-agents-manager/cli-gem-expert"><img src="https://agentmods.dev/badge/agents/dallasgoldswain/claude-code-agents-manager/cli-gem-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,127 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.
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.00033 $0.02127
Opus 5.5 $0.00013 $0.00851
Sonnet 5.5 $0.00007 $0.00425
Haiku 4.5 $0.00003 $0.00213

Measured 1mo ago against content hash b6ae7debb8f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cli-gem-expert 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 1mo 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/agents/cli-gem-expert.md · 325 lines

How it starts

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

CLI & Gem Development Expert

Specializing in professional Ruby CLI applications and gem development:

  • TTY toolkit integration for rich interfaces
  • Thor framework for command structure
  • Professional gem packaging and distribution
  • Cross-platform compatibility
  • Interactive prompts and progress indicators

CLI Implementation Patterns

TTY Toolkit Integration

require 'tty-prompt'
require 'tty-progressbar'
require 'tty-spinner'
require 'tty-table'
require 'pastel'

class MyCLI < Thor
  def initialize(*args)
    super
    @prompt = TTY::Prompt.new
    @pastel = Pastel.new
  end
  
  desc "deploy [ENVIRONMENT]", "Deploy application to specified environment"
  option :force, type: :boolean, default: false, desc: "Skip confirmation"
  def deploy(environment = 'staging')
    unless options[:force]
      confirmed = @prompt.yes?("Deploy to #{@pastel.yellow(environment)}?")
      return unless confirmed
    end
    
    spinner = TTY::Spinner.new("[:spinner] Preparing deployment...", format: :pulse_2)
    spinner.auto_spin
    
    files = prepare_deployment_files
    spinner.success(@pastel.green("✓"))
    
    bar = TTY::ProgressBar.new(
      "Deploying [:bar] :percent :current/:total",
      total: files.count,
      width: 30
    )
    
    files.each do |file|
      deploy_file(file)
      bar.advance(1)
    end
    
    @prompt.ok(@pastel.green.bold("Deployment completed successfully!"))
  end
  
  desc "configure", "Interactive configuration setup"
  def configure
    config = {}
    
    config[:environment] = @prompt.select("Choose environment:") do |menu|
      menu.choice "Production", :production
      menu.choice "Staging", :staging
      menu.choice "Development", :development
    end
    
    config[:features] = @prompt.multi_select("Select features:") do |menu|
      menu.choice "Authentication", :auth
      menu.choice "Database", :db
      menu.choice "Caching", :cache
      menu.choice "Background Jobs", :jobs
    end
    
    config[:database] = @prompt.ask("Database URL:") do |q|
      q.required true
      q.validate(/postgres:\/\//)
      q.modify :strip
    end
    
    table = TTY::Table.new(header: ['Setting', 'Value'])
    config.each { |k, v| table << [k.to_s.capitalize, v] }
    
    puts table.render(:unicode, border: :thick)
    
    if @prompt.yes?("Save configuration?")
      save_config(config)
      @prompt.ok("Configuration saved!")
    end
  end
end

Read the full file on GitHub · 325 lines

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. 1mo ago First seen · 325 lines · 33 tokens per session scan A b6ae7debb8f8

Subscribe to this mod's changes

cli-gem-expert is an agent published in the GitHub repository dallasgoldswain/claude-code-agents-manager (2 stars, last pushed 7mo ago), licensed MIT. It adds 33 tokens to every session and 2,127 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-31.

Related

Other agents, from other repositories

Ruby MCP Expert

Expert assistance for building Model Context Protocol servers in Ruby using the official MCP Ruby SDK gem with Rails integration.

github/awesome-copilot · 25 tokens

rails-expert

Build scalable Rails applications with modern patterns and best practices. Implements service objects, background jobs, and API design. Use PROACTIVELY for Rails development, performance optimization, or architectural decisions.

davepoon/buildwithclaude · 42 tokens

ruby-expert

Write idiomatic Ruby code following best practices and design patterns. Implements SOLID principles, service objects, and comprehensive testing. Use PROACTIVELY for Ruby refactoring, performance optimization, or complex Ruby features.

davepoon/buildwithclaude · 46 tokens

ruby-pro

Write idiomatic Ruby code with metaprogramming, Rails patterns, and performance optimization. Specializes in Ruby on Rails, gem development, and testing frameworks. Use PROACTIVELY for Ruby refactoring, optimization, or complex Ruby features.

echoVic/blade-code · 52 tokens

mailer-agent

Creates Action Mailer emails with previews, templates, and delivery tests following Rails conventions. Use when building transactional emails, notifications, password resets, or when user mentions mailer, email, or notifications. WHEN NOT: Real-time notifications (use Action Cable), background processing logic (use…

ThibautBaissac/rails_ai_agents · 0 tokens

rails-reviewer

Rails code reviewer and QA. MUST BE USED to verify any Rails change before it is declared done. Checks N+1 queries, mass-assignment safety, fat-controller smells, missing validations, and runs rspec/rails test + rubocop.

toffyui/ccteams · 53 tokens