← 返回 Skills 市场
Lap Advisormanagementclient
作者
mickmicksh
· GitHub ↗
· v1.0.0
· MIT-0
105
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install lap-advisormanagementclient
功能描述
AdvisorManagementClient API skill. Use when working with AdvisorManagementClient for providers, subscriptions, {resourceUri}. Covers 15 endpoints.
使用说明 (SKILL.md)
AdvisorManagementClient
API version: 2017-04-19
Auth
OAuth2
Base URL
Setup
- Configure auth: OAuth2
- GET /providers/Microsoft.Advisor/metadata -- verify access
- POST /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/generateRecommendations -- create first generateRecommendations
Endpoints
15 endpoints across 3 groups. See references/api-spec.lap for full details.
providers
| Method | Path | Description |
|---|---|---|
| GET | /providers/Microsoft.Advisor/metadata/{name} | Gets the metadata entity. |
| GET | /providers/Microsoft.Advisor/metadata | Gets the list of metadata entities. |
| GET | /providers/Microsoft.Advisor/operations | Lists all the available Advisor REST API operations. |
subscriptions
| Method | Path | Description |
|---|---|---|
| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/configurations | Retrieve Azure Advisor configurations. |
| PUT | /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/configurations | Create/Overwrite Azure Advisor configuration. |
| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Advisor/configurations | Retrieve Azure Advisor configurations. |
| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Advisor/configurations | Create/Overwrite Azure Advisor configuration. |
| POST | /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/generateRecommendations | Initiates the recommendation generation or computation process for a subscription. This operation is asynchronous. The generated recommendations are stored in a cache in the Advisor service. |
| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/generateRecommendations/{operationId} | Retrieves the status of the recommendation computation or generation process. Invoke this API after calling the generation recommendation. The URI of this API is returned in the Location field of the response header. |
| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/recommendations | Obtains cached recommendations for a subscription. The recommendations are generated or computed by invoking generateRecommendations. |
| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/suppressions | Retrieves the list of snoozed or dismissed suppressions for a subscription. The snoozed or dismissed attribute of a recommendation is referred to as a suppression. |
{resourceUri}
| Method | Path | Description |
|---|---|---|
| GET | /{resourceUri}/providers/Microsoft.Advisor/recommendations/{recommendationId} | Obtains details of a cached recommendation. |
| GET | /{resourceUri}/providers/Microsoft.Advisor/recommendations/{recommendationId}/suppressions/{name} | Obtains the details of a suppression. |
| PUT | /{resourceUri}/providers/Microsoft.Advisor/recommendations/{recommendationId}/suppressions/{name} | Enables the snoozed or dismissed attribute of a recommendation. The snoozed or dismissed attribute is referred to as a suppression. Use this API to create or update the snoozed or dismissed status of a recommendation. |
| DELETE | /{resourceUri}/providers/Microsoft.Advisor/recommendations/{recommendationId}/suppressions/{name} | Enables the activation of a snoozed or dismissed recommendation. The snoozed or dismissed attribute of a recommendation is referred to as a suppression. |
Common Questions
Match user requests to endpoints in references/api-spec.lap. Key patterns:
- "Get metadata details?" -> GET /providers/Microsoft.Advisor/metadata/{name}
- "List all metadata?" -> GET /providers/Microsoft.Advisor/metadata
- "List all configurations?" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/configurations
- "List all configurations?" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Advisor/configurations
- "Create a generateRecommendation?" -> POST /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/generateRecommendations
- "Get generateRecommendation details?" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/generateRecommendations/{operationId}
- "List all recommendations?" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/recommendations
- "List all operations?" -> GET /providers/Microsoft.Advisor/operations
- "Get recommendation details?" -> GET /{resourceUri}/providers/Microsoft.Advisor/recommendations/{recommendationId}
- "Get suppression details?" -> GET /{resourceUri}/providers/Microsoft.Advisor/recommendations/{recommendationId}/suppressions/{name}
- "Update a suppression?" -> PUT /{resourceUri}/providers/Microsoft.Advisor/recommendations/{recommendationId}/suppressions/{name}
- "Delete a suppression?" -> DELETE /{resourceUri}/providers/Microsoft.Advisor/recommendations/{recommendationId}/suppressions/{name}
- "List all suppressions?" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/suppressions
- "How to authenticate?" -> See Auth section
Response Tips
- Check response schemas in references/api-spec.lap for field details
- Create/update endpoints typically return the created/updated object
CLI
# Update this spec to the latest version
npx @lap-platform/lapsh get advisormanagementclient -o references/api-spec.lap
# Search for related APIs
npx @lap-platform/lapsh search advisormanagementclient
References
- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas
Generated from the official API spec by LAP
安全使用建议
Proceed with caution. The skill appears to target Azure Advisor endpoints, but the publisher is unknown and the auth instructions are inconsistent: SKILL.md says use OAuth2 (Azure AD / service principal flow), yet the declared required env var is ADVISORMANAGEMENTCLIENT_API_KEY. Before installing, ask the publisher to clarify the exact authentication method and the precise environment variables needed (tenant ID, client ID, client secret or a short-lived OAuth token are typical for Azure). Do not supply broad Azure credentials until you confirm the minimum required permissions (use a least-privilege service principal scoped to Advisor). Note that the README suggests running 'npx ...' (which will download code at runtime) — ensure you trust that package and that the agent's environment allows such network installs. If you cannot verify the source or correct credential requirements, treat this skill as risky and avoid installing it.
功能分析
Type: OpenClaw Skill
Name: lap-advisormanagementclient
Version: 1.0.0
The skill bundle is a standard API wrapper for the Azure Advisor Management Client (management.azure.com). The SKILL.md file correctly documents official Azure REST API endpoints for managing recommendations and configurations, and there are no signs of malicious instructions, data exfiltration, or unauthorized execution logic.
能力评估
Purpose & Capability
The name, description, base URL (management.azure.com), and listed endpoints align with Azure Advisor/AdvisorManagementClient and the claimed 15 endpoints — purpose is plausible and coherent with the endpoints provided.
Instruction Scope
SKILL.md explicitly requires configuring OAuth2 for auth and shows Azure management endpoints, which is appropriate, but it also references running 'npx @lap-platform/lapsh' in the CLI section (which will fetch code at runtime). The doc does not declare required binaries or explain the OAuth2 flow (tenant/client-id/secret or token exchange). The instructions are vague about how the agent should obtain and use credentials and implicitly encourage running external npx commands.
Install Mechanism
There is no install spec and no code files — lowest-risk form. However, instructions reference npx which would fetch a package on demand; that is not part of an install spec and should be noted by the user.
Credentials
The skill declares a single required env var ADVISORMANAGEMENTCLIENT_API_KEY, but the SKILL.md states OAuth2 auth (Azure typically requires OAuth2 tokens / service principal credentials: tenant, client id, client secret, or an access token). Requiring a single 'API_KEY' is inconsistent with OAuth2 and with typical Azure management auth, and no primary credential is declared. This mismatch could lead to users exposing inappropriate credentials or misconfiguring auth.
Persistence & Privilege
always is false and the skill is instruction-only with no install — it does not request permanent presence or elevated platform privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install lap-advisormanagementclient - 安装完成后,直接呼叫该 Skill 的名称或使用
/lap-advisormanagementclient触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of lap-advisormanagementclient.
- Provides AdvisorManagementClient API integration with 15 endpoints across providers, subscriptions, and resourceUri groups
- Supports OAuth2 authentication and API key setup via ADVISORMANAGEMENTCLIENT_API_KEY
- Includes metadata, configuration, recommendations, suppressions, and operations endpoints for Azure Advisor
- Offers basic usage guidance, endpoint matching patterns, and CLI support instructions
- Reference to full API specifications for advanced integration
元数据
常见问题
Lap Advisormanagementclient 是什么?
AdvisorManagementClient API skill. Use when working with AdvisorManagementClient for providers, subscriptions, {resourceUri}. Covers 15 endpoints. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 105 次。
如何安装 Lap Advisormanagementclient?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install lap-advisormanagementclient」即可一键安装,无需额外配置。
Lap Advisormanagementclient 是免费的吗?
是的,Lap Advisormanagementclient 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Lap Advisormanagementclient 支持哪些平台?
Lap Advisormanagementclient 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Lap Advisormanagementclient?
由 mickmicksh(@mickmicksh)开发并维护,当前版本 v1.0.0。
推荐 Skills