prior-work-retrieval
Pass
Audited by Gen Agent Trust Hub on Aug 31, 2026
Risk Level: SAFECOMMAND_EXECUTIONPERSISTENCEDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/prior_work.pyscript executes system commands includingripgrep(rg) for searching the filesystem andgitfor checking repository status. It also supports a "command" carrier mode that executes programs defined in a local JSON manifest file. - [PERSISTENCE]: The skill includes an installation script
scripts/prior-work-retrieval.shthat registers hooks in the AI agent's configuration files (~/.claude/settings.jsonand~/.codex/hooks.json). These hooks allow the skill to intercept user prompts and tool usage to enforce its retrieval workflow across sessions. - [DYNAMIC_EXECUTION]: The
scripts/prior_work.pyscript dynamically imports its companion hook scriptscripts/prior_work_hook.pyusing Python'simportlib.utilto access shared classification logic and patterns.
Audit Metadata