orchardcore-data

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

A guide to Orchard Core’s database layer, including its document-style data abstraction over relational databases. It covers SQLite, SQL Server, PostgreSQL, and MySQL connections and queries.

In plain words
What is it for?
Use it to configure database providers, access tenant connections, build portable queries, use Dapper, and set YesSql options.
Why use it?
It helps application code work across different database systems without hard-coding provider-specific SQL or tenant table names.

Skill for Claude CodeCodex

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

Good fit Use it to configure database providers, access tenant connections, build portable queries, use Dapper, and set YesSql options.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/crestapps/crestapps.agentskills/orchardcore-data
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
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

README.md
[![agentmods](https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-data.svg)](https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-data)
Your own site
<a href="https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-data"><img src="https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-data.svg" alt="Measured on agentmods" height="20"></a>
Per session 188 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,685 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.00188 $0.01685
Opus 5 $0.00094 $0.00843
Sonnet 5 $0.00038 $0.00337
Haiku 4.5 $0.00019 $0.00169

Measured 5d ago against content hash 4b90709d4861, 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 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/SKILL.md · 237 lines

How it starts

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

Orchard Core Data - Prompt Templates

Configure and Use the Orchard Core Data Layer

You are an Orchard Core expert. Generate code and configuration for database access, YesSql settings, Dapper queries, connection management, and table prefix handling.

Guidelines

  • Orchard Core uses YesSql as its document database abstraction over relational databases.
  • Supported database providers: Sqlite, SqlConnection (SQL Server), Postgres, MySql.
  • Use IDbConnectionAccessor to create DbConnection instances pointing to the tenant database.
  • Use IStore to access ISqlDialect for database-agnostic query building.
  • Always account for TablePrefix from ShellSettings when building raw SQL.
  • Use dialect.QuoteForTableName() to properly quote table names for the active provider.
  • Dapper can be used directly with DbConnection for custom queries.
  • Configure YesSql options via YesSqlOptions in code or OrchardCore_YesSql in appsettings.json.
  • All recipe JSON must be wrapped in { "steps": [...] }.
  • All C# classes must use the sealed modifier.

Sqlite Connection Pooling Configuration

By default Microsoft.Data.Sqlite pools connections. Disable it if database file locking interferes with backups:

{
  "OrchardCore_Data_Sqlite": {
    "UseConnectionPooling": false
  }
}

YesSql Configuration Options

Setting Description Default
CommandsPageSize Max queries per command batch before splitting 500
QueryGatingEnabled Enables query gating optimization true
EnableThreadSafetyChecks Aids diagnosing concurrency issues false
IsolationLevel Default transaction isolation level ReadCommitted
IdGenerator Custom ID generator implementation Built-in
ContentSerializer Custom content serializer JSON
Configure YesSql in appsettings.json
{
  "OrchardCore_YesSql": {
    "CommandsPageSize": 1000,
    "QueryGatingEnabled": true,
    "EnableThreadSafetyChecks": false
  }
}

Read the full file on GitHub · 237 lines

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 · 237 lines · 188 tokens per session scan A 4b90709d4861

Subscribe to this mod's changes

orchardcore-data is a skill published in the GitHub repository CrestApps/CrestApps.AgentSkills (13 stars, last pushed 10d ago), licensed MIT. It adds 188 tokens to every session and 1,685 once invoked, about $0.0009 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

dv-overview

Foundational cross-cutting context for Dataverse / Power Platform work — scope and the skill map, the tool-capability reference, the safety rules, and the safe change lifecycle. Use when the user mentions Dataverse, Dynamics 365, Power Platform, CRM, or ERP; load this first for orientation. Specialist skills…

microsoft/Dataverse-skills · 77 tokens

solr-extending

To build Solr plugins: SearchComponent, QParser, URP, DocTransformer.

griddynamics/rosetta · 23 tokens

new-entity

Create a backend entity with EF Core configuration and migration.

fpindej/netrock · 10 tokens

add-entity

Scaffold a new domain entity or aggregate in this Vertical Slice Architecture template — the entity itself, its strongly typed ID, errors, specification, EF Core configuration, DbSet, the mandatory Vogen registration, and the migration. Use when the user says "add an entity", "add an aggregate", "create a domain…

SSWConsulting/SSW.VerticalSliceArchitecture · 116 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

sod

Use when needing a multi-paradigm .NET ORM with SQL-MAP (MyBatis-style XML mapping), OQL (Object Query Language), and traditional ORM. PDF.NET SOD: combines ORM + SQL-MAP + OQL for flexible .NET data access.

znlgis/opengis-skills · 57 tokens