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 cosmix/loom --skill loom-rubygit clone --depth 1 https://github.com/cosmix/loomWrote 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/cosmix/loom/loom-ruby)<a href="https://agentmods.dev/skills/cosmix/loom/loom-ruby"><img src="https://agentmods.dev/badge/skills/cosmix/loom/loom-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/cosmix/loom/loom-ruby"><img src="https://agentmods.dev/badge/skills/cosmix/loom/loom-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.00015 | $0.06945 |
| Opus 5.5 | $0.00006 | $0.02778 |
| Sonnet 5.5 | $0.00003 | $0.01389 |
| Haiku 4.5 | $0.00002 | $0.00694 |
Grade A, and why
loom-ruby 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 11d 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.
rows = fetch(offset:, limit: size) How it starts
The opening of the file, as written. The whole thing — 460 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ruby Language Expertise
Overview
Idiomatic, production-grade Ruby 3.x: Bundler, the Ruby 3 language additions, blocks and closures, Rails, and RSpec/Minitest. Assumes competence; the value is in what is easy to get wrong (keyword-argument separation, proc return semantics, ||= on falsy values, N+1 queries, unsafe deserialization, the GVL) and in writing tests that loom's rspec and minitest adapters can select one at a time.
Tooling
Preserve the repository's version manager and lockfile. The Ruby version lives in .ruby-version (read by rbenv, chruby, asdf, mise) and in the Gemfile's ruby directive.
Bundler resolves dependencies and isolates the load path.
| Task | Command |
|---|---|
| Add a dependency | bundle add faraday (edits Gemfile, resolves, updates Gemfile.lock) |
| Add a dev/test dependency | bundle add rspec --group "development, test" |
| Install from the lock | bundle install; set BUNDLE_FROZEN=true in CI so drift fails the build |
| Update one gem | bundle update --conservative faraday (shared dependencies stay pinned) |
| Run inside the bundle | bundle exec rspec spec/foo_spec.rb (bare bundle exec rspec is the stage gate's), or the binstubs bin/rails, bin/rspec |
| Known CVEs in the lock | bundle exec bundler-audit check --update |
| Deploy platforms | bundle lock --add-platform x86_64-linux |
bundle execactivates exactly the locked versions; a barerspecorrakemay load a different installed version.require "bundler/setup"does the same from inside a script.- A gem declares runtime dependencies in its
.gemspec; itsGemfileholdsgemspecplus development tools.
Format and lint: RuboCop (rubocop -a applies safe corrections; -A adds unsafe ones, so review that diff) or Standard (standardrb --fix, RuboCop with a fixed config). Rails 7.2+ generates bin/rubocop (rubocop-rails-omakase) and bin/brakeman. Plugins: rubocop-rspec, rubocop-performance, rubocop-rails. Disable a cop for a range with # rubocop:disable Style/Foo ... # rubocop:enable Style/Foo; never disable all cops for a file.
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.
- 11d ago Changed 2afe49b101fd
- 2mo ago First seen · 460 lines · 15 tokens per session scan A f82a0d98610a
loom-ruby is a skill published in the GitHub repository cosmix/loom (66 stars, last pushed yesterday), licensed MIT. It adds 15 tokens to every session and 6,945 once invoked, about $0.0001 per session on Opus 5.5. 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-09-26.
loom-ruby compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| loom-rubycosmix/loom | Skill | 66 | yesterday | MIT | A | 15 | Claude Code, Codex |
| ruby-scriptLandonSchropp/agent-toolkit | Skill | 3 | today | MIT | A | 20 | Claude Code |
| idiomatic-goTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 137 | Claude Code |
| go-documentationTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 98 | Claude Code |
| rspecLandonSchropp/agent-toolkit | Skill | 3 | today | MIT | A | 21 | Claude Code |
| newclacky-ai/openclacky | Skill | 1.2k | 3d ago | MIT | A | 10 | Claude Code |
| authoring-java-sdk-tasksastronomer/agents | Skill | 464 | 6d ago | Apache-2.0 | A | 152 | Claude Code |