RubyLLM Skill plugin
The RubyLLM skill and plugin help an agent write chats, tools, MCP and structured output in Ruby and Rails applications
- 4,504 ★ on the repository
- Last commit
Minimal access
Why this level
- The skill is made of instructions and reference files and runs nothing itself
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add plugins/rubyllm-skillDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewMinimal accessThe tool runs nothing and makes no network calls.
- The skill is made of instructions and reference files and runs nothing itself
This is third-party code. Review the repository files before installing.
What it does
RubyLLM is a framework for working with AI from Ruby. The gem ships an agent skill, `rubyllm`: it points the assistant to the right API, finds the relevant documentation section and recalls persistence and upgrade conventions. The skill covers chats, agents, tools, MCP, structured output, evaluations, media, embeddings and Rails integration. It installs from the gem you have, from the repository or as a Claude Code plugin through the marketplace. It is a reference skill that runs no code: it guides the agent through the RubyLLM documentation and says which section to open for a given task.
Who it is for. Ruby and Rails developers adding AI to an app through RubyLLM who want the agent to stop inventing nonexistent methods.
Good fit when
- A Rails app gets a model chat with messages persisted in the database.
- A tool is needed that the model calls from Ruby code.
- The model reply must arrive in a strict schema.
- The gem version is upgraded and the agent must account for API changes.
- A chat is connected to an external MCP server from Ruby.
Not a fit when
- The project is not written in Ruby and does not use RubyLLM.
- You only need documentation access: Context7 and `llms.txt` cover that.
- The app is pinned to an old gem version while the skill comes from the `main` branch.
Example request
Add a RubyLLM chat to our Rails app with messages persisted in the database and an order lookup tool.Limitations
The marketplace plugin follows the `main` branch, so for an app on a pinned gem version it is better to install the skill from the gem itself or name a version tag. The `skill` installer needs RubyGems 3.5 or newer for `gem exec`. The `--agents coding` flag installs for every detected assistant but not into `app/skills`, where your own chat could pick it up. The skill directs the agent to documentation and does not replace it.
How to disable. Uninstall the plugin through `/plugin` or delete the `rubyllm` folder from the project skills directory. The source record lives in `skills.lock`.
FAQ
How do I install the skill from the gem?
In the app directory run `gem exec skill add "$(bundle show ruby_llm)" --skill rubyllm --agents coding`. The skill version then matches the gem version in your bundle.
How do I install the plugin in Claude Code?
Run `/plugin marketplace add crmne/ruby_llm`, then `/plugin install rubyllm@ruby_llm`. Updates arrive after `/plugin marketplace update ruby_llm`.
How do I give the agent the docs?
Connect Context7 with `claude mcp add --transport http context7 https://mcp.context7.com/mcp`. There is also `llms.txt` on rubyllm.com, which `mcpdoc` turns into an MCP server.
How does the repository skill differ from the gem skill?
The repository version tracks development while the gem version matches your release. For an app on a released version use the gem variant.
What does `--agents coding` mean?
The skill is installed for every coding assistant whose traces exist in the project: Claude Code, Codex, Cursor. It does not land in `app/skills`.
Discussion
No questions or reviews yet.
Related
PluginsKeep Rails layers in check: god objects, callbacks, services and CI layer boundaries, following the Layered Design book.
Laravel Agent Skills
laravel-agent-skills
Laravel's official skill collection for Claude Code and Cursor: plugins for Laravel, Laravel Cloud and Nightwatch
Six skills that teach an agent to write Streamling plugins in Rust: sources, sinks, transforms and SQL functions.
A Rails gem with an MCP server: the agent reads your schema, models, routes and tests instead of guessing them from a template.
Scalar API Reference skill for agents
Scalar API Reference skill
A skill that adds a Scalar reference to an app from its OpenAPI description: integrations, authentication, themes, migration from Swagger UI
37signals Rails Skills
37signals-skills
Unofficial skills and a guide to writing Rails the 37signals way, from open code of Fizzy, Campfire and over 100 DHH code reviews. Not affiliated with 37signals
README in short
The "AI Coding Assistants" guide describes three ways to install the skill and docs access through Context7, `llms.txt` and GitMCP.