Community skill · published by reelier

reelier/rubygems-latest-version

1 step · 4 assertions · green · READ-ONLY

Provenance

Recorded with
not recorded
License
MIT
Content hash
ba46ccfdff67f8d7
Endpoints
rubygems.org

Get this skill

This one command installs Reelier and fetches the skill’s frozen bytes in the same breath. The CLI verifies the content hash before writing anything — a mismatch writes nothing.

npx -y reelier@latest get reelier/rubygems-latest-version

The skill file

reelier/rubygems-latest-version.skill.md · v1· verbatim
---
name: rubygems-latest-version
description: Latest published version and download count for the Rails gem from the RubyGems API — read-only
license: MIT
---

# RubyGems latest version

Inputs: (none — replays green as-is)

<!--
  Why an agent would replay this: RubyGems' public gem-metadata API is a
  common upstream for Ruby dependency tooling. This confirms it still
  answers with the expected shape before a build or audit job relies on it.
  No auth, no account.

  Endpoint verified live on 2026-07-22: 200, name "rails", downloads a
  non-negative number.
-->

Download counts and versions move every release; the assertions pin shape
and identity, never a specific number.

## Steps

### Step 1 — Gem metadata from RubyGems
- intent: Fetch RubyGems' public metadata for the rails gem and confirm identity + non-negative counters
- action: http.get {"url": "https://rubygems.org/api/v1/gems/rails.json"}
- assert: status == 200
- assert: json.name == "rails"
- assert: json.downloads >= 0
- assert: json.version is string
- bind: version = json.version
- bind: downloads = json.downloads
- effect: read

Real receipts

100% pass rate across 1 shared replay of this skill:

Embeddable badge (markdown):

[![reelier](https://www.reelier.com/badge/rBUNNWzBi1e6V40VQTuz9rCM)](https://www.reelier.com/r/rBUNNWzBi1e6V40VQTuz9rCM?utm_source=registry&utm_campaign=reelier-rubygems-latest-version)
Report this skill

Report abuse: see the skill registry terms & takedown process. Markdown twin of this page: /skills/reelier/rubygems-latest-version/md.