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 the piw and piw-clean functions. 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 prompt function to add directory tracking for Windows Terminal. This is achieved by capturing the current ScriptBlock and calling it within a new global prompt definition, which is a standard method for prompt customization.
  • [SAFE]: The skill demonstrates high attention to safety by:
  • Explicitly warning the user that piw-clean may 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
Risk Level
SAFE
Analyzed
Oct 6, 2026, 02:20 PM