microsoft/azure-skills

azure-storagemicrosoft/azure-skills / skills/azure-storage/SKILL.md

按数据用途选 Azure 存储,再操作准确账户和容器

  • SKILL.md 已保存
  • 中文用法已整理
  • 安装与运行未实测
先判断是否解决你的问题

azure-storage 是什么?

azure-storage 为 Blob、File Shares、Queue、Table 和 Data Lake 选择工具与 SDK,也解释 Hot/Cool/Cold/Archive 层级与生命周期。它能指导列举、上传和下载 Blob;关系数据库、Cosmos DB 与 Event Hubs/Service Bus 消息排障不在同一范围。

中文说明由本站依据来源整理;英文原文保留在页面下方。

同名项目,请核对仓库和目录

按客户端选择安装入口

怎么接入你的 Agent?

  1. 定位完整 Skill 目录

    打开本项目来源,核对 SKILL.md 及其引用的脚本和资料。

  2. 交给你正在用的 Agent

    在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。

  3. 确认识别,再做具体任务

    让 Agent 回报安装目录和识别到的名称 azure-storage,然后按本页使用示例提供材料。

展开并复制给 Codex 的安装指令
发送给 Codex

安装并检查 azure-storage

请在 Codex 的当前工作环境中安装并检查 azure-storage 这个 Skill。

项目身份:microsoft/azure-skills / azure-storage
来源:https://github.com/microsoft/azure-skills/blob/65922d293cba61a40d5edf61a9eb4b6b0e799788/skills/azure-storage/SKILL.md
已定位的源文件:skills/azure-storage/SKILL.md

1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。
准备输入,再按步骤执行

装好以后,具体怎么用?

准备哪些材料

  • 明确要处理的是对象文件、SMB共享、任务队列、键值表还是 Data Lake;实际访问需提供正确账户、容器/共享与资源访问权限。上传还需确定本地文件和目标名称。

会得到什么

  • 任务对应存储服务与操作入口,或在明确目标下的文件列表/传输结果及实际状态。

实际使用顺序

  1. 先选择服务:对象备份或静态文件走 Blob;SMB走 Files;简单异步任务走 Queue;层级分析数据走 Data Lake。不要用一个服务的命令操作另一种资源。
  2. Blob 优先经 azure__storage 的 storage_account_list、storage_container_list、storage_blob_list 逐层定位,再用 storage_blob_get/put 读取或写入;缺 MCP 时按源文 CLI 或对应语言 SDK 路线处理。
  3. 如选存储层级,结合访问频率和恢复需求比较;Archive 需要 rehydration。账户 Standard/Premium、冗余选择与 Blob 热冷层级是不同维度,不能仅以最低存储单价作决定。
使用示例

从一个具体任务开始

本站根据源文件编写的使用示例,未在本站实际运行。示例中的文件由你提供。

安装并识别 Skill 后发送

复制一个具体任务

教学任务:使用 azure-storage,帮我为一个月只偶尔读取、但需要较快取回的备份目录比较 Azure Blob 的 Hot、Cool、Cold 与 Archive。先确认访问频率、保留时长和恢复要求,再说明为什么 Archive 的 rehydration 会影响选择。本轮不上传文件、不改已有 Blob 层级。
预期结果

预期得到符合访问与恢复要求的层级选择依据;本站未修改存储账户或实测恢复速度。

使用前先看这些限制

使用条件与边界

  • 源文层级表是选择参考,具体价格和条件需在实际区域与账户上核对,不能据表给出精确费用承诺。
  • SQL/Cosmos DB 走其他入口;Queue Storage 与 Event Hubs/Service Bus 的 SDK 行为也不能混用。
针对这个 Skill 的疑问

常见问题

Archive 最便宜,为什么不全部放进去?

源文说明 Archive 需要重新水化后访问。选择时必须把实际访问频率、恢复时间要求与费用一起考虑,不能只看静态存储成本。

需要核对时再展开原文

来源原文与资料状态

源文件
已保存 SKILL.md,抓取于 2026-11-17T10:53:18.212Z
中文使用说明
已针对下方源文件版本整理用途、用法和常见问题
安装与任务测试
本站未执行安装或任务测试
来源复核
本页中文用法已对照保存版本的完整 SKILL.md 阅读整理
展开 SKILL.md 原文、章节与历史收录资料

skills/azure-storage/SKILL.md · 抓取时间 2026-11-17T10:53:18.212Z

以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。

抓取成功不代表已完成安装或任务测试。

来源 description(原文)

