用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/johnalbertini14-glitch/openclaw-skills --skill index1命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use this skill to create a Polymarket wallet for your agent and trade on prediction markets. Browse markets, place bets, manage positions — all without exposing private keys.
ClawSec suite manager with embedded advisory-feed monitoring, cryptographic signature verification, approval-gated malicious-skill response, and guided setup for additional security skills.
Automated daily security audits for OpenClaw agents with email reporting. Runs deep audits and sends formatted reports.
基于 SOC 职业分类
正在显示 SKILL.md
| name | index1 |
| description | AI memory system for coding agents — code index + cognitive facts, persistent across sessions. |
| version | 2.0.3 |
| license | Apache-2.0 |
| author | gladego |
| tags | ["mcp","memory","semantic-search","bm25","rag","cognitive","coding-agent"] |
AI memory system for coding agents with BM25 + vector hybrid search. Provides 6 MCP tools for intelligent code/doc search and cognitive fact recording.
recall, learn, read, status, reindex, config)# Recommended
pipx install index1
# Or via pip
pip install index1
# Or via npm (auto-installs Python package)
npx index1@latest
One-click plugin setup:
index1 setup # Auto-configure hooks + MCP for Claude Code
Verify:
index1 --version
index1 doctor # Check environment
Create .mcp.json in your project root:
{
"mcpServers": {
"index1": {
"type": "stdio",
"command": "index1",
"args": ["serve"]
}
}
}
If
index1is not in PATH, use the full path fromwhich index1.
Add to your project's .claude/CLAUDE.md:
## Search Strategy
This project has index1 MCP Server configured (recall + 5 other tools). When searching code:
1. Known identifiers (function/class/file names) -> Grep/Glob directly (4ms)
2. Exploratory questions ("how does XX work") -> recall first, then Grep for details
3. CJK query for English code -> must use recall (Grep can't cross languages)
4. High-frequency keywords (50+ expected matches) -> prefer recall (saves 90%+ context)
Impact:
Without rules: Grep "search" -> 881 lines -> 35,895 tokens
With rules: recall -> 5 summaries -> 460 tokens (97% savings)
index1 index ./src ./docs # Index source and docs
index1 status # Check index stats
index1 search "your query" # Test search
index1 v2 has built-in ONNX embedding (bge-small-en-v1.5). For better multilingual support:
curl -fsSL https://ollama.com/install.sh | sh
ollama pull nomic-embed-text # Standard, 270MB
# or
ollama pull bge-m3 # Best for CJK, 1.2GB
index1 config embed_backend ollama
index1 doctor # Verify setup
Without Ollama, ONNX embedding provides vector search out of the box.
index1 web # Start Web UI on port 6888
index1 web --port 8080 # Custom port
| Tool | Description |
|---|---|
recall | Unified search — code + cognitive facts, BM25 + vector hybrid |
learn | Record insights, decisions, lessons learned (auto-classify + dedup) |
read | Read file content + index metadata |
status | Index and cognition statistics |
reindex | Rebuild index for a path or collection |
config | View or modify configuration |
| Issue | Fix |
|---|---|
| Tools not showing | Check .mcp.json format and index1 path |
| AI doesn't use recall | Add search rules to CLAUDE.md |
command not found | Use full path from which index1 |
| Chinese search returns 0 | Install Ollama + bge-m3 model |
| No vector search | Built-in ONNX should work; run index1 doctor |