Building Pydantic AI Agents
docling-project/docling
Patterns and tested examples for building agents with Pydantic AI: tools, capabilities, structured output, dependency injection, hooks, YAML specs, streaming and testing.
Converts JSON data snippets into Python Pydantic data models.
$ npx skills add rominirani/antigravity-skills --skill json-to-pydantic -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install rominirani/antigravity-skills json-to-pydantic --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/rominirani/antigravity-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills_tutorial/json-to-pydantic .claude/skills/json-to-pydantic && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "json-to-pydantic" agent skill from https://github.com/rominirani/antigravity-skills/tree/main/skills_tutorial/json-to-pydantic into .claude/skills/json-to-pydantic/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "json-to-pydantic", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/rominirani/antigravity-skills/tree/main/skills_tutorial/json-to-pydanticType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add rominirani/antigravity-skills --skill json-to-pydantic -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install rominirani/antigravity-skills json-to-pydantic --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rominirani/antigravity-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills_tutorial/json-to-pydantic .agents/skills/json-to-pydantic && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "json-to-pydantic" agent skill from https://github.com/rominirani/antigravity-skills/tree/main/skills_tutorial/json-to-pydantic into .agents/skills/json-to-pydantic/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "json-to-pydantic", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add rominirani/antigravity-skills --skill json-to-pydantic -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install rominirani/antigravity-skills json-to-pydantic --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rominirani/antigravity-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills_tutorial/json-to-pydantic .cursor/skills/json-to-pydantic && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "json-to-pydantic" agent skill from https://github.com/rominirani/antigravity-skills/tree/main/skills_tutorial/json-to-pydantic into .cursor/skills/json-to-pydantic/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "json-to-pydantic", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/rominirani/antigravity-skills.git --path skills_tutorial/json-to-pydantic--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add rominirani/antigravity-skills --skill json-to-pydantic -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install rominirani/antigravity-skills json-to-pydantic --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rominirani/antigravity-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills_tutorial/json-to-pydantic .gemini/skills/json-to-pydantic && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "json-to-pydantic" agent skill from https://github.com/rominirani/antigravity-skills/tree/main/skills_tutorial/json-to-pydantic into .gemini/skills/json-to-pydantic/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "json-to-pydantic", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install rominirani/antigravity-skills json-to-pydanticInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add rominirani/antigravity-skills --skill json-to-pydantic -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/rominirani/antigravity-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills_tutorial/json-to-pydantic .github/skills/json-to-pydantic && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "json-to-pydantic" agent skill from https://github.com/rominirani/antigravity-skills/tree/main/skills_tutorial/json-to-pydantic into .github/skills/json-to-pydantic/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "json-to-pydantic", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add rominirani/antigravity-skills --skill json-to-pydantic -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install rominirani/antigravity-skills json-to-pydantic --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rominirani/antigravity-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills_tutorial/json-to-pydantic .opencode/skills/json-to-pydantic && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "json-to-pydantic" agent skill from https://github.com/rominirani/antigravity-skills/tree/main/skills_tutorial/json-to-pydantic into .opencode/skills/json-to-pydantic/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "json-to-pydantic", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
json-to-pydanticConverts JSON data snippets into Python Pydantic data models.
JSON To Pydantic is an agent skill from rominirani/antigravity-skills. Converts JSON data snippets into Python Pydantic data models.
Its SKILL.md is about 250 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files (for example `examples/input_data.json` and `examples/output_model.py`).
It works with Pydantic and Python. The repository describes itself as: Sample Google Antigravity Skills.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 731acca. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships script files (Python), which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
JSON To Pydantic loads about 249 tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 113 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Without a licence we can't republish the file, so here is its outline and opening line. It has 113 words (~249 tokens).
“This skill helps convert raw JSON data or API responses into structured, strongly-typed Python classes using Pydantic.”
SKILL.md and 2 other files in skills_tutorial/json-to-pydantic of rominirani/antigravity-skills.
Open the folder on GitHubat commit 731acca
JSON To Pydantic next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| JSON To Pydantic this skillrominirani/antigravity-skills | 592 | — | ~249 | Automated safety check: Pass | None | |
| Building Pydantic AI Agentsdocling-project/docling | 69k | — | ~2.8k | Automated safety check: Pass | MIT | |
| Fastcrudbenavlabs/fastcrud | 1.6k | — | ~5k | Automated safety check: Pass | MIT | |
| Prompt Engineering Patternswshobson/agents | 40k | — | ~1.3k | Automated safety check: Pass | MIT | |
| A2ui Generate Pydantic Modelsa2ui-project/a2ui | 17k | — | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| Migrating Agno To Pydantic AIpydantic/pydantic-ai | 21k | — | ~1.8k | Automated safety check: Pass | MIT |
docling-project/docling
Patterns and tested examples for building agents with Pydantic AI: tools, capabilities, structured output, dependency injection, hooks, YAML specs, streaming and testing.
benavlabs/fastcrud
A skill your agent uses when building or modifying CRUD endpoints with FastCRUD (the fastcrud PyPI package) in a FastAPI project — covers FastCRUD, crudrouter, EndpointCreator, FilterConfig…
wshobson/agents
Reference for designing and tuning production LLM prompts: few-shot examples, chain-of-thought, structured outputs, templates and system prompts.
a2ui-project/a2ui
Automated generator for strongly typed Pydantic v2 data models and basic catalogs across any A2UI protocol version (v0.8, v0.9, v0.9.1, v1.0, etc.).
pydantic/pydantic-ai
Migrate Python Agno applications to Pydantic AI and, only when needed, Pydantic AI Harness.
timothywarner-org/claude-code
Scaffold production-ready Python MCP servers using FastMCP. An agent skill from timothywarner-org/claude-code.
rominirani/antigravity-skills
Validates SQL schema files for compliance with internal safety and naming policies.
rominirani/antigravity-skills
Makes the agent write every git commit message in the Conventional Commits format, with a type, optional scope, short description and breaking-change footer.
rominirani/antigravity-skills
A workflow for Google Cloud changes: pick gcloud, bq or gsutil, check the command against official docs, preview with a dry run and ask for approval before executing.
rominirani/antigravity-skills
Adds the standard open-source license header to new source files. Use involves creating new code files that require copyright attribution.
Converts JSON data snippets into Python Pydantic data models. JSON To Pydantic is an agent skill from rominirani/antigravity-skills. Converts JSON data snippets into Python Pydantic data models.
Run `npx skills add rominirani/antigravity-skills --skill json-to-pydantic -a claude-code`. Or copy the skill folder (skills_tutorial/json-to-pydantic in rominirani/antigravity-skills) into .claude/skills/json-to-pydantic in your project. Claude Code loads it when a task matches its description.
Run `npx skills add rominirani/antigravity-skills --skill json-to-pydantic -a codex`. Or copy the skill folder (skills_tutorial/json-to-pydantic in rominirani/antigravity-skills) into .agents/skills/json-to-pydantic in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rominirani/antigravity-skills --skill json-to-pydantic -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/json-to-pydantic, .gemini/skills/json-to-pydantic, .github/skills/json-to-pydantic and .opencode/skills/json-to-pydantic in your project.
Going by SKILL.md and its folder, JSON To Pydantic needs Python for the scripts in its folder. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
No licence was found for JSON To Pydantic or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.
About 249 tokens (SKILL.md is roughly 996 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with JSON To Pydantic: Building Pydantic AI Agents (docling-project/docling, 69k stars), Fastcrud (benavlabs/fastcrud, 1.6k stars), Prompt Engineering Patterns (wshobson/agents, 40k stars) and A2ui Generate Pydantic Models (a2ui-project/a2ui, 17k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
rominirani (a GitHub user) maintains it in rominirani/antigravity-skills, which has 592 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on June 27, 2026.
Source: rominirani/antigravity-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.