schema-cleaner
CommunityNormalize JSON Schemas for LLMs.
Authorwinsorllc
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the challenge of inconsistent JSON Schema support across different Large Language Model (LLM) providers, ensuring your tool-calling schemas are compatible and functional.
Core Features & Use Cases
- Provider-Specific Cleaning: Removes keywords unsupported by specific LLM providers (e.g., Gemini, Anthropic, OpenAI).
- Reference Resolution: Inlines
$refentries, making schemas self-contained. - Union Flattening: Simplifies
anyOf/oneOfwith literals intoenumtypes. - Use Case: When defining a tool for an LLM, you can use this skill to clean its JSON schema so it works correctly whether you're targeting Gemini or OpenAI, preventing errors and ensuring reliable tool execution.
Quick Start
Use the schema-cleaner skill to clean the provided schema for the 'gemini' provider.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: schema-cleaner Download link: https://github.com/winsorllc/upgraded-carnival/archive/main.zip#schema-cleaner Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.