threadlight-consumption-iq
Project Azure cost from deployed Bicep + SPEC § 12, compare viable SKUs, and emit cost-projection.md + cost-manifest.json after safe-check.
Skill by aiappsgbb
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/aiappsgbb-threadlight-consumption-iq
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops, cloud, data, sales
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 3
codeload.github.com· found in install commandlearn.microsoft.com· found in codeprices.azure.com· found in code
Files it touches
~/.claude/skills/threadlight-consumption-iq
What's inside
- Skill name
threadlight-consumption-iq- Description
- Project Azure cost from deployed Bicep + SPEC § 12, compare viable SKUs, and emit cost-projection.md + cost-manifest.json after safe-check. Also supports no-pilot pre-sales estimates with phased rollout, EA/MCA discount, and a one-pager. Owns opt-in read-only actuals and scope-bound reconciliation from Cost Management, Monitor, and Log Analytics, publishing threadlight-cost-actuals/v1 and threadlight-cost-reconciliation/v1. threadlight-production-ready only consumes verified artifacts. Advisory. USE FOR: Azure consumption projection, post-deploy cost, SKU diff, PAYG vs PTU, load profile, cost manifest, pre-sales estimate, EA/MCA discount, cost actuals, forecast vs actual, reconciliation. DO NOT USE FOR: AOAI-only break-even without a pilot (use paygo-ptu-cost-analyzer); subscription bill analysis, budgets or rightsizing outside a pilot (use cost-analysis / cost-governance / cost-optimization); Bicep mutation (use threadlight-deploy).
- License
- MIT
- Metadata
- version: 0.4.0
- Instructions
- 484 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (118)
- SKILL.md
- consumption-formulas.md · references/
- cost-actuals-manifest-schema.md · references/
- cost-estimate-manifest-schema.md · references/
- cost-manifest-schema.md · references/
- cost-manifest.schema.json · references/
- cost-reconciliation-manifest-schema.md · references/
- cost-query-aoai-account.json · references/fixtures/sample-cost-actuals/
- cost-query-costusd-alias.json · references/fixtures/sample-cost-actuals/
- cost-query-multi-service.json · references/fixtures/sample-cost-actuals/
- cost-query-page-1.json · references/fixtures/sample-cost-actuals/
- cost-query-page-2.json · references/fixtures/sample-cost-actuals/
- live-shape.json · references/fixtures/sample-cost-actuals/
- cost-manifest.json · references/fixtures/sample-pilot-consumption/expected/
- cost-projection.md · references/fixtures/sample-pilot-consumption/expected/
- SPEC.md · references/fixtures/sample-pilot-consumption/specs/
- manifest.json · references/fixtures/sample-pilot-consumption/specs/
- cost-estimate-manifest.json · references/fixtures/sample-presales-rollout/expected/
- cost-estimate.md · references/fixtures/sample-presales-rollout/expected/
- estimate-onepager.html · references/fixtures/sample-presales-rollout/expected/
- rollout.json · references/fixtures/sample-presales-rollout/
- cost-estimate-manifest.json · references/fixtures/sample-presales-topology-rollout/expected/
- cost-estimate.md · references/fixtures/sample-presales-topology-rollout/expected/
- estimate-onepager.html · references/fixtures/sample-presales-topology-rollout/expected/
- rollout.json · references/fixtures/sample-presales-topology-rollout/
- hardening-delta-catalog.json · references/
- live-actuals-probe.md · references/
- load-profile-schema.md · references/
- model-catalog.json · references/
- onepager-template.html · references/
- meters.json · references/pricing-fixtures/
- microsoft-apimanagement-service.json · references/pricing-fixtures/
- microsoft-app-containerapps.json · references/pricing-fixtures/
- microsoft-cognitiveservices-accounts-deployments.json · references/pricing-fixtures/
- microsoft-documentdb-databaseaccounts.json · references/pricing-fixtures/
- microsoft-machinelearningservices-workspaces.json · references/pricing-fixtures/
- microsoft-search-searchservices.json · references/pricing-fixtures/
- microsoft-storage-storageaccounts.json · references/pricing-fixtures/
- rollout-profile-schema.md · references/
- actuals_sources.py · scripts/
- consumption_iq.py · scripts/
- cost_actuals.py · scripts/
- cost_api.py · scripts/
- discount.py · scripts/
- discover.py · scripts/
- emitter.py · scripts/
- estimate.py · scripts/
- hardening.py · scripts/
- load_profile_wizard.py · scripts/
- meter_demand.py · scripts/
- model_catalog.py · scripts/
- onepager.py · scripts/
- pricing_client.py · scripts/
- __init__.py · scripts/projectors/
- _fallback.py · scripts/projectors/
- _meter_base.py · scripts/projectors/
- aca.py · scripts/projectors/
- ai_search.py · scripts/projectors/
- aoai.py · scripts/projectors/
- apim.py · scripts/projectors/
- …and 58 more
SKILL.md (first lines)
# Threadlight Consumption IQ — post-deploy cost projection + SKU diff
> The single skill in the chain that asks "**what should this pilot actually
> cost to run at the customer's real production load, and which SKUs should
> we swap to before they sign off?**" and answers with a structured,
> evidence-backed artefact instead of a guess.
>
> Naming: the `-iq` suffix matches the target Field Outcomes
> view's `ai-foundry-account-iq` / `azure-account-iq` family under
> **Build & Deliver → Drive Consumption**.
## Current evidence contract
This skill owns the cost evidence lifecycle for a pilot:
1. **Forecast** — `docs/cost-projection.md` + `specs/cost-manifest.json`
project declared load against public pricing.
2. **Read-only actuals collection** — `specs/cost-actuals-manifest.json`
(`threadlight-cost-actuals/v1`) captures Cost Management / Monitor / Log
Analytics evidence for a settled window.
3. **Scope-bound reconciliation manifest** —
`specs/cost-reconciliation-manifest.json`
(`threadlight-cost-reconciliation/v1`) proves the actuals still match the
exact forecast, SPEC § 14 policy, and collection scope/window they were
reconciled against.
4. **Human reconciliation report** — `docs/cost-reconciliation.md` explains the
variance, coverage, maturity, and unit-economics result.
Production-ready consumes verified artifacts and does not query or recompute.
`threadlight-production-ready`'s cost/readiness findings are downstream
consumers of what this skill publishes:
- `COST-102` = **mature/fresh/scope-bound reconciliation**.
- `COST-103` = **PAYG/PTU recommendation at observed token volume**.
- `KPI-003` = **measured cost per successful interaction joined with eval and
telemetry evidence**.
## Why this skill exists
The `threadlight-*` chain ships a working agent in one session (design →
local-test → deploy → safe-check). `threadlight-production-ready`'s
pillar 10 (cost) then asks *static* questions: is a Budget declared? is
an anomaly alert wired? is `docs/cost-projection.md` present? Those are
yes/no checks. They do not answer **what the pilot will actually cost**
when the customer turns on production traffic.
Meanwhile `paygo-ptu-cost-analyzer` (in `awesome-gbb`) only covers AOAI
PAYG-vs-PTU break-even. Every other deployed resource — ACA, Cosmos,
Storage, APIM, AI Search, Foundry hosted-agent — gets eyeballed.
Without this skill the cost conversation at architecture review goes:
> **Customer FinOps:** "What's this going to cost per month at our actual
> load?"
> **SE:** "Uh, roughly… a few thousand?"
That's how pilots become lab graveyards.
This skill produces the answer in one command.
## What this skill does NOT replace
| Concern | Use instead |
|---|---|
| AOAI-only PAYG-vs-PTU break-even on a notebook (no deployed pilot) | `paygo-ptu-cost-analyzer` (awesome-gbb) |
| Static cost-pillar checks (Budget declared? anomaly alert? projection present?) | `threadlight-production-ready` pillar 10 |
| Live budget presence / anomaly posture on the target subscription or RG | `threadlight-production-ready` `COST-101` + cost-pillar budget/anomaly checks |
| Assessing the verified reconciliation bundle in a readiness report | `threadlight-production-ready` `COST-102`, `COST-103`, `KPI-003` *(artifact consumers only; no query/recompute)* |
| Bicep mutation from recommendations | `threadlight-deploy` on the next run (this skill is advisory) |
| Real-time anomaly detection | Azure-native budget/anomaly automation; this skill stays evidence-only |
| Demand forecasting / usage time-series | out of scope; threadlight-deploy/references/observability owns the trace side |
## When to invoke
| You start with… | Phase | What's produced |
|---|---|---|
| Green `threadlight-safe-check --phase post-deploy` and an upcoming customer architecture review | `run --all` | `docs/cost-projection.md` + `specs/cost-manifest.json` (+ back-filled SPEC § 12 `load_profile{}` if wizard ran) |
| Pre-deploy spec review and you want to sanity-check the SKU choices in `infra/main.bicep` before you push | `run --all --pre-deploy` | same artefacts, marked `pre_deploy: true` in manifest (no `azd env` walk; Bicep-only) |
| Re-run with `load_profile{}` already populated and recent deploy | `run --all` (wizard auto-skips) | refreshed artefacts |
| You want to check just one resource (e.g. "did we pick the right APIM tier?") | `project --only Microsoft.ApiManagement/service` | partial artefacts, scoped manifest |
> **Rule of thumb.** Run this **after** `safe-check` and **before**
> `production-ready`. `threadlight-auto` will wire it in automatically.
## The chain (where this fits)
```
threadlight-design → threadlight-demo-data-factory → threadlight-local-test →
threadlight-deploy → threadlight-safe-check →
threadlight-consumption-iq ← THIS SKILL
microsoft-foundry + threadlight-deploy/references/observability →
threadlight-production-ready
```
## Inputs (contracts)
| Input | Source | Required |
|---|---|---|
| `specs/manifest.json → deployment_manifest{}` | `threadlight-design` | yes — **or** derived from the export's `infra/` + `azure.yaml` in Kratos-export mode |
| `infra/main.bicep` + modules | repo | yes |
| `azd env get-values` | live azd env | yes (skip with `--pre-deploy` to read Bicep only) |
| `specs/SPEC.md § 11c` (tech-stack selectors) | `threadlight-design` | yes — not present in a Kratos export; resources come from `infra/` instead |
| `specs/SPEC.md § 12 → load_profile{}` (NEW sub-block) | this skill's wizard OR hand-authored | yes (skill writes it back if absent; in Kratos-export mode it writes to `use-cases/<x>/load-profile.yml` since there's no SPEC) |
| Recent Application Insights / `threadlight-deploy/references/observability` traces | live monitor | optional (fidelity boost post-launch) |
### Kratos-export mode (discover from `infra/`, not from a SPEC)
For a **Kratos-exported project** (`src/hosted-agent/` + `use-cases/<x>/`,
trimmed `infra/` — see [`docs/KRATOS-BRIDGE.md`](../../docs/KRATOS-BRIDGE.md))
there is no `specs/SPEC.md` and no `specs/manifest.json`. Adapt the `discover`
phase:
- **Walk the export's `infra/` (`az bicep build` → ARM JSON) + `azd env
get-values`** to enumerate deployed resources, instead of reading a
`deployment_manifest{}`. This is the same ARM-walker path the skill already
uses — just sourced from the export's own Bicep.
- **Tolerate Kratos resource naming.** The trimmed Kratos infra names Cosmos /
Foundry / ACA resources differently than a `threadlight-design` deployment.
Match resources by **ARM type** (e.g. `Microsoft.DocumentDB/databaseAccounts`,From aiappsgbb/threadlight-skills, MIT.
More from aiappsgbb/threadlight-skills
- 0.603score
threadlight-connect
aiappsgbb
CONNECT-leg: evidence-based swap of a scaffolded mock Foundry tool for a real endpoint.
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
threadlight-governed-actions
aiappsgbb
Use when a pilot needs consequential-action runtime implementation or evidence: selected native hooks, gateway effect closure, action inventory, pre-deploy…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
threadlight-govern
aiappsgbb
Use when a Threadlight pilot needs native ACS/Rego policy, SAFE business invariants, selected tool or lifecycle bindings, approval requirements, signed policy…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
threadlight-evals
aiappsgbb
Threadlight evals leg: offline batch quality, Foundry Continuous Evaluation and champion-challenger gates.
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
threadlight-cicd
aiappsgbb
Use when a Threadlight pilot must reach production through a CI/CD pipeline instead of the agent running `azd up` directly — prod deploys run under a…
SkillAFreshness: A★ 2Claude Code +9 - 0.599score
threadlight-customize
aiappsgbb
Use when an SE or a customer's platform team needs to FORK the Threadlight pipeline and adapt it to one customer's environment — landing zones, identity…
SkillAFreshness: A★ 2Claude Code +9 - 0.599score
threadlight-demo-data-factory
aiappsgbb
Generate per-domain Faker-style synthetic data + Cosmos seed/reset scripts for a threadlight process.
SkillAFreshness: A★ 2Claude Code +9 - 0.594score
threadlight-citadel-hub
aiappsgbb
Threadlight-owned port (from awesome-gbb's Citadel hub skill): deploy the AI Citadel Governance Hub (Layer 1) for a Threadlight pilot, using an APIM gateway…
SkillAFreshness: A★ 2Claude Code +9 - 0.590score
threadlight-citadel-spoke
aiappsgbb
Threadlight-owned port (from awesome-gbb's Citadel spoke skill): onboard a Threadlight pilot's Foundry project as a spoke of an existing AI Citadel Governance…
SkillAFreshness: A★ 2Claude Code +9 - 0.590score
threadlight-auto
aiappsgbb
Full-auto driver for the Threadlight pilot pipeline.
SkillAFreshness: A★ 2Claude Code +9 - 0.590score
threadlight-deploy
aiappsgbb
Generate deployment artifacts for a designed Threadlight project on Microsoft Foundry Hosted Agents: container.py, Dockerfile, pyproject.toml, an azd project…
SkillAFreshness: A★ 2Claude Code +9 - 0.590score
threadlight-design
aiappsgbb
Spec out a business process or customer use case for an enterprise pilot, then generate agent architecture (AGENTS.md + Skills) — a SpecKit specification…
SkillAFreshness: A★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 5
- Open issues
- 5
- Last commit (this folder)
- Oct 12, 2026 (17 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 0.4.0
- License
- MIT
- Repository
- github.com/aiappsgbb/threadlight-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from aiappsgbb
- 0.603score
threadlight-govern
aiappsgbb
Use when a Threadlight pilot needs native ACS/Rego policy, SAFE business invariants, selected tool or lifecycle bindings, approval requirements, signed policy…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
threadlight-governed-actions
aiappsgbb
Use when a pilot needs consequential-action runtime implementation or evidence: selected native hooks, gateway effect closure, action inventory, pre-deploy…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
threadlight-connect
aiappsgbb
CONNECT-leg: evidence-based swap of a scaffolded mock Foundry tool for a real endpoint.
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
threadlight-cicd
aiappsgbb
Use when a Threadlight pilot must reach production through a CI/CD pipeline instead of the agent running `azd up` directly — prod deploys run under a…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
threadlight-evals
aiappsgbb
Threadlight evals leg: offline batch quality, Foundry Continuous Evaluation and champion-challenger gates.
SkillAFreshness: A★ 2Claude Code +9 - 0.599score
threadlight-customize
aiappsgbb
Use when an SE or a customer's platform team needs to FORK the Threadlight pipeline and adapt it to one customer's environment — landing zones, identity…
SkillAFreshness: A★ 2Claude Code +9
Cite this page
threadlight-consumption-iq skill. Agent Mart. https://agentmart.dev/skills/aiappsgbb-threadlight-consumption-iq (last updated 2026-10-24)