← 返回 Skills 市场
jolestar

Indexbind

作者 jolestar · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
130
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install indexbind
功能描述
Use when an agent needs to install or use indexbind from Node, browsers, Web Workers, or Cloudflare Workers. This skill helps choose the right package, CLI,...
使用说明 (SKILL.md)

Indexbind

Use this skill when the task is about using indexbind from a host application or environment.

Usage examples

  • "Use indexbind to add local search to a docs folder."
  • "Help me choose between indexbind, indexbind/web, and indexbind/cloudflare."
  • "Show me how to build a SQLite artifact for Node and a bundle for Workers."

Install

Install the package:

npm install indexbind

Optional global install when the goal is using indexbind as a shell command from arbitrary directories:

npm install -g indexbind

Then use either:

  • npx indexbind ... for local installs and per-project workflows
  • indexbind ... after a global install
  • import ... from 'indexbind' or indexbind/build for programmatic usage

Platform notes:

  • native prebuilds exist for macOS arm64, macOS x64, and Linux x64 (glibc)
  • Windows usage should go through WSL

Install and packaging docs:

  • https://indexbind.jolestar.workers.dev/guides/getting-started.md
  • https://indexbind.jolestar.workers.dev/reference/packaging.md

Choose the right interface

  • Index a local docs folder or local knowledge-base directory from the shell: use npx indexbind ...
  • Local Node querying over a built SQLite artifact: use indexbind
  • Programmatic build, incremental cache update, inspect, or benchmark: use indexbind/build
  • Mixed local knowledge bases that need host-defined document classification, metadata, or directory weighting: normalize documents in the host first, then pass them to indexbind/build
  • A mostly-default local docs or knowledge-base directory that only needs light host policy: use indexbind.build.js and indexbind.search.js beside that directory’s .indexbind/
  • Browser or standard worker querying over a canonical bundle: use indexbind/web
  • Cloudflare Worker querying: use indexbind/cloudflare
  • Shell-driven build/update/export/inspect flows: use npx indexbind ...

API docs:

  • https://indexbind.jolestar.workers.dev/reference/api.md
  • https://indexbind.jolestar.workers.dev/reference/cli.md

Choose the artifact

  • Local directory indexing for later Node queries: build a native SQLite artifact
  • Local directory indexing for browser or worker delivery: build a canonical bundle
  • Node runtime: use a native SQLite artifact
  • Browser, Web Worker, Cloudflare Worker: use a canonical bundle
  • Repeated rebuilds over a stable corpus: use the build cache, then export fresh artifacts or bundles

Concepts:

  • https://indexbind.jolestar.workers.dev/concepts/runtime-model.md
  • https://indexbind.jolestar.workers.dev/concepts/canonical-bundles.md

Common commands

Typical CLI commands:

  • npx indexbind build ./docs
  • npx indexbind build-bundle ./docs
  • npx indexbind update-cache ./docs --git-diff
  • npx indexbind build [input-dir] [output-file] [--backend \x3Chashing|model-id>]
  • npx indexbind build-bundle [input-dir] [output-dir] [--backend \x3Chashing|model-id>]
  • npx indexbind update-cache [input-dir] [cache-file] [--git-diff] [--git-base \x3Crev>] [--backend \x3Chashing|model-id>]
  • npx indexbind export-artifact \x3Coutput-file> [--cache-file \x3Cpath>]
  • npx indexbind export-bundle \x3Coutput-dir> [--cache-file \x3Cpath>]
  • npx indexbind inspect \x3Cartifact-file>
  • npx indexbind search \x3Cartifact-file> \x3Cquery>
  • npx indexbind benchmark \x3Cartifact-file> \x3Cqueries-json>

Use indexbind/build instead when the host already has documents in memory or wants tighter control from code.

Index-scoped conventions

When one indexed root only needs a small amount of host-specific behavior, place convention files beside that root:

docs/
  indexbind.build.js
  indexbind.search.js
  .indexbind/

Use indexbind.build.js when the default directory scanner is already correct and you only need to:

  • skip a few files from indexing
  • derive canonicalUrl
  • inject metadata such as is_default_searchable, source_root, content_kind, or directory_weight
  • normalize title or summary

Use indexbind.search.js when CLI or Node search should automatically apply:

  • a default search profile
  • a metadata filter
  • score adjustment defaults
  • lightweight query rewrite or alias expansion

These convention files are index-scoped, not repo-global:

  • if you index ./docs, the files live in ./docs/
  • they affect only that indexed root
  • there is no repo-root fallback

Common APIs

