crestapps-core-entitycore-stores

crestapps-core-entitycore-stores is a skill for Claude Code from CrestApps/CrestApps.AgentSkills. It costs 167 tokens per session (2,178 once invoked), scanned A, original, MIT.

A setup guide for using Entity Framework Core as CrestApps.Core's database storage system. Entity Framework Core is a .NET tool that maps application data to database tables.

In plain words
What is it for?
Use it to configure database persistence, choose SQLite or another Entity Framework Core store, add feature stores, set table options, and extend the data model.
Why use it?
It explains the difference between registering the database context and selecting feature-specific stores, helping developers save changes at the correct application boundary.

Skill for Claude Code

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

Part of the crestapps-core plugin — 47 skills shipped together

Good fit Use it to configure database persistence, choose SQLite or another Entity Framework Core store, add feature stores, set table options, and extend the data model.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/crestapps/crestapps.agentskills/crestapps-core-entitycore-stores
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 crestapps-core-entitycore-stores
Clone the repo
git clone --depth 1 https://github.com/CrestApps/CrestApps.AgentSkills

Made for: Claude Code.

Or install crestapps-core, the plugin that ships this one along with the rest of its 47 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 crestapps-core-entitycore-stores

README.md
[![agentmods](https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/crestapps-core-entitycore-stores/github.svg)](https://agentmods.dev/skills/crestapps/crestapps.agentskills/crestapps-core-entitycore-stores)
Your own site
<a href="https://agentmods.dev/skills/crestapps/crestapps.agentskills/crestapps-core-entitycore-stores"><img src="https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/crestapps-core-entitycore-stores/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 crestapps-core-entitycore-stores

Your own site · 80×15
<a href="https://agentmods.dev/skills/crestapps/crestapps.agentskills/crestapps-core-entitycore-stores"><img src="https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/crestapps-core-entitycore-stores.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 167 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,178 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.00167 $0.02178
Opus 5.5 $0.00067 $0.00871
Sonnet 5.5 $0.00033 $0.00436
Haiku 4.5 $0.00017 $0.00218

Measured yesterday against content hash 2cb320a9be80, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

crestapps-core-entitycore-stores 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 yesterday.

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/crestapps-core/skills/crestapps-core-entitycore-stores/SKILL.md · 148 lines

How it starts

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

CrestApps.Core EntityCore Stores

You are a CrestApps.Core expert. Generate accurate Entity Framework Core persistence code with CrestApps.Core.Data.EntityCore.

Rules

  • Register the data store on the root builder with .AddEntityCoreSqliteDataStore(connectionString, tablePrefix: "CA_") or .AddEntityCoreDataStore(options => options.UseNpgsql(...), store => store.TablePrefix = "App_"). They map to AddCoreEntityCoreSqliteDataStore(...) and AddCoreEntityCoreDataStore(...) on IServiceCollection and register CrestAppsEntityDbContext plus scoped EntityCoreStoreCommitter.
  • AddEntityCoreStores() on a feature builder selects that feature's stores. It never registers the DbContext.
  • EntityCoreStoreCommitter.CommitAsync() calls SaveChangesAsync() only when ChangeTracker.HasChanges() is true. Writes that never reach a commit boundary are lost when the scope ends.
  • EntityCoreDataStoreOptions.TablePrefix defaults to "CA_". EnforceNamedSourceUniqueness (default false) adds a unique index on entity type, source and name; enable it only after removing duplicates.
  • CrestAppsEntityDbContext is sealed. Extend the model through ICrestAppsModelConfigurer.
  • Call await app.Services.InitializeEntityCoreSchemaAsync() after Build() when the host lets the package manage the schema. It runs EnsureCreatedAsync(), upgrades the pre-1.0 layout, and adds optional tables and catalog columns introduced later. Use EF Core migrations instead when the host owns its schema.

Registration

using CrestApps.Core;
using CrestApps.Core.AI;
using CrestApps.Core.AI.Chat;
using CrestApps.Core.AI.Documents;
using CrestApps.Core.Data.EntityCore;

builder.Services.AddControllersWithViews()
    .AddCrestAppsStoreCommitterFilter();

builder.Services.AddCrestAppsCore(crestApps => crestApps
    .AddAISuite(ai => ai
        .AddEntityCoreStores()
        .AddChatInteractions(chat => chat.AddEntityCoreStores())
        .AddDocumentProcessing(documents => documents.AddEntityCoreStores())
        .AddAIMemory(memory => memory.AddEntityCoreStores())
        .AddPersonas(personas => personas.AddEntityCoreStores())
        .AddToolInstances(tools => tools.AddEntityCoreStores()))
    .AddIndexingServices(indexing => indexing.AddEntityCoreStores())
    .AddEntityCoreDataStore(
        options => options.UseNpgsql(builder.Configuration.GetConnectionString("CrestApps")),
        store => store.TablePrefix = "App_"));

builder.Services.AddCoreWebCrawlerStoresEntityCore();
builder.Services.AddCoreFileSourceStoresEntityCore();

Read the full file on GitHub · 148 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. yesterday Changed · +88 lines · +140 tokens per session 2cb320a9be80
  2. 1mo ago First seen · 60 lines · 27 tokens per session scan A a645d33ab445

Subscribe to this mod's changes

crestapps-core-entitycore-stores is a skill published in the GitHub repository CrestApps/CrestApps.AgentSkills (13 stars, last pushed yesterday), licensed MIT. It adds 167 tokens to every session and 2,178 once invoked, about $0.0007 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-08-30.

Related

Other skills, from other repositories