token-efficiency
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes
subprocess.callinscripts/setup_student.pyto chain the execution of internal utility scripts such asinstall_skill.py,audit.py, andfix_skills.pyduring the setup process. Additionally,scripts/audit.pyusessubprocess.runto invoke theledger_report.pyscript for cost analysis. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted project data including
CLAUDE.md,.cursorrules, and other instruction files to calculate token efficiency and detect duplicate content. This creates a surface for indirect prompt injection if these files contain instructions targeting the agent's optimization logic. - Ingestion points:
scripts/audit.py(reads rule files and skill metadata) andscripts/compress.py(reads and modifies markdown content). - Boundary markers: The skill does not use explicit delimiters or "ignore instructions" markers when parsing external file content.
- Capability inventory: The skill has capabilities to write to files and execute local commands via the subprocess module.
- Sanitization: Sanitization is limited to regex patterns used for frontmatter parsing and content classification.
- [DYNAMIC_EXECUTION]: The skill performs dynamic execution of its own Python scripts to facilitate its setup and auditing workflows, which are triggered via agent instructions in the provided installation guides.
Audit Metadata