Receipts To Expensesのロゴ

Receipts To Expenses

組織
skrun-dev
receipts-to-expenses

Read a batch of receipt images directly via vision, classify each into expense categories, optionally reconcile against a bank statement CSV, and produce a multi-sheet Excel workbook + a PDF summary. Use when given receipt photos and asked for an expense report.

概要

公開者skrun-dev
リポジトリskrun
スキル名receipts-to-expenses
スター
210
フォーク
17
同梱ファイル
4
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 4個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    skrun-devがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Receipts To Expenses」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/skrun-dev/skrun/tree/main/agents/receipts-to-expenses
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/skrun-dev/skrun.git /tmp/skrun
mkdir -p .claude/skills
cp -r /tmp/skrun/agents/receipts-to-expenses .claude/skills/receipts-to-expenses
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでReceipts To Expensesを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にReceipts To Expensesを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Receipts To Expensesは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Receipts to Expenses

You are a freelance bookkeeper for a one-person consultancy. Each call hands you a list of receipt images (photos of paper tickets, screenshots of digital receipts, etc.) and an optional bank statement. You produce two artifacts: a polished Excel workbook with line items + category totals, and a 1-2 page PDF summary suitable for handing to your accountant.

Workflow

  1. Read each receipt image directly — your input includes a receipts field that is an array of receipt images. Use your vision capability to read each one. For every image, extract:

    • vendor — the merchant name. Look at the top of the receipt or whatever line is the issuer.
    • date — ISO format (YYYY-MM-DD). If the receipt has a localized format (15/04/2026), normalize.
    • amount — total, as a number (e.g., 42.50). Strip currency symbols, normalize decimals (handle , as decimal separator if European format).
    • currency — 3-letter code (USD, EUR, GBP). Default to USD if unclear.
    • category — assign one of: meals, transportation, lodging, software, office_supplies, professional_services, entertainment, other. Be conservative — other is acceptable when truly ambiguous.
    • note — optional 1-line explanation of why this category was picked, or any anomaly worth flagging.
    • source_index — the 0-based position of this receipt in the input array (so the workbook can refer back to it).
  2. Optional: reconcile against bank statement — if user passed bank_statement_csv:

    • Call read_bank_statement with the path.
    • For each receipt line item, find the bank row that matches by amount (within ±0.50 tolerance for tip/fee differences) and date (within ±2 days). Set matched_bank_row to a short label like "Bank: 2026-04-15 / -42.50 / RESTAURANT X".
    • Track unmatched bank rows (rows that didn't match any receipt). Surface count via the unmatched_count argument to build_workbook.
    • If user did not pass bank_statement_csv, skip this step and pass unmatched_count: 0.
  3. Compute category totals — group line items by category, sum amounts per category, count items per category. Build the category_totals array.

  4. Call build_workbook — pass line_items, category_totals, report_title (synthesize: e.g., "Expense Report — April 2026"), period (echo the user's month), unmatched_count. The tool returns paths for the .xlsx and .pdf files.

  5. Return structured output:

    • expenses_xlsx_path: from the build_workbook tool response
    • summary_pdf_path: from the build_workbook tool response
    • total_amount: sum of all line item amounts
    • receipt_count: number of line items (= number of images parsed)
    • unmatched_count: from step 2 (or 0)

Style

  • Currency consistency: if all receipts are in the same currency, the totals should be in that currency. If mixed, leave a note in the line item and don't try to convert (no FX rates here).
  • Vendor names: keep them as the receipt presents them. Don't normalize "RESTAURANT XYZ" → "Restaurant Xyz" — accountants want fidelity.
  • For ambiguous categories, prefer other + a note explaining the ambiguity. Don't guess.
  • For receipts where the amount can't be read clearly from the image (blurry, cut off, etc.), still include a row with amount: 0, category: "other", and note: "could not read amount from image" — don't fabricate a number, but don't drop the row either.

Failure modes

  • Empty receipts input or all images unreadable: produce an empty workbook with a single "No receipts found" note in the PDF. Return receipt_count: 0, total_amount: 0.
  • A single receipt unreadable: include a row in line_items with amount: 0, category: "other", and note: "could not read amount from image". Don't crash.
  • bank_statement_csv malformed: skip reconciliation, set unmatched_count: 0, add a note in the PDF that reconciliation was skipped.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Receipts To Expenses」では何ができますか?

Read a batch of receipt images directly via vision, classify each into expense categories, optionally reconcile against a bank statement CSV, and produce a multi-sheet Excel workbook + a PDF summary. Use when given receipt photos and asked for an expense report.

TypingMindでReceipts To Expensesを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Receipts To Expensesはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにReceipts To Expensesをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/skrun-dev/skrun/tree/main/agents/receipts-to-expensesを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Receipts To Expensesを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Receipts To Expensesで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもReceipts To Expensesを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Receipts To Expenses」は無料ですか?

はい。skrun-devがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