using-git-worktrees
Pass
Audited by Gen Agent Trust Hub on Nov 12, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses a provided shell script
scripts/discover-worktree-layout.shand variousgitcommands to identify repository locations, worktree structures, and bare repositories. These operations are performed locally to assist in workspace management. - [INDIRECT_PROMPT_INJECTION]: The skill processes information from the local file system, specifically searching for
.agentsdirectories and analyzing Git repository metadata. The output of the discovery script (e.g., repository paths and layout types) influences the agent's subsequent directory scoping and file access, representing a standard ingestion surface for workspace-aware agents.
Audit Metadata