Classic IR
БесплатноБез исполняемых скриптовНе проверенLocal BM25 code and text search + hybrid retrieval engine (SQLite FTS5 + RRF fusion). Use when finding code, searching notes/corpora, or first-pass retrieval…
от gautham-ai-dev286 установок в других каталогахОб этом скилле
Classic IR
Find code and text fast, locally. Proven stack: BM25 via FTS5, dense-slot interface, reciprocal-rank fusion, RM3 pseudo-relevance expansion. Index your files, search with ranked BM25, expand queries, fuse rankings.
Commands (ir.py, stdlib + sqlite3 FTS5)
python ir.py index DIR --db corpus.db # index .md/.txt files
python ir.py search DB "query" [--k 100] # BM25 ranked JSON
python ir.py expand DB "query" [--k 5] # RM3 candidate terms from top-k
python ir.py fuse A.json B.json [--k 60] # RRF fusion of two rankings
Rules
- First-pass is BM25 always (zero-shot robust, cheap, exact-match).
- Dense/LLM rerank only over top-100 — never full-corpus.
- RM3 expansion is opt-in per query (drift risk); log expansions.
Worked example
python ir.py index ./notes --db notes.db # 2 files indexed
python ir.py search notes.db "BM25 saturation" # [{"path":"a.md","rank":1}]
python ir.py expand notes.db "BM25" # [{"term":"rank","df_topk":2}]
Limits: lexical only (no semantics); Python ≥3.8 + FTS5; stdlib only, no network, no secrets.
Установить Classic IR в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Classic IR?
Local BM25 code and text search + hybrid retrieval engine (SQLite FTS5 + RRF fusion). Use when finding code, searching notes/corpora, or first-pass retrieval before dense/rerank spend. Covers recall measurement and RM3-style expansion. Feeds breakthrough-finder stages retrieve/expand.
Как установить скилл Classic IR?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Classic IR запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic