# Azure cosmos db py

> Azure cosmos db py is an open-source agent skill for cloud and infrastructure. Build Azure Cosmos DB NoSQL services with Python/FastAPI following production-grade patterns. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-python/skills/azure-cosmos-db-py
- **Repository:** https://github.com/microsoft/skills
- **GitHub stars:** 3,214
- **License:** MIT
- **Skill name:** azure-cosmos-db-py
- **Collection:** https://github.com/microsoft/skills
- **Categories:** cloud and infrastructure
- **Listing updated:** 2026-11-17

## About

Build Azure Cosmos DB NoSQL services with Python/FastAPI following production-grade patterns. Use when implementing database client setup with dual auth (DefaultAzureCredential + emulator), service layer classes with CRUD operations, partition key strategies, parameterized queries, or TDD patterns for Cosmos. Triggers on phrases like "Cosmos DB", "NoSQL database", "document store", "add persistence", "database service layer", or "Python Cosmos SDK".

## When your agent uses it

> Build Azure Cosmos DB NoSQL services with Python/FastAPI following production-grade patterns. Use when implementing database client setup with dual auth (DefaultAzureCredential + emulator), service layer classes with CRUD operations, partition key strategies, parameterized queries, or TDD patterns for Cosmos. Triggers on phrases like "Cosmos DB", "NoSQL database", "document store", "add persistence", "database service layer", or "Python Cosmos SDK".

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/microsoft/skills/tree/HEAD/.github/plugins/azure-sdk-python/skills/azure-cosmos-db-py)
- [No network calls found in its scripts](https://github.com/microsoft/skills/tree/HEAD/.github/plugins/azure-sdk-python/skills/azure-cosmos-db-py)
- [License: MIT](https://github.com/microsoft/skills/tree/HEAD/.github/plugins/azure-sdk-python/skills/azure-cosmos-db-py)

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/azure-cosmos-db-py` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/azure-cosmos-db-py &&
cp -R "$tmp/.github/plugins/azure-sdk-python/skills/azure-cosmos-db-py" ~/.claude/skills/azure-cosmos-db-py &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/azure-cosmos-db-py` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/azure-cosmos-db-py` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/azure-cosmos-db-py &&
cp -R "$tmp/.github/plugins/azure-sdk-python/skills/azure-cosmos-db-py" ~/.agents/skills/azure-cosmos-db-py &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/azure-cosmos-db-py` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/azure-cosmos-db-py` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/azure-cosmos-db-py &&
cp -R "$tmp/.github/plugins/azure-sdk-python/skills/azure-cosmos-db-py" ~/.cursor/skills/azure-cosmos-db-py &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/azure-cosmos-db-py` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/microsoft/skills.git --path .github/plugins/azure-sdk-python/skills/azure-cosmos-db-py
```

Or copy the folder to `~/.gemini/skills/azure-cosmos-db-py` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/azure-cosmos-db-py`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/azure-cosmos-db-py &&
cp -R "$tmp/.github/plugins/azure-sdk-python/skills/azure-cosmos-db-py" ~/.copilot/skills/azure-cosmos-db-py &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/azure-cosmos-db-py` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/microsoft/skills.git
```

Then copy `skills/.github/plugins/azure-sdk-python/skills/azure-cosmos-db-py` into your agent's skills folder as `azure-cosmos-db-py`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Azure cosmos db py in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/azure-cosmos-db-py to use it in all your projects, or to .claude/skills/azure-cosmos-db-py in one project.

### Does Azure cosmos db py run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Azure cosmos db py?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Azure cosmos db py?

The closest alternatives to Azure cosmos db py are Gem devops guidelines, Azure logic apps standard CLI, Azure container registry CLI, Azure devops CLI and Terraform azurerm set diff analyzer.

## Alternatives

- [Gem devops guidelines](https://ai-powered.com/skills/gem-devops-guidelines): Gem devops guidelines is an open-source agent skill for cloud and infrastructure.
- [Azure logic apps standard CLI](https://ai-powered.com/skills/azure-logic-apps-standard-cli): Azure logic apps standard CLI is an open-source agent skill for cloud and infrastructure.
- [Azure container registry CLI](https://ai-powered.com/skills/azure-container-registry-cli): Azure container registry CLI is an open-source agent skill for cloud and infrastructure.
- [Azure devops CLI](https://ai-powered.com/skills/azure-devops-cli): Azure devops CLI is an open-source agent skill for cloud and infrastructure.
- [Terraform azurerm set diff analyzer](https://ai-powered.com/skills/terraform-azurerm-set-diff-analyzer): Terraform azurerm set diff analyzer is an open-source agent skill for cloud and infrastructure.
- [Azure deployment preflight](https://ai-powered.com/skills/azure-deployment-preflight): Azure deployment preflight is an open-source agent skill for cloud and infrastructure.
- [Arduino azure iot edge integration](https://ai-powered.com/skills/arduino-azure-iot-edge-integration): Arduino azure iot edge integration is an open-source agent skill for cloud and infrastructure.
- [Azure resource visualizer](https://ai-powered.com/skills/azure-resource-visualizer): Azure resource visualizer is an open-source agent skill for cloud and infrastructure.

---
Source: https://ai-powered.com/skills/azure-cosmos-db-py
