From 9e0f0c10e2032e17034fa6a51960dc98fb84b58d Mon Sep 17 00:00:00 2001 From: Connor Rhodes Date: Wed, 29 Apr 2026 01:55:16 +0000 Subject: [PATCH] update schema: add merchant field, rename note to description --- log-work-expense/SKILL.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/log-work-expense/SKILL.md b/log-work-expense/SKILL.md index e475c7e..fcd1765 100644 --- a/log-work-expense/SKILL.md +++ b/log-work-expense/SKILL.md @@ -32,13 +32,15 @@ The script is located at `~/notes/skills/log-work-expense/scripts/ocr_receipt.py { "file": "https://s2.connorrhodes.com/agent/{sha256}.{ext}", "date": "YYYY-MM-DD", - "note": "Context the user provided about the expense" + "merchant": "Name of the merchant from the receipt (e.g. Starbucks, 7 Eleven)", + "description": "Context the user provided about the expense" } ``` - **file**: The S2 URL of the uploaded receipt image. Omit if no image was provided. - **date**: The date from the receipt, formatted as YYYY-MM-DD. If you cannot confidently read the date from the receipt, ask the user — do not guess. -- **note**: Any context the user gave about the expense (what it was for, project, etc.). If they didn't provide context, ask what the expense was for. +- **merchant**: Extracted from the OCR result or the receipt image. +- **description**: What the user told you about the expense (e.g. "travel meal during LTISD onsite"). If they didn't provide context, ask. 4. **Confirm** — Reply with a brief confirmation showing what was logged (date, note, and file link if applicable).