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 sorah/config --skill sorbetgit clone --depth 1 https://github.com/sorah/configWrote 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/sorah/config/sorbet)<a href="https://agentmods.dev/skills/sorah/config/sorbet"><img src="https://agentmods.dev/badge/skills/sorah/config/sorbet/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/sorah/config/sorbet"><img src="https://agentmods.dev/badge/skills/sorah/config/sorbet.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.00000 | $0.03820 |
| Opus 5.5 | $0.00000 | $0.01528 |
| Sonnet 5.5 | $0.00000 | $0.00764 |
| Haiku 4.5 | $0.00000 | $0.00382 |
Grade A, and why
sorbet scanned grade A with 1 finding 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 1mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- Use `fetch` for required keys and indexes. When the input comes from outside, use `fetch(0) { raise InvalidToken }` so a bad request returns a 4xx rather than a `KeyError` 500. How it starts
The opening of the file, as written. The whole thing — 221 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sorbet with Inline RBS
How to write types in a project that typechecks with Sorbet using inline RBS comments. Signatures live in #: comments that Ruby ignores, so sorbet-runtime is not loaded and nothing about the types runs in production. The project's docs/type-checking.md takes priority over this guide. To introduce Sorbet to a project that does not have it yet, use the sorbet-adoption skill. Libraries and gems typecheck with Steep instead; see the steep skill.
Ground rules
- Write signatures only as
#:RBS comments in.rbfiles.sigblocks,extend T::Sig,T.let,T.must,T.castandT.untypedneedsorbet-runtime. Where it is absent they raiseNameErrorat load time. Where a gem pulls it in anyway, they turn into runtime checks nobody asked for..rbishim files are the exception: they are never loaded, andsigblocks are the correct syntax there.
- Do not run
srb tc -a. Its autocorrect inserts exactly the forbiddenT.forms. - A new file under
app/,lib/orconfig/starts at# typed: strict. Spec files carry no sigil, because the RSpec DSL does not typecheck. - The target level is
strict, nottrue. Attrue, Sorbet requires no signatures, so a file can pass with almost none, and the signatures are what make the types useful to the next person writing a call. - Run
bundle exec srb tcfrom the project directory after every change. - Before keeping or defending a workaround, delete it and run
srb tcagain. Many workarounds turn out to be unnecessary on a retry: a constant castas untypedbefore.new,.class.to_sin place of.name, a cast onTime.current.
Signatures
#: (String, expires_in: Integer, ?scopes: Array[String]) -> Token
def issue(subject, expires_in:, scopes: [])
#: (String, readonly: bool, ?actor: User?,
#| ?tags: Array[String]) -> void
def record_event(name, readonly:, actor: nil, tags: [])
#: [T] () { () -> T } -> T
def with_lock(&block)
#: Integer
attr_reader :max_age
DEFAULT_TTL = 300 #: Integer
def initialize(order_id:, amount:)
@order_id = order_id
@amount = BigDecimal(amount) #: BigDecimal
@invoice = nil #: Invoice?
end
What ships with it
1 file 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.
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.
- 1mo ago Changed 50d6b9ed8abb
- 1mo ago First seen · 221 lines · 0 tokens per session scan A 0515f02fffab
sorbet is a skill published in the GitHub repository sorah/config (31 stars, last pushed 11d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,820 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-17.
sorbet compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sorbetsorah/config | Skill | 31 | 11d ago | MIT | A | 0 | Claude Code |
| newclacky-ai/openclacky | Skill | 1.2k | yesterday | MIT | A | 10 | Claude Code |
| dhh-rails-styledavekilleen/Dex | Skill | 522 | 2d ago | MIT | A | 115 | Claude Code |
| rspec-conventionsrootstrap/rails_api_base | Skill | 635 | 19d ago | MIT | A | 82 | Claude Code |
| rigor-rbs-contractrigortype/rigor | Skill | 108 | today | MPL-2.0 | A | 95 | Claude Code, Codex |
| ruby-patternssoftspark/ai-toolkit | Skill | 180 | 14d ago | Apache-2.0 | A | 60 | Claude Code |
| rails-devtech-leads-club/agent-skills | Skill | 7.2k | yesterday | none | A | 199 | Claude Code, Codex |