← 返回 Skills 市场
Pydantic Ai Tool System
作者
Kevin Anderson
· GitHub ↗
· v1.0.1
· MIT-0
189
总下载
0
收藏
2
当前安装
2
版本数
在 OpenClaw 中安装
/install pydantic-ai-tool-system
功能描述
Register and implement PydanticAI tools with proper context handling, type annotations, and docstrings. Use when adding tool capabilities to agents, implemen...
安全使用建议
This skill is a usage guide for registering tools and appears coherent. Before installing/using: (1) Confirm the agent runtime's RunContext only supplies the dependencies and secrets you intend (ctx.deps may expose DB clients, API clients, or tokens). (2) Review any tool functions you register for unintended access to secrets or network calls. (3) Use least-privilege for dependencies injected into RunContext (limit DB/API clients and roles). If you want extra assurance, test the guidance in a sandboxed environment first.
功能分析
Type: OpenClaw Skill
Name: pydantic-ai-tool-system
Version: 1.0.1
The skill bundle provides educational documentation and code examples for implementing tools using the PydanticAI library. It covers tool registration, context handling, and docstring formats without any evidence of malicious intent, data exfiltration, or unauthorized execution. The content is strictly technical and aligned with the stated purpose of the skill. Files analyzed: _meta.json, SKILL.md.
能力评估
Purpose & Capability
Name, description, and runtime instructions all describe registering and implementing PydanticAI tools. The skill asks for no binaries, env vars, or installs, which is proportionate for an instruction-only developer guide.
Instruction Scope
SKILL.md instructs the agent to validate source-file signatures, docstrings, and use RunContext to access deps/usage/messages. That is appropriate for a tool-registration guide, but it implies the agent will read code and operate on per-request context (which may include dependencies and tokens provided at runtime). The skill does not instruct reading arbitrary system files or environment variables beyond the RunContext API.
Install Mechanism
No install spec and no code files — instruction-only. No downloads or package installs are requested, minimizing installation risk.
Credentials
The skill itself requests no environment variables or credentials. However, the documented usage of RunContext shows access to ctx.deps, tokens_used, messages, and model info. That is expected for tools but means runtime dependencies provided to the agent (not this skill) could expose sensitive data; the skill does not request unrelated credentials.
Persistence & Privilege
Flags show default autonomy settings (not always:true). The skill does not request persistent installation or modify other skills; no elevated persistence privileges are requested.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install pydantic-ai-tool-system - 安装完成后,直接呼叫该 Skill 的名称或使用
/pydantic-ai-tool-system触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added a "Gates" section detailing specific verification rules for decorator/parameter matching and required docstring coverage.
- Clarified that docstrings must mention each parameter and be non-empty, specifying the expected formats.
- No changes to code or module functionality; documentation only.
v1.0.0
- Initial release of pydantic-ai-tool-system.
- Provides decorators for registering tools with or without context handling.
- Enforces proper type annotations and Google/Sphinx-style docstrings for better LLM integration.
- Supports tool return types including strings, Pydantic models, dicts, and custom content types.
- Introduces prepare functions for dynamic tool modification based on context.
- Adds tools grouping and composition via toolsets.
- Documents best practices and common mistakes for tool implementation.
元数据
常见问题
Pydantic Ai Tool System 是什么?
Register and implement PydanticAI tools with proper context handling, type annotations, and docstrings. Use when adding tool capabilities to agents, implemen... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 189 次。
如何安装 Pydantic Ai Tool System?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install pydantic-ai-tool-system」即可一键安装,无需额外配置。
Pydantic Ai Tool System 是免费的吗?
是的,Pydantic Ai Tool System 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Pydantic Ai Tool System 支持哪些平台?
Pydantic Ai Tool System 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Pydantic Ai Tool System?
由 Kevin Anderson(@anderskev)开发并维护,当前版本 v1.0.1。
推荐 Skills