market-calculator
A Claude plugin that costs out and prices recipes for farmers-market sale, keeping a growing local library of ingredients, prices, recipes, and event overhead in a small SQLite database.
It installs into Claude Code, Claude Desktop, and Claude Cowork from this repo (which doubles as a plugin marketplace). The compute logic is a single, dependency-free Python script bundled inside the skill — no server, no
pip install, runs in any Python 3 sandbox.
Repository layout
.claude-plugin/marketplace.json # makes this repo an installable marketplace
plugins/recipe-cost-calculator/
.claude-plugin/plugin.json # plugin manifest
skills/recipe-cost-calculator/
SKILL.md # workflow + first-run setup
scripts/market_calc.py # all the math + SQLite, stdlib only
references/ # command reference + ingredient densities
tests/ # pytest suite for the compute logic
Install
Claude Code
/plugin marketplace add wtcooper/market-calculator
/plugin install recipe-cost-calculator@market-calculator
Claude Desktop / Cowork
Customize → Plugins → Personal plugins → + → Add marketplace → paste this repo's GitHub URL → install recipe-cost-calculator. Code execution must be enabled for the bundled script to run.
How data is stored
On first use the skill asks where to keep the library (default ./.data/ in your working folder) and saves that choice to .recipe-cost-calc.json, so it only asks once. Both are git-ignored — your library never travels with the plugin.
Development / tests
uv sync # pytest only; the script itself needs no deps
uv run pytest
You can also drive the script directly:
python3 plugins/recipe-cost-calculator/skills/recipe-cost-calculator/scripts/market_calc.py \
--db ./.data/market.db list-ingredients








