Find the right local SKILL.md with fast BM25 ranking.
Note
Search runs locally without embeddings or network calls; ranking quality follows the text available in each skill.
| Purpose | Fast local BM25 search for SKILL.md libraries — find the right agent skill without wasting context. |
| Input | Local skill libraries |
| Output | Focused skill matches |
| Runtime | Python 3.10+ |
| CI | ✅ Linux · Windows |
| Status | ✅ Maintained |
🧭 How it works
flowchart LR
A["Local skill libraries"] --> B["Index and rank"]
B --> C["Focused skill matches"]
📁 Repository layout
skillradar-cli/
├── .github/
├── src/
├── tests/
├── examples/
├── pyproject.toml
└── README.md
Find the right agent skill without stuffing every description into context.
SkillRadar discovers local SKILL.md files and ranks them with a small BM25 search index. It is fast, private, dependency-free, and compatible with skills stored for Codex, Claude Code, Cursor, or a custom agent.
skillradar "validate a PDF form"Skill libraries are growing faster than context windows should. Injecting every skill description into every turn wastes tokens and still makes selection harder. SkillRadar retrieves a focused top-k list when it is needed.
python -m pip install -e .
# Search common user and project skill directories
skillradar "analyze spreadsheet formulas"
# Search explicit libraries
skillradar "inspect PDF layout" --root ~/.agents/skills --root ./team-skills
# Agent-friendly output
skillradar "deploy site" --format json --top 5
skillradar "deploy site" --format compact
# Inventory
skillradar --list --root examples/skillsThe index uses BM25 over names, descriptions, headings, and folder names, with an exact-name boost. No embedding model, API key, database, or background daemon is required. Results are recomputed from files, so they never go stale.
- Keep only skill names in the base agent prompt.
- Search SkillRadar using the current user request.
- Inject descriptions for the top three to eight candidates.
- Let the agent read only the selected
SKILL.mdfiles.
python -m unittest discover -s tests -vMIT