vet-clinic-ops
Price annual wellness bundles for a veterinary clinic — read a JSON bundle of services with à-la-carte prices, apply a bundle discount, and print the plan price, client savings versus paying a la carte, and the effective per-service price. Use when packaging yearly preventive care (exams, vaccines, testing) into a single sellable plan.
$ skillbank install vet-clinic-ops@1.0.0 # pins exactly 1.0.0 · README + changelog included
Vet Clinic Ops
Overview
A wellness plan is easier to sell than a list of prices. This skill prices one: you write down the services in the plan and what each costs a la carte, pick a bundle discount, and the script computes the plan price, the client's dollar savings versus paying per visit, and what each service effectively costs inside the plan. Useful when designing or repricing annual plans (exam + vaccines + testing + dental) so the discount is consistent and the math is defensible to the client.
Installation
1. Copy the vet-clinic-ops/ directory anywhere convenient. 2. Make the script executable (Unix):
chmod +x scripts/wellness.py
No pip install needed — standard library only. All data stays local — nothing is uploaded.
Configuration
Input file: a bundle JSON passed with --bundle (a starter is bundled at samples/wellness-bundle.json):
{
"name": "Adult Dog Annual Wellness Plan",
"discount_pct": 15,
"services": [
{"name": "Annual exam", "price": 68.00},
{"name": "Core vaccines (DHPP + rabies)", "price": 74.00},
{"name": "Heartworm test", "price": 42.00},
{"name": "Fecal test", "price": 38.00},
{"name": "Dental cleaning", "price": 420.00}
]
}
| Field | Required | Description | |----------------|----------|-----------------------------------------------| | name | no | Plan name shown in the report. | | discount_pct | no | Bundle discount percent, 0–100 (default: 0). | | services | yes | Non-empty list of {name, price} entries. |
The --discount flag overrides discount_pct from the file.
Inputs
| Command | Arguments | Returns | |---------------------------------------------------|----------------------------------|------------------------------------------------------| | wellness.py --bundle <file> [--discount PCT] | Bundle JSON, optional override | Plan price, client savings, per-service effective prices. |
Prices use decimal math rounded to the cent. Bad input (missing file, invalid JSON, negative prices, discount outside 0–100) exits nonzero with a plain-English error — never a traceback.
Worked example
$ ./scripts/wellness.py --bundle samples/wellness-bundle.json
Wellness plan: Adult Dog Annual Wellness Plan
Discount: 15%
Service A la carte In plan
--------------------------------------------------------------------
Annual exam $ 68.00 $ 57.80
Core vaccines (DHPP + rabies) $ 74.00 $ 62.90
Heartworm test $ 42.00 $ 35.70
Fecal test $ 38.00 $ 32.30
Dental cleaning $ 420.00 $ 357.00
--------------------------------------------------------------------
A-la-carte total $ 642.00
Plan price $ 545.70
Client saves $ 96.30
$ ./scripts/wellness.py --bundle samples/wellness-bundle.json --discount 20
Plan price $ 513.60
Client saves $ 128.40
Version history
Changelog
1.0.0 — 2026-09-27
- Initial release. Wellness bundle pricing calculator (scripts/wellness.py) with sample bundle JSON.