awesome-git-history-salvage SKILL.md skillA

awesome-git-history-salvage from khasky/awesome-agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add khasky/awesome-agent-skills/awesome-git-history-salvage@git:20261020.58ea4e8

Pins git:20261020.58ea4e8 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
khasky/awesome-agent-skills
Path
skills/awesome-git-history-salvage/SKILL.md
Versions recorded
15
Latest version
git:20261020.58ea4e8, committed Oct 20, 2026
First version recorded
Aug 30, 2026
Size
22,319 bytes
Repository stars
30
License
MIT

Read-only recovery of every commit a repository ever held, force-pushed history included, from refs, PR refs, backups and the host's activity log. Use when asked what a repo held before a rewrite.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Git History Salvage

Answer one question completely: what has this repository ever contained? Not what `git log` shows — that is only the current branch. The full set includes commits erased by every force-push the repository has taken, commits that live only on a merged pull request's ref, and commits on branches deleted years ago.

Why it is not just `git log --all`: a force-push replaces a ref, it does not delete objects. The objects stay on the host, unreachable, and the host keeps a public record of every ref state in its activity log. Those two facts together are what makes the old history recoverable — but only if you know that `git fetch origin <sha>` serves an unreachable commit while `GET /repos/{owner}/{repo}/commits/{sha}` answers `422 No commit found` for the same SHA. The git protocol succeeds where REST refuses, and that asymmetry is the whole technique.

## Core principle
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add khasky/awesome-agent-skills/awesome-git-history-salvage@sha256:46093b23a47710c1

The line at the top of this page pins the label git:20261020.58ea4e8, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_pdzfoodar6ixqkrx.svg)](https://markdownregistry.com/a/art_pdzfoodar6ixqkrx)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 15 versions of this file, between Aug 30, 2026 and Oct 20, 2026, about one every 4 days.

versioncommittedcommitsizeaudit
git:20261020.58ea4e8 latest2026-10-20 58ea4e8 22,319 BA view · diff
git:20261019.a19c2a52026-10-19 a19c2a5 22,765 BA view · diff
git:20261018.a4259a52026-10-18 a4259a5 22,733 BA view · diff
git:20261010.3b37a6b2026-10-10 3b37a6b 22,639 BA view · diff
git:20260925.eca990b2026-09-25 eca990b 22,228 BA view · diff
git:20260925.d8504402026-09-25 d850440 22,336 BA view · diff
git:20260925.34d9fac2026-09-25 34d9fac 22,683 BA view · diff
git:20260918.18278a02026-09-18 18278a0 22,450 BA view · diff
git:20260918.427dc552026-09-18 427dc55 22,351 BA view · diff
git:20260910.ad72ad42026-09-10 ad72ad4 22,145 BA view · diff
git:20260905.8f890b12026-09-05 8f890b1 22,289 BA view · diff
git:20260830.a6035fb2026-08-30 a6035fb 22,739 BA view · diff
git:20260830.1286b5c2026-08-30 1286b5c 22,272 BA view · diff
git:20260830.02993b42026-08-30 02993b4 16,399 BA view · diff
git:20260830.cc7dede2026-08-30 cc7dede 16,439 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (22319 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

khasky/awesome-agent-skills · 30 stars · license MIT · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_pdzfoodar6ixqkrx
GET https://markdownregistry.com/api/v1/resolve?ref=khasky/awesome-agent-skills/awesome-git-history-salvage
GET https://markdownregistry.com/api/v1/blob/46093b23a47710c1395958f0fab4fe132f7241c6eda1f21c401f7d7d8573b2b3

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from khasky/awesome-agent-skills

AGENTS.md AGENTS.md file
khasky/awesome-agent-skills · AGENTS.md
git:20261018.a4259a5 · audit A · 30 stars
CLAUDE.md CLAUDE.md file
khasky/awesome-agent-skills · CLAUDE.md
git:20260912.c0b82df · audit B · 30 stars
llms.txt llms.txt file
khasky/awesome-agent-skills · llms.txt
git:20261010.3b37a6b · audit A · 30 stars
awesome-accessibility-audit SKILL.md skill
khasky/awesome-agent-skills · skills/awesome-accessibility-audit/SKILL.md · Read-only WCAG audit of UI and markup with a concrete fix per finding. Use when asked to check accessibility, a11y…
git:20261020.58ea4e8 · audit A · 30 stars
awesome-agents-md-generator SKILL.md skill
khasky/awesome-agent-skills · skills/awesome-agents-md-generator/SKILL.md · Mines a codebase's real commands, conventions and boundaries into an agent-agnostic AGENTS.md, nested per package in…
git:20261018.a4259a5 · audit A · 30 stars
awesome-api-design SKILL.md skill
khasky/awesome-agent-skills · skills/awesome-api-design/SKILL.md · Designs or reviews an HTTP API's shape before code: resources, versioning, pagination, idempotency, filtering. Use when…
git:20261018.a4259a5 · audit A · 30 stars
awesome-architecture-audit SKILL.md skill
khasky/awesome-agent-skills · skills/awesome-architecture-audit/SKILL.md · Read-only audit of a whole codebase's design: module boundaries, dependency direction, docs-vs-code drift…
git:20261019.a19c2a5 · audit B · 30 stars
awesome-bug-fix SKILL.md skill
khasky/awesome-agent-skills · skills/awesome-bug-fix/SKILL.md · Fixes a bug through a runnable reproduction and its root cause. Use for errors, crashes, failing tests or builds, flaky…
git:20261020.58ea4e8 · audit A · 30 stars
awesome-claims-audit SKILL.md skill
khasky/awesome-agent-skills · skills/awesome-claims-audit/SKILL.md · Checks public claims (site, README, store listing, privacy policy, structured data) against the code and config that…
git:20261019.a19c2a5 · audit A · 30 stars
awesome-code-cleanup SKILL.md skill
khasky/awesome-agent-skills · skills/awesome-code-cleanup/SKILL.md · Behavior-preserving cleanup of AI-like code noise: narrating comments, dead code, vague names, over-abstraction. Use…
git:20261020.58ea4e8 · audit A · 30 stars
awesome-code-docs SKILL.md skill
khasky/awesome-agent-skills · skills/awesome-code-docs/SKILL.md · Generates a full, cited technical documentation set for a codebase, local or from any git URL: architecture, module and…
git:20261018.a4259a5 · audit A · 30 stars
awesome-code-explainer SKILL.md skill
khasky/awesome-agent-skills · skills/awesome-code-explainer/SKILL.md · Explains how a codebase works, local or from any git URL, as one illustrated page: purpose, stack, structure, entry…
git:20261018.a4259a5 · audit A · 30 stars

Every file in khasky/awesome-agent-skills

Browse by kind, by grade A, or by owner.