# FinOps skills: open-source agent skills, plus the Costory MCP skills [![MCP Registry](https://img.shields.io/badge/MCP%20Registry-io.costory%2Ffinops-blue)](https://registry.modelcontextprotocol.io/v0.1/servers?search=io.costory/finops) [![Claude connector](https://img.shields.io/badge/Claude-connector-d97757)](https://claude.ai/directory/connectors/costory) [![Cursor Directory](https://img.shields.io/badge/cursor.directory-costory-black)](https://cursor.directory/plugins/costory) [![Costory MCP connector](https://glama.ai/mcp/connectors/io.costory.app-api/costory/badges/score.svg)](https://glama.ai/mcp/connectors/io.costory.app-api/costory) [![Costory Finops Mcp Skills on AI Agents Listing](https://aiagentslisting.com/costory-finops-mcp-skills/badge.svg?claim=b4cf4c826fe986336f9907b6e40e0a21)](https://aiagentslisting.com/mcp/costory-finops-mcp-skills) [![License: MIT (open-source skills)](https://img.shields.io/badge/License-MIT-green.svg)](./plugins/finops-skills/LICENSE) [![License: Apache-2.0 (MCP skills)](https://img.shields.io/badge/License-Apache--2.0-green.svg)](./LICENSE) Agent skills (the open `SKILL.md` format) for Claude Code, Claude.ai, Cursor, Codex, GitHub Copilot and any agent that reads Agent Skills. Two sets live here: | Set | Folder | Needs | License | |-----|--------|-------|---------| | [Open-source FinOps skills](#open-source-finops-skills-no-account-needed) | [`plugins/finops-skills/`](./plugins/finops-skills/) | Your own billing data, read-only. No Costory account | MIT | | [Costory MCP skills](#costory-mcp-skills) | [`plugins/costory/`](./plugins/costory/) | The [Costory MCP](https://docs.costory.io/features/mcp) | Apache-2.0 | ## Open-source FinOps skills (no account needed) Each skill runs on your own data with read-only access and sends nothing anywhere except the provider APIs you already use. | Skill | What it does | Needs | |-------|--------------|-------| | [cost-allocation-audit](./plugins/finops-skills/skills/cost-allocation-audit) | Who owns your cloud spend: tag coverage measured by spend (not by resource count), untaggable charges set aside, draft first-match-wins ownership rules and the residual they leave. | AWS CUR 2.0 in Athena, GCP billing export in BigQuery, or a FOCUS export (AWS, GCP, Azure) | | [cloud-bill-jump](./plugins/finops-skills/skills/cloud-bill-jump) | Why the AWS or GCP bill went up: calendar effects, one-off charges, expired commitments, then a price vs usage vs mix decomposition down to the resource and the day it started. | AWS CUR 2.0 in Athena, GCP billing export in BigQuery, or FOCUS | | [bigquery-cost-audit](./plugins/finops-skills/skills/bigquery-cost-audit) | Finds BigQuery waste with 4 INFORMATION_SCHEMA checks: repeated queries, logical vs physical storage, on-demand vs slots, forgotten backup tables. Ranks fixes by monthly impact. | `bq` CLI or BigQuery console, read access to `INFORMATION_SCHEMA` | | [llm-cost-allocation](./plugins/finops-skills/skills/llm-cost-allocation) | Anthropic and OpenAI API spend per team, feature, API key, workspace or project, in money, reconciled against the provider's own cost total. | Anthropic and/or OpenAI Admin API key, Python 3 | | [ai-coding-spend-per-developer](./plugins/finops-skills/skills/ai-coding-spend-per-developer) | Claude Code, Cursor, GitHub Copilot and Codex spend and adoption per team: seats plus usage, unused seats, cost per active developer. | Admin access to the tools you use, Python 3 | Install only this set with [skills.sh](https://skills.sh): ```bash npx skills add https://github.com/costory-io/finops-skills/tree/main/plugins/finops-skills ``` Or one skill: `npx skills add costory-io/finops-skills --skill bigquery-cost-audit`. As a Claude Code plugin: ```bash claude plugin marketplace add costory-io/finops-skills claude plugin install finops-skills@costory ``` Or copy `plugins/finops-skills/skills//` into `~/.claude/skills/` (Claude Code) or your agent's skills folder. Then ask your agent something like: "Why is our BigQuery bill so high in project `analytics-prod`? Data is in the EU." - **Read-only.** Skills query metadata and billing data. Changes (ALTER, DELETE) are proposed, never run without your explicit go. - **Your data stays with you.** Nothing is sent anywhere except the provider APIs you already use. - **Numbers are labelled.** Forecast, measured or estimate, never a forecast sold as a saving. Each skill lists the official docs it relies on in `references/sources.md`. The checks in `bigquery-cost-audit` are explained step by step, with real (anonymized) outputs, in [BigQuery cost audit: 4 INFORMATION_SCHEMA queries that find waste](https://www.costory.io/blog/bigquery-cost-audit-information-schema). If you want allocation, cost alerts and AI spend per team kept current against your bill, that is what Costory does: [sign up](https://app.costory.io/sign-up?utm_source=github&utm_medium=readme&utm_campaign=finops-skills). The open-source skills work without it. ## Costory MCP skills Costory is built by data engineers. Every bill (AWS, Google Cloud, Azure, Oracle Cloud, Snowflake, Databricks, Datadog, OpenAI, Anthropic and more) is normalized into one model on BigQuery and joined with your context: telemetry, CI, dbt, product events and business metrics. One model for every provider is what keeps the price flat. See [supported providers](https://docs.costory.io/setup/billing). How Costory works, in five ideas: https://docs.costory.io/get-started/concepts One person curious about cost? Ask Claude and DIY. A whole org that needs the same number? Use Costory. ### Why platform teams use it 1. **Allocation that holds in a large org.** [Enrichments](https://docs.costory.io/features/tagging/enrichments) are YAML lookup files you keep in git: one stable key, such as a component, fills team, cost center or product columns. When a rule or an ownership changes, Costory recomputes history, so every past month reads with the current rules, and [shared costs](https://docs.costory.io/features/tagging/shared-cost-allocation) can be split by real usage. Reviewed in a PR, published through the API or Terraform. 2. **Everything included, at a flat price.** Unlimited users and data sources, every skill and the MCP in every [plan](https://docs.costory.io/get-started/plans). Starter from $300/month. Pay more only when you use more. Never a % of your bill. App usage (queries, reports, alerts) and Ask Costory have a fair use. You see it in the app, get a warning at 70%, and nothing is ever cut off. Starter fits 80% of our customers. Fair use per plan: Standard (Starter), 3x (Team), 6x (Business), 10x+ (Custom). Above the limit: slowed, never cut off. Agents connected through the MCP use no Ask Costory credits. 30-day free trial, no credit card. 3. **The FinOps harness.** An agent with skills, your company context and loops to monitor, investigate, report and recommend. The [hosted MCP server](https://docs.costory.io/features/mcp) and the skills in this repo let Claude, Cursor or any MCP client explain a cost change, build a report or create an alert. It also answers in Slack. Loops are [Scouts](https://www.costory.io/finops-harness): assign one to your reports and alerts, give it instructions in plain text, and it adds the cause, the owner and the next step to every delivery. Costory runs it. 4. **Open by default.** [Public API](https://docs.costory.io/api-reference/overview), [export of allocated data to BigQuery](https://docs.costory.io/setup/destinations/bigquery) and other destinations, skills published here as markdown. No lock-in. Moving from another FinOps tool? Costory reads billing exports directly from each provider, read-only, so it runs alongside your current tool for the 30-day trial. Enrichment rules are YAML in git: reviewed in a PR, managed with Terraform. Starter from $300/month, never a % of your bill. See [moving from another tool](https://www.costory.io/switch). Asked to build one? One engineer with Claude and a billing API gets a useful dashboard, and the open-source skills above help with that. A tool the whole team can trust is a much larger build, then maintenance forever. We built that part. You keep control: YAML, formulas, the API, Terraform, and export to your own warehouse. See [build vs buy](https://www.costory.io/build-vs-buy). ### What Costory does not do - It reads billing and usage exports and never gets write access to your cloud accounts. MCP actions create Costory objects only: virtual dimensions, alerts, reports, dashboards and events. - It recommends optimizations, for example rightsize an instance group or partition a table. Your coding agent or your team implements them. It never changes your code or infrastructure, never applies automated rightsizing, and never buys Reserved Instances or Savings Plans. - It does not promise a savings percentage. Recommendations come with an impact estimate from your own usage. - It never charges a percentage of your bill. Domain auto-join on every plan; enterprise SSO from Team. See [identity and access](https://docs.costory.io/docs/sso-access-control). Customers include Pennylane, Alan, Deezer, Delivery Hero and Voodoo. The skills in [`plugins/costory/`](./plugins/costory/) and the plugin packaging (Claude Code, Codex, Cursor) teach an agent how to run FinOps workflows on top of the Costory MCP tools. - **Concepts:** [docs.costory.io/get-started/concepts](https://docs.costory.io/get-started/concepts) - **Endpoint:** `https://app-api.costory.io/mcp` (streamable HTTP) - **Auth:** OAuth 2.1 in the browser. No IAM credentials, no Docker, no local server - **Docs:** [docs.costory.io/features/mcp](https://docs.costory.io/features/mcp) - **Registry name:** `io.costory/finops` on the [official MCP Registry](https://registry.modelcontextprotocol.io) ### What engineers ask it - "Why did our AWS bill jump last week? Which deploys line up with it?" - "Break down Kubernetes cost by namespace and team for the payments cluster." - "What is our total AI spend across OpenAI, Anthropic, and Bedrock this month, by team and model?" - "Split our shared Cloud SQL cost across teams by usage and publish it as a dimension." - "What is our cloud cost per active user, this month vs last month?" - "Create an alert if daily BigQuery cost goes above $2,000 and post it to our #finops Slack channel." - "Send the top 5 cost movers to Slack every Monday." ## Connect the MCP [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_Costory_MCP-0098FF?style=flat-square)](https://insiders.vscode.dev/redirect/mcp/install?name=costory&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fapp-api.costory.io%2Fmcp%22%7D) [![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install_Costory_MCP-24bfa5?style=flat-square)](https://insiders.vscode.dev/redirect/mcp/install?name=costory&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fapp-api.costory.io%2Fmcp%22%7D&quality=insiders) [![Add to Cursor](https://img.shields.io/badge/Cursor-Add_Costory_MCP-000000?style=flat-square&logo=cursor&logoColor=white)](https://cursor.com/en/install-mcp?name=costory&config=eyJ1cmwiOiJodHRwczovL2FwcC1hcGkuY29zdG9yeS5pby9tY3AifQ%3D%3D) One click adds `https://app-api.costory.io/mcp` to VS Code or Cursor; the OAuth login opens in the browser on first use. Cursor deeplink, if you prefer to paste it: `cursor://anysphere.cursor-deeplink/mcp/install?name=costory&config=eyJ1cmwiOiJodHRwczovL2FwcC1hcGkuY29zdG9yeS5pby9tY3AifQ%3D%3D` You need a Costory workspace with [billing data connected](https://docs.costory.io/get-started/welcome). Starter from $300/month, flat; 30-day free trial. **Claude Desktop / Claude Code / Cursor / VS Code:** add a custom connector pointing at `https://app-api.costory.io/mcp`, then complete the OAuth login in the browser window that opens. Per-client walkthroughs with screenshots are in the [MCP docs](https://docs.costory.io/features/mcp). This repo ships an [`.mcp.json`](./.mcp.json) you can copy: ```json { "mcpServers": { "costory": { "type": "http", "url": "https://app-api.costory.io/mcp", "oauth": { "callbackPort": 8080 } } } } ``` Claude Desktop (developer config, `claude_desktop_config.json`), see [alternative JSON config](https://docs.costory.io/features/mcp#alternative-json-config): ```json { "mcpServers": { "costory": { "url": "https://app-api.costory.io/mcp" } } } ``` VS Code (`.vscode/mcp.json`): ```json { "servers": { "costory": { "type": "http", "url": "https://app-api.costory.io/mcp" } } } ``` ### First prompt Try "Use Costory to show my top cost drivers last month". The agent calls `get_context`, then `query`. **If your account has access to several organizations**, `get_context` without a slug returns "Multiple organizations" with the list of slugs. The agent should call `list_organizations` (or read that list), ask which org to use, and pass that `slug` to `get_context` and the following tools. You can also name it upfront: "Use Costory org `acme` and show my top cost drivers last month". ## MCP tools reference The server exposes tools in five groups. Names and payloads are versioned; the [API reference](https://docs.costory.io/api-reference/overview) is the source of truth. | Group | Tools | What they do | |---|---|---| | Orientation | `get_context`, `search`, `get`, `suggest_groupby`, `suggest_usage_metrics`, `suggest_actions` | Discover dimensions, dashboards, metrics, and the right way to slice a question | | Query | `query`, `list_metrics`, `list_virtual_dimensions` | Cost, usage, metric, formula, and budget queries with period-over-period comparison | | Allocation | `create_virtual_dimension_draft`, `update_virtual_dimension_draft`, `preview_virtual_dimension_draft`, `publish_virtual_dimension`, `virtual_dimension_overlap_matrix` | Define custom cost axes with ordered CEL rules, preview, then publish | | Reporting | `create_report`, `update_report`, `preview_report_widget`, `run_report_now`, `create_dashboard`, `update_dashboard` | Scheduled Slack, Teams, and email reports plus dashboards built from chat | | Alerting and events | `create_alert`, `preview_alert`, `list_alerts`, `create_event`, `update_event` | Cost and budget alerts, and event annotations for correlation | Write tools act only inside your Costory workspace. Query scoping follows the calling user's workspace role. ## FinOps skills Skills are the workflow layer: each one encodes how to sequence the tools above for a class of question, so the assistant does not have to rediscover it. | MCP `skillId` | Use when | |---|---| | `bigquery` | BigQuery warehouse caveats (on-demand vs slots, physical vs logical, labels) plus the [BigQuery] dashboard template | | `cost-change-investigation` | Explain a cost change with contribution, timing, usage, metric, event, alert, and terminology evidence | | `query` | Cost, usage, metric, formula, and budget investigation. Explorer period-over-period only; hands off "what changed" to `reports` Explain | | `virtual-dimensions` | Create, edit, preview, and publish custom cost axes with ordered CEL rules | | `dashboards` | Create or extend dashboards with context-first widget inheritance and overview generation | | `reports` | Scheduled Slack, Teams, and email reports, and preview-first DIGEST to explain last month's cost | | `recipes` | Ready-made tracking designs matched to an outcome, then handed off to the skills above to build | | `scout-explanation` | Scout explanation skill: the follow-up that explains a frozen report or alert | | `scout-explanation-critique` | Tool-free review of a scout explanation draft, with separate message and event verdicts | Recipes currently cover BigQuery warehouse routing, GCP spend-based CUDs, budget-vs-actual dashboards, EC2 spike alerts, prod-vs-R&D splits, untagged coverage, marketplace spend, provider credits, namespace cost, compute drilldowns, and period-change explanation. See [`plugins/costory/skills/recipes/`](./plugins/costory/skills/recipes/). ## Cursor Marketplace packaging This repo also ships a Cursor plugin layout next to the Claude Code marketplace: - `.cursor-plugin/marketplace.json`: multi-plugin marketplace manifest - `plugins/costory/.cursor-plugin/plugin.json`: Cursor plugin manifest - `plugins/costory/mcp.json`: hosted MCP at `https://app-api.costory.io/mcp` (OAuth in the client) - `plugins/costory/assets/logo.png`: plugin logo Listed on [cursor.directory/plugins/costory](https://cursor.directory/plugins/costory). ## Install as a plugin (MCP connection + skills) The plugin wires the MCP server and installs the skills in one step. ```bash # Claude Code claude plugin marketplace add costory-io/finops-skills claude plugin install costory@costory # Codex codex plugin marketplace add costory-io/finops-skills codex plugin add costory@costory ``` **Skills only, any agent ([skills.sh](https://skills.sh)):** installs the nine Costory MCP skills into Claude Code, Cursor, Codex and other agents that read Agent Skills. Connect the MCP separately (see above). ```bash npx skills add https://github.com/costory-io/finops-skills/tree/main/plugins/costory ``` **Kiro:** this repo ships a [Kiro power](./powers/costory/) (MCP connection + FinOps skill). In Kiro, open the Powers panel → **Add Custom Power** → **Import power from GitHub** and enter `https://github.com/costory-io/finops-skills/tree/main/powers/costory`. ## Layout ``` .mcp.json ← ready-to-copy MCP client config skills.json ← MCP skillId -> SKILL.md path .claude-plugin/marketplace.json server.json ← official MCP Registry entry (io.costory/finops) gemini-extension.json + GEMINI.md ← Gemini CLI extension (MCP connection + context) powers/costory/ ← Kiro power (plugin.json + mcp.json + skills/costory-finops) plugins/finops-skills/ ← open-source FinOps skills, no account needed (MIT) .claude-plugin/plugin.json LICENSE ← MIT skills/ cost-allocation-audit/ cloud-bill-jump/ bigquery-cost-audit/ llm-cost-allocation/ ai-coding-spend-per-developer/ plugins/costory/ ← Costory MCP skills (Apache-2.0) .claude-plugin/plugin.json .mcp.json ← MCP server wired by the Claude Code / Codex plugin README.md LICENSE ← Apache-2.0 (copy of the root LICENSE) skills/ bigquery/SKILL.md cost-change-investigation/SKILL.md query/SKILL.md virtual-dimensions/SKILL.md dashboards/SKILL.md reports/SKILL.md recipes/SKILL.md + recipe library scout-explanation/SKILL.md scout-explanation-critique/SKILL.md ``` ## Serving skills over MCP (`get_skill`) [`skills.json`](./skills.json) maps each MCP `skillId` to a `SKILL.md` path. When wiring costory-app, load the file from this repo (or a pinned release), strip optional YAML frontmatter, and return the markdown body. ```json { "skillId": "dashboards", "path": "plugins/costory/skills/dashboards/SKILL.md" } ``` ## Authoring See [AGENTS.md](./AGENTS.md) for layout rules, version bumps, and validation. Use [SKILL_TEMPLATE.md](./SKILL_TEMPLATE.md) when adding a skill. ## Support support@costory.io · [Concepts](https://docs.costory.io/get-started/concepts) · [Documentation](https://docs.costory.io/features/mcp) · [Privacy Policy](https://www.costory.io/privacy) · [Terms](https://www.costory.io/terms) ## License The open-source FinOps skills in `plugins/finops-skills/` are MIT, see [plugins/finops-skills/LICENSE](./plugins/finops-skills/LICENSE). Everything else is Apache-2.0, see [LICENSE](./LICENSE).