S13 · Pipeline skill
Check usage and costs
Check the budget before submitting batch jobs, then reconcile costs against recorded usage.
Budget reservation + batch calls + ledger and human reconciliation
- Pipeline
- 4 steps
- Human review
- 1
- Components
- 5
01Pipeline
Base pipeline
Ordered steps. Each consumes the previous output; review gates hold until a person accepts.
- Starts from
- Batch jobs, pricing rules and available budget
- Delivers
- Human-confirmed bill or unresolved discrepancies
Review contract
People decide at review gates; components supply data, drafts or review surfaces. Unaccepted outputs do not advance.
Integration note
Pricing semantics differ; choose one billing owner and retain unpriced items to prevent duplicate debits.
- 01
Check available budget
- Input
- Batch jobs, pricing rules and available budget
- Output
- Verified funding records and budget reservations
- Recharge, invoicing and channel rewardsTop-up event verification + credit and invoice records
- Usage reservations, budgets, versioned pricing and settlementBudget reservation and settlement + priced evidence reconciliation
- 02
Submit and collect results
- Input
- Verified funding records and budget reservations
- Output
- Job results and provider usage records
- Provider batch inferenceBatch request submission + job state and result archives
- 03
Account for request costs
- Input
- Job results and provider usage records
- Output
- Traceable usage and cost ledger
- Usage-unit metering and balance ledgerRequest usage conversion + balance debits and ledger records
- Usage reservations, budgets, versioned pricing and settlementBudget reservation and settlement + priced evidence reconciliation
- 04
Review discrepancies
Human review- Input
- Traceable usage and cost ledger
- Output
- Human-confirmed bill or unresolved discrepancies
Decided byAssigned reviewer or requesting user
- Gateway usage, financial, reliability and fleet analyticsRequest cost and exception aggregation + operational drilldowns
02Industry versions
Industry versions
Finance Transferable use Link a research desk's batch model jobs to the cost ledger and explain unpriced items and budget discrepancies.
Adaptation Use for research-tool operating costs; choose one billing owner and align units, separate from financial trade settlement.
- 01
Check research budget balance
- Input
- Research batch jobs, department budget and price table
- Output
- Verified funding records and job reservations
- Recharge, invoicing and channel rewardsTop-up event verification + credit and invoice records
- Usage reservations, budgets, versioned pricing and settlementBudget reservation and settlement + priced evidence reconciliation
- 02
Run batch research requests
- Input
- Verified funding records and job reservations
- Output
- Research job results and usage records
- Provider batch inferenceBatch request submission + job state and result archives
- 03
Allocate department request costs
- Input
- Research job results and usage records
- Output
- Department job cost ledger
- Usage-unit metering and balance ledgerRequest usage conversion + balance debits and ledger records
- Usage reservations, budgets, versioned pricing and settlementBudget reservation and settlement + priced evidence reconciliation
- 04
Finance reviews discrepancies
Human review- Input
- Department job cost ledger
- Output
- Confirmed bill and unresolved costs
Decided byAssigned reviewer or requesting user
- Gateway usage, financial, reliability and fleet analyticsRequest cost and exception aggregation + operational drilldowns
Government & public services Transferable use Account for public inquiry assistant batch jobs by department budget and have staff review unpriced and duplicate charges.
Adaptation Internal tooling cost management requires mapping top-up and settlement components to the applicable budgeting process, without claiming compliance with a specific regime.
- 01
Check department budgets and reservations
- Input
- Department job list, budget and internal pricing rules
- Output
- Verified budget balances and task reservations
- Recharge, invoicing and channel rewardsTop-up event verification + credit and invoice records
- Usage reservations, budgets, versioned pricing and settlementBudget reservation and settlement + priced evidence reconciliation
- 02
Submit public-information batch jobs
- Input
- Verified budget balances and task reservations
- Output
- Job results and provider usage
- Provider batch inferenceBatch request submission + job state and result archives
- 03
Allocate request costs by department
- Input
- Job results and provider usage
- Output
- Traceable department cost ledger
- Usage-unit metering and balance ledgerRequest usage conversion + balance debits and ledger records
- Usage reservations, budgets, versioned pricing and settlementBudget reservation and settlement + priced evidence reconciliation
- 04
Staff review cost differences
Human review- Input
- Traceable department cost ledger
- Output
- Confirmed costs and investigation list
Decided byAssigned reviewer or requesting user
- Gateway usage, financial, reliability and fleet analyticsRequest cost and exception aggregation + operational drilldowns
03Parameters
Parameters
From the pack’s params.schema.json. Choose values to build a synthetic request.
skills/_pipelines/check-usage-and-costs/params.schema.json
{
"synthetic": true,
"run_id": "synthetic-example",
"locale": "en",
"industry": "base",
"adapter_mode": "local",
"records": [
{
"id": "synthetic-record-1",
"synthetic": true,
"text": "Synthetic observation A: a draft needs review."
},
{
"id": "synthetic-record-2",
"synthetic": true,
"text": "Synthetic observation B: retain the unresolved question."
}
],
"decisions": {}
} 04Member components
Member components
-
Recharge, invoicing and channel rewards
Top-up event verification + credit and invoice records
Working 1 pipeline -
Usage reservations, budgets, versioned pricing and settlement
Budget reservation and settlement + priced evidence reconciliation
Working 1 pipeline -
Provider batch inference
Batch request submission + job state and result archives
Working 1 pipeline -
Usage-unit metering and balance ledger
Request usage conversion + balance debits and ledger records
Working 1 pipeline -
Gateway usage, financial, reliability and fleet analytics
Request cost and exception aggregation + operational drilldowns
Working 1 pipeline
05Skills pack
Skills pack
Runnable reference on synthetic fixtures with tests. Domain contracts, services and approvals still need integration.
check-usage-and-costs-1.0.0.zip
Contains SKILL.md, pipeline.json, params.schema.json, runner, tests, fixtures, integration checklist and sources.
Synthetic workflow reference; service integration pending
Download · 19KBSHA-256 a480688bd2d0b6fb32fe800052384b0bdb787925339aa61af2caf0ccccbc8e64