| name | orca-accounting |
| description | Record time, retries, and optional token, cache, and cost metrics for ORCA Framework workflows without fabricating precision. |
ORCA Framework Accounting
What This Skill Is
A workflow accounting procedure for logging elapsed time, retries, outcome status, and optional token, cache, and cost signals per run.
Trigger
Use for meaningful runs, repeated workflows, eval passes, QA-heavy runs, or any workflow where operational efficiency matters.
Do Not Trigger
Do not fake exact token or cost numbers when the environment does not provide them.
Required Inputs
- Workflow type
- Run or issue ID
- Start and end context
Optional Inputs
- Token usage
- Cached-token or cache-read signals
- Cost estimate
- Retry breakdown by stage
Exact Workflow
- Record workflow identity and timing.
- Count retries and note which stages retried.
- Record outcome status and stop reason.
- Capture token, cache, or cost fields only when available or reasonably estimated.
- Mark confidence as exact, estimated, or unavailable.
- Write the metrics record using
templates/workflow-metrics.md.
Expected Outputs
- Filled
templates/workflow-metrics.md
Quality Bar
Metrics should be honest, comparable, and useful for spotting inefficient workflow stages.
Common Failure Modes
- pretending unavailable usage or cache data is exact
- ignoring retry burden
- recording raw numbers without stage context
Relationship To Other ORCA Framework Skills And Commands
Supports orca-trace, orca-eval, orca-review, QA workflows, and orca-metrics.