Diagnose and fix skill triggering failures across AI agent ecosystems (OpenClaw, Claude Code, and compatible agentskills.io platforms).
65% of skills fail to trigger due to preventable description issues (GitHub #43410). This skill systematically detects and fixes those issues.
When a skill fails to trigger, check these causes in order (most common first):
Bad: "Helps with documents." — no trigger, just capability
Good: "Use when the user asks to extract form fields, fill, redact, or parse tables from a PDF file."
Fix: Rewrite using the Description Design Pattern below.
Common breakages:
name: or description: fieldFix: Run scripts/audit_skills.py to detect format errors automatically.
When total description text exceeds the agent's character budget, skills get silently dropped from context.
Symptoms: Skill works alone but stops triggering after installing more skills.
Fix: Tighten every description to <150 chars. Set SLASH_COMMAND_TOOL_CHAR_BUDGET=30000 if >3 skills.
~/.openclaw/skills/, <workspace>/skills/, or ~/.openclaw/workspace/skills/)sessionTarget: "main")Fix: Run scripts/audit_skills.py --paths to verify discovery status.
Fix: Use the Conflict Detection section below.
Based on 650-trial activation study (Ivan Seleznov, 2026) and agentskills.io best practices.
text
[Trigger condition] + [Capability declaration] + [Search vocabulary]
Example:
text
Use when creating, editing, or auditing PowerPoint presentations (.pptx).
Covers layouts, placeholders, charts, notes, and visual QA.
Triggers on: PPT, PPTX, slides, deck, presentation, 幻灯片, 演示文稿.
StyleActivation RateExampleDirective ( ALWAYS invoke when...)~100%"ALWAYS invoke when the user asks about weather, temperature, or forecasts. Do not attempt weather lookups without this skill."Descriptive ( Helps with...)~37%"Helps with weather information."
bash
python3 scripts/audit_skills.py --skills-dir <path> [--json] [--fix]
The script checks:
For skills scoring below 70/100, review against the Description Design Pattern above.
Use --fix flag for auto-remediation of common issues:
After fixing, restart the agent session and test with natural language triggers.
When multiple skills could match the same query, the agent may pick the wrong one.
Detection rules:
Fix: Add negative constraints to each skill: "Do NOT use for [the other skill's domain]."
For detailed case studies and solutions from community reports, read references/failure-patterns.md.
Agent systems load all skill descriptions into context at startup. When the total exceeds the budget:
Guidelines:
After fixing descriptions, collect real failure cases:
scripts/analyze_failures.py to identify patternsThis creates a feedback loop that continuously improves trigger accuracy.