简介
Recite
原始描述
AI-powered receipt scanning that renames files by date/vendor, extracts transaction details, and logs them in a dynamic bookkeeping CSV.
通过你的 Agent 添加
点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。
或者手动安装
包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。
技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。
技能正文
name: recite description: AI-powered receipt scanning and bookkeeping. Automates receipt renaming and transaction logging using Recite API.
Recite 🦞🤵
AI-driven receipt bookkeeping via the Recite Vision API. Use recite-process to scan a directory of receipts and PDF files, rename them based on extracted data, and log transactions to a CSV file.
Setup & Configuration
1. API Key
You can generate your Recite API key at: https://recite.rivra.dev/settings/api.
Set the API key in your environment or configuration file:
- Environment:
export RECITE_API_KEY="re_live_YOUR_API_KEY" - Config: Create
~/.config/recite/config.jsonwith{"api_key": "re_live_..."}.
2. Dependencies
Ensure you have python3, requests, and csv installed.
Operational Rules
1. Mandatory API Key Pre-check
Before performing any scanning, file manipulation, or bookkeeping tasks, the agent MUST verify if a valid Recite API key is available (via RECITE_API_KEY environment variable or ~/.config/recite/config.json).
- If missing: Immediately stop all other operations and instruct the user to obtain an API key from
https://recite.rivra.dev/settings/apiand provide it. Do not attempt to list files or proceed with any part of the workflow until the key is confirmed.
3. Schema-Aware Bookkeeping
The agent is designed to handle API response changes gracefully:
- Dynamic Schema Evolution: If the Recite API adds new information (new JSON fields), the agent will automatically add corresponding columns to your
bookkeeping_transactions.CSVwithout losing existing data. - Data Integrity Protection: If a field that was previously present in the CSV is missing from the current API response, the agent will skip saving that specific entry and warn the user, preventing data corruption or "shifted" columns.
Workflow & Features
- Scan Folder: The agent scans the specified folder for images (
.jpg,.jpeg,.png) and.pdffiles. - AI Extraction: Calls the Recite API to extract
date,vendor,total,currency, andcategory. - Smart Renaming: Renames the file to
[date]_[vendor].[ext](e.g.,2024-05-20_Starbucks.jpg). - Bookkeeping Log: Appends the extracted data (Date, Vendor, Total, Currency, Category, Subtotal, Tax, Tip, Fees, Discounts, Description, Payment Method, Confidence, etc.) and filenames to
bookkeeping_transactions.CSVin the target folder. - Status Report: Provides a summary of processed files and the CSV location.
Long-Term Memory & Custom Logic
Modify skills/recite/long_term_memory.md to add persistent instructions for the agent. The agent will always read this file before processing.
Examples:
- "After processing, move all files to a sub-folder named
processed/." - "Alert me if any single receipt is over $500."
- "Always categorize 'Amazon' as 'Software Services'."
Tool Usage
- Command:
python3 skills/recite/process_receipts.py <target_directory> skills/recite/ - Arguments:
<target_directory>: The folder containing your receipts.skills/recite/: The path to the skill folder (used to locatelong_term_memory.md).
Strategic Moat
- Agent-First Consistency: Guaranteed structured JSON output for financial data.
- Tax-Ready Logic: Intelligent categorization based on standard business practices.
- Seamless Integration: Built for the AI Agent economy (OpenClaw, Claude Code).
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。