Use at session start for Ruby projects (Gemfile, .ruby-version, or .tool-versions present). Detect version manager BEFORE running ruby, bundle, gem, rake, rails, rspec, or any Ruby command.
Technical reference for contributors and those curious about the detection internals.
Detects and configures Ruby version managers so Claude Code uses the correct Ruby environment for your project.
Supported managers: chruby, rbenv, rvm, asdf, mise, rv, shadowenv
Session Start (Ruby project detected)
│
▼
SessionStart hook triggers detection
│
▼
detect.sh runs:
• Checks stored preference (~/.config/ruby-skills/preference.json)
• Detects installed version managers
• Finds project Ruby version (.ruby-version, .tool-versions, .mise.toml, Gemfile)
• Returns ACTIVATION_COMMAND
│
├── Multiple managers, no preference
│ → Claude asks which to use, stores choice
│
└── Single or preferred manager
→ Claude chains ACTIVATION_COMMAND with Ruby commands
Claude Code runs each Bash command in a fresh shell — environment changes don't persist between commands.
# Won't work — environment is lost between commands:
source /usr/local/share/chruby/chruby.sh && chruby ruby-3.3.0
bundle install # ← Fresh shell — activation was lost
# Works — single command preserves environment:
source /usr/local/share/chruby/chruby.sh && chruby ruby-3.3.0 && bundle install
The skill instructs Claude to chain activation with every Ruby invocation, so users don't need to think about this.
| File | Purpose |
|------|---------|
| detect.sh | Detects version manager, project version, and outputs activation command |
| detect-all-managers.sh | Finds all installed managers (used when no preference is stored) |
| set-preference.sh | Stores manager preference to ~/.config/ruby-skills/preference.json |
| SKILL.md | Instructions for Claude (loaded as skill context) |
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer