/kibana-code-quality-suite:skill-curatorfrom kibana-code-quality-suite
Maintain skill ecosystem quality, discoverability, and security. Auto-runs after skill creation/modification to validate conventions, check security, detect similarity overlaps, generate searchable catalog, suggest MCP tool integrations, track usage analytics, and optimize skills for token efficiency. Use when creating/reviewing skills, generating skill catalog, checking for duplicates, maintaining ecosystem health, or reducing token footprint of a skill.
Ships in kibana-code-quality-suite. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Purpose: Comprehensive skill ecosystem quality assurance, discoverability, and security. Maintains skill quality gates, generates searchable catalogs, detects overlapping skills, suggests MCP tool integrations, and tracks usage analytics.
Context: You have 34+ skills in ~/.agents/skills/ and the ecosystem is growing. Need automated curation to prevent: (1) security vulnerabilities, (2) duplicate/overlapping skills, (3) convention violations, (4) missed MCP tool integration opportunities, (5) unused/stale skills.
Integration with MCP: Uses agent-builder-skill-dev MCP server for similarity detection and ecosystem audits.
Automatic activation:
create-skill)Manual invocation:
/skill-curator [mode]
Modes:
review <skill-path> — Full quality review of a single skillcatalog — Generate searchable skill catalogsimilarity <skill-path> — Check for overlapping skillsecosystem-audit — Full ecosystem health checksuggest-tools <skill-path> — Suggest relevant MCP toolsusage-analytics — Analyze skill usage from conversation historyauto-update <api-name> — Find skills using deprecated APItoken-optimize <skill-path> — Analyze and reduce token footprint of a skillSee references/mode-workflows.md for detailed step-by-step workflows.
Goal: Validate a newly created/modified skill meets all quality gates.
Steps:
skill-security-review)agent-builder-skill-dev)Output: ~/.agents/skills/<skill-name>/QUALITY_REPORT.md
Quality gates:
Goal: Generate searchable index of all skills by category.
Steps:
~/.agents/skills/~/.agents/SKILL_CATALOG.md with descriptions, triggers, MCP tools, usage statsCategories: Kibana-specific, Development workflow, Quality assurance, Documentation, Refactoring, Observability, Security
See references/catalog-template.md for full template.
Goal: Find overlapping skills using semantic similarity.
Steps:
agent-builder-skill-dev.analyze_skill_similarityOutput: Similarity report with recommendations
Goal: Full pairwise similarity audit to find all overlapping skills.
Steps:
agent-builder-skill-dev.audit_skill_ecosystemOutput: ~/.agents/ECOSYSTEM_HEALTH_REPORT.md
Goal: Suggest relevant MCP tools based on skill domain.
Steps:
references/mcp-tool-mappings.md)Example: "Agent Builder + eval" → suggest agent-builder-skill-dev, langsmith
Goal: Analyze skill usage from conversation history, identify unused skills.
Steps:
cursor-chat-browser to search for skill invocationsOutput: ~/.agents/SKILL_USAGE_REPORT.md
Goal: Find skills using deprecated API, suggest updates.
Steps:
Example: yarn test:jest --config → yarn test:jest <path>
Goal: Reduce the token footprint of a SKILL.md by 30-70% without losing meaning or trigger coverage.
Trigger phrases: "optimize skill tokens" | "compress this skill" | "reduce skill token count" | "how many tokens does this skill use?"
Steps:
word_count * 1.3. Report as "~N tokens (M words * 1.3)".Optimization techniques:
| Technique | When to apply | Typical savings |
|---|---|---|
| Remove redundant headings | Section title restates what the content already makes obvious | 5-15 tokens/heading |
| Compress examples | Multi-line code block can be expressed inline | 10-30 tokens/example |
| Deduplicate trigger phrases | Two triggers convey the same intent ("fix tests" + "fix the tests") | 5-10 tokens/duplicate |
| Replace prose with tables | 3+ parallel items described in sentences | 20-40% of that block |
| Remove filler phrases | "This skill will help you to", "In order to", "Please note that" | 3-8 tokens/phrase |
| Consolidate step lists | Steps 2-4 are a single logical action split arbitrarily | 10-20 tokens/merge |
| Move data to frontmatter | Trigger examples duplicated in both frontmatter and body | Dedupe body entries |
| Prune rare examples | Keep the 2-3 highest-frequency triggers; cut niche edge-case examples | 20-50 tokens/example removed |
Constraints (never violate):
name, description, trigger, examples).≤500 lines) is already met, still report token count — caller may want the reduction for other reasons.Output format:
Token Optimization Report — <skill-name>
=========================================
Current: ~680 tokens (523 words * 1.3)
Target: ~400 tokens (estimated)
Opportunities found:
[1] Remove filler preamble in Purpose section → -18 tokens
[2] Deduplicate 3 trigger phrases (review/check) → -12 tokens
[3] Replace 4-paragraph prose with table (Mode 3) → -55 tokens
[4] Compress verbose example #2 to inline → -28 tokens
[5] Prune 2 rarely-triggered edge-case examples → -42 tokens
Projected savings: ~155 tokens (~23%)
Apply? (yes / yes,all / skip 3,5 / no)
After every skill review, enforce these gates:
| Gate | Threshold | Action if Failed |
|---|---|---|
| Security (CRITICAL) | 0 | ❌ BLOCK: Fix before proceeding |
| Security (HIGH) | ≤2 | ⚠️ WARN: Fix recommended |
| Convention violations | ≤2 | ⚠️ WARN: Fix recommended |
| Similarity (HIGH overlap >85%) | 0 | ❌ BLOCK: Merge or clarify |
| Similarity (MEDIUM overlap 70-85%) | Allowed | ⚠️ WARN: Clarify distinction |
| SKILL.md length | ≤500 lines | ⚠️ WARN: Use progressive disclosure |
| Token footprint | ≤1500 tokens (~1150 words) | ℹ️ INFO: Run token-optimize mode |
| MCP tool suggestions | ≥1 (if applicable) | ℹ️ INFO: Review suggestions |
After create-skill:
/skill-curator review <new-skill-path>After modifying SKILL.md:
/skill-curator review <skill-path>After major API changes:
/skill-curator auto-update <api-name>~/.agents/skills/<skill-name>/QUALITY_REPORT.md~/.agents/SKILL_CATALOG.md~/.agents/ECOSYSTEM_HEALTH_REPORT.md~/.agents/SKILL_USAGE_REPORT.mdagent-builder-skill-dev MCP server for similarity/audit. If not available, falls back to manual keyword-based similarity.cursor-chat-browser MCP tool for usage analytics. If not available, skip analytics mode.skill-security-review skill for deep security analysis.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub patrykkopycinski/patryks-treadmill-claude-plugins --plugin kibana-code-quality-suite7 skills in this plugin
/accessibility-auditorAudit UI components and pages for accessibility issues and suggest fixes to ensure Kibana is usable by everyone./dashboard-workflowOrchestrates the full dashboard development lifecycle for Kibana operational dashboards. Sequences three phases - design review (design-super-agent), implementation (frontend-design), and testing (Scout/Jest). Use when building, redesigning, or significantly modifying any dashboard UI, especially security operations dashboards, vulnerability posture views, or data-heavy monitoring interfaces. Triggers on "build dashboard", "create dashboard", "redesign dashboard", "dashboard workflow", or when starting any dashboard-related feature work./design-super-agent