microsoft/azure-skills

azure-search-nav

找不到 Azure 门户入口时,直接定位资源菜单

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

azure-search-nav 是什么?

azure-search-nav 接收 Azure 资源地址或 ARM 资源 ID,以及想执行的操作描述,调用语义搜索接口生成 Azure Portal 对应菜单的直达链接。绑定版本支持 Container Service、Arc Kubernetes 和 Compute 中已启用的资源类型,不执行菜单中的资源操作。

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

按客户端选择安装入口

怎么接入你的 Agent?

  1. 定位完整 Skill 目录

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

  2. 交给你正在用的 Agent

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

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

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

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

安装并检查 azure-search-nav

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

项目身份:microsoft/azure-skills / azure-search-nav
来源:https://github.com/microsoft/azure-skills/blob/968f7bfaa01672e782dae2c6bab4fb9505ae047a/.github/plugins/aks-skills/skills/azure-search-nav/SKILL.md
已定位的源文件:.github/plugins/aks-skills/skills/azure-search-nav/SKILL.md

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

装好以后,具体怎么用?

准备哪些材料

  • 准备目标资源的 Portal URL 或 ARM ID、自然语言查询词,并安装 PowerShell 的 Az.Accounts 模块;登录账号需能访问目标订阅租户。

会得到什么

  • 目标资源对应的 Azure 门户菜单直达链接;不支持或无匹配时明确说明。

实际使用顺序

  1. 先核对资源类型是否位于 references/resource-types.json 的启用列表,收集资源链接和要找的菜单操作。
  2. 运行随 Skill 提供的 references/Invoke-PortalSearchNav.ps1,传 -ResourceUrl 与 -Query;脚本默认浏览器登录,无界面环境使用 -UseDeviceAuthentication。
  3. 读取以 https://portal.azure.com 为根的结果链接。401 时重选正确租户并登录;无匹配时换更具体查询词;缺少 Az.Accounts 时按来源给出的 Install-Module Az.Accounts -Scope CurrentUser 安装模块。
使用示例

从一个具体任务开始

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

安装并识别 Skill 后发送

复制一个具体任务

教学任务:使用 azure-search-nav。我会提供一个实际 AKS 资源 ARM ID,请帮我定位门户中与节点池有关的菜单。先核对资源类型启用列表,再用 Skill 自带 PowerShell 脚本和查询词生成 portal.azure.com 链接;本机无交互浏览器时使用设备码方式。只生成导航链接,不修改节点池。
预期结果

预期返回资源菜单的门户深链或具体无匹配原因;本站未登录 Azure 或执行脚本。

使用前先看这些限制

使用条件与边界

  • 仅支持资源映射文件中启用的 Microsoft.ContainerService、Microsoft.Kubernetes、Microsoft.Compute 类型,不能保证任意 Azure 服务都可导航。
  • 生成链接不表示相应操作已执行或当前账号具有该菜单操作的写权限。
针对这个 Skill 的疑问

常见问题

服务器没有浏览器窗口怎么办?

源文件支持给脚本附 -UseDeviceAuthentication,改用设备码登录。若返回401,还需要核对账号所在租户是否能访问该订阅。

需要核对时再展开原文

来源原文与资料状态

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

.github/plugins/aks-skills/skills/azure-search-nav/SKILL.md · 抓取时间 2026-11-16T12:36:35.145Z

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

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

来源 description(原文)

Builds an Azure portal deep link to a specific blade/menu item for supported Microsoft.ContainerService, Microsoft.Kubernetes, and Microsoft.Compute resources using the aks-search-direct-mid semantic search API. WHEN: 'find where in the Azure portal to do something', 'search the portal for an operation', 'construct a portal link from a search query and a resource'.

查看源文件章节 / Source sections
  • 原文:Azure Portal Search Link Builder
  • 原文:Quick Reference
  • 原文:When to Use This Skill
  • 工作流程 / Workflow
  • 原文:Error Handling
原文:Quick Reference

| Item | Value | |------|-------| | Script | [`references/Invoke-PortalSearchNav.ps1`](references/Invoke-PortalSearchNav.ps1) | | Resource map | [`references/resource-types.json`](references/resource-types.json) | | Prerequisite | `Az.Accounts` PowerShell module | | Auth | Interactive Microsoft sign-in (`Connect-AzAccount`), or device-code with `-UseDeviceAuthentication` |

原文:When to Use This Skill

- User asks to find where in the Azure portal to perform an operation on a supported Container Service, Arc-enabled Kubernetes, or Compute resource. - User wants a portal deep link for a specific blade/menu item. - User provides a resource URL or ARM resource ID and a natural-language search query.

工作流程 / Workflow

1. Collect **resource link** (portal URL or bare ARM resource ID) and **search query** from the user. 2. Run `references/Invoke-PortalSearchNav.ps1 -ResourceUrl '<link>' -Query '<query>'`. 3. The script signs in (browser by default; pass `-UseDeviceAuthentication` in headless/CLI environments), calls the search API, and prints portal deep links always rooted at `https://portal.azure.com`. See [references/README.md](references/README.md) for full parameter reference and API details.

原文:Error Handling

| Error | Cause | Fix | |-------|-------|-----| | Resource type not enabled | `armProvider` not in `references/resource-types.json` | Confirm the type is in the enabled-provider list | | 401 from API | Invalid token, or wrong tenant selected | Re-run and select the account with access to the target subscription's tenant | | Empty results | No matching navigation item for the query | Try a different search term | | `Az.Accounts` not found | Module not installed | `Install-Module Az.Accounts -Scope CurrentUser` | | Browser sign-in fails (no window handle) | Headless/CLI environment | Re-run with `-UseDeviceAuthentication` |

相同源文件的其他来源(1)

以下 SKILL.md 的文件校验值与本页来源相同,合并保留来源记录。仓库内的其他文件、依赖和安装方式仍需分别核对。

文件 SHA256:7e869e37173d7608320554e85a444aa337c3e66cc3b7145cd33caae67b5c0abd

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

SKILL.md原文description · 2026-11-16T12:36:35.145Z

Builds an Azure portal deep link to a specific blade/menu item for supported Microsoft.ContainerService, Microsoft.Kubernetes, and Microsoft.Compute resources using the aks-search-direct-mid semantic search API. WHEN: 'find where in the Azure portal to do something', 'search the portal for an operation', 'construct a portal link from a search query and a resource'.

查看历史简介来源

历史收录数据

来源仓库microsoft/azure-skills
Skill源路径.github/plugins/aks-skills/skills/azure-search-nav/SKILL.md

安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。

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