Installation

clawhub install gladego/index1-doctor

Summary

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

SKILL.md

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

CheckPassFail Fix
Python>= 3.10Install Python 3.11+
SQLite>= 3.43.0Auto-degrades, no action needed
sqlite-vecLoadedpip install index1 (bundled)
OllamaConnectedcurl -fsSL https://ollama.com/install.sh | sh
ModelAvailableollama pull nomic-embed-text
CJKjieba loadedpip install index1[chinese]
IndexHas documentsindex1 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

Recommended skills

Browse all →

Related guides

Hand-picked reading to help you choose, install, and use agent skills.