AA

ahmadabdalla/azure-cost-calculator

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

20 stars 质量 64 趋势 18MIT

Azure 成本计算器 AI 功能(插件)用于提供确定性和准确的 Azure 服务成本估算

概览

使用公开的 Azure 零售价格 API 进行实时 Azure 成本估算。支持 skills.sh 生态系统中的任何代理。所有价格均来自实时 API 查询。无需 Azure 订阅。 在Copilot的CLI或Claude Code会话中运行。 插件安装从带有变更日志跟踪和更新控制的版本版本中拉取。完整的插件安装/卸载/更新指南,请参见插件管理。 安装Node.js(包括npm和npx),或者先运行npm安装-g技能,然后使用技能添加ahmadabdalla/azure-cost-calculator-skill。 npx 方法直接从主分支拉取最新内容;它总是获得当前稳定内容,但不进行版本钉定或回滚。 用自然语言询问Azure的费用。技能会自动激活。 我想对一个 Azure 架构进行成本分析。我需要考虑哪些因素才能获得一致的结果? 代理人会带您了解影响定价准确性的关键参数。

概述(AI 翻译)

使用公开的 Azure 零售价格 API 进行实时 Azure 成本估算。支持 skills.sh 生态系统中的任何代理。所有价格均来自实时 API 查询。无需 Azure 订阅。

安装

作为插件安装(推荐用于 Copilot CLI 和 Claude Code)

运行在 Copilot CLI 或 Claude Code 会话中。

插件安装从带有更新日志跟踪和更新控制的版本版本中拉取。关于完整的插件安装/卸载/更新指南,请参见插件管理。

安装为技能(可与任何代理使用)

NPX(任何代理都适用):

没有npx? 安装Node.js(包括npm和npx),或者先运行npm install -g skills然后使用skills add ahmadabdalla/azure-cost-calculator-skill。

npx 方法直接从 main 分支拉取最新内容;它总是获得当前稳定内容,但不进行版本钉定或回滚。

用途

用自然语言询问Azure的费用。技能会自动激活。

计划更大的建筑? 从以下内容开始:

I想对Azure架构进行成本分析。我需要考虑哪些因素才能获得一致的结果?

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Azure Cost Calculator - AI Agent Plugin

Real-time Azure cost estimation using the public Azure Retail Prices API. Works with any agent in the skills.sh ecosystem. All prices come from live API lookups. No Azure subscription required.

Install

Run inside a Copilot CLI or Claude Code session.

/plugin marketplace add ahmadabdalla/plugins
/plugin install azure-cost-calculator@ahmadabdalla-plugins

Plugin install pulls from versioned releases with changelog tracking and update control. For the full plugin install/uninstall/update guide, see Plugin Management.

Install as a Skill (works with any agent)

npx (works with any agent):

npx skills add ahmadabdalla/azure-cost-calculator-skill

Don’t have npx? Install Node.js (which includes npm and npx), or run npm install -g skills first then use skills add ahmadabdalla/azure-cost-calculator-skill.

The npx method pulls the latest from the main branch directly; it always gets the current stable content but without version pinning or rollback.

Usage

Ask about Azure costs in natural language. The skill activates automatically.

How much does a D4s v5 VM cost per month in East US?
Compare App Service pricing tiers for a production web app
Estimate a Standard_B2s VM with a P30 managed disk in Australia East in AUD
What's the cost of a General Purpose SQL Database with 4 vCores in West Europe in EUR?
How much would Azure Cosmos DB with 1000 RU/s and 100 GB storage cost?

Planning a larger architecture? Start with:

I’d like to perform a cost analysis on an Azure architecture. What do I need to consider to get consistent results?

The agent will walk you through the key parameters that affect pricing accuracy. For the full guide on writing prompts that produce deterministic estimates, see the Usage Guide.

How It Works

The skill uses service reference files as an index. Each file contains exact API filter values as declarative Key: Value parameters, cost formulas, and traps. The agent reads the matching file, translates the parameters to the detected runtime (Bash or PowerShell), runs the pricing script against the live API, and presents a structured estimate.

The skill optimises for two goals:

  • Determinism - target ≤ 5% cost variance. Same query → same API call → same price. All values from the live API, nothing hardcoded. LLMs are non-deterministic by nature, so this skill is designed to constrain them where possible: pre-verified filters, explicit formulas, and scripted API calls reduce the surface area where the model can drift.
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add ahmadabdalla/azure-cost-calculator
新手?先看 mcpskill.org 教程 →