close-month
Closes the month — reconciles QB vs payment processors, flags gaps, writes P&L narrative, exports close packet. Accepts optional month and save-to arguments.
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o close-month.zip https://jpskill.com/download/22754.zip && unzip -o close-month.zip && rm close-month.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/22754.zip -OutFile "$d\close-month.zip"; Expand-Archive "$d\close-month.zip" -DestinationPath $d -Force; ri "$d\close-month.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
close-month.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
close-monthフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
[スキル名] close-month 月次決算ワークフローを実行します。照合、ギャップの特定、損益計算書の解説、およびオーナーの記録(およびその会計士)のために決算資料をエクスポートします。
引数を解析します。
--month(デフォルト: 前月) —YYYY-MM形式--save-to(デフォルトfiles) —files(Google Drive / OneDrive)、desktop(ローカル)、またはboth
ステップ1 — 照合
month-end-prep スキルワークフローをトリガーします。
- 対象月のすべてのQuickBooks取引を取得します。
- 同じ月の各接続済み決済処理業者(PayPal、Stripe、Square)からの決済情報を取得します。
- 金額と日付(±2日)でQBエントリと処理業者決済を照合します。
- 3つのギャップカテゴリを特定します。
- 未照合の処理業者決済 — PayPal/Stripe/Square経由で入金されたがQBに記録されていないもの
- 未照合のQB預金 — QBに収入として記録されているが処理業者記録がないもの(現金?電信送金?誤分類?)
- 差異行 — 照合されたが金額が異なるもの(手数料、返金分割など)
ステップ2 — 不審なエントリの特定
同じレポートで以下を特定します。
- 未分類の取引 — カテゴリのないQBエントリ
- 不審な重複 — 同じ金額、同じベンダー、3日以内
- 領収書不足 — 75ドルを超えるQBエントリで添付ファイルがないもの
それぞれについて、アクションを推奨します。Xとして分類、重複を削除、受信トレイから領収書を添付など。
解説を生成する前に、オーナーが特定された項目をトリアージするのを待ちます。自動分類や自動削除は行いません。
ステップ3 — 損益計算書の解説
トリアージ後、平易な英語で損益計算書の解説を生成します。
{Month YYYY}の売上は${revenue}で着地しました(前月比{+/-}{X}%)。
最大の要因は{category/customer}でした。最大の変動は{category}が${amount} {direction}したことです。
これは{transactionsから推測される理由}によるものです。
利益率: {X}%(前月比{+/-}Yポイント)。{コスト側のコメント}。
注目すべき3つの項目:
1. ...
2. ...
3. ...
数値はQBから取得し、理由は主要な取引、ベンダー名、前月との差分を相互参照して導き出します。
ステップ4 — 決算資料のエクスポート
2つのファイルを生成します。
close-packet-{YYYY-MM}.xlsx— 複数タブのワークブック:Reconciliation— QB ↔ 処理業者照合テーブル(ギャップ行をハイライト)Flagged— 未分類 / 重複 / 領収書不足P&L— 前月との差分列を含むフォーマット済み損益計算書Trial Balance— 勘定科目 + 期末残高
close-packet-{YYYY-MM}.pdf— 1ページの要約: 損益計算書の解説 + トップラインの数値 + ギャップ数
両方を指定された --save-to の場所に保存します。ファイル名の形式: close-packet-2026-04.xlsx など。
コネクタの障害
QuickBooksに到達できない場合、停止します — 照合にはQBが信頼できる情報源として必要です。決済処理業者(PayPal、Stripe、Square)に到達できない場合、利用可能な処理業者に対して照合を実行し、「PayPal未接続 — PayPal決済は照合からスキップされました」(または不足しているもの)とメモします。すべての処理業者が不足している場合、QBのみの分析を実行し、その旨を通知します。
承認ゲート
- 特定された項目を自動修正することは決してありません。 常にギャップを示し、アクションを推奨し、オーナーを待ちます。
- 明示的な確認なしに重複を削除することは決してありません。 両方の記録を並べて表示します。
- 資料の保存は自動です — オーナー自身のドライブに保存されます。
出力
実行の最後に、売上、利益率、残っているギャップの数(もしあれば)、保存された資料のファイルパスを含む1段落の要約で終了します。ギャップがすべて解決されていない場合、オーナーが再確認できるようにそれらをリストアップします。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Run the month-end close workflow. Reconcile, flag gaps, narrate the P&L, and export the close packet for the owner's records (and their accountant).
Parse arguments:
--month(default: previous calendar month) —YYYY-MMformat--save-to(defaultfiles) —files(Google Drive / OneDrive),desktop(local), orboth
Step 1 — Reconcile
Trigger the month-end-prep skill workflow:
- Pull all QuickBooks transactions for the target month.
- Pull settlements from each connected payment processor (PayPal, Stripe, Square) for the same month.
- Match QB entries to processor settlements by amount + date (±2 days).
- Surface three gap categories:
- Unmatched processor settlements — money came in via PayPal/Stripe/Square but never landed in QB
- Unmatched QB deposits — QB shows income with no processor record (cash? wire? misclassified?)
- Variance lines — matched but amount differs (fees, refunds split)
Step 2 — Flag suspicious entries
Surface in the same report:
- Uncategorized transactions — QB entries with no category
- Suspicious duplicates — same amount, same vendor, within 3 days
- Missing receipts — QB entries above $75 with no attachment
For each, recommend an action: categorize as X, delete duplicate, attach receipt from inbox.
Wait for owner to triage flagged items before generating the narrative. Do not auto-categorize or auto-delete.
Step 3 — P&L narrative
After triage, generate a plain-English P&L narrative:
{Month YYYY} closed at ${revenue} revenue ({+/-}{X}% vs prior month).
Top driver: {category/customer}. Biggest swing: {category} {direction} ${amount}
because {reason inferred from transactions}.
Margin: {X}% ({+/-}Y pts vs prior). {Cost-side commentary}.
Three notable items:
1. ...
2. ...
3. ...
Numbers come from QB; the why comes from cross-referencing top transactions, vendor names, and prior-month deltas.
Step 4 — Export the close packet
Generate two files:
close-packet-{YYYY-MM}.xlsx— multi-tab workbook:Reconciliation— QB ↔ processor match table with gap rows highlightedFlagged— uncategorized / duplicates / missing receiptsP&L— formatted income statement with prior-month delta columnTrial Balance— accounts + ending balances
close-packet-{YYYY-MM}.pdf— one-page summary: P&L narrative + top-line numbers + gap count
Save both to the chosen --save-to location. Filename format: close-packet-2026-04.xlsx etc.
Connector failures
If QuickBooks is unreachable, stop — reconciliation requires QB as the source of truth. If a payment processor (PayPal, Stripe, Square) is unreachable, run reconciliation against the available processors and note "PayPal not connected — PayPal settlements skipped from reconciliation" (or whichever is missing). If all processors are missing, run QB-only analysis and flag it.
Approval gates
- Never auto-fix flagged items. Always show the gap, recommend an action, wait for the owner.
- Never delete duplicates without explicit confirmation. Show both records side-by-side.
- Saving the packet is auto — it goes to the owner's own drive.
Output
End the run with a one-paragraph recap: revenue, margin, gap count remaining (if any), file paths to the saved packet. If gaps were not all resolved, list them so the owner can revisit.