azure-cosmos-py
Azure Cosmos DB SDK for Python (NoSQL API). Use for document CRUD, queries, containers, and globally distributed data. Triggers: "cosmos db", "CosmosClient", "container", "document", "NoSQL", "partition key".
Why use this skill?
Integrate Azure Cosmos DB into your AI workflows with this skill. Perform NoSQL document CRUD, efficient queries, and database management.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/thegovind/azure-cosmos-pyWhat This Skill Does
The azure-cosmos-py skill provides an interface to the official Azure Cosmos DB Python SDK, enabling AI agents to manage NoSQL database resources programmatically. This skill allows for seamless CRUD (Create, Read, Update, Delete) operations on documents, management of databases and containers, and the execution of SQL-like queries across globally distributed data. It abstracts the complexity of authentication via Azure Identity, allowing users to perform cloud-native data operations directly through their AI agent.
Installation
To integrate this skill, use the clawhub installation command:
clawhub install openclaw/skills/skills/thegovind/azure-cosmos-py
Ensure your local environment or AI runtime has access to Azure credentials, typically via environment variables (COSMOS_ENDPOINT) and the azure-identity package.
Use Cases
This skill is ideal for:
- Data Engineering: Automating the ingestion or migration of records into Azure Cosmos DB containers.
- Application Backend Orchestration: Building dynamic AI agents that can read, update, and manage state in a NoSQL database in real-time.
- Analytics Assistance: Fetching and filtering large datasets using complex SQL queries for downstream processing or summarizing.
- Cloud Operations: Provisioning and teardown of development databases and containers during CI/CD pipelines.
Example Prompts
- "Look up the document with ID 'user-882' in the 'profiles' container where the partition key is 'us-east' and update the 'last_login' field to today's date."
- "Query the 'orders' container to return all items where the price is greater than 1000 and the category is 'electronics'."
- "Create a new container named 'sessions' with a partition key of '/session_id' inside my existing database."
Tips & Limitations
- Partition Key Awareness: Always ensure you include the partition key in your queries and CRUD operations. Operations without a partition key may perform poorly or require a cross-partition query, which is computationally expensive.
- Security: Never hardcode your credentials. Use managed identities or Environment Variables like
COSMOS_ENDPOINTto maintain a secure posture. - Rate Limiting: Be mindful of Request Units (RU) assigned to your Cosmos DB instance. High-frequency operations via this skill may consume your throughput quickly, potentially leading to 429 'Too Many Requests' errors.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-thegovind-azure-cosmos-py": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api
Related Skills
azure-ai-evaluation-py
Azure AI Evaluation SDK for Python. Use for evaluating generative AI applications with quality, safety, and custom evaluators. Triggers: "azure-ai-evaluation", "evaluators", "GroundednessEvaluator", "evaluate", "AI quality metrics".
azd-deployment
Deploy containerized applications to Azure Container Apps using Azure Developer CLI (azd). Use when setting up azd projects, writing azure.yaml configuration, creating Bicep infrastructure for Container Apps, configuring remote builds with ACR, implementing idempotent deployments, managing environment variables across local/.azure/Bicep, or troubleshooting azd up failures. Triggers on requests for azd configuration, Container Apps deployment, multi-service deployments, and infrastructure-as-code with Bicep.
agent-framework-azure-ai-py
Build Azure AI Foundry agents using the Microsoft Agent Framework Python SDK (agent-framework-azure-ai). Use when creating persistent agents with AzureAIAgentsProvider, using hosted tools (code interpreter, file search, web search), integrating MCP servers, managing conversation threads, or implementing streaming responses. Covers function tools, structured outputs, and multi-tool agents.
azure-identity-py
Azure Identity SDK for Python authentication. Use for DefaultAzureCredential, managed identity, service principals, and token caching. Triggers: "azure-identity", "DefaultAzureCredential", "authentication", "managed identity", "service principal", "credential".
github-issue-creator
Convert raw notes, error logs, voice dictation, or screenshots into crisp GitHub-flavored markdown issue reports. Use when the user pastes bug info, error messages, or informal descriptions and wants a structured GitHub issue. Supports images/GIFs for visual evidence.