orchardcore-data-migrations

orchardcore-data-migrations is a skill for Claude Code, Codex from CrestApps/CrestApps.AgentSkills. It costs 190 tokens per session (2,175 once invoked), scanned A, original, MIT.

A guide to changing Orchard Core’s data structures safely as a module evolves. A data migration is versioned code that creates or updates content definitions, database indexes, and stored data.

In plain words
What is it for?
Use it to define content types and fields, create or alter YesSql index tables, seed data, and write versioned migration steps.
Why use it?
It lets existing installations receive schema and content changes without losing data or requiring a fresh setup.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to define content types and fields, create or alter YesSql index tables, seed data, and write versioned migration steps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/crestapps/crestapps.agentskills/orchardcore-data-migrations
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add CrestApps/CrestApps.AgentSkills --skill orchardcore-data-migrations
Clone the repo
git clone --depth 1 https://github.com/CrestApps/CrestApps.AgentSkills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for orchardcore-data-migrations

README.md
[![agentmods](https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-data-migrations.svg)](https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-data-migrations)
Your own site
<a href="https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-data-migrations"><img src="https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-data-migrations.svg" alt="Measured on agentmods" height="20"></a>
Per session 190 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,175 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00190 $0.02175
Opus 5 $0.00095 $0.01087
Sonnet 5 $0.00038 $0.00435
Haiku 4.5 $0.00019 $0.00217

Measured 5d ago against content hash cb4127965691, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

orchardcore-data-migrations scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/orchardcore/skills/orchardcore-data-migrations/SKILL.md · 294 lines

How it starts

The opening of the file, as written. The whole thing — 294 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Orchard Core Data Migrations - Prompt Templates

Create Data Migrations

You are an Orchard Core expert. Generate data migration code for Orchard Core modules.

Guidelines

  • Data migrations inherit from DataMigration.
  • Place migrations in a Migrations folder in the feature project.
  • Name migration classes clearly and keep them internal sealed.
  • Migrations define content types, parts, fields, and database indexes.
  • Use CreateAsync() for initial migration, UpdateFrom1Async(), UpdateFrom2Async() for incremental updates.
  • Create, CreateAsync, UpdateFromX, UpdateFromXAsync, Uninstall, and UninstallAsync can be marked static when they do not use injected services, inherited instance members, or other instance state.
  • Keep migration methods instance methods when they rely on constructor-injected services like IContentDefinitionManager or inherited members like SchemaBuilder.
  • Register migrations in Startup.cs using services.AddScoped<IDataMigration, Migrations>().
  • IContentDefinitionManager is used to define content types and parts.
  • SchemaBuilder is used to create and alter YesSql index tables.
  • Use stable column names in CreateMapIndexTableAsync() and AlterIndexTableAsync(). A string literal is clearest for a persisted schema; use nameof(...) only when the member name is intentionally the persisted column name.
  • MapIndex tables already get a DocumentId column from YesSql. Never declare or alter that column manually in the migration.
  • If an index needs access to the YesSql document id, expose public long DocumentId { get; set; } on the MapIndex type and let YesSql populate it.
  • Prefer keeping reusable content-part models in the corresponding *.Core project when they are used outside the feature wiring layer.

For Orchard Core 3.0 migrations, use the current async migration and clock APIs. IDataMigrationManager.UpdateAsync accepts the feature names to update, and ILocalClock.GetLocalNowAsync replaces the removed local-clock async member. Do not add IAsyncOptions or IAsyncConfigureOptions<TOptions>; configure options with the synchronous options APIs.

Read the full file on GitHub · 294 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 294 lines · 190 tokens per session scan A cb4127965691

Subscribe to this mod's changes

orchardcore-data-migrations is a skill published in the GitHub repository CrestApps/CrestApps.AgentSkills (13 stars, last pushed 10d ago), licensed MIT. It adds 190 tokens to every session and 2,175 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

amazon aurora dsql

Deprecated compatibility redirect for Aurora DSQL guidance. Use when a request concerns DSQL, Aurora DSQL, distributed SQL, DSQL schemas, migrations, queries, authentication, performance, or application development.

awslabs/mcp · 46 tokens

dv-query

Bulk reads, multi-page iteration, and analytics over Dataverse data. Use when the user wants to read, list, filter, aggregate, group, join, or analyze records — including pandas DataFrame workflows and notebook exploration.

microsoft/Dataverse-skills · 48 tokens

solr-schema

To design and audit Solr schemas: field types, analyzers, docValues, solrconfig.

griddynamics/rosetta · 25 tokens

dv-connect

One-step setup for a Dataverse environment — installs tools, authenticates, registers the MCP server, and writes .env. Use when starting a new project, switching environments, fixing authentication, or troubleshooting an MCP connection that won't come up.

microsoft/Dataverse-skills · 51 tokens

odoo-data-quality-gate

Audit an Odoo database's data quality with evidence before trusting AI answers, importing, or migrating — duplicates, missing required values, orphaned references, format anomalies — and drive remediation through odoo-mcp's gated write workflow. Use when the user asks to "check data quality", "clean up data", "prepare…

erpipe-org/mcp-odoo · 85 tokens

frontmcp-production-readiness

Pre-production audit, hardening, and go-live checklists for FrontMCP servers. Use before shipping to verify security hardening, performance, reliability, and observability, and for target-specific production checklists: Node server (Docker, graceful shutdown, Redis session scaling), Vercel and edge (cold-start…

agentfront/frontmcp · 176 tokens