Agent skill

Pp Azure Cost Admin

by mvanhorn in mvanhorn/printing-press-library

Printing Press CLI for read-only Azure cost review. An agent skill from mvanhorn/printing-press-library.

Apache-2.0Auto-check: notesDevOps & Cloud

Install Pp Azure Cost Admin

skills CLI
$ npx skills add mvanhorn/printing-press-library --skill pp-azure-cost-admin -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mvanhorn/printing-press-library pp-azure-cost-admin --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mvanhorn/printing-press-library.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cli-skills/pp-azure-cost-admin .claude/skills/pp-azure-cost-admin && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pp-azure-cost-admin
GitHub stars
2.1k
Token cost
~1.7k tokens
SKILL.md length
678 words
Files
1
Skills in repo
506
Repo updated
First seen
Licence
Apache-2.0

At a glance

Printing Press CLI for read-only Azure cost review. An agent skill from mvanhorn/printing-press-library.

  • Works in 3 steps: Install via the Printing Press installer → Verify: azure-cost-admin-pp-cli --version → Ensure $GOPATH/bin (or $HOME/go/bin) is…
  • Tasks that involve Cloud cost optimization
  • SKILL.md covers Prerequisites: Install the CLI, What This CLI Does, When Not to Use This CLI and Unique Capabilities, plus 4 more sections
  • Calls az, npx and go

What it does

Pp Azure Cost Admin is an agent skill from mvanhorn/printing-press-library. Printing Press CLI for read-only Azure cost review. Use Azure Cost Management, Resource Graph, simple anomaly checks, and public retail price lookup support from the terminal.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud, covering Cloud cost optimization. It works with Microsoft Azure. The repository describes itself as: Official library of CLIs generated by the CLI Printing Press. Endorsed, tested, and community-contributed. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Cloud cost optimization

Example prompts

  • “/pp-azure-cost-admin”

Requirements

  • Node.js
  • Pre-approved tools (allowed-tools): Read, Bash

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Install via the Printing Press installer
  2. Verify: azure-cost-admin-pp-cli --version
  3. Ensure $GOPATH/bin (or $HOME/go/bin) is on $PATH.

What it can do on your machine

Read from SKILL.md and the folder at commit d9a1696. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • az
    • npx
    • go

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use az and npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pp Azure Cost Admin loads about 1.7k tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 678 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~49
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from mvanhorn/printing-press-library at commit d9a1696, republished under its Apache-2.0 licence (© mvanhorn). 678 words, ~1,690 tokens.

