Enhance Agent Prompts

•
692
•

Audits and optimizes agent prompt files to improve instruction following, tool security, and reasoning performance.

This skill analyzes AI agent markdown files to ensure they adhere to rigorous prompt engineering best practices, such as the 'Intern Test' for descriptions and the Principle of Least Privilege for tool access. It checks for over 30 specific patterns across frontmatter, structural organization, and instruction clarity, helping developers prevent common failures like tool bloat, vague constraints, or recursive subagent loops. By providing automated fixes and detailed reporting, it ensures that primary agents and subagents perform reliably across platforms like Claude Code, OpenCode, and Codex.

主要功能

01Automated fixes for frontmatter and unrestricted tool access
02Intern Test validation for trigger-based agent descriptions
03Security auditing for Bash command scoping and input validation
04Cross-platform support for Claude Code, OpenCode, and Codex file structures
0530+ automated prompt engineering pattern checks
06692 GitHub stars

使用场景

01Optimizing subagent prompts to prevent recursive tool loops and token bloat
02Refining agent instructions to utilize stronger constraint language and XML structures
03Auditing repository-wide agent files for security vulnerabilities and least privilege