Dev & Engineering ✓ Microsoft · Official azure-blob-storagepython-sdkobject-storageblob-uploadblob-downloadentra-idsas-tokens

Azure Blob Storage for Python

Guides secure, production-minded Blob Storage operations in Python.

FollowSkills review · FSRS-2.0
Not recommended
55/ 100 5-point scale 2.8 / 5
Trust17 / 25 · 3.4/5

The documentation recommends DefaultAzureCredential, constrains production credential chains, avoids account keys, and demonstrates user-delegation SAS with read-only permission, reducing credential risk. However, upload, delete, and SAS-generation operations lack user-confirmation, rollback, or recovery guidance; data-flow, sensitive-data handling, and permission boundaries are incomplete, so points are deducted.

Reliability8 / 20 · 2.0/5

The client hierarchy and upload, download, listing, and async patterns are broadly coherent, and deterministic client cleanup is emphasized. However, there is little exception handling, retry guidance, pagination guidance, conflict handling, or diagnosable permission/network failure feedback; the main async section also inconsistently omits credential lifecycle management. Static calibration limits this score to 10 or below.

Adaptability10 / 15 · 3.3/5

Triggers, SDK scope, common scenarios, and sync/async modes are reasonably clear. Non-fit ranges, input/output contracts, compatibility boundaries, Chinese-language guidance, and mainland-China reachability of Azure endpoints and authentication services are not addressed, so points are deducted.

Convention10 / 15 · 3.3/5

The skill has readable installation, authentication, hierarchy, workflow, performance, and reference sections, with MIT licensing, author, and version metadata. Dependencies are unpinned, and changelog, maintenance ownership, update path, troubleshooting, and complete limitation disclosures are missing; some reference content is duplicated.

Effectiveness6 / 15 · 2.0/5

It directly covers common Blob container, upload, download, listing, deletion, metadata, and SAS tasks, with usable starting snippets. The examples are not complete end-to-end implementations, lack production cleanup and error handling, and require substantial review for destructive operations. Static calibration caps this dimension at 7.

Verifiability4 / 10 · 2.0/5

The skill and references, pinned revision, license, and repository CI/test infrastructure provide auditable evidence. There are no skill-specific committed tests, real execution results, or independent third-party corroboration for the key API paths, so independent reproduction cannot be claimed.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
Before you use it
  • The delete-blob example lacks confirmation, soft-delete/snapshot recovery, or rollback guidance; users should verify resource scope before applying it.
  • Production dependency versions are unpinned, and examples do not cover authorization failures, network failures, retries, pagination, or large-file edge cases.
  • Reachability of Azure authentication and service endpoints from mainland-China networks is not documented, and no Chinese-language guidance is provided.
See the full review method →

What it does & when to use it

This skill gives coding agents focused guidance for the Azure Blob Storage SDK for Python. It covers container and blob creation, uploads, downloads, listing, deletion, metadata, properties, SAS tokens, and large-transfer tuning. Its authentication guidance favors DefaultAzureCredential, Microsoft Entra ID, and deterministic client cleanup, making it suited to Python projects that need consistent local and Azure production patterns.

It explains how to install azure-storage-blob and azure-identity, configure storage account environment variables, and use BlobServiceClient, ContainerClient, and BlobClient for container creation, blob uploads, downloads, prefix listing, virtual-directory walking, deletion, property retrieval, metadata updates, and HTTP content headers. It also provides synchronous and asynchronous examples, concurrent large-file transfers, and user-delegation SAS generation.

  1. A Python developer needs to upload files, bytes, or streams to Azure Blob Storage.
  2. A backend engineer needs to download blobs to disk, memory, or an existing buffer.
  3. An application needs prefix-based blob listing or virtual-directory traversal.
  4. A team wants Microsoft Entra authentication instead of connection strings or storage account keys.
  5. A service handles large uploads or downloads and needs chunk-size and concurrency controls.

Pros & cons

Pros
  • Covers the core Azure Blob Storage object and file-transfer workflows.
  • Provides explicit guidance for DefaultAzureCredential, user-delegation SAS, and production credential constraints.
  • Includes synchronous, asynchronous, streaming, and concurrent-transfer examples.
  • Addresses resource cleanup, memory efficiency, and content types.
