Agent skill · AI & Agents

enhance-agent-prompts

Use when improving agent prompts, frontmatter, and tool restrictions.

agent-sh404★ · +29/wk · 2 repos on radarProfile →
claude-codecodexcursorMIT
Install
npx skills add agent-sh/agentsys --skill enhance-agent-prompts --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 7 KB
Bundled scripts: none
Version: 5.1.0
Path: .kiro/skills/enhance-agent-prompts/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 923
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# enhance-agent-prompts Analyze agent prompt files for prompt engineering best practices. ## Parse Arguments ```javascript const args = '$ARGUMENTS'.split(' ').filter(Boolean); const targetPath = args.find(a => !a.startsWith('--')) || '.'; const fix = args.includes('--fix'); const verbose = args.includes('--verbose'); ``` ## Agent File Locations | Platform | Global | Project | |----------|--------|---------| | Claude Code | `~/.claude/agents/*.md` | `.claude/agents/*.md` | | OpenCode | `~/.config/opencode/agents/*.md` | `.opencode/agents/*.md` | | Codex | `~/.codex/skills/` | `AGENTS.md` | ## Workflow 1. **Discover** - Find agent .md files 2. **Parse** - Extract frontmatter, analyze content 3. **Check** - Run 30 pattern checks 4. **Report** - Generate markdown output 5. **Fix** - Apply auto-fixes if --fix flag ## Detection Patterns ### 1. Frontmatter (HIGH) ```yaml --- name: agent-name # Required: kebab-case description: "What and when" # Required: WHEN to use (see "Intern Test") tools: Read, Glob, Grep # Required: restricted list model: sonnet # Optional: opus | sonnet | haiku --- ``` **Model Selection:** - **opus**: Complex reasoning, errors compound - **sonnet**: Most agents, va

What's inside
Steps it walks through
  1. Parse Arguments
  2. Agent File Locations
  3. Workflow
  4. Detection Patterns
  5. 1. Frontmatter (HIGH)
  6. 2. Structure (HIGH)
  7. 3. Instruction Effectiveness (HIGH)
  8. 4. Tool Configuration (HIGH)
  9. 5. Subagent Config (MEDIUM)
  10. 6. XML Structure (MEDIUM)
  11. 7. Chain-of-Thought (MEDIUM)
  12. 8. Examples (MEDIUM)
  13. 9. Loop Termination (MEDIUM)
  14. 10. Error Handling (MEDIUM)
More from agentsys
All skills →
About this skill
What does the enhance-agent-prompts skill do?

Use when improving agent prompts, frontmatter, and tool restrictions.

How do I install it?

Run `npx skills add agent-sh/agentsys --skill enhance-agent-prompts --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From agent-sh/agentsys, a repository with 923 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going