Crescent Finance Ops
Compute financial reports from the Crescent Finance Ops API. This skill covers three domains: branch management reporting, ensemble compensation, and weekly production payroll.
Workflow
Every task follows the same four-step pattern:
- Load the request context — read
payloads/environment_access.json for the base URL and payloads/request_memo.json for query parameters.
- Read the answer template — it defines the output shape, field types, and rounding rules.
- Fetch and compute — pull data from the relevant API endpoints and apply the domain rules in the reference files below.
- Return one JSON object — no extra text, no commentary, no markdown wrapping.
Rounding
- Currency values: 2 decimals
- Percent and ratio fields: 4 decimals
- Lists ordered by ascending stable ID unless a rank field or the template says otherwise.
conflict_flags sorted alphabetically.
Domain Reference Files
Load the reference file for the domain the request falls into:
- Branch reporting (finance endpoints: branches, period-map, accounts, records): read references/finance.md.
- Compensation (rate-book, rosters, scenarios): read references/compensation.md.
- Payroll (rate-book, productions): read references/payroll.md.
A task may combine multiple domains. Load all relevant reference files.
API Conventions
All endpoints return JSON arrays or objects at the paths listed in payloads/environment_access.json and /api/manifest. The base URL comes from the task's payloads/environment_access.json. No authentication is required.
Key endpoints by domain
| Domain |
Endpoints |
| Finance |
/api/finance/branches, /api/finance/period-map, /api/finance/accounts, /api/finance/records |
| Compensation |
/api/compensation/rate-book, /api/compensation/rosters, /api/compensation/scenarios |
| Payroll |
/api/payroll/rate-book, /api/payroll/productions |
General Computation Approach
For all domains:
- Fetch every endpoint listed in the request's
payloads/environment_access.json once; reuse results across all calculations.
- Derive all intermediate values (revenue, cogs, gross_margin, sga, allocations, ebitda, etc.) programmatically from category sums, never from hard-coded numbers.
- Compute ratios only after all numerator and denominator sums are finalized.
- Check the answer template's
required_top_level_keys to confirm every key is present before returning.
- Do not wrap the result in a list, envelope, or markdown code block — return a raw JSON object.
1---2name: crescent-finance-ops-203description: "Computational financial operations for Crescent Arts Collective — branch management reporting, compensation summaries and forecasts, and weekly production payroll. Use when a task requires reading from the Crescent Finance Ops API (branches, records, period-map, accounts, compensation rate-book/rosters/scenarios, or payroll rate-book/productions), computing derived metrics (EBITDA, ratios, variances, growth rates, compensation pay-type totals, payroll service categories), and producing a structured JSON answer. Triggers on requests involving: branch close packages, regional reporting, ensemble compensation, board forecasts, or theatre payroll review."4license: MIT5compatibility: designed for deepagents-code6metadata:7 source: https://skillmd.com/skills/prism-shadow/crescent-finance-ops-208---910# Crescent Finance Ops1112Compute financial reports from the Crescent Finance Ops API. This skill covers three domains: branch management reporting, ensemble compensation, and weekly production payroll.1314## Workflow1516Every task follows the same four-step pattern:17181. **Load the request context** — read `payloads/environment_access.json` for the base URL and `payloads/request_memo.json` for query parameters.192. **Read the answer template** — it defines the output shape, field types, and rounding rules.203. **Fetch and compute** — pull data from the relevant API endpoints and apply the domain rules in the reference files below.214. **Return one JSON object** — no extra text, no commentary, no markdown wrapping.2223## Rounding2425- Currency values: 2 decimals26- Percent and ratio fields: 4 decimals27- Lists ordered by ascending stable ID unless a rank field or the template says otherwise.28- `conflict_flags` sorted alphabetically.2930## Domain Reference Files3132Load the reference file for the domain the request falls into:3334- **Branch reporting** (finance endpoints: branches, period-map, accounts, records): read [references/finance.md](references/finance.md).35- **Compensation** (rate-book, rosters, scenarios): read [references/compensation.md](references/compensation.md).36- **Payroll** (rate-book, productions): read [references/payroll.md](references/payroll.md).3738A task may combine multiple domains. Load all relevant reference files.3940## API Conventions4142All endpoints return JSON arrays or objects at the paths listed in `payloads/environment_access.json` and `/api/manifest`. The base URL comes from the task's `payloads/environment_access.json`. No authentication is required.4344### Key endpoints by domain4546| Domain | Endpoints |47|---|---|48| Finance | `/api/finance/branches`, `/api/finance/period-map`, `/api/finance/accounts`, `/api/finance/records` |49| Compensation | `/api/compensation/rate-book`, `/api/compensation/rosters`, `/api/compensation/scenarios` |50| Payroll | `/api/payroll/rate-book`, `/api/payroll/productions` |5152## General Computation Approach5354For all domains:55561. Fetch every endpoint listed in the request's `payloads/environment_access.json` once; reuse results across all calculations.572. Derive all intermediate values (revenue, cogs, gross_margin, sga, allocations, ebitda, etc.) programmatically from category sums, never from hard-coded numbers.583. Compute ratios only after all numerator and denominator sums are finalized.594. Check the answer template's `required_top_level_keys` to confirm every key is present before returning.605. Do not wrap the result in a list, envelope, or markdown code block — return a raw JSON object.