Skip to content

Vinger-lee/skill-aggregator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

14 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”ฎ Skill Aggregator

Stars License Python 3.10+ Zero Deps ไธญๆ–‡ๆ”ฏๆŒ
๐Ÿค– Your AI agent has 400+ skills. You only know 10. This finds the right one.

English ยท ไธญๆ–‡ ยท ๆ—ฅๆœฌ่ชž ยท ํ•œ๊ตญ์–ด ยท Franรงais ยท Espaรฑol ยท ะ ัƒััะบะธะน ยท ุงู„ุนุฑุจูŠุฉ


๐Ÿš€ What is Skill Aggregator?

Skill Aggregator is a search engine for AI agent skills. Describe what you want in plain English (or Chinese), and it instantly tells you which skill/plugin/tool to use โ€” no more browsing folders or guessing skill names.

# One command to find the right skill
skill-aggregator "Build a particle animation with Canvas"
# ๐Ÿ‘‰ p5js (65%) + pixel-art (45%) + ideation (30%)

โšก Quick Start

# Zero deps โ€” pure Python stdlib
pip install skill-aggregator

# Or clone and run instantly
git clone https://github.com/Vinger-lee/skill-aggregator.git
cd skill-aggregator
python src/aggregator.py "Add JWT authentication to my API"

๐Ÿ”ฅ What you get

๐ŸŽฏ Intent Analysis
  โ”œโ”€ Domain: coding (80%)
  โ”œโ”€ Activity: create (66%)
  โ””โ”€ Ambiguity: 10% โœ“ Clear enough

๐Ÿ“‹ Top-8 Recommendations
  โ”œโ”€ 65%  systematic-debugging
  โ”œโ”€ 45%  test-driven-development
  โ”œโ”€ 40%  node-inspect-debugger
  โ”œโ”€ 30%  code-review
  โ”œโ”€ 25%  writing-plans
  โ””โ”€ 15%  security-review

๐Ÿ’ก Combo: TDD + systematic-debugging

โœจ Features

Feature What it does Why you care
๐Ÿง  Intent Engine Detects what you're really doing โ€” fixing? building? designing? Stops suggesting the wrong skill
๐Ÿˆฏ Chinese + English jieba segmentation + regex Works for both languages natively
๐Ÿ”„ Auto-Discovery Scans config.yaml for skill directories Zero config needed
๐ŸŽฏ 4D Scoring Keywords(40%) + Domain(25%) + TF-IDF(20%) + Priority(15%) Smarter than grep
๐Ÿงน Health Check Scans 400+ skills for errors, missing fields, duplicates Catch broken skills instantly
๐Ÿ“ฆ Zero Dependencies Pure Python stdlib + optional jieba Install in 2 seconds
๐Ÿ”Œ Python API from skill_aggregator import recommend One-liner integration

๐Ÿ“– Usage

Intent Analysis (auto-detect ambiguity)

# Vague? It asks clarifying questions
skill-aggregator --intent-only "fix that thing in the API"
# โš ๏ธ Ambiguity: 80%
# โ“ Which endpoint? REST or GraphQL?
# โ“ Bug, feature, or refactor?

Skill Health Check

# Scan all skills for problems
skill-aggregator --clean
# ๐Ÿงน Total: 390 | Valid: 350 | Issues: 40
#   8 errors โ€” broken frontmatter
#   10 warnings โ€” missing descriptions

# JSON output for CI
skill-aggregator --clean --json | jq '.issues[] | select(.severity == "error")'

# Auto-fix what can be fixed
skill-aggregator --clean --fix

Python API

from skill_aggregator import analyze_intent, recommend, match_by_intent

# One-line recommendation
results = recommend("Add JWT auth to the API", top_n=5)
for r in results:
    print(f"{r['skill']}: {r['score']:.0%}")

# 3-phase: Intent โ†’ Clarify โ†’ Match
intent = analyze_intent("Optimize database queries")
if intent['ambiguity'] > 0.3:
    for q in intent['clarifying_questions']:
        print(f"โ“ {q}")
else:
    results = match_by_intent(intent, top_n=5)

๐Ÿ”ง Architecture

Your task description
      โ†“
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  Intent Engine   โ”‚ โ†’ Domain + Activity + Ambiguity
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
         โ†“ Vague? โ†’ generates clarifying questions
         โ†“ Clear? โ†’
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  Match Engine    โ”‚ โ†’ TF-IDF + 4-dimension scoring
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
         โ†“
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  Skill Index          โ”‚ โ† auto-discovered from config
โ”‚  + Cleaner            โ”‚ โ† health scan + dedup
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ†š Why Not Just Grep?

Solution Smart Matching Chinese Auto-Discover Health Scan
Skill Aggregator โœ… TF-IDF โœ… jieba โœ… โœ…
Browse folders โŒ โŒ โŒ โŒ
Ask AI directly โš ๏ธ โš ๏ธ โŒ โŒ
grep -r โŒ โŒ โŒ โŒ

๐ŸŒ Who Needs This?

  • Solo devs โ€” 50+ AI skills installed, can't remember them all
  • Teams โ€” newcomers don't know what skills the team has accumulated
  • Agent builders โ€” dynamically recommend skills in your AI agent pipeline
  • CI pipelines โ€” --clean --json for automated skill health monitoring

๐Ÿ“ฆ Install

pip install skill-aggregator
pip install jieba          # optional, for Chinese NLP

# Dev install
git clone https://github.com/Vinger-lee/skill-aggregator.git
cd skill-aggregator
pip install -e ".[dev]"

๐Ÿค Contributing

PRs welcome! See CONTRIBUTING.md


๐Ÿ“Š Stats

Last commit Repo size Code size Top language


MIT ยฉ 2026 Vinger

Made with โค๏ธ ยท GitHub

About

๐Ÿง  AI Agent Skill Aggregator โ€” Auto-analyze user intent & recommend optimal skills with zero dependencies

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages