Logo: Pp Azure Cost Admin

Pp Azure Cost Admin

CommunautéitBeléift
mvanhorn
pp-azure-cost-admin

Printing Press CLI fir d'Iwwerpréiwung vun Azure-Käschten am Liesmodus. Benotzt Azure Cost Management, Resource Graph, einfach Anomalie-Checks an d'Ënnerstëtzung fir d'Ofro vu Retailpräisser aus dem Terminal.

Add to TypingMind

Iwwersiicht

Editeurmvanhorn
Repositoryprinting-press-library
Skill-Nummpp-azure-cost-admin
Stären
2K
Forks
614
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    mvanhorn huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Pp Azure Cost Admin an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/mvanhorn/printing-press-library/tree/main/cli-skills/pp-azure-cost-admin
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mvanhorn/printing-press-library.git /tmp/printing-press-library
mkdir -p .claude/skills
cp -r /tmp/printing-press-library/cli-skills/pp-azure-cost-admin .claude/skills/pp-azure-cost-admin
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Pp Azure Cost Admin an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Pp Azure Cost Admin automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Pp Azure Cost Admin net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Azure Cost Admin — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the azure-cost-admin-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer:
    bash
    npx -y @mvanhorn/printing-press-library install azure-cost-admin --cli-only
  2. Verify: azure-cost-admin-pp-cli --version
  3. Ensure $GOPATH/bin (or $HOME/go/bin) is on $PATH.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer):

bash
go install github.com/mvanhorn/printing-press-library/library/cloud/azure-cost-admin/cmd/azure-cost-admin-pp-cli@latest

If --version reports "command not found" after install, the install step did not put the binary on $PATH. Do not proceed with skill commands until verification succeeds.

What This CLI Does

Azure Cost Admin is a read-only CLI for Azure FinOps questions. Use it to inspect actual billed spend, service and resource-group cost breakdowns, tag hygiene, simple cost changes, and public Azure retail price metadata.

It reads Azure Cost Management, Azure Resource Graph, and Azure Retail Prices data. It does not create budgets, edit tags, delete resources, create resources, or change Azure configuration.

When Not to Use This CLI

Do not use this CLI for creating, updating, deleting, tagging, purchasing, changing budgets, changing alerts, granting access, or modifying Azure resources. It is for read-only inspection and estimate support.

Unique Capabilities

These capabilities aren't available in any other tool for this API.

  • spend summary — Queries Azure Cost Management for actual billed spend over a selected timeframe.
  • spend by-service — Groups actual Azure spend by service, with sibling commands for resource groups and tag keys.
  • tags untagged — Uses Azure Resource Graph to find resources missing a requested owner, environment, or cost-center tag.
  • anomalies — Compares recent service spend against a prior window and reports large changes without modifying Azure.
  • price search — Searches public Azure Retail Prices separately from actual billed spend so estimates do not get confused with invoice data.

Auth Setup

Use Azure CLI authentication:

bash
az login
az account set --subscription <subscription-id-or-name>

Never paste Azure tokens, tenant IDs, subscription IDs, account emails, raw resource IDs, exact spend amounts, or customer names into public artifacts.

Command Reference

doctor — Check local Azure access and read-only API reachability.

  • azure-cost-admin-pp-cli doctor --dry-run — Shows the checks that would run.
  • azure-cost-admin-pp-cli doctor --json — Runs Azure account, Cost Management, Resource Graph, and Retail Prices checks.

subscriptions — List reachable subscriptions.

  • azure-cost-admin-pp-cli subscriptions --json --select name,state — Emits subscription names and states in JSON.

spend summary — Show actual Azure spend totals for a timeframe.

  • azure-cost-admin-pp-cli spend summary --timeframe MonthToDate --dry-run — Shows the Cost Management request shape.
  • azure-cost-admin-pp-cli spend summary --timeframe MonthToDate --agent --select timeframe,currency — Runs the query while keeping output small.

spend by-service — Group actual spend by Azure service.

  • azure-cost-admin-pp-cli spend by-service --timeframe MonthToDate --dry-run — Shows the service grouping request shape.
  • azure-cost-admin-pp-cli spend by-service --timeframe MonthToDate --agent --select timeframe,currency — Runs the service spend query with selected fields.

spend by-resource-group — Group actual spend by resource group.

  • azure-cost-admin-pp-cli spend by-resource-group --timeframe MonthToDate --dry-run — Shows the resource-group grouping request shape.

spend by-tag — Group actual spend by a tag key.

  • azure-cost-admin-pp-cli spend by-tag --tag owner --timeframe MonthToDate --dry-run — Shows the tag grouping request shape.

anomalies — Compare recent service spend with the previous window.

  • azure-cost-admin-pp-cli anomalies --days 7 --threshold-percent 25 --dry-run — Shows the comparison plan.

tags untagged — Find resources missing a requested tag key.

  • azure-cost-admin-pp-cli tags untagged --tag owner --limit 20 --dry-run — Shows the Resource Graph query shape.
  • azure-cost-admin-pp-cli tags untagged --tag owner --limit 1 --agent --select type — Runs the query while keeping output minimal.

price search — Search public Azure Retail Prices for estimate support.

  • azure-cost-admin-pp-cli price search --service "Virtual Machines" --region eastus --currency USD --dry-run — Shows the public price URL.
  • azure-cost-admin-pp-cli price search --service "Virtual Machines" --region eastus --currency USD --limit 1 --agent --select serviceName,region,currencyCode — Runs a public lookup with selected fields.

Agent Mode

Add --agent to emit compact JSON for agents and scripts. Use --select to keep only comma-separated JSON fields. Use --dry-run to preview a read-only request before calling Azure.

Examples:

bash
azure-cost-admin-pp-cli spend by-service --timeframe MonthToDate --agent --select timeframe,currency
azure-cost-admin-pp-cli tags untagged --tag owner --limit 1 --agent --select type

Safety Guidance

Default human output masks sensitive identifiers where practical. JSON output is intended for trusted local scripts and agents.

When sharing proof, redact subscription IDs, tenant IDs, account emails, resource IDs, resource group names, customer names, exact spend amounts, and tokens.

Heefeg gestallte Froen

Wat mécht de KI-Skill Pp Azure Cost Admin?

Printing Press CLI fir d'Iwwerpréiwung vun Azure-Käschten am Liesmodus. Benotzt Azure Cost Management, Resource Graph, einfach Anomalie-Checks an d'Ënnerstëtzung fir d'Ofro vu Retailpräisser aus dem Terminal.

Firwat Pp Azure Cost Admin op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Pp Azure Cost Admin besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Pp Azure Cost Admin an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/mvanhorn/printing-press-library/tree/main/cli-skills/pp-azure-cost-admin an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Pp Azure Cost Admin benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Pp Azure Cost Admin benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Pp Azure Cost Admin domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Pp Azure Cost Admin gratis?

Jo. mvanhorn huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