cmd-code-cleanup
Pass
Audited by Gen Agent Trust Hub on Mar 8, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill provides instructions for a pragmatic code cleanup process, focusing on improving code quality through systematic removal of dead code and reduction of duplication.- [COMMAND_EXECUTION]: The skill utilizes the 'grep' command to verify if code elements (imports, functions, classes) are referenced elsewhere in the codebase before they are removed. This is a standard and appropriate use of search tools for a code maintenance task.- [INDIRECT_PROMPT_INJECTION]: The skill involves processing local codebase files, which constitutes external data ingestion. While the skill lacks explicit boundary markers or sanitization logic for the content it reads, it incorporates safety-oriented instructions such as 'Verify Before Delete', 'Ask for confirmation' for major deletions, and providing summary statistics, which mitigates the risk of unintended actions triggered by content within the codebase.
Audit Metadata