Datamodel Code Generator
Datamodel Code Generator is an agent skill (a SKILL.md file) from datamodel-code-generator/datamodel-code-generator. Agents load it when the user wants Python data models, Pydantic models, dataclasses, TypedDicts, msgspec structs, or type-safe Python classes generated from OpenAPI, AsyncAPI, JSON Schema, GraphQL. It works with Claude Code and Codex and has 4,060 GitHub stars.
Data as of from the GitHub API; description from the skill's SKILL.md. Report an error
- Plugin marketplace
- Data & analysis
- Active
Add this skill
Claude
This repository is a Claude Code plugin marketplace. In Claude Code:
/plugin marketplace add datamodel-code-generator/datamodel-code-generator
/plugin install datamodel-code-generator@datamodel-code-generatorIn the Claude apps, zip the datamodel-code-generator folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).
ChatGPT / Codex
Codex reads skills from .agents/skills/ in a repo or ~/.agents/skills/ for every project:
git clone --depth 1 https://github.com/datamodel-code-generator/datamodel-code-generator.git
cp -r datamodel-code-generator/skills/datamodel-code-generator .agents/skills/datamodel-code-generator # repo; ~/.agents/skills for all projectsStandalone skills also load in the ChatGPT desktop app.
Cursor
Cursor loads skills from .cursor/skills/ (or ~/.cursor/skills/) and also reads .claude/skills/:
git clone --depth 1 https://github.com/datamodel-code-generator/datamodel-code-generator.git
cp -r datamodel-code-generator/skills/datamodel-code-generator .cursor/skills/datamodel-code-generator # project; ~/.cursor/skills for all projectsSource (checked Oct 7, 2026): code.claude.com/docs/en/skills (opens in a new tab), code.claude.com/docs/en/plugin-marketplaces (opens in a new tab), support.claude.com/en/articles/12512180-using-skills-in-claude (opens in a new tab), learn.chatgpt.com/docs/build-skills (opens in a new tab), cursor.com/docs/context/skills (opens in a new tab)
What this skill does
Use this skill when the user wants Python data models, Pydantic models, dataclasses, TypedDicts, msgspec structs, or type-safe Python classes generated from OpenAPI, AsyncAPI, JSON Schema, GraphQL, JSON/YAML/CSV sample data, MCP tool schemas, Protocol Buffers, XML Schema, Apache Avro, or existing Python model objects. Use it for requests such as "Pydantic models from this schema", "types for this API", "parse this JSON into classes", or "convert this spec into Python models".
When it triggers
- Use this skill when the user wants Python data models, Pydantic models, dataclasses, TypedDicts, msgspec structs, or type-safe Python classes generated from OpenAPI, AsyncAPI, JSON Schema, GraphQL, JSON/YAML/CSV sample data, MCP tool schema
- Use it for requests such as "Pydantic models from this schema", "types for this API", "parse this JSON into classes", or "convert this spec into Python models".
- "Pydantic models from this schema"
- "types for this API"
- "parse this JSON into classes"
- "convert this spec into Python models"
Similar skills
More data & analysis skills
Institutional Flow Tracker
tradermonty/claude-trading-skills
Use this skill to track institutional investor ownership changes and portfolio flows using 13F filings data.
Maintained · last commit Nov 16, 2026
Data & analysisPythonExtracting Sdoh
maziyarpanahi/openmed
Extracts social determinants of health (SDOH) — housing instability, food insecurity, unemployment, transportation barriers, social isolation, financial strain — from clinical narrative and maps the…
Active · last commit Nov 15, 2026
Data & analysisPythonExpo Data Fetching
expo/skills
Use when implementing or debugging ANY network request, API call, or data fetching.
Maintained · last commit Nov 15, 2026
OfficialData & analysisShellKermt Infer
NVIDIA/skills
Run predictions with a finetuned KERMT checkpoint on a SMILES-only CSV.
Maintained · last commit Nov 13, 2026
OfficialData & analysisPythonSn Da Large File Analysis
OpenSenseNova/SenseNova-Skills
万行以上 Excel 数据集的高性能分析引擎。提供 openpyxl readonly 流式读取(iterrows 支持 10 万行以上)、Parquet 转换加速、内存优化、分块处理和大文件写入模式。遇到以下任一情况就主动使用本 skill:①数据行数 ≥ 10k(由 sn-da-excel-workflow 的行数评估步骤触发);②用户出现触发词:大文件 / 大数据量 / 性能优化 /…
Maintained · last commit Nov 13, 2026
Data & analysisJavaScriptContradiction Analysis
HughYau/qiushi-skill
矛盾分析法:把复杂问题拆成若干对立面,找出规定其他矛盾的主要矛盾及其主要方面,判定对抗性 / 非对抗性,并据此选择处理方式。当问题头绪多、多个因素互相牵制、优先级不清、根因不明、反复修不好、trade-off 说不清时触发;直接执行类任务或用户已定方案时不触发。 English: Contradiction analysis.
Maintained · last commit Oct 1, 2026
Data & analysisJavaScript
How do I install the Datamodel Code Generator skill?
In Claude Code, run /plugin marketplace add datamodel-code-generator/datamodel-code-generator and then /plugin install datamodel-code-generator@datamodel-code-generator. For Codex or Cursor, copy the datamodel-code-generator folder into .agents/skills/ or .cursor/skills/.
Is the Datamodel Code Generator skill free?
Yes. The repository is open source under the MIT license.
Is Datamodel Code Generator maintained?
The repository's most recent commit was on Nov 16, 2026. Its latest release is 0.96.0. appsgit only lists skills from repositories with a commit in the last six months.