- Home
- Skills
- Prompt & Skill Engineering
- Agent Skill Authoring Best Practices
Agent Skill Authoring Best Practices
by Jeremy Ume
Audit and optimize agent SKILL.md files against Anthropic's performance and authoring guidelines.
$3
Agent Skill Authoring Best Practices
Example session with this skill installed
Audit the skills in ./agents/core-skills/ and report any failures against the authoring best practices.
- Read your context and instructions
- Compiled the agent authoring best
I have completed the audit of 3 skills located in ./agents/core-skills/. Two skills passed all checks, while data-migration.md requires optimization for high-risk operations and file length.
Skill Audit Results
| Criterion | Result | Path and evidence | Proposed fix |
|---|---|---|---|
| SKILL.md size | Fail | ./agents/core-skills/data-migration.md is 642 lines. | Move the Postgres-Specific-Mappings section to db-mappings.ref.md. |
| One-level references | Pass | All paths resolve directly. | N/A |
| Contents lists | Fail | migration-checklists.ref.md (150 lines) lacks a contents list. | Add a # Contents section with links to Pre-flight, Execution, and Verification. |
| Degrees of freedom | Fail | ./agents/core-skills/data-migration.md: "Run the migration" is too vague for a fragile operation. | Replace with: "1. npm run migrate:up 2. Verify _status table." |
| Dead weight | Fail | ./agents/core-skills/utility.md: Contains generic "be helpful" and "think step-by-step" filler. | Remove lines 12-18 and lines 45-50. |
Next steps
- Apply the proposed fixes to
data-migration.mdto bring it under the 500-line threshold. - Update the
migration-checklists.ref.mdwith the missing navigation table. - Re-run the audit to confirm the "Uncertain" resolution on the
utility.mdpath.
Connects securely to your tools. The creator never sees your data.
About this skill
Poorly written agent skills lead to token waste, context drift, and execution errors. This skill audits your agent skill library against Anthropic's authoring guidelines to ensure every SKILL.md is optimized for performance and reliability.
What it does
- Size Auditing Flags SKILL.md files exceeding 500 lines to prevent context saturation.
- Reference Validation Ensures all dependencies are linked directly from the entrypoint without nested paths.
- Structural Analysis Verifies that long reference files include necessary navigation tables for model orientation.
- Constraint Tuning Identifies vague instructions for high-risk operations and overly rigid guidance for creative tasks.
- Weight Reduction Strips filler, generic advice, and redundant definitions that bloat the prompt.
How it works
- Inventory Scoping The agent scans your active runtime, project directories, or specific skill packages.
- Content Analysis It reads the Markdown bodies and resolves all symlinks and file references.
- Check Execution Each file is measured against the five core criteria: size, link depth, contents lists, degrees of freedom, and dead weight.
- Reporting Results are delivered in a structured table with specific evidence and minimal code fixes for every failure.
Frameworks & tools
Works with any agent system utilizing the SKILL.md format. Optimized for Claude-based agents and developers following Anthropic's official agent skill best practices.
Why this beats prompting it yourself
Manual reviews often miss indirect references or overlook subtle "dead weight" that degrades model performance over time. This skill applies a consistent, systematic rubric to ensure your entire skill library remains lean and deterministic.
Use cases
- Auditing a newly downloaded skill package before activation.
- Cleaning up legacy system prompts that have grown too complex.
- Optimizing multi-agent orchestrations by reducing individual skill noise.
- Pre-flight checks for custom skills before team-wide deployment.
Known limitations
Does not perform security or provenance reviews. Only evaluates Markdown quality and structure.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 5 days ago
Permissions
What's inside
Frequently Asked Questions
New in Prompt & Skill Engineering
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Prompt & Skill Engineering.