Download SKILL.mdSave it as .claude/skills/pp-azure-cost-admin/SKILL.md (or your agent's skills folder).
name
pp-azure-cost-admin
description
Printing Press CLI for read-only Azure cost review. Use Azure Cost Management, Resource Graph, simple anomaly checks, and public retail price lookup support from the terminal.
allowed-tools
Read, Bash
author
Dhilip Subramanian
license
Apache-2.0
argument-hint
<command> [args] | install cli
<!-- GENERATED FILE — DO NOT EDIT.
     This file is a verbatim mirror of library/cloud/azure-cost-admin/SKILL.md,
     regenerated post-merge by tools/generate-skills/. Hand-edits here are
     silently overwritten on the next regen. Edit the library/ source instead.
     See the repository agent guide, section "Generated artifacts: registry.json, cli-skills/". -->

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.

Show full SKILL.md (347 more words)Show less

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.

© mvanhorn, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in cli-skills/pp-azure-cost-admin of mvanhorn/printing-press-library.

Open the folder on GitHubat commit d9a1696

Compare with similar skills

Pp Azure Cost Admin next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pp Azure Cost Admin compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pp Azure Cost Admin this skillmvanhorn/printing-press-library2.1k—~1.7kAutomated safety check: NotesApache-2.0
Cloud Cost Optimizationwshobson/agents40k14 repos~1.7kAutomated safety check: PassMIT
Spotinfoalexei-led/spotinfo164—~1.8kAutomated safety check: PassApache-2.0
FrugalyuanboP/frugal198—~2.1kAutomated safety check: PassMIT
SkyPilot Multi-Cloud OrchestrationOrchestra-Research/AI-Research-SKILLs13k4 repos~2.4kAutomated safety check: PassMIT
Cloud ArchitectJeffallan/claude-skills12k—~1.9kAutomated safety check: PassMIT

Similar skills

  • Cuts cloud spend across AWS, Azure, GCP and OCI with cost tagging, rightsizing, commitment and spot pricing models, and architecture changes.

    40k GitHub starsUsed in 14 repos~1.7k tokens
    DevOps & CloudAuto-check passed
  • Spotinfo

    alexei-led/spotinfo

    Query Spot/preemptible VM prices, savings and interruption risk across AWS, GCP and Azure with the spotinfo CLI.

    164 GitHub stars~1.8k tokensUpdated 4 days ago
    DevOps & CloudAuto-check passed
  • Frugal

    yuanboP/frugal

    Cloud cost awareness for agents. An agent skill from yuanboP/frugal.

    198 GitHub stars~2.1k tokensUpdated 2 mo ago
    DevOps & CloudAuto-check passed
  • SkyPilot Multi-Cloud Orchestration

    Orchestra-Research/AI-Research-SKILLs

    Runs ML training and batch jobs across clouds with SkyPilot, using spot instances, automatic region selection and managed recovery to cut GPU cost.

    13k GitHub starsUsed in 4 repos~2.4k tokens
    DevOps & CloudAuto-check passed
  • Cloud Architect

    Jeffallan/claude-skills

    Designs cloud architectures, migration plans, cost optimization recommendations and disaster recovery strategies across AWS, Azure and GCP.

    12k GitHub stars~1.9k tokensUpdated 6 days ago
    DevOps & CloudAuto-check passed
  • Cloud Architect

    davila7/claude-code-templates

    Expert cloud architect specializing in AWS/Azure/GCP multi-cloud infrastructure design, advanced IaC (Terraform/OpenTofu/CDK), FinOps cost optimization, and modern architectural patterns.

    33k GitHub starsUsed in 8 repos~1.9k tokens
    DevOps & CloudAuto-check passed

More from mvanhorn/printing-press-library

All 506 skills in this repo
  • Agent Desktop

    mvanhorn/printing-press-library

    Desktop automation through the real Rust agent-desktop CLI, published in Printing Press through a small bridge.

    2.1k GitHub stars~2.3k tokensUpdated today
    Auto-check: notes
  • Gfonts

    mvanhorn/printing-press-library

    Search, browse, and download Google Fonts from the terminal via the gfonts CLI.

    2.1k GitHub stars~574 tokensUpdated today
    Auto-check passed
  • Pp 1688

    mvanhorn/printing-press-library

    The free, offline Trigger phrases: search 1688 for, find a factory on 1688 for, wholesale price on 1688 for, who is the cheapest supplier on 1688 for, compare 1688 suppliers for, use 1688, run 1688.

    2.1k GitHub stars~3k tokensUpdated today
    Auto-check: notes
  • Pp Activity Japan

    mvanhorn/printing-press-library

    Inspect known Activity Japan plan IDs or URLs, compare dated prices and sessions, check language-sitemap coverage, and hand off to canonical booking pages.

    2.1k GitHub stars~2k tokensUpdated today
    Auto-check: notes
  • Pp Adminbyrequest

    mvanhorn/printing-press-library

    Every Admin By Request portal action, plus a local SQLite mirror of audit, events, inventory and requests for ad-hoc...

    2.1k GitHub stars~3.3k tokensUpdated today
    Auto-check: notes
  • Pp Agent Capture

    mvanhorn/printing-press-library

    macOS screen capture, window recording, GIF conversion, and agent evidence bundles from the terminal.

    2.1k GitHub stars~1.6k tokensUpdated today
    Auto-check: notes

Works with

Categories

Questions about Pp Azure Cost Admin

What does Pp Azure Cost Admin do?

Printing Press CLI for read-only Azure cost review. An agent skill from mvanhorn/printing-press-library. Pp Azure Cost Admin is an agent skill from mvanhorn/printing-press-library. Printing Press CLI for read-only Azure cost review.

When should I use Pp Azure Cost Admin?

Pp Azure Cost Admin fits situations like: tasks that involve Cloud cost optimization.

How do I install Pp Azure Cost Admin in Claude Code?

Run `npx skills add mvanhorn/printing-press-library --skill pp-azure-cost-admin -a claude-code`. Or copy the skill folder (cli-skills/pp-azure-cost-admin in mvanhorn/printing-press-library) into .claude/skills/pp-azure-cost-admin in your project. Claude Code loads it when a task matches its description.

How do I install Pp Azure Cost Admin in Codex?

Run `npx skills add mvanhorn/printing-press-library --skill pp-azure-cost-admin -a codex`. Or copy the skill folder (cli-skills/pp-azure-cost-admin in mvanhorn/printing-press-library) into .agents/skills/pp-azure-cost-admin in your project. Codex loads it when a task matches its description.

Can I use Pp Azure Cost Admin in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mvanhorn/printing-press-library --skill pp-azure-cost-admin -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pp-azure-cost-admin, .gemini/skills/pp-azure-cost-admin, .github/skills/pp-azure-cost-admin and .opencode/skills/pp-azure-cost-admin in your project.

What does Pp Azure Cost Admin need to run?

Going by SKILL.md and its folder, Pp Azure Cost Admin needs the command-line tools its instructions call (az, npx and go). Our summary lists: Node.js. Its frontmatter pre-approves these tools: Read, Bash.

Does Pp Azure Cost Admin access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Pp Azure Cost Admin safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Pp Azure Cost Admin use?

Pp Azure Cost Admin is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Pp Azure Cost Admin use?

About 1.7k tokens (SKILL.md is roughly 6.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Pp Azure Cost Admin?

Skills that share tags, products or a category with Pp Azure Cost Admin: Cloud Cost Optimization (wshobson/agents, 40k stars), Spotinfo (alexei-led/spotinfo, 164 stars), Frugal (yuanboP/frugal, 198 stars) and SkyPilot Multi-Cloud Orchestration (Orchestra-Research/AI-Research-SKILLs, 13k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pp Azure Cost Admin?

mvanhorn (a GitHub user) maintains it in mvanhorn/printing-press-library, which has 2,056 GitHub stars. The repository holds 506 skills in this directory. The repository was last updated on October 9, 2026.

Source: mvanhorn/printing-press-library on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.