Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/amariahak/atlarix-skills/rubynpx skills add AmariahAK/atlarix-skills --skill rubygit clone --depth 1 https://github.com/AmariahAK/atlarix-skillsWrote 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.
[](https://agentmods.dev/skills/amariahak/atlarix-skills/ruby)<a href="https://agentmods.dev/skills/amariahak/atlarix-skills/ruby"><img src="https://agentmods.dev/badge/skills/amariahak/atlarix-skills/ruby.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00002 | $0.00379 |
| Opus 5 | $0.00001 | $0.00189 |
| Sonnet 5 | $0.00000 | $0.00076 |
| Haiku 4.5 | $0.00000 | $0.00038 |
Grade A, and why
Ruby Patterns 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 today.
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.
What it actually says
Ruby Patterns
When to use this skill
Use this skill when working in Ruby projects (Rails or otherwise) and you want clean object boundaries, predictable dependency management, and maintainable code organization.
Core patterns
Keep objects small and focused
- prefer small classes and modules
- keep methods short and intention-revealing
Dependency management with Bundler
Gemfiledescribes dependenciesGemfile.lockpins versions (commit it)- avoid unpinned production dependencies
Error handling
- raise exceptions with context
- don’t rescue broadly unless you rethrow or return a clear failure
Testing
- unit tests for pure logic
- integration tests for DB/wiring
- keep fixtures small and readable
Rails notes (if applicable)
- controllers: thin
- models: avoid fat models; extract domain services when logic grows
- background jobs: idempotent and retry-safe
Atlarix tool notes
- Explore: locate
Gemfile,config/routes.rb, and entry points. - Build: run
bundle installand the project’s test suite. - Debug: follow stack traces; identify boundary errors.
- Review: check for security issues (SQL injection, params handling) and N+1 queries.
Common mistakes to avoid
- Fat controllers + fat models
- Rescue-everything blocks that hide failures
- Not committing
Gemfile.lock
Mini-checklist
- Dependencies pinned
- Layers are clear
- Tests cover behavior
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.
- today First seen · 56 lines · 2 tokens per session scan A 756b00e87bb4
Ruby Patterns is a skill published in the GitHub repository AmariahAK/atlarix-skills (2 stars, last pushed 4d ago), licensed Apache-2.0. It adds 2 tokens to every session and 379 once invoked, about $0.0000 per session on Opus 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-09-03.
Other skills, from other repositories
ruby
Ruby programming language — syntax, core types, OOP, blocks/procs/lambdas, exceptions, I/O, concurrency, metaprogramming, gems, testing, style guide, C extensions, and tooling.
ruby_expert
Ruby and Rails specialist. Productive, idiomatic web development with a focus on developer happiness.
ruby-gc
Audit asdf-installed Ruby versions against project pins and remove unreferenced ones. Dry-run by default.
ruby-rails
Use this skill when building Ruby on Rails applications — MVC, ActiveRecord, service objects, API mode, background jobs, and testing. This skill enforces: thin controllers, service objects for business logic, ActiveRecord query best practices, Rails API mode conventions, and RSpec testing patterns. Requires Rails 7+…
rails-audit-thoughtbot
Perform comprehensive code audits of Ruby on Rails applications based on thoughtbot best practices. Use this skill when the user requests a code audit, code review, quality assessment, or analysis of a Rails application. The skill analyzes the entire codebase focusing on testing practices (RSpec), security…
rails-load-defaults
Incrementally upgrade Rails config.loaddefaults by walking through each newframeworkdefaults config one at a time. Use this skill whenever the user mentions loaddefaults upgrade, newframeworkdefaults, framework defaults, or wants to bring their Rails app's default configuration up to match their Rails version. Also…