Rails LLM Integration

Production-grade LLM integration patterns for Ruby on Rails applications. USE THIS SKILL when the user needs to: integrate OpenAI, Claude, or any LLM API into a Rails app; use ruby_llm gem or langchain-rb gem in Rails; build AI-powered features in Rails; manage prompts as templates; route between LLM models for cost optimization; run LLM calls as background jobs; set up Braintrust evals; use LiteLLM or Portkey as a proxy; track LLM costs; test AI features; audit LLM usage patterns; build RAG pipelines in Rails with langchain-rb; add classification, summarization, extraction, or generation feat

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add nagstler/rails-llm-integration --skill rails-llm-integration
Manual install
git clone --depth 1 https://github.com/nagstler/rails-llm-integration.git /tmp/rails-llm-integration
mkdir -p ~/.claude/skills
cp -r /tmp/rails-llm-integration/. ~/.claude/skills/rails-llm-integration

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Rails LLM Integration Skill

## What This Skill Does

Teaches Claude to write LLM integrations the Rails Way -- treating LLM calls like
first-class Rails citizens alongside ActionMailer (email), ActiveJob (background work),
and ActionController (HTTP). Instead of scattered API calls, you get conventions.

## When to Use

- Adding any AI/LLM feature to a Rails application
- Using ruby_llm gem, langchain-rb gem, ruby-openai, or anthropic-rb in Rails
- Setting up prompt management, model routing, or cost tracking
- Building eval pipelines with Braintrust
- Building RAG pipelines with langchain-rb and pgvector
- Auditing existing LLM usage for anti-patterns
- Testing AI-powered features

## Architecture Overview
Read the full skill on GitHub

Details

Skill name
rails-llm-integration
License
MIT
Repo updated
14 March 2026

FAQ

What does the Rails LLM Integration skill do?

Production-grade LLM integration patterns for Ruby on Rails applications. USE THIS SKILL when the user needs to: integrate OpenAI, Claude, or any LLM API into a Rails app; use ruby_llm gem or langchain-rb gem in Rails; build AI-powered features in Rails; manage prompts as templates; route between LLM models for cost optimization; run LLM calls as background jobs; set up Braintrust evals; use LiteLLM or Portkey as a proxy; track LLM costs; test AI features; audit LLM usage patterns; build RAG pipelines in Rails with langchain-rb; add classification, summarization, extraction, or generation feat

How do I install the Rails LLM Integration skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add nagstler/rails-llm-integration --skill rails-llm-integration. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Rails LLM Integration popular?

It lives in nagstler/rails-llm-integration, which has 13 GitHub stars and 0 forks.

Related skills

Stop Slop Zh

11

leeguooooo/stop-slop-zh

写、起草、生成、润色任何面向人读的中文文章或段落时,都要用本 Skill——公众号、博客、知乎、小红书、技术文档、技术方案、设计文档、README、公文、学术摘要、产品文案、复盘、提案、新闻稿、邮件。无论是从零写新稿,还是改稿、审稿,只要在产出中文长文,写完、定稿、交付、发布前都必须调用它过一遍:它识别并消除中文 AI 写作的典型痕迹——套话、排比三件套、名词化、抽象主语、金句收尾、总分总八股、标点指纹、标题套路、评级悬念开头、转述腔——让文本读起来像有人在说话,而不是 AI 在生成。简言之:只要这次任务的产物里有一段是要给人读的中文,就触发本 Skill。

AI, LLMs & Agents

Ea Skill

10

jzl-maker/EA-SKILL

嵌入式 AI 开发管家,支持 Keil/CubeMX 与 ESP32 的 ESP-IDF/PlatformIO/Arduino 工程。当用户要求嵌入式功能开发、外设接入、编译烧录、串口/JTAG/RTT 调试、固件验证、测试生成或芯片文档解析时使用。

AI, LLMs & Agents

The Colony

10

TheColonyAI/colony-skill

Interact with The Colony (thecolony.ai) — an AI agent forum, marketplace, and DM network. Use for registration, posting, commenting, searching, marketplace tasks, service offers, marketplace reviews, Lightning tips, polls, webhooks, facilitation, 1:1 DMs and multi-party group conversations (with reactions, edits, pins, attachments), a personalised for-you feed, agent suggested-actions, notifications, achievements, content reports, agent-claim operator pairing, and profile management. Triggers on "colony", "thecolony", "post to the colony", "check the colony", "colony feed", "colony marketplace

AI, LLMs & Agents

Re Workstation

10

SUNYT772/RE-Workstation

用于逆向分析(APK、二进制、JS、iOS、固件、托管与编译语言)、Web/API、安全研究、补丁与版本差分、恶意代码、LLM与agent安全、供应链、CTF、经验检索、技术报告和图表。任务命中时提供专项知识与排版参考。

AI, LLMs & Agents

Agentic Commerce Protocol (ACP)

11

alphaparkinc/openclaw-agentic-commerce-protocol

Modular agentic commerce skill for implementing OpenAI & Stripe's Agentic Commerce Protocol. Enables AI agents to negotiate capabilities, initiate checkout sessions, handle secure Stripe Payment Token (SPT) delegation, and process fulfillment events.

AI, LLMs & Agents

Orcarouter Tools

12

Continuum-AI-Corp/orcarouter-tools-skills

Discover, inspect and run pay-per-call tools (web search, scraping, data enrichment, and more) AS an OrcaRouter agent, billed to the workspace wallet with the agent's own budget applied. Use when a task needs an external capability the agent does not have — a web search, a company lookup, a page scrape — and the workspace has enabled the OrcaRouter Tool Router (the /v1/tools HTTP endpoints).

AI, LLMs & Agents

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.