Agent skill
skill-auto-activator
Keyword-based automatic skill detection and activation system for Claude conversations
Install this agent skill to your Project
npx add-skill https://github.com/Tempuss/agent-hub/tree/main/skills/skill-auto-activator
SKILL.md
Skill Auto-Activator
π― Purpose
An automatic system that detects keywords in conversations and suggests or activates relevant skills. Skills are automatically activated in natural conversation flow without manual specification each time.
β‘ Key Features
- Automatic Keyword Matching: Auto-detect skill-related keywords from user messages
- Confidence-Based Recommendations: Calculate keyword matching scores to recommend most relevant skills
- Priority System: Apply weighted scoring based on skill priority (high/medium/low)
- Central Metadata Management: Unified management of all skill metadata through INDEX.yaml
- Flexible Activation Modes: Support for suggest (recommendation) / auto (automatic activation) modes
π When to Use
This skill is automatically activated in the following situations:
Trigger Keywords (Korean)
- μ€ν¬, μλν, νμ±ν, λ©νλ°μ΄ν°, ν€μλ λ§€μΉ
- μ€ν¬ μΆμ², μ€ν¬ μλν, μ€ν¬ κ΄λ¦¬
Trigger Keywords (English)
- skill, automation, activation, metadata, keyword matching
- skill recommendation, skill automation, skill management
Use Cases
- When you want to automatically find relevant skills during conversations
- When manually specifying skills each time is cumbersome
- When you're unsure which skill to use among many options
- When you want to efficiently manage the skill system
ποΈ Architecture
/skills/
βββ INDEX.yaml # Central metadata (all skill information)
βββ skill-auto-activator/
βββ SKILL.md # This document
βββ skill-auto-activator.py # Auto-activation logic
βββ README.md # Detailed guide
π How It Works
1. Keyword Matching
User message: "Analyze ROI please"
β
Extract keywords: ["ROI", "analyze"]
β
Search INDEX.yaml:
- roi-analyzer: ["ROI", "investment analysis", "financial analysis"] β MATCH!
- market-strategy: ["market analysis", "PMF"] β Partial Match
β
Calculate confidence scores:
- roi-analyzer: 0.85 (high priority Γ exact match)
- market-strategy: 0.45 (high priority Γ partial match)
β
Recommend skills above threshold (0.7): roi-analyzer β
2. Scoring Algorithm
Final score = (keyword matching score Γ priority multiplier) / max possible score
Keyword matching scores:
- exact_match: 2.0 (exact match)
- compound_match: 1.8 (2+ keywords form one skill keyword)
- use_case_match: 1.5 (use case match)
- partial_match: 1.0 (partial match)
- tag_match: 0.5 (tag match)
Priority multipliers:
- high: 1.5
- medium: 1.0
- low: 0.7
3. Activation Modes
Suggest Mode (Default)
π― Recommended Skills:
1. roi-analyzer (Confidence: 85%) - ROI and investment analysis
2. market-strategy (Confidence: 72%) - Market strategy development
Would you like to use these? [Y/n]
Auto Mode (Automatic)
π Auto-activating roi-analyzer skill (Confidence: 85%)
[Running skill...]
π§ Configuration
INDEX.yaml Structure
activation_config:
mode: "suggest" # suggest | auto
confidence_threshold: 0.7 # Minimum confidence
max_suggestions: 3 # Maximum recommendations
priority_multipliers:
high: 1.5
medium: 1.0
low: 0.7
skills:
[skill-name]:
priority: high # high | medium | low
description: "..."
keywords:
korean: [...]
english: [...]
tags: [...]
use_cases: [...]
auto_activate: true # Allow auto-activation
confidence_threshold: 0.75 # Skill-specific threshold
π‘ Examples
Example 1: ROI Analysis Request
User: "Analyze this project's ROI and create executive report"
System: π― Detected Skills:
1. roi-analyzer (95%) - ROI and investment analysis
2. template-generator (68%) - Document template generation
Keywords matched:
- roi-analyzer: "ROI", "analyze", "executive report"
- template-generator: "report"
Activating: roi-analyzer β
Example 2: Market Strategy
User: "Need PMF strategy for entering new market"
System: π― Detected Skills:
1. market-strategy (92%) - Market entry and PMF strategy
2. toss-patterns (88%) - Apply Toss success patterns
Keywords matched:
- market-strategy: "market entry", "PMF", "strategy"
- toss-patterns: "market entry", "PMF"
Top match: market-strategy β
Example 3: Complex Problem Solving
User: "Have a complex problem, want to find root cause"
System: π― Detected Skills:
1. thinking-framework (90%) - Systematic problem solving
2. web-research (45%) - Research and investigation
Keywords matched:
- thinking-framework: "problem", "root cause"
Activating: thinking-framework β
π Performance Metrics
- Accuracy: 85%+ keyword matching accuracy
- Response Speed: Average < 100ms (including metadata load time)
- Token Efficiency: 50% reduction in unnecessary skill exploration time through auto-recommendation
- User Satisfaction: 90% improvement in convenience compared to manual specification
π Maintenance
Adding New Skills
- Create
/skills/[new-skill]/directory - Write
SKILL.md - Add metadata to
INDEX.yaml:yaml[new-skill]: priority: medium keywords: [...] tags: [...] - Test: Verify auto-detection with relevant keywords
Updating Keywords
- Modify keywords section in INDEX.yaml
- Regular updates recommended based on real usage patterns
Tuning Confidence Thresholds
- Too many recommendations: Increase threshold (0.7 β 0.8)
- Too few recommendations: Decrease threshold (0.7 β 0.6)
β οΈ Limitations
- Languages Other Than Korean/English: Currently unsupported (extensible)
- Context Understanding: Limited contextual meaning with simple keyword matching approach
- Synonym Handling: Only explicitly registered keywords are matched (needs expansion)
π Future Enhancements
- Phase 2: Pattern matching and regular expression support
- Phase 3: Learning system (learn user selection patterns)
- Phase 4: NLP-based semantic matching
- Phase 5: Skill combination recommendations (sequential multi-skill execution)
π Related Skills
- template-generator: Generate skill document templates
- doc-organizer: Organize and optimize skill structure
- web-research: Research skill best practices
π Support
For bug reports, feature suggestions, or questions:
- Register issues:
/skills/skill-auto-activator/issues/ - Suggest improvements: Propose modifications to SKILL.md or README.md
Version: 1.0.0 Last Updated: 2025-11-06 Maintainer: Claude Toolkit Team
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
ai-persona-creator
Use when analyzing stakeholder psychology for negotiations, proposals, or persuasion. Creates research-backed personas revealing hidden motivations.
doc-organizer
Apply Progressive Disclosure principles to organize large documentation projects. Restructure docs into hierarchical structure, reduce token usage by 95%+, and create README files for navigation.
toss-patterns
Use when planning market strategy, learning from Toss's 7 success patterns (Pain Point, Trojan Horse, Friction Removal, Viral Loop, Data-Driven, Ecosystem, Regulation).
thinking-framework
Use this when complex problem-solving, root cause analysis, strategic decision-making, or systematic thinking is needed. Applies 15 thinking methods with multi-agent orchestration and Clear-Thought MCP integration for enhanced analysis quality.
web-research
Use when researching markets, analyzing competitors, comparing technologies, or finding case studies. Ensures all findings include credible sources and URLs.
roi-analyzer
Use when preparing executive reports, evaluating investments, or calculating ROI/break-even/payback period. 30-minute analysis (87.5% time saving). Includes scenario analysis.
Didn't find tool you were looking for?