Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计异常

rusty-page-indexer生锈的页面索引器

Agent Skill

rusty-page-indexer 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

318

周安装

13

GitHub Stars

11

下载量

103
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:rusty-page-indexer(生锈的页面索引器)
来源仓库:https://github.com/algiras/rusty-pageindex
仓库路径:skills/rusty-page-indexer
安装命令:
npx skills add https://github.com/algiras/rusty-pageindex --skill rusty-page-indexer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/algiras/rusty-pageindex --skill rusty-page-indexer

简介

rusty-page-indexer 用于查找和筛选网页内容,适合快速定位候选结果。

  • 适用于页面索引和资料检索类任务,可在 Codex、Claude 等宿主中使用。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 核验用法。
  • 建议在使用前检查维护状态,避免触发不必要的联网或文件操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Rusty Page Indexer Skill

This skill allows agents to index and query local documentation using rusty-page-indexer. Unlike standard vector databases, it focuses on Structural Context, preserving the document's hierarchical tree for more logical retrieval.

Why Structure Matters

Standard RAG often slices documents into arbitrary chunks, losing context. rusty-page-indexer maintains a Folder → File → Section hierarchy.

  • Logical Retrieval: Instead of just matching a sentence, you match a logical section (e.g., an entire API endpoint description).
  • Project Awareness: The LLM understands where a file lives (e.g., src/auth) giving it contextual cues about the code's purpose.

Key Capabilities

  • Multi-repo indexing: Index multiple projects independently
  • Cross-repo search: Query across all indexed repositories
  • Parallel processing: Fast indexing with Rayon
  • Unified tree structure: Folder -> File -> Section hierarchy
  • Model flexibility: Works with OpenAI, Ollama, and OpenAI-compatible APIs

Commands

1. Install Tool

Install the rusty-page-indexer binary (Linux/macOS).

curl -fsSL https://raw.githubusercontent.com/Algiras/rusty-pageindex/main/install.sh | bash

2. Configure Authentication

OpenAI (remote):

rusty-page-indexer auth --api-key "sk-..." --model "gpt-4o-mini"

Ollama (local):

rusty-page-indexer auth --api-key "ollama" --api-base "http://localhost:11434/v1" --model "llama3.2"

Other OpenAI-compatible APIs:

# Groq
rusty-page-indexer auth --api-key "your-key" --api-base "https://api.groq.com/openai/v1" --model "llama3-70b-8192"

# Together AI
rusty-page-indexer auth --api-key "your-key" --api-base "https://api.together.xyz/v1" --model "meta-llama/Llama-3-70b-chat-hf"

3. Index Documents

Recursively index a directory of documents (.md, .pdf).

# Fast index (no LLM calls, instant)
rusty-page-indexer index <path>

# With LLM-generated summaries (higher quality, slower)
rusty-page-indexer index <path> --enrich

# Two-Phase Strategy (Recommended)
# 1. Index the whole folder quickly for structure
rusty-page-indexer index ./projects
# 2. Enrich only the critical "Holy Grail" docs (specs/manuals)
rusty-page-indexer index ./projects/docs/architecture_spec.md --enrich
[!TIP] Use --enrich sparingly on large folders. Index generally first, then enrich specific key files for deep reasoning.
### 4. List Indexed Repositories
View all indexed repositories with their sizes and paths.

rusty-page-indexer list


### 5. Query Index

Perform semantic search over indexed documents.

Search all repositories

rusty-page-indexer query "How does authentication work"

Path-Scoped Query (Search only specific component/folder)

Useful for multi-repo work or filtering to 'backend' only.

rusty-page-indexer query "auth" --path backend

Override model for this query (using argument separator)

rusty-page-indexer query "Explain API" -- --model gpt-4o


### 6. Clean Up Indices

Remove indexed repositories.

Remove specific index

rusty-page-indexer clean <repo-name>

Remove all indices

rusty-page-indexer clean --all


### 7. Check Status

Verify installation and configuration.

rusty-page-indexer info


## Model Compatibility

### OpenAI Models (Remote)

| Model | Cost | Recommended For |
| --- | --- | --- |
| `gpt-4o-mini` | $ | General use (fast & cheap) |
| `gpt-4o` | $$$ | Complex queries |
| `gpt-4-turbo` | $$ | Large documents |
| `gpt-3.5-turbo` | cents | Budget option |

### Local Models (Ollama)

| Model | Size | Notes |
| --- | --- | --- |
| `llama3.2` | 3B | Recommended for local use |
| `gemma3` | 4B | Highly efficient reasoning model ⭐ |
| `mistral:7b` | 7B | Fast and capable |
| `qwen2.5:7b` | 7B | Reliable |

## Troubleshooting

The tool provides detailed error messages:

| Error | Meaning | Fix |
| --- | --- | --- |
| Model not found | Invalid model name | Use `rusty-page-indexer config --model gpt-4o-mini` |
| Invalid API key | Wrong or expired key | Re-run `auth` with valid key |
| Quota exceeded | Out of credits | Add billing at platform.openai.com or use Ollama |
| Rate limit | Too many requests | Wait 30-60s and retry |
| Connection refused | Ollama not running | Run `ollama serve` |
| Invalid children | Corrupted state | **Nuke & Pave**: `rm -rf ~/.rusty-page-indexer/manifest.json ~/.rusty-page-indexer/indices && rusty-page-indexer info` |

## Typical Workflow

1. Install (if needed)

curl -fsSL https://raw.githubusercontent.com/Algiras/rusty-pageindex/main/install.sh | bash

2. Configure for Ollama (free, local)

rusty-page-indexer auth --api-key "ollama" --api-base "http://localhost:11434/v1" --model "llama3.2"

3. Index your project

rusty-page-indexer index ./docs --enrich

4. Search

rusty-page-indexer query "how does authentication work"

5. View indexed repos

rusty-page-indexer list


## Storage Location

All data is stored in `~/.rusty-page-indexer/`:

- `config.toml` - API credentials and default model
- `manifest.json` - Index registry
- `indices/` - Tree index files

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

28.99%
按下载量换算30

OpenCode

23.54%
按下载量换算24

Codex

18.95%
按下载量换算20

Antigravity

12.6%
按下载量换算13

Gemini CLI

8.53%
按下载量换算9

windsurf

3.66%
按下载量换算4

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills