Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file should not be at the repo root. It should be under src/ to follow the repo convention of keeping source files in src/. Root-level dotfiles/directories should be reserved for tool configuration that must be at root (like .github/, .vscode/).

"name": "finops-toolkit",
"description": "Microsoft FinOps Toolkit plugins for AI-powered cloud financial management.",
"owner": {
"name": "Microsoft"
},
"plugins": [
{
"name": "microsoft-finops-toolkit",
"version": "1.0.0",
"source": "../src/templates/claude-plugin",
"description": "AI-powered cloud financial management for Azure. Analyze costs with KQL queries against FinOps hubs, get CFO-level reporting, and access Azure Cost Management insights.",
"category": "productivity",
"homepage": "https://learn.microsoft.com/en-us/cloud-computing/finops/toolkit/finops-toolkit-overview"
},
{
"name": "microsoft-learn",
"source": {
"source": "url",
"url": "https://github.com/microsoftdocs/mcp.git"
},
"description": "Access official Microsoft documentation, API references, and code samples for Azure, .NET, Windows, and more.",
"category": "documentation",
"homepage": "https://learn.microsoft.com"
}
]
}
1 change: 1 addition & 0 deletions AGENTS.md
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not symlink this file to Copilot instructions. We should symlink Copilot instructions here.

182 changes: 0 additions & 182 deletions CLAUDE.md
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like you dropped a significant amount of useful information. I don't think this should be the right approach. The Copilot instructions aren't as good as what we have here. I haven't compared everything, so there may be room to merge, but we should keep the build and test guidance and more.

This file was deleted.

1 change: 1 addition & 0 deletions CLAUDE.md
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like you dropped a significant amount of useful information. I don't think this should be the right approach. The Copilot instructions aren't as good as what we have here. I haven't compared everything, so there may be room to merge, but we should keep the build and test guidance and more.

9 changes: 8 additions & 1 deletion docs-mslearn/toolkit/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: FinOps toolkit changelog
description: Review the latest features and enhancements in the FinOps toolkit, including updates to FinOps hubs, Power BI reports, and more.
author: MSBrett
ms.author: brettwil
ms.date: 02/11/2026
ms.date: 02/23/2026
ms.topic: reference
ms.service: finops
ms.subservice: finops-toolkit
Expand Down Expand Up @@ -35,6 +35,13 @@ The following section lists features and enhancements that are currently in deve

## v14

### Claude Code plugin v1.0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be the same version as everything else.

Suggested change
### Claude Code plugin v1.0
### Claude Code plugin v14


- **Added**
- Added Claude Code plugin with skills for FinOps hubs and Azure Cost Management.
- Added 4 agents (CFO, FinOps practitioner, database query, hubs agent), 4 commands, and an output style.
- Moved KQL query catalog from `src/queries/` into the plugin.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you update the finops-hub-copilot code?


### [FinOps hubs](hubs/finops-hubs-overview.md) v14

- **Fixed**
Expand Down
2 changes: 1 addition & 1 deletion src/queries/catalog/costs-enriched-base.kql
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
// for FinOps reporting, allocation, and optimization.
//
// For full schema and column definitions, see:
// https://raw.githubusercontent.com/microsoft/finops-toolkit/refs/heads/msbrett/features/ghc/src/queries/finops-hub-database-guide.md#column-definitions
// See finops-hub-database-guide.md#column-definitions in the queries reference directory
// ============================================================================

let startDate = startofmonth(ago(30d));
Expand Down
6 changes: 3 additions & 3 deletions src/queries/catalog/quarterly-cost-by-resource-group.kql
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
// ============================================================================
// Query: Top N Quarterly Cost by Resource Group
// Description:
// Returns the top N resource groups by total effective cost over the last quarter (3 months).
// Includes monthly breakdown and subaccount context for each resource group.
// Returns the top N cost rows (by resource group, subaccount, and month) over the last quarter (3 months).
// Each row represents one resource group in one month — useful for identifying the highest single-month cost drivers.
// Author: FinOps Toolkit
// Parameters:
// N: Number of top resource groups to return (default: 5)
// startDate: Start date for the reporting period (e.g., startofmonth(ago(90d)))
// endDate: End date for the reporting period (e.g., startofmonth(now()))
// Output:
// Each row represents a resource group, subaccount, and month with its total effective cost.
// Each row is a (resource group, subaccount, month) combination with its total effective cost.
// Usage:
// Use this query to identify major cost drivers and trends at the resource group level for quarterly reporting.
// Last Tested: 2025-05-17
Expand Down
4 changes: 2 additions & 2 deletions src/queries/finops-hub-database-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ The FinOps hubs database is designed to support advanced cost and usage analytic

## Query Best Practices

- **Start with the CostsPlus Query:**
Use the provided CostsPlus query as your base for any cost or usage analytics. This ensures you benefit from the latest schema, enrichment logic, and FinOps best practices.
- **Start with the [`costs-enriched-base`](./catalog/costs-enriched-base.kql) query:**
Use this query as your base for any cost or usage analytics. It provides the full enrichment and savings logic for all cost columns and is the recommended foundation for custom analytics and reporting.

- **Use KQL (Kusto Query Language):**
All queries should be written in KQL for compatibility with Azure Data Explorer.
Expand Down
3 changes: 3 additions & 0 deletions src/templates/claude-plugin/.build.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"unversionedZip": true
}
23 changes: 23 additions & 0 deletions src/templates/claude-plugin/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "finops-toolkit",
"version": "1.0.0",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be the same version as the toolkit. Update-Version.ps1 should change this whenever versions update.

"description": "Claude plugin for FinOps Toolkit, providing tools and integrations for financial operations management.",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FinOps != "financial operations"

Suggested change
"description": "Claude plugin for FinOps Toolkit, providing tools and integrations for financial operations management.",
"description": "Claude plugin for FinOps toolkit, providing tools and integrations for FinOps practitioners.",

"author": {
"name": "FinOps Toolkit Team",
"url": "https://github.com/microsoft"
},
"homepage": "https://learn.microsoft.com/en-us/cloud-computing/finops/toolkit/finops-toolkit-overview",
"repository": "https://github.com/microsoft/finops-toolkit",
"license": "MIT",
"keywords": ["finops", "cost-management", "reservations", "savings plans", "cloud-optimization", "commitments", "credits", "MACC"],
"commands": "./commands/",
"agents": ["./agents/chief-financial-officer.md", "./agents/finops-practitioner.md", "./agents/ftk-database-query.md", "./agents/ftk-hubs-agent.md"],
"skills": "./skills/",
"mcpServers": {
"azure-mcp-server": {
"command": "npx",
"args": ["-y", "@azure/mcp@latest", "server", "start", "--namespace", "kusto", "--read-only"]
}
},
"outputStyles": "./output-styles/"
}
Loading