← Back to Skills Marketplace
anderskev

Pydantic Ai Tool System

by Kevin Anderson · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
189
Downloads
0
Stars
2
Active Installs
2
Versions
Install in OpenClaw
/install pydantic-ai-tool-system
Description
Register and implement PydanticAI tools with proper context handling, type annotations, and docstrings. Use when adding tool capabilities to agents, implemen...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install pydantic-ai-tool-system
  3. After installation, invoke the skill by name or use /pydantic-ai-tool-system
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug pydantic-ai-tool-system
Version 1.0.1
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 2
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 189 downloads so far.

How do I install Pydantic Ai Tool System?

Run "/install pydantic-ai-tool-system" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Pydantic Ai Tool System free?

Yes, Pydantic Ai Tool System is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Pydantic Ai Tool System support?

Pydantic Ai Tool System is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Pydantic Ai Tool System?

It is built and maintained by Kevin Anderson (@anderskev); the current version is v1.0.1.

💬 Comments