Lbo Modelのロゴ

Lbo Model

コミュニティ
fivetaku
lbo-model

This skill should be used when completing LBO (Leveraged Buyout) model templates in Excel for private equity transactions, deal materials, or investment committee presentations. The skill fills in formulas, validates calculations, and ensures professional formatting standards that adapt to any template structure.

Add to TypingMind

概要

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

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

  • どのLLMでも利用可能

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

  • 2個の同梱ファイル

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

  • オープンソース

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

インストール

AIスキル「Lbo Model」を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/lbo-model
  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/lbo-model .claude/skills/lbo-model
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

LBO Model Builder

Preflight: Dependency Check

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

bash
python3 -c "import openpyxl" 2>/dev/null || python3 -m pip install openpyxl
command -v soffice >/dev/null 2>&1 || command -v libreoffice >/dev/null 2>&1 || ls /Applications/LibreOffice.app/Contents/MacOS/soffice >/dev/null 2>&1 || echo "WARNING: LibreOffice not found. Install: brew install --cask libreoffice (macOS) or apt install libreoffice (Linux). Required for scripts/recalc.py."

Important: Do not skip this step — scripts/recalc.py is required to verify IRR/MOIC, cash sweep mechanics, and sensitivity base-case.

Scripts

  • scripts/recalc.py — Force formula recalculation via headless LibreOffice. Run after building: python scripts/recalc.py <model.xlsx>

Reference Template

A starter LBO template is bundled at lbo-model.xlsx in this skill directory. If the user does not attach their own template, reuse the bundled file structure (do not copy cell values, only the layout/section conventions).

TEMPLATE REQUIREMENT

  • If template attached → use that template's structure exactly
  • If no template → ask user, or use standard examples/LBO_Model.xlsx
  • NEVER build from scratch when template is provided

CRITICAL INSTRUCTIONS - READ FIRST

Environment: Office JS vs Python

  • Office JS: range.formulas = [["=B5*B6"]], no recalc needed
  • Python/openpyxl: ws["D20"] = "=B5*B6", run recalc.py before delivery
  • Merged cell pitfall: value to top-left first, then merge + format

Core Principles

  • Every calculation must be an Excel formula — NEVER compute in Python and hardcode
  • Use the template structure — follow existing organization
  • Work section by section, verify with user at each step

Formula Color Conventions (4-color system)

  • Blue (0000FF): Hardcoded inputs
  • Black (000000): Formulas with calculations
  • Purple (800080): Links to cells on SAME tab (direct references, no calculation)
  • Green (008000): Links to cells on DIFFERENT tabs

Fill Color Palette — Professional Blues & Greys

  • Section headers: Dark blue #1F4E79 (white bold text)
  • Column headers: Light blue #D9E1F2 (black bold text)
  • Input cells: Light grey #F2F2F2
  • Formula cells: White
  • Key outputs (IRR, MOIC): Medium blue #BDD7EE (black bold)

Number Formatting Standards

  • Currency: $#,##0;($#,##0);"-"
  • Percentages: 0.0%
  • Multiples: 0.0"x"
  • MOIC/Detailed Ratios: 0.00"x"

TEMPLATE ANALYSIS PHASE

  1. Map the structure — identify sections and relationships
  2. Understand the timeline — columns = periods, pro forma column
  3. Identify input vs formula cells — respect template conventions
  4. Read existing labels — they specify expected calculations
  5. Check for existing formulas — don't overwrite working formulas
  6. Note template-specific conventions — sign conventions, subtotal structures

FILLING FORMULAS - GENERAL APPROACH

Step 1: Check the Template (existing formula? comment? label? pattern?)

Step 2: Check the User's Instructions

Step 3: Apply Standard Practice

COMMON PROBLEM AREAS

  • Balancing Sections: Sources = Uses, one item is "plug"
  • Tax Calculations: reference income line + tax rate only
  • Interest and Circular References: use Beginning Balance to break circularity
  • Debt Paydown / Cash Sweeps: priority waterfall, MAX/MIN to prevent negative
  • Returns Calculations (IRR/MOIC): correct signs, consecutive periods
  • Sensitivity Tables: ODD dimensions, center cell = base case, #BDD7EE highlight

VERIFICATION CHECKLIST

  • Section balancing (Sources = Uses)
  • Income projections (subtotals, margins, links)
  • Balance Sheet (Assets = L+E, beginning = prior ending)
  • Cash Flow (correct signs, ending cash ties)
  • Supporting Schedules (roll-forwards balance)
  • Debt Schedule (beginning balance, interest, paydown priority)
  • Returns (IRR/MOIC correct signs and ranges)
  • Sensitivity Tables (ODD grid, center = base, all cells have formulas)
  • Formatting (blue/black/purple/green, number formats, no errors)
  • Logical Sanity Checks (magnitude, trends, reasonableness)

COMMON ERRORS TO AVOID

| Hardcoding | Wrong cell refs | Circular refs | Sections unbalanced | | Negative balances | IRR/return errors | Sensitivity same value | Roll-forwards don't tie | | Inconsistent signs |

WORKING WITH THE USER — SECTION-BY-SECTION CHECKPOINTS

  1. After Sources & Uses → confirm plug, get sign-off
  2. After Operating Model → confirm growth rates, margins
  3. After Debt Schedule → confirm waterfall logic
  4. After Returns (IRR/MOIC) → confirm cash flow signs
  5. After Sensitivity Tables → confirm base case lands correctly

同梱ファイル

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

よくある質問

AIスキル「Lbo Model」では何ができますか?

This skill should be used when completing LBO (Leveraged Buyout) model templates in Excel for private equity transactions, deal materials, or investment committee presentations. The skill fills in formulas, validates calculations, and ensures professional formatting standards that adapt to any template structure.

TypingMindでLbo Modelを使うメリットは何ですか?

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

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

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

Lbo Modelを使えるAIモデルはどれですか?

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

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

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

AIスキル「Lbo Model」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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