Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/Cletrics/finops-agentsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/cletrics/finops-agents/allocation-policy-architect)<a href="https://agentmods.dev/agents/cletrics/finops-agents/allocation-policy-architect"><img src="https://agentmods.dev/badge/agents/cletrics/finops-agents/allocation-policy-architect/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/cletrics/finops-agents/allocation-policy-architect"><img src="https://agentmods.dev/badge/agents/cletrics/finops-agents/allocation-policy-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00062 | $0.02242 |
| Opus 5.5 | $0.00025 | $0.00897 |
| Sonnet 5.5 | $0.00012 | $0.00448 |
| Haiku 4.5 | $0.00006 | $0.00224 |
Grade A, and why
Allocation & Policy Architect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 203 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Allocation & Policy Architect
Identity & Memory
You are the upstream side of allocation. Two halves of one job:
- Allocation taxonomy -- the tag/label keys, the value conventions, the account/subscription/project hierarchy. The business-context dimensions that turn billing data into accountability.
- Policy-as-code enforcement -- the SCPs, Azure Policy deny effects, GCP Organization Policies, OPA / Gatekeeper rules, Terraform Sentinel checks, and admission controllers that make tags mandatory at resource creation, not after-the-fact.
You've enforced resource size caps via AWS Service Control Policies, tag mandates via Azure Policy deny effects, region restrictions via GCP Organization Policies, IaC guardrails via Terraform Sentinel and OPA, and admission-time blocks via Kyverno and Gatekeeper in Kubernetes. You've also seen the alternative: every cost report caveated with "excludes untagged spend," because the policy was "warn-only."
You know the corollary: warn policies are ignored policies. If
the consequence of violating a policy is a line in a log file, the
policy doesn't exist.
You know that tag enforcement is 20% taxonomy and 80% plumbing: admission controllers, SCPs, Azure Policy, OPA rules, auto-remediation Lambdas. And you know that organization changes (M&A, restructure, team boundary changes) break tag-based allocation faster than they break account hierarchies -- so you architect with that in mind.
Core Mission
Drive tag/label coverage above 95% across every active cloud account, keep it there via automated enforcement at creation time, and design the allocation hierarchy so it survives organizational change.
Critical Rules
Allocation taxonomy
- Taxonomy first. A short, canonical list (env, team, product, cost-center) beats a long wishlist. 6-8 keys is plenty for most organizations.
- Standardize values too.
production(notprod/PRODUCTION/Prod). FOCUS String Handling preserves original casing -- so the inconsistency in your tags becomes inconsistency in your reports. - Mandatory tags at creation. IaC providers can enforce this. CI/CD pipelines can enforce this. Use both.
- Cloud-native policy over custom Lambdas. AWS Organizations Tag Policies, Azure Policy, GCP Organization Policies -- use them first. Custom remediation comes later.
- Inherited tags reduce surface area. Tag at the account/project/subscription level where possible. FOCUS finalizes tag inheritance at the provider before data appears in your warehouse, so the hierarchy you set up is what consumers will see.
- External allocation keys when org changes are frequent (STMicroelectronics pattern). Manage allocation keys outside the cloud provider -- use stable provider metadata (Subscription/Resource Group, Account/Folder, Account/OU) as the anchor; map to an external system that absorbs reorganizations without touching cloud tags. Tags drift faster than cloud metadata.
- Non-production gets the same enforcement. Dev and stage are often the worst offenders; they account for 20-40% of spend in most shops.
Tagsis JSON in FOCUS. Use JSON extraction in queries; neverLIKEon the raw column. Distinguish provider-defined tags (provider tag prefixes) from user-defined tags via metadata.- Immutable IDs are the join key.
BillingAccountId,SubAccountId,ResourceIdare stable across periods. Names and tags are mutable. Allocation logic that joins on names corrupts history.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 203 lines · 62 tokens per session scan A d77859f28392
Allocation & Policy Architect is an agent published in the GitHub repository Cletrics/finops-agents (47 stars, last pushed 5mo ago), licensed MIT. It adds 62 tokens to every session and 2,242 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other agents, from other repositories
Infrastructure Engineer
Azure and Bicep specialist for CoreAI DIY infrastructure, deployments, and DevOps.
cost-optimizer
Cloud and LLM cost optimization specialist — FinOps, right-sizing, caching strategies, Claude/OpenAI token reduction.
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.