← 返回 Skills 市场
792
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install index1-doctor
功能描述
Diagnose index1 environment - check Python, Ollama, models, index health.
使用说明 (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
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
index1 status
Shows:
- Document count and chunk count
- Collections list
- Last index time
- Database size
3. Ollama Models
ollama list
Shows installed models. Recommended embedding models:
nomic-embed-text— Standard, 270MBbge-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
安全使用建议
This skill appears to do what it says: run local diagnostic commands for index1 and (optionally) check Ollama models. Before running it, be aware it recommends installing third-party software (pip install index1 and an Ollama install script fetched with curl | sh). Those installers will download and execute code on your machine — inspect installer scripts or prefer official package manager methods, run them in a sandbox or container, and avoid running install scripts as root. Also note the diagnostic commands will report local environment details (Python/SQLite versions, DB sizes, model lists) which may reveal system information; only run if you are comfortable sharing that info with the agent runtime/environment. If you want extra caution, manually run the listed commands yourself or review the installer code before accepting recommendations.
功能分析
Type: OpenClaw Skill
Name: index1-doctor
Version: 2.0.3
The skill's primary purpose is diagnostic, executing commands like `index1 doctor`, `index1 status`, and `ollama list`. However, the `SKILL.md` file contains a fix recommendation instructing the agent to suggest or potentially execute `curl -fsSL https://ollama.com/install.sh \| sh`. While `ollama.com` is a legitimate domain, recommending or executing a `curl | sh` command is a high-risk practice that introduces a significant remote code execution vulnerability, as it relies on the integrity of the remote script and could be exploited via supply chain compromise or if the agent executes it without sufficient user confirmation. This constitutes a risky capability without clear malicious intent within the provided files, classifying it as suspicious.
能力评估
Purpose & Capability
Name/description (diagnose index1) align with the SKILL.md: it runs index1 diagnostic/status commands and checks Ollama and models. Required resources (none declared) are consistent with an instruction-only diagnostic skill.
Instruction Scope
Instructions are narrowly scoped to running three commands: `index1 doctor`, `index1 status`, and `ollama list`, and interpreting their output. However the document also suggests installing software (via `pip install index1` and `curl -fsSL https://ollama.com/install.sh | sh`) — these are out-of-band actions that will fetch and execute remote code and should be reviewed before use.
Install Mechanism
The skill itself has no install spec (instruction-only). The SKILL.md recommends third-party installers, including a curl|sh installer from ollama.com and installing a pip package; recommending such installs is common but is a higher-risk operation because they execute code fetched from the network.
Credentials
The skill declares no environment variables, credentials, or config paths. The checks it runs legitimately require local environment access (Python, SQLite, local DB size), so the lack of requested secrets is proportional.
Persistence & Privilege
always is false and the skill is instruction-only with no code to persist on the agent. It does not request elevated or persistent privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install index1-doctor - 安装完成后,直接呼叫该 Skill 的名称或使用
/index1-doctor触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.3
v2.0.3: Sync version, add ONNX embedding check
v1.0.0
Initial release: diagnose index1 environment and health
v2.0.1
version bump: 2.0.1
v2.0.0
v2.0.0: sync with index1 2.0.0
元数据
常见问题
index1 Doctor 是什么?
Diagnose index1 environment - check Python, Ollama, models, index health. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 792 次。
如何安装 index1 Doctor?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install index1-doctor」即可一键安装,无需额外配置。
index1 Doctor 是免费的吗?
是的,index1 Doctor 完全免费(开源免费),可自由下载、安装和使用。
index1 Doctor 支持哪些平台?
index1 Doctor 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 index1 Doctor?
由 gladego(@gladego)开发并维护,当前版本 v2.0.3。
推荐 Skills