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 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/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/pledgeandgrow/pledge-skills/ruby"><img src="https://agentmods.dev/badge/skills/pledgeandgrow/pledge-skills/ruby.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00045 | $0.00923 |
| Opus 5.5 | $0.00018 | $0.00369 |
| Sonnet 5.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 3mo 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.
- 3mo ago First seen · 54 lines · 45 tokens per session scan A b829abf5993d
ruby is a skill published in the GitHub repository pledgeandgrow/pledge-skills (11 stars, last pushed 4mo ago), licensed MIT. It adds 45 tokens to every session and 923 once invoked, about $0.0002 per session on Opus 5.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.
ruby compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rubypledgeandgrow/pledge-skills | Skill | 11 | 4mo ago | MIT | A | 45 | Claude Code, Codex |
| rubyericrisco/rsc-harness | Skill | 707 | 2d ago | MIT | A | 87 | Claude Code, Codex |
| ruby-expertpersonamanagmentlayer/pcl | Skill | 47 | 1mo ago | Apache-2.0 | A | 64 | Claude Code |
| rubymiles990/claude-software-skills | Skill | 28 | 10mo ago | MIT | A | 8 | Claude Code, Codex |
| draper-decoratorshoblin/claude-ruby-marketplace | Skill | 38 | yesterday | MIT | A | 131 | Claude Code |
| Ruby PatternsAmariahAK/atlarix-skills | Skill | 0 | 2mo ago | Apache-2.0 | A | 2 | Claude Code, Codex |
| rspechoblin/claude-ruby-marketplace | Skill | 38 | yesterday | MIT | A | 125 | Claude Code |