Use these APIs when the host already has documents or wants tighter control:

  • openIndex(...) from indexbind
  • buildFromDirectory(...) from indexbind/build
  • buildCanonicalBundle(...) from indexbind/build
  • buildCanonicalBundleFromDirectory(...) from indexbind/build
  • updateBuildCache(...) from indexbind/build
  • updateBuildCacheFromDirectory(...) from indexbind/build
  • exportArtifactFromBuildCache(...) from indexbind/build
  • exportCanonicalBundleFromBuildCache(...) from indexbind/build
  • inspectArtifact(...) from indexbind/build
  • benchmarkArtifact(...) from indexbind/build
  • openWebIndex(...) from indexbind/web
  • openWebIndex(...) from indexbind/cloudflare

Docs:

  • https://indexbind.jolestar.workers.dev/reference/api.md
  • https://indexbind.jolestar.workers.dev/guides/adoption-examples.md
  • https://indexbind.jolestar.workers.dev/reference/cli.md

Cloudflare rule

Inside Cloudflare Workers:

  • prefer indexbind/cloudflare
  • if bundle files are not directly exposed as public URLs, pass a custom fetch to openWebIndex(...)
  • use the host asset loader such as ASSETS.fetch(...) rather than monkey-patching global fetch

Docs:

  • https://indexbind.jolestar.workers.dev/guides/web-and-cloudflare.md
  • https://indexbind.jolestar.workers.dev/reference/api.md

Read in this order when unsure

  1. https://indexbind.jolestar.workers.dev/guides/getting-started.md
  2. https://indexbind.jolestar.workers.dev/reference/api.md
  3. https://indexbind.jolestar.workers.dev/reference/cli.md
  4. https://indexbind.jolestar.workers.dev/guides/web-and-cloudflare.md
安全使用建议
This skill is coherent and only directs use of the indexbind npm packages and CLI. Before installing or running commands: (1) review the indexbind npm page and package author to ensure you trust it; (2) prefer npx or per-project installs over global -g installs to reduce system-wide risk; (3) be aware that build/index commands will read your local docs and write artifacts (inspect what will be indexed before running on sensitive data); (4) running npm packages executes third-party code—use standard precautions (audit, run in isolated environment or container) if you don’t fully trust the package. If you want to prevent autonomous runs, disable implicit invocation or restrict the skill in your agent settings.
功能分析
Type: OpenClaw Skill Name: indexbind Version: 1.0.1 The skill bundle provides instructions and documentation for using 'indexbind', a legitimate-appearing tool for indexing and searching documents across Node.js, web browsers, and Cloudflare Workers. The SKILL.md file outlines standard installation procedures via npm, CLI usage examples, and API references, all pointing to a consistent documentation domain (indexbind.jolestar.workers.dev). No indicators of data exfiltration, malicious code execution, or prompt injection were found.
能力评估
Purpose & Capability
The name/description match the SKILL.md: the skill instructs how to install and use indexbind (npm commands, package imports, choosing bundles/artifacts). It does not ask for unrelated credentials, binaries, or platform resources.
Instruction Scope
Instructions are limited to npm install/npx usage, package import patterns, CLI commands, and local file layout conventions. The guidance references building/indexing local docs and using appropriate bundles for web/worker environments but does not instruct the agent to read unrelated system files, exfiltrate data, or access secrets.
Install Mechanism
This is an instruction-only skill with no install spec or code files. It recommends installing an npm package from the npm ecosystem (npm install / npx), which is expected for this purpose and is lower-risk than arbitrary URL downloads.
Credentials
The skill declares no required environment variables, credentials, or config paths. The documented commands may read and write local project files (indexing/build artifacts) but that is proportionate to the stated functionality.
Persistence & Privilege
always:false (normal). agents/openai.yaml sets allow_implicit_invocation:true which permits implicit/autonomous invocation by the agent (a platform-default behavior). This is not itself a red flag, but remember that an autonomously-invoked agent could execute npm/npx commands described by the skill, which will run third-party package code on the host.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install indexbind
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /indexbind 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Refresh the skill for index-scoped conventions, current CLI defaults, and latest docs links.
v1.0.0
Initial release of indexbind - Provides guidance on installing and using indexbind across Node, browsers, Web Workers, and Cloudflare Workers. - Helps users choose the appropriate package, CLI command, artifact type, and entrypoint for their environment. - Lists common installation methods, CLI commands, and API functions. - Links to official live documentation for deeper guidance and concept explanations.
元数据
Slug indexbind
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Indexbind 是什么?

Use when an agent needs to install or use indexbind from Node, browsers, Web Workers, or Cloudflare Workers. This skill helps choose the right package, CLI,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 130 次。

如何安装 Indexbind?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install indexbind」即可一键安装,无需额外配置。

Indexbind 是免费的吗?

是的,Indexbind 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Indexbind 支持哪些平台?

Indexbind 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Indexbind?

由 jolestar(@jolestar)开发并维护,当前版本 v1.0.1。

💬 留言讨论