github-commit-recovery

Fetch commit content, diffs, and metadata from GitHub via REST API or git fetch.

375|39|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/overthetopseo/lyrie-agent --skill github-commit-recovery-overthetopseo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-commit-recovery
Source: https://github.com/overthetopseo/lyrie-agent/tree/main/packages/omega-suite/skills/lyrie-intel/github-commit-recovery
Command: npx skills add https://github.com/overthetopseo/lyrie-agent --skill github-commit-recovery-overthetopseo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Access commit content, diffs, and metadata directly from GitHub when you have commit SHAs, including deleted commits that remain accessible on GitHub servers.

Core Features & Use Cases

  • Retrieve commit content, diffs, and patches via REST API, web interface, or git fetch.
  • Verify authorship and provenance of commits, including deleted ones.
  • Investigate forensic scenarios by collecting commit metadata and files.

Quick Start

Provide the repository owner, repository name, and commit SHA to fetch the commit content, diffs, and metadata.

Frequently Asked Questions about github-commit-recovery

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I recover deleted GitHub commits when I have the SHA?

To recover deleted GitHub commits, provide the repository owner, repository name, and commit SHA. The tool fetches content, diffs, and metadata via REST API, web endpoints, or git fetch, even when current branches no longer contain them.

Can I retrieve commit diffs and patches from GitHub via API for forensic investigations?

Yes, you can retrieve commit diffs and patches for forensic investigations. The tool accesses commit content and metadata directly through the REST API and git fetch workflows, supporting code provenance checks and incident response audits.

Does GitHub still serve deleted commits if they are removed from the branch?

Deleted commits often remain accessible on GitHub servers. When you have the specific commit SHA, this tool verifies authorship and provenance by fetching the content and metadata through direct web endpoints and API access.

What do I need to access deleted commit metadata on GitHub repositories?

You need the repository owner, repository name, and the commit SHA. Authenticated access is required when necessary, and the tool operates with appropriate rate limit awareness during REST API and git fetch operations.

What is the best way to verify code provenance for deleted commits in Git?

The best way to verify code provenance for deleted commits is by fetching their content, diffs, and metadata directly via GitHub API and git fetch. This approach supports audit trails and incident response when SHAs are known.

Are there limitations when recovering deleted commits via GitHub API?

Limitations include GitHub API rate limits and the necessity of authenticated access for private repositories. The tool manages rate limit awareness during retrieval, but access depends on the commit remaining available on GitHub servers.