From a20de135933c8167a2c2eaa0f1ccbf80c9e17e6f Mon Sep 17 00:00:00 2001 From: Connor Rhodes Date: Wed, 29 Apr 2026 01:53:09 +0000 Subject: [PATCH] fix: use uv run for OCR script --- log-work-expense/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log-work-expense/SKILL.md b/log-work-expense/SKILL.md index c8f85b1..e475c7e 100644 --- a/log-work-expense/SKILL.md +++ b/log-work-expense/SKILL.md @@ -19,7 +19,7 @@ Log receipt images and expense details into the `wip.work_expenses` collection i 1. **Extract receipt info** — If the user sent an image, run the OCR script to read the date, vendor, and amount: ```bash -python3 scripts/ocr_receipt.py /path/to/image.jpg +uv run --with requests python3 scripts/ocr_receipt.py /path/to/image.jpg ``` The script is located at `~/notes/skills/log-work-expense/scripts/ocr_receipt.py`. It returns JSON with `date`, `vendor`, and `amount` fields. If the output doesn't contain a confident date, **ask the user** — never guess. If they only provided text, use that.