← 返回 Skills 市场
OpenClaw LLM Tools
作者
michealxie001
· GitHub ↗
· v1.0.0
· MIT-0
91
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install oc-llm-tools
功能描述
Universal Tool Definition System for LLM function calling. Define tools once, use with any LLM provider (OpenAI, Anthropic, Gemini, etc.). JSON Schema valida...
安全使用建议
This package implements a legitimate tool registry and format converters, but the README includes examples that are dangerous if used carelessly: avoid registering handlers that perform eval() or that read arbitrary filesystem paths unless you control and audit them. Before installing or exposing this skill to LLM-driven calls: 1) review any handler functions you register — never use eval on untrusted input; 2) avoid handlers that read sensitive files or run shell commands, or run them in a sandboxed environment; 3) prefer pure, constrained handlers that accept validated inputs; 4) be cautious when exposing tool execution to untrusted or third‑party models (an LLM could trigger calls); and 5) note the documentation/code mismatches (missing modules and the ephemeral decorator registry) and consider a code review or tests to ensure behavior matches your expectations.
功能分析
Type: OpenClaw Skill
Name: oc-llm-tools
Version: 1.0.0
The skill bundle provides a framework for managing LLM tool definitions but includes high-risk examples and capabilities. Specifically, SKILL.md contains a documentation example using 'eval()' for a tool handler, which is a classic Remote Code Execution (RCE) vulnerability. Additionally, the skill's metadata defines broad 'read', 'write', and 'exec' tool permissions, which, while potentially useful for a tool management system, present a significant attack surface without explicit safety constraints.
能力评估
Purpose & Capability
The code (ToolRegistry, conversion methods) matches the stated purpose of converting and validating tool definitions for multiple LLMs. However SKILL.md front-matter lists tools (read, write, exec) and the architecture section names modules (tool.py, formats/*) that are not present in the packaged files, which is an inconsistency. The decorator helper 'tool(...)' creates a new ephemeral ToolRegistry per call (likely a bug) — functional but surprising.
Instruction Scope
SKILL.md explicitly shows examples that enable reading arbitrary filesystem paths (read_file uses Path(path).read_text()) and demonstrates a handler using eval(lambda expr: eval(expr)). Those examples instruct users/agents to register handlers that can access local files or execute arbitrary code; if such handlers are exposed to LLM-driven calls, an LLM could cause sensitive file reads or arbitrary code execution. The runtime instructions do not impose sandboxing or limits on handlers.
Install Mechanism
No install spec is provided (instruction-only with source files); requirements.txt only lists jsonschema. There are no external downloads or unusual install steps. This is low risk from an installation provenance perspective.
Credentials
The skill requires no environment variables or credentials, which is proportionate. However, the examples and integration sample show handlers that access the filesystem; while not requested explicitly, handlers can be written to read secrets or other config. The skill itself doesn't demand credentials, but its use can enable access to local data if unsafe handlers are registered.
Persistence & Privilege
The skill does not request permanent presence (always=false), does not modify other skills' configs, and does not declare elevated privileges. Autonomous invocation is allowed by default (platform normal) and is not combined with other high-risk flags here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install oc-llm-tools - 安装完成后,直接呼叫该 Skill 的名称或使用
/oc-llm-tools触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Universal tool definition system for LLM function calling. Supports OpenAI, Anthropic, Gemini, Ollama formats.
元数据
常见问题
OpenClaw LLM Tools 是什么?
Universal Tool Definition System for LLM function calling. Define tools once, use with any LLM provider (OpenAI, Anthropic, Gemini, etc.). JSON Schema valida... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 91 次。
如何安装 OpenClaw LLM Tools?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install oc-llm-tools」即可一键安装,无需额外配置。
OpenClaw LLM Tools 是免费的吗?
是的,OpenClaw LLM Tools 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
OpenClaw LLM Tools 支持哪些平台?
OpenClaw LLM Tools 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 OpenClaw LLM Tools?
由 michealxie001(@michealxie001)开发并维护,当前版本 v1.0.0。
推荐 Skills