cross-repo-cache

Validate cached cross-repo coordinator results by comparing peer repository git hashes.

102|10|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/closedloop-ai/claude-plugins --skill cross-repo-cache
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cross-repo-cache
Source: https://github.com/closedloop-ai/claude-plugins/tree/main/plugins/code/skills/cross-repo-cache
Command: npx skills add https://github.com/closedloop-ai/claude-plugins --skill cross-repo-cache

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill prevents redundant and costly Sonnet agent launches by checking if previous cross-repo coordinator results are still valid, avoiding unnecessary work when peer repositories haven't changed.

Core Features & Use Cases

  • Cache Validation: Compares current peer repository git hashes against stored hashes from the last coordinator run.
  • Conditional Execution: Triggers automatically before discovering peers in Phase 1.4.1.
  • Output Control: Returns CROSS_REPO_CACHE_HIT with cached status or CROSS_REPO_CACHE_MISS to signal whether to re-run the coordinator.
  • Use Case: In a multi-repository project, if only one repository has been updated since the last cross-repo coordination, this skill will detect that and reuse the existing coordination results, saving significant processing time.

Quick Start

Use the cross-repo-cache skill to check if cross-repo coordinator results can be reused.

Frequently Asked Questions about cross-repo-cache

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

FAQPage Schema
How do I prevent redundant agent executions across multiple git repositories?

Caching cross-repo coordinator results prevents redundant agent executions by comparing current peer repository git hashes against stored hashes from the last run, returning a cache hit or miss status to control re-runs.

How does git hash comparison work for cross-repo cache validation?

Git hash comparison for cross-repo cache validation checks current peer repository git hashes against stored hashes from the last coordinator run, triggering before peer discovery in Phase 1.4.1 to return a cache hit or miss status.

When should I use a cross-repo cache to skip coordinator runs?

You should use a cross-repo cache to skip coordinator runs in multi-repository projects when peer repositories have not changed since the last coordination, saving significant processing time by avoiding unnecessary Sonnet agent launches.

What does CROSS_REPO_CACHE_HIT or CROSS_REPO_CACHE_MISS mean for output control?

CROSS_REPO_CACHE_HIT and CROSS_REPO_CACHE_MISS are output control signals indicating whether stored coordinator results are still valid, determining whether the system should reuse existing results or re-run the coordinator.

Do I need any external dependencies to validate cached cross-repo coordinator results?

You do not need any external dependencies to validate cached cross-repo coordinator results, as the skill operates independently using internal scripts to compare git hashes and trigger automatically during Phase 1.4.1.