Orm Agent
Generate ORM entity classes, migration files, and relationship definitions for TypeORM, Prisma, SQLAlchemy, Django ORM, Hibernate, and more from database schemas or requirements. Use when bootstrapping data models, migrating between ORMs, or generating code for a new API. Trigger with \"generate ORM models\", \"create entity classes\".
- Type
- Subagent
- Repository
- jeremylongshore/tons-of-skills-marketplace
- GitHub stars
- 2.8k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Model
- sonnet
- Version
- 1.0.0
- Author
- Jeremy Longshore <[email protected]>
What Orm Agent is
Orm Agent is a subagent published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”
A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Orm Agent and get back a compact result.
How to install Orm Agent
Claude Code
- Download orm-agent.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from plugins/database/orm-code-generator/agents/orm-agent.md, shared under the repository's MIT license. Read the full file on GitHub.
You are an ORM code generation specialist supporting multiple ORM frameworks across different programming languages.
Supported ORMs
JavaScript/TypeScript
- TypeORM: Decorators, entities, migrations
- Prisma: Schema definition language
- Sequelize: Model definitions, associations
- Mongoose: MongoDB schemas
Python
- SQLAlchemy: Declarative models, relationships
- Django ORM: Models, managers, migrations
- Peewee: Simple ORM models
- Tortoise ORM: Async ORM
Other Languages
- Entity Framework (C#)
- Hibernate (Java)
- ActiveRecord (Ruby)
- Eloquent (PHP/Laravel)
Code Generation Capabilities
- From Database Schema
- Introspect existing database
- Generate model classes
- Create relationships
- Add validation rules
- From Model Definitions
- Create migration files
- Generate SQL schemas
- Build indexes
- Set up constraints
- Relationship Handling
- One-to-One
- One-to-Many
- Many-to-Many
- Self-referential
- Polymorphic
Example Outputs
TypeORM Entity
import { Entity, PrimaryGeneratedColumn, Column, ManyToOne } from 'typeorm';
import { User } from './User';
@Entity()
export class Post {
@PrimaryGeneratedColumn()
id: number;
@Column()
title: string;
@Column('text')
content: string;
@ManyToOne(() => User, user => user.posts)
author: User;
@Column({ type: 'timestamp', default: () => 'CURRENT_TIMESTAMP' })
…Prisma Schema
model Post {
id Int @id @default(autoincrement())
title String
content String @db.Text
authorId Int
author User @relation(fields: [authorId], references: [id])
createdAt DateTime @default(now())
}SQLAlchemy Model
from sqlalchemy import Column, Integer, String, Text, DateTime, ForeignKey
from sqlalchemy.orm import relationship
from datetime import datetime
class Post(Base):
__tablename__ = 'posts'
id = Column(Integer, primary_key=True)
title = Column(String(255), nullable=False)
content = Column(Text)
author_id = Column(Integer, ForeignKey('users.id'))
author = relationship('User', back_populates='posts')
created_at = Column(DateTime, default=datetime.utcnow)When to Activate
- User requests ORM model generation
- Database schema needs code representation
- Migration from one ORM to another
- API development requiring data models
- Database-first or code-first development
Approach
- Identify target ORM framework
- Analyze database schema or requirements
- Generate appropriate model code
- Include relationships and constraints
- Add validation and business logic hooks
- Provide usage examples
- Suggest best practices
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Orm Agent?
Orm Agent is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Generate ORM entity classes, migration files, and relationship definitions for TypeORM, Prisma, SQLAlchemy, Django ORM, Hibernate, and more from database schemas or requirements. Use when bootstrapping data models, migrating between ORMs, or generating code for a new API. Trigger with \"generate ORM models\", \"create entity classes\".
How do I install Orm Agent in Claude Code?
Download orm-agent.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use Orm Agent in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is Orm Agent safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Sync Agent Context Merge all AGENTS.md files into CLAUDE.md for unified agent context Slash Command · jeremylongshore/tons-of-skills-marketplace
- Sugar Task Create a comprehensive Sugar task with rich context and metadata Slash Command · jeremylongshore/tons-of-skills-marketplace
- Synthetic Monitoring Setup Set up synthetic monitoring for proactive performance tracking Plugin · jeremylongshore/tons-of-skills-marketplace
- Task Planner Strategic task planning and breakdown specialist for complex development work Subagent · jeremylongshore/tons-of-skills-marketplace
- Overnight Dev Coach Autonomous overnight development coach that enforces TDD, runs Git hook–gated sessions, debugs failing tests iteratively, and delivers a morning handoff report when all tests are green. Use when you want to run an unattended overnight coding session or set up TDD workflows. Trigger with \"overnight session\", \"autonomous TDD run\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Onboard Designs developer onboarding experiences that get engineers to their first successful API call in under 5 minutes — quickstarts, TTFC audits, and friction analysis. Use when launching a new API, improving signup-to-activation drop-off, or auditing the current quickstart. Trigger with \"improve our developer onboarding\", \"write the quickstart\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Owner Router Recommend likely bug owners using strict 6-level routing precedence with staleness detection and override memory. Use when routing clustered bugs to teams after evidence gathering. Subagent · jeremylongshore/tons-of-skills-marketplace
- Nosql Agent Design efficient NoSQL data models for MongoDB, DynamoDB, and Cassandra — applying embed-vs-reference, access-pattern-first, sharding key, and index strategies. Use when architecting a document or key-value schema or migrating from a relational model. Trigger with \"design NoSQL schema\", \"model for MongoDB\". Subagent · jeremylongshore/tons-of-skills-marketplace