AI & Integration v2.0.3

index1-doctor

Diagnose index1 environment - check Python, Ollama, models, index health.

gladego 更新于 2026-02-17 1 浏览
下载 SKILL

技能说明

Diagnose index1 environment - check Python, Ollama, models, index health.

使用场景

Environment diagnostic skill for index1. Runs health checks and provides fix recommendations.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/index1-doctor
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 17 kB
SKILL.md text/markdown
---
name: index1-doctor
description: Diagnose index1 environment - check Python, Ollama, models, index health.
version: 2.0.3
license: Apache-2.0
author: gladego
tags: [index1, diagnostics, mcp, troubleshooting]
---

# index1 Doctor

Environment diagnostic skill for index1. Runs health checks and provides fix recommendations.

## Usage

Type `/doctor` or ask the agent to diagnose index1.

## What it checks

The skill runs three commands sequentially and analyzes results:

### 1. Environment Check

```bash
index1 doctor
```

Checks:
- Python version (>= 3.10 required)
- SQLite version (>= 3.43.0 for full features)
- sqlite-vec extension
- ONNX embedding (built-in, bge-small-en-v1.5)
- Ollama connectivity (optional, for multilingual/CJK)
- Embedding model availability
- CJK/Chinese support (jieba)

### 2. Index Status

```bash
index1 status
```

Shows:
- Document count and chunk count
- Collections list
- Last index time
- Database size

### 3. Ollama Models

```bash
ollama list
```

Shows installed models. Recommended embedding models:
- `nomic-embed-text` — Standard, 270MB
- `bge-m3` — Best for CJK content, 1.2GB

## Interpreting Results

| Check | Pass | Fail Fix |
|-------|------|----------|
| Python | >= 3.10 | Install Python 3.11+ |
| SQLite | >= 3.43.0 | Auto-degrades, no action needed |
| sqlite-vec | Loaded | `pip install index1` (bundled) |
| Ollama | Connected | `curl -fsSL https://ollama.com/install.sh \| sh` |
| Model | Available | `ollama pull nomic-embed-text` |
| CJK | jieba loaded | `pip install index1[chinese]` |
| Index | Has documents | `index1 index ./src ./docs` |

## When to use

- First-time setup verification
- After upgrading index1
- When search returns unexpected results
- When vector search stops working
- Before reporting issues

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。