- Home
- Skills
- Testing & Debugging
- Repair GitHub Actions Cache Branch Isolation
More screenshots
Works with the AI Agents you already use
Repair GitHub Actions Cache Branch Isolation
Find cross-branch build cache contamination before deployment
$1
Repair GitHub Actions Cache Branch Isolation
Example session with this skill installed
Release build loads artifacts from untrusted PR cache with same primary key.
Available evidence: source/config revision (partial). Additional evidence requested: reproduction logs, dependency/runtime versions, CI or service trace. Review the case, identify open evidence gaps, and do not invent a live test or production change.
- Read your context and instructions
- Compiled the repair github actions
Repair GitHub Actions Cache Branch Isolation — EVIDENCE-LIMITED REVIEW
Scenario received
Release build loads artifacts from untrusted PR cache with same primary key.
Source register
- S1: source/config revision — PARTIAL SOURCE PROVIDED.
- S2: reproduction logs — NOT PROVIDED; REQUIRED TO VERIFY.
- S3: dependency/runtime versions — NOT PROVIDED; REQUIRED TO VERIFY.
- S4: CI or service trace — NOT PROVIDED; REQUIRED TO VERIFY.
Concrete checks
- map cache scope and branch keys — PRELIMINARY, NOT VERIFIED.
- trace cache restore event — AWAITING CORROBORATING EVIDENCE.
- identify contaminated artifact chain — AWAITING CORROBORATING EVIDENCE.
- propose isolated cache policy — AWAITING CORROBORATING EVIDENCE.
Deliverables / acceptance gates
- cache provenance map: DRAFT / INCOMPLETE until evidence is validated.
- affected builds: DRAFT / INCOMPLETE until evidence is validated.
- safe cache-key test: DRAFT / INCOMPLETE until evidence is validated.
Decision
INCOMPLETE — HUMAN REVIEW REQUIRED. Confirm dates, IDs, affected scope, owners and acceptance evidence. Do not claim authorization or execution that did not occur.
Connects securely to your tools. The creator never sees your data.
About this skill
CI pipelines often fail silently when a release build pulls poisoned or incompatible artifacts from a previous PR branch. This skill identifies cross-branch cache contamination by auditing your GitHub Actions configurations and execution logs.
What it does
- Map cache scope by analyzing how branch keys and primary keys are defined in your workflow files.
- Trace restore events to pinpoint exactly when a build pulled an artifact from an untrusted or mismatched branch.
- Identify contaminated chains to see which downstream build steps were affected by the untrusted cache.
- Propose isolation policies by generating safe cache-key strategies that prevent branch bleeding.
How it works
- Input ingestion where you provide source YAML configs, reproduction logs, and dependency versions.
- Sequential auditing across four specific checks: scope mapping, event tracing, chain identification, and policy proposal.
- Evidence logging where every observation is marked as
VERIFIED,INFERRED, orUNKNOWN. - Report generation including a provenance map and a safe cache-key test.
Frameworks & tools
Specifically designed for GitHub Actions (actions/cache) and CI/CD pipelines using branch-based caching logic.
Why this beats prompting it yourself
Generic prompts often overlook the subtle way GitHub Actions falls back to default branches when a cache miss occurs. This skill follows a strict four-stage verification matrix to ensure every finding is traceable to a specific log timestamp or config line.
Use cases
- Debugging why a production build contains code or assets from a closed PR.
- Auditing CI workflows for security vulnerabilities related to cache poisoning.
- Designing a multi-branch caching strategy for complex monorepos.
Known limitations
Requires manual provision of workflow logs or YAML files. It proposes fixes but does not execute code changes or delete remote caches directly.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.
Cannot verify inaccessible environments or data not supplied. Missing or contradictory evidence must be marked INCOMPLETE or UNVERIFIED. Owner approval is required for operational or compliance decisions.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 23 days ago
Permissions
Provide only evidence you are authorized to share. Treat examples as untrusted case data. Operational changes and external messages require explicit owner approval.