rpm-examine

rpm-examine is a skill for Claude Code from opendatahub-io/ai-helpers. It costs 9 tokens per session (1,415 once invoked), scanned A, original, Apache-2.0.

A tool for diagnosing failed RPM builds from their build logs and related package files. RPM is a package format used by Red Hat-based Linux systems.

In plain words
What is it for?
It helps investigate failed builds using logs, spec files, source archives, or build-service URLs.
Why use it?
It turns lengthy build output into a likely cause and practical next steps.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the odh-rpm plugin — 2 skills shipped together

Good fit It helps investigate failed builds using logs, spec files, source archives, or build-service URLs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/opendatahub-io/ai-helpers/rpm-examine
Install

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.

Any agent
npx skills add opendatahub-io/ai-helpers --skill rpm-examine
Clone the repo
git clone --depth 1 https://github.com/opendatahub-io/ai-helpers

Made for: Claude Code.

Or install odh-rpm, the plugin that ships this one along with the rest of its 2 skills.

Wrote 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.

agentmods badge for rpm-examine

README.md
[![agentmods](https://agentmods.dev/badge/skills/opendatahub-io/ai-helpers/rpm-examine/github.svg)](https://agentmods.dev/skills/opendatahub-io/ai-helpers/rpm-examine)
Your own site
<a href="https://agentmods.dev/skills/opendatahub-io/ai-helpers/rpm-examine"><img src="https://agentmods.dev/badge/skills/opendatahub-io/ai-helpers/rpm-examine/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.

agentmods 80×15 button for rpm-examine

Your own site · 80×15
<a href="https://agentmods.dev/skills/opendatahub-io/ai-helpers/rpm-examine"><img src="https://agentmods.dev/badge/skills/opendatahub-io/ai-helpers/rpm-examine.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,415 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00009 $0.01415
Opus 5.5 $0.00004 $0.00566
Sonnet 5.5 $0.00002 $0.00283
Haiku 4.5 $0.00001 $0.00142

Measured 2mo ago against content hash 25e44ed9f73b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rpm-examine 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 2mo 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.

curl -LO <copr-url>/builder-live.log.gz
plugins/odh-rpm/skills/rpm-examine/SKILL.md · 153 lines

How it starts

The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Name

odh-ai-helpers:rpm-examine

Synopsis

/rpm:examine <copr-chroot-url>
/rpm:examine <build-log-url> <srpm-url>
/rpm:examine <build.log> <specfile|dist-git> [sources]

Description

Analyze RPM build.log failures. Provide a comprehensive analysis with error summary, root cause, and actionable fixes.

Mode 1: Copr Results URL or Direct URLs to build.log and SRPM

Provide a single Copr build results URL to automatically fetch all build artifacts or provide two URLs - one for build.log and one for SRPM.

What gets downloaded:

  • build-live.log.gz or build.log - Main build log
  • *.src.rpm - Source RPM containing spec file, sources, and patches
  • root.log.gz, state.log - Additional context logs (optional)

Mode 2: Local Files

Provide paths to local build artifacts.

Arguments:

  1. <build.log> - Path to build log file (required)
  2. <specfile|dist-git> - Path to spec file or dist-git repo clone (required)
  3. [sources] - Path to source tarball or unpacked sources (optional)

Context gathering: If sources not provided, search in:

  • build.log parent directory
  • specfile parent directory
  • dist-git clone directory

Implementation

1. Input Detection

  • If single URL: Copr results directory → continue to step 2a
  • If two URLs: Direct URLs to build.log and SRPM (Koji/Brew) → download both directly, then follow 2a steps 3-5
  • If local path(s): Local workflow → continue to step 2b

2. Artifact Collection

2a. URL Workflow
  1. Create temporary working directory
  2. Download files from Copr URL:
    curl -LO <copr-url>/builder-live.log.gz
    curl -LO <copr-url>/*.src.rpm
    curl -LO <copr-url>/root.log.gz      # optional
    curl -LO <copr-url>/state.log        # optional
    
  3. Decompress logs: gunzip *.log.gz (if needed)
  4. Extract SRPM: rpm2cpio *.src.rpm | cpio -idmv
  5. Locate extracted spec file
2b. Local Workflow
  1. Verify build.log exists and is readable
  2. Verify specfile/dist-git path exists
  3. Search for sources if not provided:
    • Check build.log parent directory for *.tar.* or *.src.rpm
    • Check specfile parent directory
    • If dist-git repo, check for sources in repo

Read the full file on GitHub · 153 lines

Changes

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.

  1. 2mo ago First seen · 153 lines · 9 tokens per session scan A 25e44ed9f73b

Subscribe to this mod's changes

rpm-examine is a skill published in the GitHub repository opendatahub-io/ai-helpers (39 stars, last pushed 5d ago), licensed Apache-2.0. It adds 9 tokens to every session and 1,415 once invoked, about $0.0000 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-03.

Related

rpm-examine compared with skills from other repositories

rpm-examine next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rpm-examineopendatahub-io/ai-helpersSkill395d agoApache-2.0A9Claude Code
debugging-strategieswshobson/agentsSkill42kyesterdayMITA43Claude Code
sql-optimization-patternswshobson/agentsSkill42kyesterdayMITA44Claude Code
parallel-debuggingwshobson/agentsSkill42kyesterdayMITA44Claude Code
git-advanced-workflowswshobson/agentsSkill42kyesterdayMITA54Claude Code
error-handling-patternswshobson/agentsSkill42kyesterdayMITA43Claude Code
spark-optimizationwshobson/agentsSkill42kyesterdayMITA37Claude Code