cosmosdb-agent-kit

A collection of skills for AI coding agents working with Azure Cosmos DB. Skills are packaged instructions and scripts that extend agent capabilities.

Skills follow the Agent Skills format and the kit ships with plugin manifests for Claude Code, Codex, Cursor, Gemini CLI, Grok Build, Kimi Code, and GitHub Copilot.
Where this works best
This agent kit is designed for progressive (on-demand) skill delivery: hosts that load a relevant skill only when it is needed, rather than injecting the entire skill set into every prompt. For the best results:
- Recommended: Agent hosts that support progressive or on-demand skill loading (for example, GitHub Copilot in VS Code), or models with a large context window (roughly 200K+ tokens).
- Use with caution: Hosts that inject the entire skill set as always-on context (some IDE agents and CLI tools) combined with models that have a smaller usable prompt budget (roughly 128K tokens or less). In this configuration the full skill payload can consume, or overflow, the context window, which degrades output quality or causes the agent to stop making progress.
If you are in a constrained setup (always-on injection plus a smaller-context model), prefer one of the following:
- Load a single, focused skill for the task at hand instead of the full set, or
- Switch to a larger-context model, or
- Use a host that supports on-demand skill discovery.
These recommendations are based on internal skill-efficacy testing across multiple models and delivery mechanisms. Exact context limits vary by model and host.
Recommended models
We evaluate agent builds on Azure Cosmos DB with an execution-graded benchmark on Microsoft Bench: a realistic AI Chat with RAG task (Python / FastAPI) built against a live Azure Cosmos DB account (Entra ID, no keys) and scored by hidden integration tests. reward is the fraction of checks passed, averaged over roughly 100 independent attempts per model. Based on this, for building non-trivial Cosmos DB applications we recommend:
| Tier | Models (as tested) | Avg reward | Guidance |
|---|
| Recommended | GPT-5.4, Claude Opus 4.8 | 0.79 – 0.82 | Strongest Cosmos DB build quality; the best default choice. |
| Capable | Claude Sonnet 4.5, Claude Opus 4.5, GPT-5.2, Claude Sonnet 4.6 | 0.59 – 0.68 | Solid results; pair with the kit and a clear specification. |
| Best for simpler tasks | Claude Haiku 4.5, GPT-4.1 | 0.11 – 0.15 | Fine for individual operations; struggle with full application builds regardless of how skills are delivered. |
How to read this: the ranking reflects intrinsic model capability on Cosmos DB build tasks, measured without any skill injected. Model capability is the dominant factor in outcome quality — choose a Recommended-tier model first, then apply the kit.
Delivery mechanism matters as much as the model
The same testing measured how the skill is delivered, and this is where the results are strongest:
- Always-on injection can hurt — including the strongest models. Injecting the entire skill set as always-on context (~500 KB) overflowed the context window and scored 0 on every model whose usable prompt budget is roughly 130K tokens or less. And a multi-file always-on variant significantly reduced quality on large-context, capable models too (for example Claude Opus 4.8 and GPT-5.2 both dropped by roughly 0.3). In other words, forcing the full skill payload into every prompt is counter-productive.
- Progressive / on-demand delivery is the safe mode. It avoided both failure modes — no overflow, no regression on strong models — and matched no-skill quality. It also costs roughly 5–13× fewer input tokens than always-on injection (progressive sends about as many tokens as a no-skill run, because it loads a skill only when needed; always-on re-sends the full payload on every call).