complexity-scorer
Score task complexity using keyword matching and heuristics
npx skills add majiayu000/claude-skill-registry --skill complexity-scorer --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Complexity Scorer Patterns for scoring task complexity using keyword matching, context analysis, and configurable heuristics. Extracted from workspace-hub's model selection system. ## When to Use This Skill ✅ **Use when:** - Routing tasks to different handlers based on complexity - Recommending resources (models, workers, time estimates) - Prioritizing work items - Auto-classifying incoming requests - Building intelligent dispatchers ❌ **Avoid when:** - Simple yes/no classification - When ML-based classification is more appropriate - Highly domain-specific scoring that requires expertise ## Core Capabilities ### 1. Keyword-Based Scoring Define keyword categories with weights: ```bash #!/bin/bash # ABOUTME: Keyword-based complexity scoring # ABOUTME: Pattern from workspace-hub suggest_model.sh # Keyword categories with associated complexity impact # High complexity keywords (score +3) HIGH_COMPLEXITY="architecture|refactor|design|security|complex|multi-file|algorithm|optimization|strategy|planning|cross-repository|performance|migration|integration" # Medium complexity keywords (score +1) MEDIUM_COMPLEXITY="implement|feature|bug|fix|code review|documentation|test|update|add|create|
- When to Use This Skill
- Core Capabilities
- 1. Keyword-Based Scoring
- 2. Multi-Factor Scoring
- 3. Context-Aware Scoring
- 4. Score Classification
- 5. Confidence Scoring
- 6. Historical Learning
- Complete Example: Task Complexity Scorer
- Best Practices
- Resources
- Version History
Keyword categories with associated complexity impact High complexity keywords (score +3) Medium complexity keywords (score +1) Low complexity keywords (score -2) Score based on keywords local text="$1" local text_lower=$(echo "$text" | tr '[:upper:]' '[:lower:]') local score=0 if echo "$text_lower" | grep -qE "$HIGH_COMPLEXITY"; then elif echo "$text_lower" | grep -qE "$MEDIUM_COMPLEXITY"; then
What does the complexity-scorer skill do?
Score task complexity using keyword matching and heuristics
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill complexity-scorer --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
