← 返回 Skills 市场
OpenAI Agent SDK
作者
sendwealth
· GitHub ↗
· v1.0.0
· MIT-0
228
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openai-agent-sdk
功能描述
Build multi-agent AI systems with OpenAI Agents SDK. Create, orchestrate, and manage AI agents with tools, handoffs, guardrails, and tracing. Supports 100+ L...
安全使用建议
This package appears to implement what it claims (an agents SDK) but exercise caution before installing or running it:
- The SKILL.md tells you to set OPENAI_API_KEY (and shows other provider keys) but the skill metadata does not declare required credentials. Treat that as a red flag: only provide minimal, scoped API keys and avoid using primary/production keys for testing.
- Example code contains eval() inside a tool (calculate). Do not run that example or reuse that tool with untrusted inputs—eval can execute arbitrary code.
- There is no homepage or known source listed. Verify the package provenance (look up 'openai-agents' on PyPI/GitHub and confirm the maintainer) before pip installing. Prefer installing in an isolated environment (virtualenv/container) and inspect the installed package files.
- If you must use this skill: (1) use least-privilege API keys, (2) review example and template code for unsafe constructs (eval, unsanitized function inputs), and (3) run in a sandbox until you confirm the package matches official sources.
功能分析
Type: OpenClaw Skill
Name: openai-agent-sdk
Version: 1.0.0
The skill bundle contains a critical Remote Code Execution (RCE) vulnerability in 'examples/tools_example.py' and 'SKILL.md'. The 'calculate' tool uses the Python 'eval()' function to process user-provided strings without any sanitization, which allows for arbitrary code execution. While this appears to be a poorly implemented example rather than intentional malware, the inclusion of such a dangerous pattern in a 'Best Practices' section is highly risky.
能力评估
Purpose & Capability
Name/description (multi-agent SDK) align with SKILL.md and the included examples/templates which demonstrate agents, handoffs, tools, guardrails, tracing, and LiteLLM/other LLM integrations. The declared Python/package runtime requirements (python>=3.10, openai-agents>=0.1.0) are consistent with the SDK purpose.
Instruction Scope
SKILL.md instructs the agent developer to install 'openai-agents' and to set OPENAI_API_KEY, and shows examples using other provider clients (Anthropic) and voice/Redis extras. The instructions do not reference unrelated system paths or hidden endpoints. However, the SKILL.md contains example code that uses Python's eval() in the calculate() tool—this is a code-execution risk if reused with untrusted inputs.
Install Mechanism
No install spec is embedded in the skill package (instruction-only). SKILL.md suggests pip/uv commands to install a public package name (openai-agents). No download-from-URL or archive extraction is present in the skill bundle itself.
Credentials
The registry metadata lists no required environment variables, but SKILL.md explicitly instructs setting OPENAI_API_KEY and shows examples passing other provider keys (Anthropic). That is an incoherence: a skill that depends on API credentials should declare them. Requiring API keys for LLMs is expected for this SDK, but the missing declaration and the demonstration of multiple provider keys (Anthropic, LiteLLM config) should be called out so users don't accidentally supply broad/high-privilege keys without awareness.
Persistence & Privilege
The skill does not request always:true and uses default agent invocation semantics. It does not request system-wide config paths or claim it will modify other skills. No persistence or elevated privileges are requested by the bundle itself.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install openai-agent-sdk - 安装完成后,直接呼叫该 Skill 的名称或使用
/openai-agent-sdk触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Complete OpenAI Agents SDK skill with examples and templates
元数据
常见问题
OpenAI Agent SDK 是什么?
Build multi-agent AI systems with OpenAI Agents SDK. Create, orchestrate, and manage AI agents with tools, handoffs, guardrails, and tracing. Supports 100+ L... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 228 次。
如何安装 OpenAI Agent SDK?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install openai-agent-sdk」即可一键安装,无需额外配置。
OpenAI Agent SDK 是免费的吗?
是的,OpenAI Agent SDK 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
OpenAI Agent SDK 支持哪些平台?
OpenAI Agent SDK 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 OpenAI Agent SDK?
由 sendwealth(@sendwealth)开发并维护,当前版本 v1.0.0。
推荐 Skills