orchardcore-data

orchardcore-data is a skill for Claude Code from CrestApps/CrestApps.AgentSkills. It costs 200 tokens per session (2,391 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 Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the orchardcore plugin — 115 skills shipped together

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.

Or install orchardcore, the plugin that ships this one along with the rest of its 115 skills.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for orchardcore-data

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 200 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,391 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.00200 $0.02391
Opus 5.5 $0.00080 $0.00956
Sonnet 5.5 $0.00040 $0.00478
Haiku 4.5 $0.00020 $0.00239

Measured 2d ago against content hash bbb358ee7790, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2d 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 · 273 lines

How it starts

The opening of the file, as written. The whole thing — 273 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 (default), SqlConnection (SQL Server), Postgres, MySql. For SQL Server, MySQL and PostgreSQL, create the database first; Orchard Core creates the tables, not the database.
  • Provider, connection string, table prefix and schema are tenant settings (setup screen or IShellConfiguration).
  • Prefer IContentManager for content items and ISession for YesSql documents and indexes; use raw SQL only for custom relational tables.
  • Use IDbConnectionAccessor (OrchardCore.Data, package OrchardCore.Data.Abstractions) to create DbConnection instances pointing to the tenant database.
  • Use IStore.Configuration for the SqlDialect, TablePrefix (already includes the separator) and Schema.
  • Quote table names with dialect.QuoteForTableName(name, schema) so tenants with a schema work too.
  • Never pass user input into identifiers; pass data values as Dapper parameters.
  • Create custom tables through data migrations (see orchardcore-data-migrations).
  • Configuration sections are nested under OrchardCore and, since Orchard Core 4.0, are named YesSql, Data:Sqlite, Data:TableOptions and Documents.
  • All recipe JSON must be wrapped in { "steps": [...] }.
  • All C# classes must use the sealed modifier, except view models.

Sqlite Options

The DatabaseName shell setting controls the SQLite file name (OrchardCore.db by default) in the tenant's data folder.

Microsoft.Data.Sqlite pools connections by default. Disable it when file locking interferes with copying or replacing the database file (for example backups); this can reduce performance:

Read the full file on GitHub · 273 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. 2d ago Changed · +36 lines · +12 tokens per session bbb358ee7790
  2. 1mo 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 yesterday), licensed MIT. It adds 200 tokens to every session and 2,391 once invoked, about $0.0008 per session on Opus 5.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