lewispb

A Claude Code plugin for running read-only queries against a Rails 8.2+ app's database via `rails query` — locally or remotely via Kamal.

11
1
100% credibility
Found Apr 23, 2026 at 11 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
AI Summary

A plugin for the Claude Code AI that enables it to answer data questions about Rails applications by using a built-in safe query feature, working locally or on deployed setups.

How It Works

1
🔍 Discover the Helper

While chatting with your AI coding assistant about your web app, you learn about a special skill that lets it answer questions about your app's data effortlessly.

2
📦 Add the Skill

You tell your AI to add the new skill from its marketplace, and it installs quickly without any fuss.

3
đź”§ Ready Your App

You ensure your app supports safe data peeks, either on your computer or connected to your live version online.

4
âť“ Ask Your Question

You casually ask your AI things like 'How many active users?' or 'Show the orders info,' and it knows exactly what to do.

5
✨ AI Delivers Answers

Your AI fetches the data securely and shares clear results, plans, or table details right in the chat.

🎉 Unlock Data Insights

Now you get instant, reliable answers about your app's inner workings, saving time and avoiding guesswork.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 11 to 11 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is rails-query-skill?

This Claude Code skill lets you query your Rails 8.2+ app's database through natural language questions in Claude, like "How many active users?" or "Show the orders table." It taps into the `rails query` command for structured, read-only JSON output—locally via `bin/rails query` or remotely with Kamal on deployed envs. No more firing up consoles, SSHing servers, or scripting one-offs; it's safe for production read replicas.

Why is it gaining traction?

Unlike generic SQL tools or Claude's base skills, it wraps all `rails query` modes—ActiveRecord scopes, raw SQL, schema introspection, and EXPLAIN plans—with pagination smarts and Kamal quoting fixes. Developers grab it for seamless Claude Code install via `claude plugin install rails-query@rails-query-skill`, turning GitHub-integrated chats into instant DB explorers without claude github connector hassles. The free, single-command setup and prod safety hook Rails teams experimenting with claude code skills.

Who should use this?

Rails backend devs answering data questions during code reviews or debugging, especially on Kamal-deployed apps. Solo founders or small teams querying prod DBs without risk, like checking user counts or model refs mid-Claude session. Skip if you're not on Rails 8.2+ or lack jq/Kamal.

Verdict

Worth a quick claude code free install for Rails 8.2+ users—solid docs and clever UX despite 11 stars and 1.0% credibility score signaling early maturity. Test locally first; it'll save time once Rails query sticks.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.