github-commit-recovery

github-commit-recovery is a skill for Claude Code, Codex from gadievron/raptor. It costs 59 tokens per session (2,363 once invoked), scanned A, original, no licence file.

A set of methods for retrieving Git commits that were deleted from a repository's visible history. It works from commit identifiers and can recover the commit contents, changes, or patch files when GitHub still retains them.

In plain words
What is it for?
Use it to fetch deleted commits through GitHub's API, website, or Git, then inspect their code changes.
Why use it?
It helps when a needed commit is no longer shown in the repository but its identifier is known.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/gadievron/raptor/github-commit-recovery
Any agent
npx skills add gadievron/raptor --skill github-commit-recovery
Clone the repo
git clone --depth 1 https://github.com/gadievron/raptor

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 github-commit-recovery

README.md
[![agentmods](https://agentmods.dev/badge/skills/gadievron/raptor/github-commit-recovery.svg)](https://agentmods.dev/skills/gadievron/raptor/github-commit-recovery)
Your own site
<a href="https://agentmods.dev/skills/gadievron/raptor/github-commit-recovery"><img src="https://agentmods.dev/badge/skills/gadievron/raptor/github-commit-recovery.svg" alt="Measured on agentmods" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,363 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin unknown 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 $0.00059 $0.02363
Opus 5 $0.00030 $0.01182
Sonnet 5 $0.00012 $0.00473
Haiku 4.5 $0.00006 $0.00236

Measured yesterday against content hash d162ab26f6c2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

github-commit-recovery 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 yesterday.

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 -L https://github.com/org/repo/commit/FULL_COMMIT_SHA.patch
.claude/skills/oss-forensics/github-commit-recovery/SKILL.md · 305 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. yesterday First seen · 305 lines · 59 tokens per session scan A d162ab26f6c2

Subscribe to this mod's changes

github-commit-recovery is a skill published in the GitHub repository gadievron/raptor (3,709 stars, last pushed 3d ago), with no licence file. It adds 59 tokens to every session and 2,363 once invoked, about $0.0003 per session on Opus 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

Other skills, from other repositories

github-secret-hunting

Find leaked API keys, tokens, and credentials in public GitHub repositories.

uphiago/recon-skills · 20 tokens

incident-response-expert

Expert in security incident response, NIST framework, digital forensics, containment strategies, and recovery procedures. Use when the user mentions forensics, NIST, containment, recovery, or cybersecurity, or when the task involves NIST Incident Response Lifecycle, Incident Classification, Incident Response Workflow…

personamanagmentlayer/pcl · 67 tokens

issue-triage

Issue triage: audit open issues, categorize, detect duplicates, cross-ref PRs, risk assessment, post comments. Args: "all" for deep analysis of all, issue numbers to focus (e.g. "42 57"), "en"/"fr" for language, no arg = audit only in French.

rtk-ai/rtk · 70 tokens

agent-harness-fault-injection

Use when an agent workflow needs deterministic recovery evidence for sandbox, MCP/tool, worker, checkpoint, memory, or orchestration failures.

sickn33/agentic-awesome-skills · 34 tokens

acquiring-disk-image-with-dd-and-dcfldd

Create forensically sound bit-for-bit disk images with dd or dcfldd on a Linux forensic workstation, preserving evidence integrity through hash verification (MD5/SHA) during acquisition. Use when imaging a suspect drive, USB device, or memory card for investigation, preserving volatile disk evidence during incident…

mukul975/Anthropic-Cybersecurity-Skills · 92 tokens

analyzing-linux-kernel-rootkits

Detect kernel-level rootkits in Linux memory dumps using Volatility3 linux plugins (checksyscall, lsmod, hiddenmodules), rkhunter system scanning, and /proc vs /sys discrepancy analysis to identify hooked syscalls, hidden kernel modules, and tampered system structures.

mukul975/Anthropic-Cybersecurity-Skills · 65 tokens