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
Use with care
55/ 100 5-point scale 2.8 / 5
1 2 3 4 5 6
1Trust17 / 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.

2Reliability8 / 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.

3Adaptability10 / 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.

4Convention10 / 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.

5Effectiveness6 / 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.

6Verifiability4 / 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 does this skill do, and when should you 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.

What are this skill's strengths and limitations?

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 do you install this skill?

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 do you use this skill?

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 Document Translation for Python

Batch-translate Azure Blob Storage documents in Python while preserving their original formats.

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for TypeScript

A practical guide for uploading, downloading, and managing Azure Blob Storage from TypeScript and JavaScript applications.

Dev & Engineering ✓ Microsoft · Official

Azure File Share for Python

Guides Python developers through secure Azure SMB share, directory, and file management.

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 AI Content Safety for Python

Guides Python applications in detecting harmful text and images and enforcing custom blocklists.

Dev & Engineering ✓ Microsoft · Official

Azure App Configuration for Python

Centralize Python application settings, feature flags, and dynamic configuration in Azure.

Dev & Engineering ✓ Microsoft · Official

Azure Container Registry for Python

Manage Azure container images, artifacts, and repositories from Python.

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Java

A practical Java playbook for building file and streaming workflows on Azure Blob Storage.

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 Queue Storage for Python

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

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.

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 Blob Storage for Rust

Guides Rust developers through official Azure SDK patterns for managing blobs and containers.

Dev & Engineering ✓ Microsoft · Official

Azure Communication Common for Java

Guides Java developers through shared ACS authentication, token refresh, and communication identifier handling.

Dev & Engineering ✓ Microsoft · Official

Azure Batch Java Job Orchestration

Run and manage large-scale parallel and HPC workloads on Azure from Java.

Dev & Engineering ✓ Microsoft · Official

Azure API Center Python Manager

Manage Azure API inventories, metadata, and governance with Python.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for Rust

Configure Microsoft Entra ID authentication for Azure SDK clients written in Rust.

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 API Management for Python

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

Related skills