cocoindex-code.quickstart
БесплатноБез исполняемых скриптовНе проверенInstall cocoindex-code, auto-register MCP via supercli plugin install, then prefer the fast direct search capability for repository search; keep MCP search…
от javimosch★ 58 звёзд на GitHubОб этом скилле
cocoindex-code Quickstart
Use this when you need semantic code search over a repository via SuperCLI.
Prefer supercli cocoindex code search for normal bot and human usage. It is the easiest and fastest path.
Commands
cocoindex-code <resource> <action>— Execute cocoindex-code commandscocoindex code search— Semantic code search via direct cocoindex-code query wrappercocoindex mcp search— Semantic code search via cocoindex-code MCP servercocoindex index build— Build or refresh cocoindex-code local index
1) Install upstream binary
pipx install cocoindex-code
# or
uv tool install --upgrade cocoindex-code --prerelease explicit --with "cocoindex>=1.0.0a24"
2) Install plugin (auto MCP registration)
supercli plugins learn cocoindex-code
supercli plugins install cocoindex-code --json
This creates MCP server cocoindex-code (if missing) and binds capabilities cocoindex.code.search and cocoindex.mcp.search.
3) Build index once (recommended)
supercli cocoindex index build --json
For small repos this is optional; indexing can happen on first search.
4) Preferred search flow (humans and bots)
supercli cocoindex code search --query "how are sessions stored" --limit 5 --json
supercli cocoindex code search --query "error handling middleware" --offset 5 --json
supercli cocoindex code search --query "entrypoint reads process.argv rawArgs and parses flags" --paths "cli/*" --limit 5 --json
cocoindex code search runs directly against the installed cocoindex-code package, so it avoids MCP server startup overhead and targets the current repo by default.
5) MCP-native search (optional)
supercli cocoindex mcp search --query "how are sessions stored" --limit 5 --json
Use this only when you explicitly need MCP-native execution.
6) Advanced search with language/path filters
supercli mcp call --mcp-server cocoindex-code --tool search --input-json '{"query":"database connection","languages":["typescript"],"paths":["src/*"],"limit":10}' --timeout-ms 180000 --json
Optional Configuration
export COCOINDEX_CODE_ROOT_PATH=/path/to/repo
export COCOINDEX_CODE_EMBEDDING_MODEL=sbert/nomic-ai/CodeRankEmbed
COCOINDEX_CODE_EXCLUDED_PATTERNS expects a JSON array string, for example:
export COCOINDEX_CODE_EXCLUDED_PATTERNS='["**/generated/**","**/*.snap"]'
Установить cocoindex-code.quickstart в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл cocoindex-code.quickstart?
Install cocoindex-code, auto-register MCP via supercli plugin install, then prefer the fast direct search capability for repository search; keep MCP search for MCP-native flows.
Как установить скилл cocoindex-code.quickstart?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл cocoindex-code.quickstart запускает скрипты?
Нет, скилл состоит только из инструкций (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