rdf4j: Skill for Claude Code

.agent/skills/gh-read-inspector/SKILL.md

gh-read-inspector is a skill for Claude Code, Codex from eclipse-rdf4j/rdf4j. It costs 76 tokens per session (1,088 once invoked), scanned A, original, BSD-3-Clause.

A read-only GitHub lookup tool for retrieving detailed information about issues, pull requests, and milestones.

In plain words
What is it for?
Use it to inspect issue and pull-request details, find a pull request from a commit or issue number, read milestone information, and list milestone issues.
Why use it?
It provides complete GitHub context without risking accidental changes to issues or pull requests.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

This is eclipse-rdf4j/rdf4j's own configuration. It tells Claude Code and Codex how to work on rdf4j itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything rdf4j configures →

Reuse

Borrowing it

Nothing to install: this file belongs to eclipse-rdf4j/rdf4j. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/eclipse-rdf4j/rdf4j/main/.agent/skills/gh-read-inspector/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/eclipse-rdf4j/rdf4j

Made for: Claude Code, Codex.

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 gh-read-inspector

README.md
[![agentmods](https://agentmods.dev/badge/skills/eclipse-rdf4j/rdf4j/gh-read-inspector/github.svg)](https://agentmods.dev/skills/eclipse-rdf4j/rdf4j/gh-read-inspector)
Your own site
<a href="https://agentmods.dev/skills/eclipse-rdf4j/rdf4j/gh-read-inspector"><img src="https://agentmods.dev/badge/skills/eclipse-rdf4j/rdf4j/gh-read-inspector/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 gh-read-inspector

Your own site · 80×15
<a href="https://agentmods.dev/skills/eclipse-rdf4j/rdf4j/gh-read-inspector"><img src="https://agentmods.dev/badge/skills/eclipse-rdf4j/rdf4j/gh-read-inspector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,088 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 10
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00076 $0.01088
Opus 5 $0.00038 $0.00544
Sonnet 5 $0.00015 $0.00218
Haiku 4.5 $0.00008 $0.00109

Measured 9d ago against content hash dc37b86b3284, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

gh-read-inspector 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/gh_read_inspector.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agent/skills/gh-read-inspector/SKILL.md · 55 lines

How it starts

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

gh-read-inspector

Use this skill for GitHub metadata lookup only. No write operations.

Guardrails

  • Use only python3 .codex/skills/gh-read-inspector/scripts/gh_read_inspector.py ....
  • Do not run ad-hoc gh commands from this skill.
  • If gh is missing, stop and ask the user to install GitHub CLI (https://cli.github.com/).

Commands

  • Issue details:
    • python3 .codex/skills/gh-read-inspector/scripts/gh_read_inspector.py issue --repo owner/repo --issue 123
  • PR details by PR number:
    • python3 .codex/skills/gh-read-inspector/scripts/gh_read_inspector.py pr --repo owner/repo --pr 123
  • PR details by issue number:
    • python3 .codex/skills/gh-read-inspector/scripts/gh_read_inspector.py pr --repo owner/repo --issue 123
  • PR details by commit SHA:
    • python3 .codex/skills/gh-read-inspector/scripts/gh_read_inspector.py pr --repo owner/repo --commit <sha>
  • Milestone details (number or exact title):
    • python3 .codex/skills/gh-read-inspector/scripts/gh_read_inspector.py milestone --repo owner/repo --milestone 7
    • python3 .codex/skills/gh-read-inspector/scripts/gh_read_inspector.py milestone --repo owner/repo --milestone "Release 4.3"
  • Milestone issues:
    • python3 .codex/skills/gh-read-inspector/scripts/gh_read_inspector.py milestone-issues --repo owner/repo --milestone 7 --state all
  • Show exact whitelist:
    • python3 .codex/skills/gh-read-inspector/scripts/gh_read_inspector.py whitelist

Whitelist

The script can execute only these command templates:

  • gh api -H "Accept: application/vnd.github+json" /repos/{repo}/issues/{issue}
  • gh api -H "Accept: application/vnd.github+json" /repos/{repo}/issues/{issue}/comments?per_page={per_page}&page={page}
  • gh api -H "Accept: application/vnd.github+json" /repos/{repo}/issues/{issue}/events?per_page={per_page}&page={page}
  • gh api -H "Accept: application/vnd.github+json,application/vnd.github.mockingbird-preview+json" /repos/{repo}/issues/{issue}/timeline?per_page={per_page}&page={page}
  • gh api -H "Accept: application/vnd.github+json" /repos/{repo}/pulls/{pr}
  • gh api -H "Accept: application/vnd.github+json" /repos/{repo}/issues/{pr}/comments?per_page={per_page}&page={page}
  • gh api -H "Accept: application/vnd.github+json" /repos/{repo}/pulls/{pr}/reviews?per_page={per_page}&page={page}
  • gh api -H "Accept: application/vnd.github+json" /repos/{repo}/pulls/{pr}/comments?per_page={per_page}&page={page}
  • gh api -H "Accept: application/vnd.github+json" /repos/{repo}/issues/{pr}/events?per_page={per_page}&page={page}
  • gh api -H "Accept: application/vnd.github+json" /repos/{repo}/pulls/{pr}/commits?per_page={per_page}&page={page}
  • gh api -H "Accept: application/vnd.github+json" /repos/{repo}/pulls/{pr}/files?per_page={per_page}&page={page}
  • gh api -H "Accept: application/vnd.github+json" /repos/{repo}/commits/{commit}/pulls?per_page={per_page}&page={page}
  • gh api -H "Accept: application/vnd.github+json" /repos/{repo}/commits/{commit}/check-runs
  • gh api -H "Accept: application/vnd.github+json" /repos/{repo}/commits/{commit}/status
  • gh api -H "Accept: application/vnd.github+json" /repos/{repo}/milestones/{milestone}
  • gh api -H "Accept: application/vnd.github+json" /repos/{repo}/milestones?state=all&per_page={per_page}&page={page}
  • gh api -H "Accept: application/vnd.github+json" /repos/{repo}/issues?milestone={milestone}&state={state}&per_page={per_page}&page={page}

Read the full file on GitHub · 55 lines

Files

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.

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. 9d ago First seen · 55 lines · 76 tokens per session scan A dc37b86b3284

Subscribe to this mod's changes

gh-read-inspector is a skill published in the GitHub repository eclipse-rdf4j/rdf4j (412 stars, last pushed yesterday), licensed BSD-3-Clause. It adds 76 tokens to every session and 1,088 once invoked, about $0.0004 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-09-03.