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/goldziher/ai-rulez/ruby-conventionsnpx skills add Goldziher/ai-rulez --skill ruby-conventionsgit clone --depth 1 https://github.com/Goldziher/ai-rulezWrote 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/goldziher/ai-rulez/ruby-conventions)<a href="https://agentmods.dev/skills/goldziher/ai-rulez/ruby-conventions"><img src="https://agentmods.dev/badge/skills/goldziher/ai-rulez/ruby-conventions.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.1 | $0.00052 | $0.00350 |
| Opus 5 | $0.00026 | $0.00175 |
| Sonnet 5 | $0.00010 | $0.00070 |
| Haiku 4.5 | $0.00005 | $0.00035 |
Grade A, and why
ruby-conventions 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 5d 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.
What it actually says
- Ruby 3.2+,
frozen_string_literal: true,.ruby-versionfile. - Linting: a linter/formatter (e.g., RuboCop) with auto-fix (120 char max), plus its RSpec/performance plugins.
- Type checking: RBS with a type checker (e.g., steep). Use
rbs prototypefor scaffolding type signatures. - Testing: RSpec (or Minitest) with
describe/context/it, factories over fixtures, a coverage tool (e.g., SimpleCov) at 80%+. - Security: a SAST tool (e.g., Brakeman for Rails),
bundler-auditfor dependency CVE scanning. - Error handling: specific exceptions inheriting
StandardError, no barerescue. - Composition over inheritance,
Comparable/Enumerablemixins,case/inpattern matching. - Dependencies:
bundler, commitGemfile.lock, pessimistic~>constraints. - Gem packaging: use
gemspecwithbundlergem template,rake releasefor distribution. &:method_nameblock shorthand,=>pattern matching destructuring (3.2+).- Anti-patterns: monkey patching,
method_missingwithoutrespond_to_missing?,evalwith user input.
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.
- 5d ago First seen · 17 lines · 52 tokens per session scan A a6d4ff8f2037
ruby-conventions is a skill published in the GitHub repository Goldziher/ai-rulez (140 stars, last pushed 5d ago), licensed MIT. It adds 52 tokens to every session and 350 once invoked, about $0.0003 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-30.
Other skills, from other repositories
robotgo-flow
Use when building YAML-driven Windows RPA workflows in Go — step-by-step desktop automation with image template matching, interactive recording mode, hotkey triggers. RobotGo-Flow: YAML-based Windows RPA framework built on RobotGo.
new-model
根据 databasedesign.md 的 DDL 生成或更新 GORM Model 文件。自动选择正确的包、类型映射和 tag 格式。.
new-mq-consumer
根据 scheduledtasksdesign.md §3 生成 MQ 消费者(攒批 + 落库 + Redis 联动 + 死信队列)。.
golang-testing
Go testing best practices including table-driven tests, test helpers, benchmarking, race detection, coverage analysis, and integration testing patterns. Use when writing or improving Go tests.
golang-patterns
Go-specific design patterns and best practices including functional options, small interfaces, dependency injection, concurrency patterns, error handling, and package organization. Use when working with Go code to apply idiomatic Go patterns.
ast-grep
Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search. This skill should be used when users ask to search for…