setup-pi
Pass
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: SAFECOMMAND_EXECUTIONPERSISTENCEDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes git commands (e.g.,
git worktree,git branch,git cherry,git apply) to manage development workflows. These are well-defined and standard operations for the stated purpose. - [PERSISTENCE]: The skill modifies shell startup scripts (
.bashrc,.zshrc, and PowerShell$PROFILE) to define thepiwandpiw-cleanfunctions. While these files persist code across sessions, this is the intended functionality of a shell configuration skill. The skill includes safeguards such as checking for existing definitions and placing functions before non-interactive guards in bash. - [DYNAMIC_EXECUTION]: The PowerShell configuration dynamically wraps the existing
promptfunction to add directory tracking for Windows Terminal. This is achieved by capturing the currentScriptBlockand calling it within a new globalpromptdefinition, which is a standard method for prompt customization. - [SAFE]: The skill demonstrates high attention to safety by:
- Explicitly warning the user that
piw-cleanmay cause data loss for uncommitted changes in a worktree. - Requiring manual confirmation before any file writes.
- Handling file encoding (UTF-8 with BOM) correctly for PowerShell compatibility.
- Avoiding network operations and external downloads.
Audit Metadata