Core Data Agent Skill - Setup Guide¶
Source: avdlee/core-data-agent-skill via skills.sh - 2.6K combined installs across 1 indexed listing; first seen 2026-11-29 (Nov 29 morning sweep)
GitHub: avdlee/core-data-agent-skill - 323 stars, MIT license, branch main, last pushed 2026-09-14; the skill lives under core-data-expert/SKILL.md with 14 reference files under core-data-expert/references/, plus .claude-plugin/ marketplace manifests for Claude Code.
Category: Development - iOS and macOS Core Data persistence for AI coding tools
Quality Tier: 🟢 Green - MIT license and 323 stars; the single sampled listing passes all three auditors (Gen Agent Trust Hub, Socket and Snyk) with no Warn or Fail cells.
avdlee publishes a single Core Data expert skill for AI coding tools that support the Agent Skills open format. The skill condenses SwiftLee Core Data articles, the Core Data Best Practices repository and WWDC sessions into reference files an agent loads on demand. It covers stack setup, fetch requests and NSFetchedResultsController, saving and merge conflicts, threading and Swift Concurrency, batch operations and persistent history, schema migrations, performance profiling, and NSPersistentCloudKitContainer/CloudKit sync. The skills.sh index lists one skill at 2,596 installs.
The repository is organized as a main SKILL.md that carries an agent behavior contract, a 60-second triage template and a routing map, plus 14 reference files under core-data-expert/references/ covering one topic each. The author, Antoine van der Lee, built the Collect by WeTransfer app and publishes sibling Swift Concurrency, SwiftUI and Swift Testing expert skills. A different publisher ships a broader iOS and Swift suite; see the Related section for that adjacent guide.
Installation¶
Any Agent Skills-compatible agent can add the skill with one command:
npx skills add https://github.com/avdlee/core-data-agent-skill --skill core-data-expert
Or install it as a Claude Code plugin, which adds the core-data-expert slash commands:
/plugin marketplace add AvdLee/Core-Data-Agent-Skill
/plugin install core-data-expert@core-data-agent-skill
To enable the plugin for everyone on a team repository, add it to .claude/settings.json:
{
"enabledPlugins": {
"core-data-expert@core-data-agent-skill": true
},
"extraKnownMarketplaces": {
"core-data-agent-skill": {
"source": {
"source": "github",
"repo": "AvdLee/Core-Data-Agent-Skill"
}
}
}
}
Manual install: clone the repository and install or symlink the core-data-expert/ folder following your tool's skills documentation. The skill works with any tool that follows the Agent Skills open format, including Codex, Claude and Cursor.
What It Provides¶
| Skill | Installs | Use For |
|---|---|---|
| core-data-expert | 2,596 | Expert Core Data guidance for iOS and macOS: stack setup, fetch requests and NSFetchedResultsController, saving and merge conflicts, threading and Swift Concurrency, batch operations, migrations, performance and CloudKit sync. |
All 1 indexed listing clears the 500-install threshold and appears in the table above.
Why This Matters for Hermes Agents¶
This skill is a compact reference for how to structure a domain-expert agent skill. The main SKILL.md does not dump knowledge; it carries an agent behavior contract (determine the deployment target before advising, never pass an NSManagedObject instance across contexts), a 60-second triage template and a routing map that sends the agent to the correct reference file. Each of the 14 references holds one topic with code examples, so context stays small and only the relevant file loads. The routing map and the common-errors-to-next-best-move table are the same pattern a Hermes builder can copy to keep a skill's reference data navigable. The migration and CloudKit references show how to front a stateful Apple framework with the constraints the agent must enforce, such as the immutable production schema and staged versus deferred migration, which is directly relevant to anyone wrapping a platform API in agent guidance.
Usage¶
| You say | What happens |
|---|---|
| "Set up a Core Data stack for my app" | Uses core-data-expert to pick NSPersistentContainer versus NSPersistentCloudKitContainer and configure contexts and merge policies. |
| "Fix a crash where a background task touches a managed object" | Uses core-data-expert to recommend context confinement and NSManagedObjectID handoff. |
| "Migrate my schema without losing data" | Uses core-data-expert to choose lightweight, staged or deferred migration for the model change. |
| "Make my fetch requests faster" | Uses core-data-expert to apply batching, property limiting and context resets. |
| "Sync my store with CloudKit" | Uses core-data-expert to configure NSPersistentCloudKitContainer and monitor sync events. |
| "Batch update thousands of records" | Uses core-data-expert to apply NSBatchInsertRequest and verify persistent history tracking. |
Verification¶
The skill lives at core-data-expert/SKILL.md on branch main. Fetch it directly to review the behavior contract and routing map before installing:
curl -sL https://raw.githubusercontent.com/avdlee/core-data-agent-skill/main/core-data-expert/SKILL.md
After a clone, list the reference files to confirm the full set:
git clone --depth 1 https://github.com/avdlee/core-data-agent-skill.git /tmp/core-data-agent-skill
ls /tmp/core-data-agent-skill/core-data-expert/references/
One skill directory ships in the tree (core-data-expert) with 14 reference files covering stack setup, saving, fetch requests, threading, concurrency, batch operations, persistent history, model configuration, migration, CloudKit integration, performance, testing and a glossary.
Security¶
skills.sh verdicts for sampled skills (verified 2026-11-29) - re-check the security pages on skills.sh before production use:
| Skill | Gen Agent Trust Hub | Socket | Snyk |
|---|---|---|---|
| core-data-expert | Pass | Pass | Pass |
The single sampled listing passes all three auditors, so this guide is Green. The skill is reference content with no runtime dependencies, but review its Snyk page before relying on it in production.
Integration with CorpusIQ¶
CorpusIQ is the connector layer that lets AI assistants read the systems a business already runs on - accounting, payments, CRM, email, files and analytics - and answer with the source named. It is read-only by design: it retrieves data and never writes to, or acts in, a connected system, which is what makes it safe to point at live accounts.
This page is part of the CorpusIQ directory, the reference we maintain for the MCP server and agent-skill ecosystem. Run alongside CorpusIQ, a third-party server like this one can be combined with a company's own business data in a single answer.
Limitations¶
- Snapshot data, verified 2026-11-29: 2,596 combined installs across 1 indexed listing; 323 GitHub stars; MIT license; last pushed 2026-09-14. Counts drift over time.
- This is a single-skill repository, so the whole suite is one listing rather than a family of skills from this publisher.
- The skill targets Apple platforms (iOS and macOS) only; it does not cover persistence outside Core Data or outside Apple's ecosystem.
- The guidance is reference material, not executable code: the agent still has to implement the Core Data stack itself.
- The content is dated to the frameworks it covers (iOS 14+/17+ features such as staged and deferred migration), so re-check against the current SDK before relying on it.
Related¶
- SwiftUI Agent Skill - Apple UI Development Setup
- Swift Concurrency Agent Skill - Swift 6 Setup
- SwiftData Pro - Swift Data Modeling Skill Setup
- Swift iOS Skills - iOS 26 and SwiftUI Suite Setup
Skills Catalog | Skills Marketplace
Pro Tips¶
- Read core-data-expert/SKILL.md before installing; the curl path above gives you the whole skill to review.
- Prefer the npx skills add command for reproducibility, or the Claude Code plugin for slash-command integration.
- Let the routing map in SKILL.md pick the reference file instead of loading all 14 at once.
- The skill never passes NSManagedObject instances across contexts; pass NSManagedObjectID instead.
- For CloudKit work, remember the production schema is immutable, so plan migrations before the store ships.
← Skills Catalog | Skills Marketplace → Powered by CorpusIQ