skill-best-practices
Pass
Audited by Gen Agent Trust Hub on Sep 19, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill provides instructions to execute a local validation script (
validate-skills.sh) to ensure skill metadata follows the required format. This script further utilizes standard development tools includingbash,awk,python3, andnpxto perform its checks. - [INDIRECT_PROMPT_INJECTION]: The validation script processes
SKILL.mdfiles within the repository. It specifically targets YAML frontmatter for structure and length checks. It employsyaml.safe_loadwithin a Python sub-process, which is a secure practice for parsing untrusted YAML data to prevent code execution during the parsing phase. - Ingestion points: Reads files located at
.claude/skills/*/SKILL.md. - Boundary markers: Explicitly uses
---YAML delimiters andawkto isolate the frontmatter. - Capability inventory: The script performs read-only validation and shell output; the instructions provide guidance on repository management.
- Sanitization: Implements
yaml.safe_loadto prevent deserialization attacks. - [DYNAMIC_EXECUTION]: The validation script uses
python3 -cto run a short validation routine. This is a standard and safe method for integrating logic within shell scripts for specific formatting checks.
Audit Metadata