Azure Storage Services including Blob Storage, File Shares, Queue Storage, Table Storage, and Data Lake. Answers questions about storage access tiers (hot, cool, cold, archive), when to use each tier, and tier comparison. Provides object storage, SMB file shares, async messaging, NoSQL key-value, and big data analytics. Includes lifecycle management. USE FOR: blob storage, file shares, queue storage, table storage, data lake, upload files, download blobs, storage accounts, access tiers, storage tiers, hot cool cold archive, storage tier comparison, when to use storage tiers, lifecycle management, Azure Storage concepts. DO NOT USE FOR: SQL databases, Cosmos DB (use azure-prepare), messaging with Event Hubs or Service Bus (use azure-messaging).

查看源文件章节 / Source sections
  • 原文:Azure Storage Services
  • 原文:Services
  • 原文:MCP Server (Preferred)
  • 原文:CLI Fallback
  • 原文:Storage Account Tiers
  • 原文:Blob Access Tiers
  • 原文:Redundancy Options
  • 原文:Service Details
  • 原文:SDK Quick References
  • 原文:Azure SDKs
原文:Services

| Service | Use When | MCP Tools | CLI | |---------|----------|-----------|-----| | Blob Storage | Objects, files, backups, static content | `azure__storage` | `az storage blob` | | File Shares | SMB file shares, lift-and-shift | - | `az storage file` | | Queue Storage | Async messaging, task queues | - | `az storage queue` | | Table Storage | NoSQL key-value (consider Cosmos DB) | - | `az storage table` | | Data Lake | Big data analytics, hierarchical namespace | - | `az storage fs` |

原文:MCP Server (Preferred)

When Azure MCP is enabled: - `azure__storage` with command `storage_account_list` - List storage accounts - `azure__storage` with command `storage_container_list` - List containers in account - `azure__storage` with command `storage_blob_list` - List blobs in container - `azure__storage` with command `storage_blob_get` - Download blob content - `azure__storage` with command `storage_blob_put` - Upload blob content **If Azure MCP is not enabled:** In Copilot CLI or Claude Code, ask the user to run `/mcp` and enable Azure MCP; in other hosts, ask the user to enable Azure MCP through the host's MCP configuration.

原文:CLI Fallback

```bash # List storage accounts az storage account list --output table # List containers az storage container list --account-name ACCOUNT --output table # List blobs az storage blob list --account-name ACCOUNT --container-name CONTAINER --output table # Download blob az storage blob download --account-name ACCOUNT --container-name CONTAINER --name BLOB --file LOCAL_PATH # Upload blob az storage blob upload --account-name ACCOUNT --container-name CONTAINER --name BLOB --file LOCAL_PATH ```

原文:Storage Account Tiers

| Tier | Use Case | Performance | |------|----------|-------------| | Standard | General purpose, backup | Milliseconds | | Premium | Databases, high IOPS | Sub-millisecond |

原文:Blob Access Tiers

| Tier | Access Frequency | Cost | |------|-----------------|------| | Hot | Frequent | Higher storage, lower access | | Cool | Infrequent (30+ days) | Lower storage, higher access | | Cold | Rare (90+ days) | Lower still | | Archive | Rarely (180+ days) | Lowest storage, rehydration required |

原文:Redundancy Options

| Type | Durability | Use Case | |------|------------|----------| | LRS | 11 nines | Dev/test, recreatable data | | ZRS | 12 nines | Regional high availability | | GRS | 16 nines | Disaster recovery | | GZRS | 16 nines | Best durability |

文件 SHA256:cf527b7c89b54194a9e2475dfaa25a454ef8f8417d7674b3a714d34368f613f9

仓库许可证记录:未提供;skill-declaration-captured-not-interpreted,查看来源。

Skills.sh收录简介 · 2026-07-28

Azure Storage Services including Blob Storage, File Shares, Queue Storage, Table Storage, and Data Lake. Answers questions about storage access tiers (hot,…

查看历史简介来源

这份历史简介在采集时已截断;完整用途和触发条件需打开来源核对。

历史收录数据

Skill标识azure-storage
来源仓库microsoft/azure-skills
榜单快照2026-07-28
榜单口径Skills.sh累计安装量
快照名次17
快照累计安装量482462

历史资料说明

  • 所保留的来源简介在采集时已截断;完整触发条件、依赖及排除项须阅读源文件,本站不补写缺失部分。
  • 安装量用于说明当时的收录次序,不是效果、可信度或当前可用性的证明。

此页用于识别项目与来源。安装入口可在该Skill的Skills.sh页面查看;当前目录是否仍存在、附带脚本和账户依赖尚需按具体版本确认。

返回 Skills 目录,按任务继续筛选 · MCP与Skills教程与资源