From abstract
Analyzes skill file complexity metrics including lines, tokens, headings, and code blocks, generating modularization recommendations for splitting or progressive loading.
npx claudepluginhub athola/claude-night-market --plugin abstract# Analyze Skill Complexity Analyzes a skill file for complexity metrics and provides modularization recommendations based on the modular-skills framework. ## When To Use Use this command when you need to: - Assessing skill file complexity before adding content - Planning modularization strategies - Checking if a skill needs to be split - Validating progressive disclosure design ## When NOT To Use Avoid this command if: - Evaluating skill quality - use /skills-eval instead - Estimating token usage only - use /estimate-tokens instead - Creating new skills - use /create-skill instead ## ...
Analyzes a skill file for complexity metrics and provides modularization recommendations based on the modular-skills framework.
Use this command when you need to:
Avoid this command if:
# Analyze specific skill file
/analyze-skill skills/my-skill/SKILL.md
# Analyze skill directory
/analyze-skill skills/my-skill
# Analyze current directory (if in a skill folder)
/analyze-skill .
The analyzer evaluates several complexity dimensions:
# level headings## level headings/analyze-skill skills/modular-skills/SKILL.md
# Output:
# === Analysis for: skills/modular-skills/SKILL.md ===
# Line count: 180 (threshold: 150)
# Estimated tokens: 1,847
# === Recommendations ===
# MODULARIZE: File exceeds threshold (180 > 150)
# GOOD: Token usage in optimal range
/analyze-skill skills/skills-eval --verbose
# Includes detailed section breakdown
This command is the first step in the modular-skills workflow:
/estimate-tokens for token budgeting/skills-eval for quality checkspython3 ${CLAUDE_PLUGIN_ROOT}/scripts/skill_analyzer.py --file "${1:-.}"