pr-cache-cleanup

Delete local cache files for merged or closed pull requests.

Updated Jan 26, 2026
One-click install
npx skills add https://github.com/marxbiotech/pr-review-toolkit --skill pr-cache-cleanup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-cache-cleanup
Source: https://github.com/marxbiotech/pr-review-toolkit/tree/main/skills/pr-cache-cleanup
Command: npx skills add https://github.com/marxbiotech/pr-review-toolkit --skill pr-cache-cleanup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps manage disk space by removing outdated cache files associated with merged or closed pull requests, preventing clutter and potential performance issues.

Core Features & Use Cases

  • Cache Management: Automatically identifies and deletes cache files for completed PRs.
  • Space Reclamation: Frees up storage by removing stale data.
  • Use Case: After a long project with many PRs, you can run this skill to clear out all the old review cache files, ensuring your system is clean and efficient.

Quick Start

Run a dry run to see which cache files would be deleted.

Frequently Asked Questions about pr-cache-cleanup

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

FAQPage Schema
How do I clean up local cache files for merged or closed pull requests to free up disk space?

To clean up PR cache files, this skill identifies and deletes local cache data for completed pull requests, freeing up disk space. It supports interactive confirmation and dry-run previews before execution to ensure safe removal.

Can I preview which pull request cache files will be deleted before actually removing them?

Yes, you can run a dry-run preview to see which PR cache files would be deleted before any actual removal occurs. This allows you to verify the targeted cache files and prevent accidental data loss.

Does this PR cache cleanup tool require the GitHub CLI to check pull request status?

Yes, the cache cleanup process integrates with GitHub CLI to check pull request status, ensuring it only targets cache files for merged or closed PRs. This prevents deleting cache for active pull requests.

What is the best way to reclaim disk space from old pull request review cache files after a long project?

The best way to reclaim disk space is to run an automated cache cleanup that identifies and deletes stale PR review files. This removes outdated data associated with completed pull requests, preventing clutter and performance issues.

Will clearing old PR cache files affect my active pull requests or local git repository?

Clearing old PR cache files will not affect active pull requests because the cleanup checks PR status via GitHub CLI before deletion. It strictly targets cache data for merged or closed PRs to free up disk space.