← 返回 Skills 市场
Skill Preflight
作者
thekhemistai
· GitHub ↗
· v1.0.5
· MIT-0
115
总下载
0
收藏
0
当前安装
6
版本数
在 OpenClaw 中安装
/install skill-preflight
功能描述
Automatically inject relevant skills and protocols into agent context using local embeddings. Free, no API calls — uses Ollama with nomic-embed-text.
安全使用建议
This plugin is internally consistent and implements what it claims, but review these before enabling: (1) Keep ollamaBaseUrl set to localhost/127.0.0.1/::1 unless you trust the remote host — otherwise your prompts and all indexed docs (including any embedded secrets or API keys in markdown) will be transmitted off-host. (2) Audit your skills/ memory/protocol markdown and remove any secrets or credentials before allowing the plugin to index them, or restrict protocolDirs/skillsDirs to safe paths. (3) Because the repository source is 'unknown' in the metadata provided, review the dist/index.js (full file) yourself or run the plugin in a sandbox to confirm behavior matches expectations. (4) Tune minScore, maxDocLines, and pinnedDocs to reduce accidental injection of large or sensitive docs. (5) If you need higher assurance, run Ollama locally and validate network traffic to ensure embeddings never leave your machine.
功能分析
Type: OpenClaw Skill
Name: skill-preflight
Version: 1.0.5
The plugin implements a RAG (Retrieval-Augmented Generation) system that reads local markdown files from the workspace and sends their content, along with user prompts, to a configurable Ollama API endpoint for embedding (dist/index.js). While the documentation (README.md) and the code itself include explicit warnings and runtime logs regarding the privacy risks of using a non-local 'ollamaBaseUrl', the capability to read arbitrary files and transmit them to a network endpoint constitutes a high-risk behavior that could be leveraged for data exfiltration if misconfigured.
能力评估
Purpose & Capability
Name/description, SKILL.md, package.json, and dist/index.js all describe and implement the same feature: local scanning of skills/protocols, embedding via nomic-embed-text through an Ollama HTTP API, ranking by cosine similarity, and injecting top matches. There are no unrelated credential or binary requirements.
Instruction Scope
Instructions and implementation explicitly read markdown files from configured workspace directories (skills/, memory/protocols/, tools files, pinned docs) and embed both the incoming prompt and full document text. That behavior is expected for the stated purpose, but it means any secrets or credentials embedded in your docs will be read and (depending on configuration) transmitted for embedding.
Install Mechanism
No external install script or remote downloads are included in the plugin bundle. The only external runtime dependency is Ollama and the local embedding model (which the SKILL.md instructs you to pull). No arbitrary URL downloads or archive extraction are present in the provided files.
Credentials
The plugin declares no required environment variables or credentials and the code doesn't request unrelated secrets. The main configuration risk is the ollamaBaseUrl: if set to a remote host, prompt text and indexed docs (including any secrets in them) will be sent to that host. The code and docs clearly warn about this trust-boundary change.
Persistence & Privilege
The skill is not force-enabled (always: false), doesn't request elevated privileges, and appears to only operate within its own configured scope (workspace doc dirs and its session caches). It does not modify other skills' configurations per the provided files.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install skill-preflight - 安装完成后,直接呼叫该 Skill 的名称或使用
/skill-preflight触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.5
Fix doc mismatches, strengthen remote Ollama trust-boundary warnings, and remove remaining gold-standard-specific skip behavior.
v1.0.4
Replace setup-specific skipped filenames with generic audit/eval filtering patterns.
v1.0.3
Remove stray internal truth-gate script from repository.
v1.0.2
Clarify privacy boundary for ollamaBaseUrl and warn when configured to a remote host.
v1.0.1
Cleanup release: removed internal docs from published package.
v1.0.0
Initial release: local-embedding skill and protocol injection for OpenClaw.
元数据
常见问题
Skill Preflight 是什么?
Automatically inject relevant skills and protocols into agent context using local embeddings. Free, no API calls — uses Ollama with nomic-embed-text. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 115 次。
如何安装 Skill Preflight?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install skill-preflight」即可一键安装,无需额外配置。
Skill Preflight 是免费的吗?
是的,Skill Preflight 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Skill Preflight 支持哪些平台?
Skill Preflight 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Skill Preflight?
由 thekhemistai(@thekhemistai)开发并维护,当前版本 v1.0.5。
推荐 Skills