Audit Xlsのロゴ

Audit Xls

コミュニティ
fivetaku
audit-xls

Audit a spreadsheet for formula accuracy, errors, and common mistakes. Scopes to a selected range, a single sheet, or the entire model, including financial-model integrity checks like BS balance, cash tie-out, and logic sanity. Triggers on "audit this sheet", "check my formulas", "find formula errors", "QA this spreadsheet", "sanity check this", "debug model", "model check", "model won't balance", "something's off in my model", and "model review".

概要

公開者fivetaku
リポジトリclaude-office-skills
スキル名audit-xls
スター
72
フォーク
11
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Audit Spreadsheet

Audit formulas and data for accuracy and mistakes. Scope determines depth, from quick formula checks on a selection up to full financial-model integrity audits.

Preflight: Dependency Check

Before starting, verify required libraries are installed and install any that are missing.

bash
python3 -c "import pandas" 2>/dev/null || python3 -m pip install pandas
python3 -c "import openpyxl" 2>/dev/null || python3 -m pip install openpyxl

Important: Do not skip this step — the workflow below will fail without these libraries.

Step 1: Determine scope

If the user already gave a scope, use it. Otherwise ask:

What scope do you want me to audit?

  • selection — just the currently selected range
  • sheet — the current active sheet only
  • model — the whole workbook, including financial-model integrity checks (BS balance, cash tie-out, roll-forwards, logic sanity)

The model scope is the deepest. Use it for DCF, LBO, 3-statement, merger, comps, or any integrated financial model before sending to a client or IC.

Step 2: Formula-level checks (all scopes)

Run these regardless of scope:

CheckWhat to look for
Formula errors#REF!, #VALUE!, #N/A, #DIV/0!, #NAME?
Hardcodes inside formulas=A1*1.05 where the 1.05 should be a cell reference
Inconsistent formulasA formula that breaks the pattern of its neighbors in a row or column
Off-by-one rangesSUM or AVERAGE that misses the first or last row
Pasted-over formulasA cell that looks like a formula location but is actually a hardcoded value
Circular referencesIntentional or accidental
Broken cross-sheet linksReferences to cells that moved or were deleted
Unit or scale mismatchesThousands mixed with millions, or percentages stored as whole numbers
Hidden rows or tabsCould contain overrides or stale calculations

Step 3: Model-integrity checks (model scope only)

If scope is model, identify the model type: DCF, LBO, 3-statement, merger, comps, or custom, then run the appropriate checks.

3a. Structural review

CheckWhat to look for
Input/formula separationAre inputs clearly separated from calculations?
Color conventionBlue=input, black=formula, green=link, or the model's equivalent, applied consistently
Tab flowLogical order such as Assumptions -> IS -> BS -> CF -> Valuation
Date headersConsistent across all tabs
UnitsConsistent: thousands vs millions vs actuals

3b. Balance Sheet

CheckTest
BS balancesTotal Assets = Total Liabilities + Equity for every period
RE rollforwardPrior RE + Net Income - Dividends = Current RE
Goodwill/intangiblesFlow from acquisition assumptions if M&A applies

If the balance sheet does not balance, quantify the gap per period and trace where it breaks. Nothing else matters until that is fixed.

3c. Cash Flow Statement

CheckTest
Cash tie-outCF Ending Cash = BS Cash for every period
CF sumsCFO + CFI + CFF = Delta Cash
D&A matchD&A on CF = D&A on IS
CapEx matchCapEx on CF matches PP&E rollforward on BS
WC changesSigns match BS movements for AR, AP, and Inventory

3d. Income Statement

CheckTest
Revenue buildTies to segment or product detail
TaxTax expense = Pre-tax income x tax rate, allowing for deferred tax adjustments
Share countTies to dilution schedule: options, converts, buybacks

3e. Circular references

  • Interest -> debt balance -> cash -> interest is a common intentional circularity in LBO and 3-statement models.
  • If intentional, verify the iteration toggle exists and works.
  • If unintentional, trace the loop and flag how to break it.

3f. Logic and reasonableness

CheckFlag if
Growth ratesGreater than 100% revenue growth without explanation
MarginsOutside industry norms
Terminal value dominanceTV > about 75% of DCF EV
Hockey-stickProjections ramp unrealistically in out-years
CompoundingEBITDA compounds to absurd levels by Year 10
Edge casesModel breaks at 0% or negative growth, negative EBITDA, or negative leverage

3g. Model-type-specific bugs

DCF

  • Discount rate applied to the wrong period: mid-year vs end-of-year
  • Terminal value not discounted back
  • WACC uses book values instead of market values
  • FCF includes interest expense when it should be unlevered
  • Tax shield double-counted

LBO

  • Debt paydown does not match cash sweep mechanics
  • PIK interest does not accrue to principal
  • Management rollover is not reflected in returns
  • Exit multiple applied to the wrong EBITDA period: LTM vs NTM
  • Fees or expenses not deducted from Day 1 equity

Merger

  • Accretion/dilution uses the wrong share count: pre- vs post-deal
  • Synergies not phased in
  • Purchase price allocation does not balance
  • Foregone interest on cash not included
  • Transaction fees not in sources and uses

3-statement

  • Working capital changes have the wrong sign
  • Depreciation does not match the PP&E schedule
  • Debt maturity schedule does not match principal payments
  • Dividends exceed net income without explanation

Step 4: Report

Output a findings table:

#SheetCell/RangeSeverityCategoryIssueSuggested Fix

Severity:

  • Critical — wrong output: BS does not balance, formula is broken, or cash does not tie
  • Warning — risky: hardcodes, inconsistent formulas, edge-case failures
  • Info — style or best-practice items: color coding, layout, naming

For model scope, prepend a summary line:

Model type: [DCF/LBO/3-stmt/...] — Overall: [Clean / Minor Issues / Major Issues] — [N] critical, [N] warnings, [N] info

Do not change anything without asking. Report first, fix on request.

Notes

  • BS balance first. If it does not balance, everything downstream is suspect.
  • Hardcoded overrides are the number one source of silent bugs. Search aggressively.
  • Sign convention errors are extremely common.
  • If the model uses VBA macros, note any macro-driven calculations that cannot be audited from formulas alone.

よくある質問

AIスキル「Audit Xls」では何ができますか?

Audit a spreadsheet for formula accuracy, errors, and common mistakes. Scopes to a selected range, a single sheet, or the entire model, including financial-model integrity checks like BS balance, cash tie-out, and logic sanity. Triggers on "audit this sheet", "check my formulas", "find formula errors", "QA this spreadsheet", "sanity check this", "debug model", "model check", "model won't balance", "something's off in my model", and "model review".

TypingMindでAudit Xlsを使うメリットは何ですか?

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

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

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/fivetaku/claude-office-skills/tree/main/claude-in-excel/audit-xlsを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Audit Xlsを使えるAIモデルはどれですか?

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

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

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

AIスキル「Audit Xls」は無料ですか?

fivetakuがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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