Official agent skill

Cosmos Provider

by dotnet in dotnet/efcore

Implementation details for the EF Core Azure Cosmos DB provider.

OfficialMITAuto-check passed

Install Cosmos Provider

skills CLI
$ npx skills add dotnet/efcore --skill cosmos-provider -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dotnet/efcore cosmos-provider --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dotnet/efcore.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/cosmos-provider .claude/skills/cosmos-provider && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cosmos-provider
GitHub stars
15k
Token cost
~242 tokens
SKILL.md length
85 words
Files
1
Skills in repo
17
Repo updated
First seen
Licence
MIT

At a glance

Implementation details for the EF Core Azure Cosmos DB provider.

  • Changing Cosmos-specific code
  • SKILL.md covers Key Differences from Relational and Azure Cosmos DB Emulator for…
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Cosmos Provider is an agent skill from dotnet/efcore, published by the product's own GitHub organization. Implementation details for the EF Core Azure Cosmos DB provider. Use when changing Cosmos-specific code.

Its SKILL.md is about 240 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Azure Cosmos DB. The repository describes itself as: EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations. The licence is MIT.

When your agent uses it

  • Changing Cosmos-specific code

Example prompts

  • “/cosmos-provider”

What it can do on your machine

Read from SKILL.md and the folder at commit d2f4410. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cosmos Provider loads about 242 tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 85 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~30
When it runs · the whole SKILL.md, loaded when a task matches
~242

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from dotnet/efcore at commit d2f4410, republished under its MIT licence (© dotnet). 85 words, ~242 tokens.