Limitations
  • The scope is limited to the Blob Storage SDK and does not cover other Azure Storage services.
  • The supplied source does not provide standalone test results or a version-compatibility matrix for this skill.
  • It requires Python, the Azure SDK packages, a storage account, and appropriate identity permissions.
  • Some environment-specific setup, permission details, and error-handling guidance remain undocumented.

How to install

Run npx skills add microsoft/skills and select the required skill in the wizard. The skill is located at .github/plugins/azure-sdk-python/skills/azure-storage-blob-py/SKILL.md. The README does not document a dedicated single-skill installation command.

How to use

In an Agent Skills-compatible coding agent, make a concrete request such as: “Use the azure-storage-blob Python SDK with DefaultAzureCredential to upload and download a blob.” Install azure-storage-blob azure-identity, set AZURE_STORAGE_ACCOUNT_NAME or AZURE_STORAGE_ACCOUNT_URL, and set AZURE_TOKEN_CREDENTIALS=prod as appropriate for production. Keep synchronous and asynchronous client usage consistent and use the shown context-manager patterns. Further runtime setup details are not documented in the supplied source.

FAQ

Do I need a connection string or storage account key?
No. The skill explicitly prefers DefaultAzureCredential and Microsoft Entra authentication, while advising against connection strings and account/API keys.
What permission is needed to create a user-delegation SAS?
The caller needs the “Storage Blob Delegator” role on the storage account to obtain a user delegation key.
Are concurrent large-file transfers supported?
Yes. The examples use max_block_size, max_single_put_size, and max_concurrency to tune large uploads and downloads.
Can synchronous and asynchronous clients be mixed?
The guidance says to choose synchronous or asynchronous clients per call path and remain consistent rather than mixing the two modes.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure Identity for Python

A practical skill for securing Python Azure applications with Microsoft Entra ID credentials.

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs Java Skill

Build production-oriented Java event streaming applications on Azure Event Hubs.

Dev & Engineering ✓ Microsoft · Official

Azure Tables for Python

A practical guide to building authenticated Azure Tables applications with Python entity CRUD, queries, and partition-scoped batch operations.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

Configure secure, flexible Microsoft Entra ID authentication for TypeScript Azure applications.

Automation & Ops ✓ Microsoft · Official

Azure Reliability Advisor

Assess and improve reliability for Azure Functions and App Service.

Dev & Engineering ✓ Microsoft · Official

Azure Cloud Architect

Guides coding agents through production-grade Azure architecture design and review using Azure Architecture Center practices.

Dev & Engineering ✓ Microsoft · Official

Azure AI Text Analytics for Python

Guides Python developers through Azure-powered text analysis and NLP workflows.

Automation & Ops ✓ Microsoft · Official

Azure Resource Architecture Visualizer

Analyze Azure resource groups and turn their dependencies into detailed Mermaid architecture diagrams.

Dev & Engineering ✓ Microsoft · Official

Azure Maps for .NET

Build .NET location features for search, routing, maps, geolocation, and weather.

Dev & Engineering ✓ Microsoft · Official

Azure AI Vision Image Analysis

Guides Python coding agents in implementing Azure AI Vision image understanding.

Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Python

Gives coding agents reliable Python patterns for secure Azure Queue Storage messaging and asynchronous task processing.

Automation & Ops ✓ Microsoft · Official

Azure AI Gateway Governance

Use Azure API Management to govern traffic across AI models, MCP tools, and agents.

Automation & Ops ✓ Microsoft · Official

AKS Automatic Readiness

Assess Kubernetes workloads for AKS Automatic compatibility and identify migration blockers before you switch.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB ARM for .NET

Provision and manage Azure Cosmos DB resources from .NET through ARM.

Dev & Engineering ✓ Microsoft · Official

Azure Playwright Workspace Manager

Provision and manage Microsoft Playwright Testing workspaces with .NET and Azure Resource Manager.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB for Python

A practical guide for building reliable Python applications on Azure Cosmos DB’s NoSQL API.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault SDK for Python

Gives Python coding agents practical guidance for securely managing Azure Key Vault secrets, keys, and certificates.

Dev & Engineering ✓ Microsoft · Official

Azure API Management for Python

Gives coding agents practical Python SDK patterns for managing Azure API Management services, APIs, products, subscriptions, and policies.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Rust

A focused guide for building secure Azure Queue Storage messaging workflows in Rust.

Related skills