awesome-git-history-rebuild SKILL.md skillA
awesome-git-history-rebuild from khasky/awesome-agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add khasky/awesome-agent-skills/awesome-git-history-rebuild@git:20261020.58ea4e8Pins 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-rebuild/SKILL.md- Versions recorded
- 14
- Latest version
- git:20261020.58ea4e8, committed Oct 20, 2026
- First version recorded
- Aug 30, 2026
- Size
- 57,213 bytes
- Repository stars
- 30
- License
- MIT
Erases a repository's history and rebuilds it as a curated commit series over the same tree, with a backup, confirmation gates and a tree-hash proof. Use when asked to rewrite history as readable commits.
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 Rebuild Discard a repository's published history and replay the same file tree as a sequence of commits that reads like the work was done in order: dependencies before the code that uses them, each module its own commit, tests and docs where the repo's own convention puts them, messages in the repo's own format, timestamps spaced instead of stamped to one second. The tree at the end is byte-for-byte what it was at the start — only the path to it is rewritten. Why the ceremony: this is an irreversible, outward-facing rewrite of a shared remote, and it is strictly more dangerous than a plain squash. It destroys every commit *and* invents a new structure to replace them, so a mistake is not just lost history — it is a published history that misrepresents the work. Each gate below closes a specific way that goes wrong: pushing without write access, erasing a contributor's attribution, discovering at commit 14 that the commit-msg hook rejects the format, shipping a changelog full of features that were never split that way, or re-tagging a version that a package registry already froze. ## Core principle …
Read the whole file at its exact version.
How to install
mdr add khasky/awesome-agent-skills/awesome-git-history-rebuild@sha256:75d2672c0b9bc61bThe 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.
[](https://markdownregistry.com/a/art_sdigeacq6cjy6acv)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 14 versions of this file, between Aug 30, 2026 and Oct 20, 2026, about one every 4 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261020.58ea4e8 latest | 2026-10-20 | 58ea4e8 | 57,213 B | A | view · diff |
| git:20261019.a19c2a5 | 2026-10-19 | a19c2a5 | 57,652 B | A | view · diff |
| git:20261010.3b37a6b | 2026-10-10 | 3b37a6b | 57,688 B | A | view · diff |
| git:20260925.eca990b | 2026-09-25 | eca990b | 57,356 B | A | view · diff |
| git:20260925.d850440 | 2026-09-25 | d850440 | 57,469 B | A | view · diff |
| git:20260925.34d9fac | 2026-09-25 | 34d9fac | 101,933 B | A | view · diff |
| git:20260918.18278a0 | 2026-09-18 | 18278a0 | 101,449 B | A | view · diff |
| git:20260918.427dc55 | 2026-09-18 | 427dc55 | 101,113 B | A | view · diff |
| git:20260910.ad72ad4 | 2026-09-10 | ad72ad4 | 100,739 B | A | view · diff |
| git:20260905.1c666a2 | 2026-09-05 | 1c666a2 | 101,623 B | A | view · diff |
| git:20260903.5bc927b | 2026-09-03 | 5bc927b | 101,985 B | A | view · diff |
| git:20260830.a6035fb | 2026-08-30 | a6035fb | 101,961 B | A | view · diff |
| git:20260830.df1dd91 | 2026-08-30 | df1dd91 | 101,397 B | A | view · diff |
| git:20260830.f9a6c53 | 2026-08-30 | f9a6c53 | 100,381 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (57213 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
khasky/awesome-agent-skills · 30 stars · license MIT · pushed 2026-10-20 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_sdigeacq6cjy6acv GET https://markdownregistry.com/api/v1/resolve?ref=khasky/awesome-agent-skills/awesome-git-history-rebuild GET https://markdownregistry.com/api/v1/blob/75d2672c0b9bc61bd871c22f5384a2e4673ea5f8c048b48030a0f41291673f8e
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.