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/pledgeandgrow/pledge-skills/rubynpx skills add pledgeandgrow/pledge-skills --skill rubygit clone --depth 1 https://github.com/pledgeandgrow/pledge-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/pledgeandgrow/pledge-skills/ruby)<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/ruby"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-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.00045 | $0.00923 |
| Opus 5 | $0.00023 | $0.00462 |
| Sonnet 5 | $0.00009 | $0.00185 |
| Haiku 4.5 | $0.00005 | $0.00092 |
Grade A, and why
ruby 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 4d ago.
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.
How it starts
The opening of the file, as written. The whole thing — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ruby
A dynamic, open-source programming language focused on simplicity and productivity. Pure object-oriented, with elegant syntax, powerful metaprogramming, and a rich ecosystem.
Quick Reference
| Topic | File |
|---|---|
| Introduction (what is Ruby, installation, quickstart, IRB) | introduction.md |
| Syntax (literals, assignment, control flow, pattern matching, operators, comments) | syntax.md |
| Methods (definitions, arguments, keyword args, blocks, visibility, operator methods) | methods.md |
| Classes and Modules (inheritance, mixins, Struct, Data, access modifiers, refinements) | classes-and-modules.md |
| Core Types (String, Integer, Float, Array, Hash, Symbol, Range, Regexp, Nil) | core-types.md |
| Blocks, Procs, and Lambdas (closures, currying, yield, method objects) | blocks-procs-lambdas.md |
| Exceptions (raise, rescue, retry, custom exceptions, hierarchy) | exceptions.md |
| I/O and Files (File, FileUtils, Dir, Pathname, IO, networking) | io-and-files.md |
| Concurrency (Threads, Mutex, Fibers, Ractors, Queue, Async) | concurrency.md |
| Metaprogramming (reflection, define_method, method_missing, eval, refinements) | metaprogramming.md |
| Gems and Bundler (RubyGems, Gemfile, gemspec, publishing, versioning) | gems-and-bundler.md |
| Testing (Minitest, RSpec, matchers, mocks, shared examples) | testing.md |
| Standard Library (Enumerable, Comparable, JSON, YAML, CSV, Set, Time, Logger) | standard-library.md |
| Style Guide (layout, naming, flow control, collections, comments, RuboCop) | style-guide.md |
| C Extensions (C API, extconf.rb, TypedData, GC, FFI alternative) | c-extensions.md |
| Tools and Ecosystem (Rake, RuboCop, YARD, debug, Pry, benchmarking, editors) | tools.md |
Core Concepts
- Pure Object-Oriented: Everything is an object — numbers, strings, classes, modules, even
nil. - Dynamic Typing: Types determined at runtime. Duck typing: focus on what an object can do, not what it is.
- Blocks & Closures: First-class support for blocks, Procs, and lambdas — Ruby's way of passing code around.
- Metaprogramming: Powerful reflection and dynamic code generation. Open classes,
method_missing,define_method, refinements. - Expressive Syntax: Designed for developer happiness. Natural language-like constructs, optional parentheses, implicit returns.
- Rich Standard Library: Enumerable, Comparable, JSON, YAML, CSV, Set, Logger, and more built-in.
- Gem Ecosystem: RubyGems + Bundler for dependency management. Thousands of gems on rubygems.org.
- Testing Culture: Built-in Minitest, popular RSpec, strong TDD/BDD traditions.
What ships with it
16 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- blocks-procs-lambdas.md 5.3 KB
- c-extensions.md 7.8 KB
- classes-and-modules.md 7.6 KB
- concurrency.md 5.9 KB
- core-types.md 9.0 KB
- exceptions.md 3.5 KB
- gems-and-bundler.md 5.8 KB
- introduction.md 4.3 KB
- io-and-files.md 5.9 KB
- metaprogramming.md 5.9 KB
- methods.md 6.0 KB
- standard-library.md 8.4 KB
- style-guide.md 7.7 KB
- syntax.md 11 KB
- testing.md 7.3 KB
- tools.md 5.9 KB
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.
- 4d ago First seen · 54 lines · 45 tokens per session scan A b829abf5993d
ruby is a skill published in the GitHub repository pledgeandgrow/pledge-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 45 tokens to every session and 923 once invoked, about $0.0002 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-08-31.
Other skills, from other repositories
ruby
Ruby programming patterns and idioms.
ruby-expert
Expert-level Ruby development with Rails, modern features, testing, and best practices.
Capybara Testing
Expert-level Capybara acceptance testing skill for Ruby and Rails applications. Covers RSpec integration, DSL methods, scoping, Page Objects with SitePrism, JavaScript interactions, and database cleaning strategies.
Ruby Patterns
Use this skill when working in Ruby projects (Rails or otherwise) and you want clean object boundaries, predictable dependency management, and maintainable code organization.
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+…