# Send index1 to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "index1",
    "name": "index1",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/gladego/index1",
    "canonicalUrl": "https://clawhub.ai/gladego/index1",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/index1",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=index1",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "index1",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-04T23:09:19.169Z",
      "expiresAt": "2026-05-11T23:09:19.169Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=index1",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=index1",
        "contentDisposition": "attachment; filename=\"index1-2.0.3.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "index1"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/index1"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/index1",
    "downloadUrl": "https://openagent3.xyz/downloads/index1",
    "agentUrl": "https://openagent3.xyz/skills/index1/agent",
    "manifestUrl": "https://openagent3.xyz/skills/index1/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/index1/agent.md"
  }
}
```
## Documentation

### index1

AI memory system for coding agents with BM25 + vector hybrid search. Provides 6 MCP tools for intelligent code/doc search and cognitive fact recording.

### What it does

Dual memory: corpus (code index) + cognition (episodic facts)
Hybrid search: BM25 full-text + vector semantic search with RRF fusion
Structure-aware chunking: Markdown, Python, Rust, JavaScript, plain text
MCP Server: 6 tools (recall, learn, read, status, reindex, config)
CJK optimized: Chinese/Japanese/Korean query detection with dynamic weight tuning
Built-in ONNX embedding: Vector search works out of the box, no Ollama required
Graceful degradation: Works without any embedding service (BM25-only mode)

### Install

# 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

### Setup MCP

Create .mcp.json in your project root:

{
  "mcpServers": {
    "index1": {
      "type": "stdio",
      "command": "index1",
      "args": ["serve"]
    }
  }
}

If index1 is not in PATH, use the full path from which index1.

### Add Search Rules

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)

### Index Your Project

index1 index ./src ./docs    # Index source and docs
index1 status                # Check index stats
index1 search "your query"   # Test search

### Optional: Multilingual Enhancement

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.

### Web UI

index1 web                   # Start Web UI on port 6888
index1 web --port 8080       # Custom port

### MCP Tools Reference

ToolDescriptionrecallUnified search — code + cognitive facts, BM25 + vector hybridlearnRecord insights, decisions, lessons learned (auto-classify + dedup)readRead file content + index metadatastatusIndex and cognition statisticsreindexRebuild index for a path or collectionconfigView or modify configuration

### Troubleshooting

IssueFixTools not showingCheck .mcp.json format and index1 pathAI doesn't use recallAdd search rules to CLAUDE.mdcommand not foundUse full path from which index1Chinese search returns 0Install Ollama + bge-m3 modelNo vector searchBuilt-in ONNX should work; run index1 doctor
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: gladego
- Version: 2.0.3
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-04T23:09:19.169Z
- Expires at: 2026-05-11T23:09:19.169Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/index1)
- [Send to Agent page](https://openagent3.xyz/skills/index1/agent)
- [JSON manifest](https://openagent3.xyz/skills/index1/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/index1/agent.md)
- [Download page](https://openagent3.xyz/downloads/index1)