Download SKILL.mdSave it as .claude/skills/cosmos-provider/SKILL.md (or your agent's skills folder).
name
cosmos-provider
description
Implementation details for the EF Core Azure Cosmos DB provider. Use when changing Cosmos-specific code.
user-invocable
false

Cosmos DB Provider

Non-relational provider with its own parallel query pipeline. Uses JSON for document materialization.

Key Differences from Relational

  • No migrations — use EnsureCreated()
  • Documents as JSON — owned and complex types become embedded objects
  • Partition key configuration required for performance
  • ETag for optimistic concurrency
  • No cross-container joins

Azure Cosmos DB Emulator for Tests

  • TestEnvironment.InitializeAsync() auto-starts a Testcontainers.CosmosDb container when Test__Cosmos__DefaultConnection is not set. Set the env var to use an existing emulator instead.
  • Skip tests requiring unsupported features on the Linux emulator with [ConditionalFact(typeof(CosmosTestEnvironment), nameof(CosmosTestEnvironment.IsNotLinuxEmulator))].

© dotnet, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/cosmos-provider of dotnet/efcore.

Open the folder on GitHubat commit d2f4410

Compare with similar skills

Cosmos Provider next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cosmos Provider compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cosmos Provider this skilldotnet/efcore15k—~242Automated safety check: PassMIT
Microsoft Skill CreatorMicrosoftDocs/mcp1.9k3 repos~2.1kAutomated safety check: PassCC-BY-4.0
Open Pull RequestGremlinq/ExRam.Gremlinq187—~1.5kAutomated safety check: PassMIT
Migrate Dotnet8 To Dotnet9dotnet/skills5.6k2 repos~3.9kAutomated safety check: PassMIT
Prepare ReleaseGremlinq/ExRam.Gremlinq187—~1.1kAutomated safety check: PassMIT
Azure Cosmosdbalinaqi/maggy7071 repos~4.5kAutomated safety check: PassMIT

Similar skills

  • Microsoft Skill Creator

    MicrosoftDocs/mcp

    Official

    Create agent skills for Microsoft technologies using official documentation.

    1.9k GitHub starsUsed in 3 repos~2.1k tokens
    Agent WorkflowsAuto-check passed
  • Open Pull Request

    Gremlinq/ExRam.Gremlinq

    A skill your agent uses when opening a pull request for the current branch, or when an existing pull request needs a better description - including when the check-description CI check has failed.

    187 GitHub stars~1.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Official

    Migrate a .NET 8 project to .NET 9 and resolve all breaking changes.

    5.6k GitHub starsUsed in 2 repos~3.9k tokens
    DevelopmentAuto-check passed
  • Prepare Release

    Gremlinq/ExRam.Gremlinq

    A skill your agent uses when preparing a new release. An agent skill from Gremlinq/ExRam.Gremlinq.

    187 GitHub stars~1.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Azure Cosmosdb

    alinaqi/maggy

    Azure Cosmos DB partition keys, consistency levels, change feed, SDK patterns

    707 GitHub starsUsed in 1 repo~4.5k tokens
    DatabasesAuto-check passed
  • Dev Server

    Azure/cosmos-explorer

    Official

    Start the local webpack dev server and connect to it with the Playwright browser.

    131 GitHub stars~1.6k tokensUpdated yesterday
    Testing & QAAuto-check passed

More from dotnet/efcore

All 17 skills in this repo
  • Make Skill

    dotnet/efcore

    Official

    Create and evaluate new Agent Skills for GitHub Copilot. An agent skill from dotnet/efcore.

    15k GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Make Custom Agent

    dotnet/efcore

    Official

    Create custom GitHub Copilot agents. An agent skill from dotnet/efcore.

    15k GitHub stars~2.3k tokensUpdated yesterday
    Auto-check passed
  • Official

    Create GitHub Actions workflows for CI, automation, or PR management.

    15k GitHub stars~1.7k tokensUpdated yesterday
    Auto-check passed
  • Make Instructions

    dotnet/efcore

    Official

    Create and evaluate VS Code file-based instructions (.instructions.md files).

    15k GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Model Building

    dotnet/efcore

    Official

    Implementation details for EF Core model building. An agent skill from dotnet/efcore.

    15k GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Run Apichief

    dotnet/efcore

    Official

    Run ApiChief in the EF Core repo to emit baselines, summaries, deltas, review files, or breaking-change checks.

    15k GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Cosmos Provider

What does Cosmos Provider do?

Implementation details for the EF Core Azure Cosmos DB provider. Cosmos Provider is an agent skill from dotnet/efcore, published by the product's own GitHub organization. Implementation details for the EF Core Azure Cosmos DB provider.

When should I use Cosmos Provider?

Cosmos Provider fits situations like: changing Cosmos-specific code.

How do I install Cosmos Provider in Claude Code?

Run `npx skills add dotnet/efcore --skill cosmos-provider -a claude-code`. Or copy the skill folder (.agents/skills/cosmos-provider in dotnet/efcore) into .claude/skills/cosmos-provider in your project. Claude Code loads it when a task matches its description.

How do I install Cosmos Provider in Codex?

Run `npx skills add dotnet/efcore --skill cosmos-provider -a codex`. Or copy the skill folder (.agents/skills/cosmos-provider in dotnet/efcore) into .agents/skills/cosmos-provider in your project. Codex loads it when a task matches its description.

Can I use Cosmos Provider in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dotnet/efcore --skill cosmos-provider -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cosmos-provider, .gemini/skills/cosmos-provider, .github/skills/cosmos-provider and .opencode/skills/cosmos-provider in your project.

What does Cosmos Provider need to run?

SKILL.md names no scripts, command-line tools or credentials: Cosmos Provider is instructions for the agent only.

Does Cosmos Provider access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cosmos Provider safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cosmos Provider use?

Cosmos Provider is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cosmos Provider use?

About 242 tokens (SKILL.md is roughly 968 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cosmos Provider?

Skills that share tags, products or a category with Cosmos Provider: Microsoft Skill Creator (MicrosoftDocs/mcp, 1.9k stars), Open Pull Request (Gremlinq/ExRam.Gremlinq, 187 stars), Migrate Dotnet8 To Dotnet9 (dotnet/skills, 5.6k stars) and Prepare Release (Gremlinq/ExRam.Gremlinq, 187 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cosmos Provider?

dotnet (a GitHub organization, an official publisher) maintains it in dotnet/efcore, which has 14,800 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 8, 2026.

Source: dotnet/efcore on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.