What problem does it solve? Agents working on a source tree need a local checkout that is current with the remote default branch before reading or modifying code. This Skill standardizes cloning on first run and safely refreshing the checkout on later runs, avoiding stale-code mistakes and destructive git operations. ## Core Features & Use Cases - Idempotent clone-or-refresh: Detects whether the checkout exists and either clones into the mounted volume or runs fetch plus fast-forward-only pull. - Safe failure handling: Refuses to merge diverged branches, never force-resets, and surfaces auth or network errors to the user instead of retrying blindly. - Agent-agnostic configuration: Reads the repo URL, checkout path, and default branch from the agent's CLAUDE.md, so one Skill serves an entire agent family. - Use Case: Before starting a code-modification task, an agent runs this Skill to guarantee its workspace source volume matches the remote main branch, then pins its git identity for subsequent commits. ## Quick Start Ask the agent to sync the source by saying "pull latest" or "refresh the repo" before starting any code-modification task.