effective-agent-skills

Guides authoring, testing, and debugging of SKILL.md agent skill files.

60|11|Updated Jun 15, 2026
One-click install
npx skills add https://github.com/matyasstoch/david-skills --skill effective-agent-skills-matyasstoch
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: effective-agent-skills
Source: https://github.com/matyasstoch/david-skills/tree/main/skills/effective-agent-skills
Command: npx skills add https://github.com/matyasstoch/david-skills --skill effective-agent-skills-matyasstoch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing agent skills that trigger reliably and execute correctly is hard: vague descriptions break routing, bloated bodies waste context, and untested skills fail silently. This Skill provides a complete methodology for designing, writing, testing, and securing SKILL.md files. ## Core Features & Use Cases - Skill Authoring Guidance: Covers SKILL.md anatomy, frontmatter constraints, description-as-routing-contract patterns, and the two design philosophies (capability primitives vs process primitives). - Anti-Patterns & Debugging: Lists common mistakes (vague descriptions, monolithic mega-skills, re-teaching model knowledge) and a systematic workflow for fixing routing vs execution failures. - Security & Ship Checklists: Provides audit steps for third-party skills (prompt injection, data exfiltration, typosquatting) and a pre-publish checklist. - Use Case: When your custom skill is not triggering, use this Skill to diagnose whether the description lacks trigger phrases, then rewrite it with the what + when + differentiator pattern. ## Quick Start Review my SKILL.md file and tell me why it is not triggering and how to improve its description and structure.

Frequently Asked Questions about effective-agent-skills

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write an effective SKILL.md description?▼

A SKILL.md description should include three elements: what the skill does, when to use it with concrete trigger phrases, and a differentiator from related skills. The description is the only text the agent sees before deciding to load the skill, so routing failures are almost always description problems.

Why is my agent skill not triggering?▼

Skills fail to trigger when the description lacks the specific phrases users actually say. Add explicit trigger phrases and situations to the description, then test by asking the agent a matching request without naming the skill directly.

How long should a SKILL.md file be?▼

The official ceiling is under 500 lines, but the practical target is under 100 lines. Content beyond that should move into a references/ directory that the agent loads only when needed, keeping activation cheap.

What is progressive disclosure in agent skills?▼

Progressive disclosure is the three-stage loading model: name and description stay in context for discovery, the full SKILL.md body loads on activation, and referenced files or scripts load only on demand. This keeps bundled content from consuming tokens until accessed.

Are third-party agent skills safe to install?▼

Third-party skills can execute arbitrary code and steer agent behavior, so audit every file before installing. Check scripts for unexpected network calls or file access, scan references for prompt injection, verify the name is not typosquatting, and run in a sandbox first.