Investment Memo Craft logo

Investment Memo Craft

CommunityPopular
xbtlin
investment-memo-craft

Codex-only writing and layout overlay for AI Berkshire investment research reports. Use whenever Codex creates, rewrites, revises, or critiques company/industry/fund research reports, especially long-form Markdown reports that need financial rigor, readable business mechanics, contrarian analysis, valuation-to-action guidance, investor-specific recommendations, restrained typography, and clear buy/hold/sell signals. Do not use this to modify Claude Code slash-command sources.

Overview

Publisherxbtlin
Repositoryai-berkshire
Skill nameinvestment-memo-craft
Stars
16.4K
Forks
2.5K
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by xbtlin on GitHub. Read the source before you install it.

Installation

Install the Investment Memo Craft AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/xbtlin/ai-berkshire.git /tmp/ai-berkshire
mkdir -p .claude/skills
cp -r /tmp/ai-berkshire/codex-skills/investment-memo-craft .claude/skills/investment-memo-craft
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Investment Memo Craft in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Investment Memo Craft on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Investment Memo Craft is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Investment Memo Craft

Purpose

Turn investment research into a decision-ready Codex research report. Keep the data discipline of the underlying research skill, but make the output easier for an investor to use: concrete business mechanics, sharp inverse thinking, explicit opportunity cost, action thresholds, and calm Markdown typography.

Use this as a writing and judgment overlay. It does not replace financial-data rules, primary-source checks, valuation tools, or report audit tooling.

For long-form AI Berkshire outputs, title the artifact as a "research report" by default. Use "investment memo" only when the user explicitly asks for a memo format.

This is a Codex-only hand-written skill kept under codex-skills/ for simple installation. Do not add a same-named skills/investment-memo-craft.md source unless intentionally adopting this workflow for Claude Code too.

Core Workflow

  1. Open with context; reserve the full decision for after the evidence.

    • In the first screen, state the research date, price, market cap, valuation, and a short thesis.
    • Do not front-load the full buy/hold/sell table unless the user explicitly asks for an executive memo.
    • Put the detailed recommendation, investor-specific actions, and price bands near the end, after business quality, risk, and valuation have been argued.
    • Separate "good business" from "good investment at this price".
  2. Build the operating map before the philosophy.

    • Include revenue structure, segment economics, unit drivers, and 3-5 year trends early.
    • For asset-heavy businesses, show the key assets individually when they explain the moat.
    • Explain the pricing mechanism, customer lock-in, cost structure, and reinvestment needs.
  3. Compress business essence into one memorable sentence.

    • Prefer a sentence that describes who pays, why they pay, what is scarce, and what repeats.
    • Avoid generic labels such as "industry leader" unless followed by the mechanism that makes leadership durable.
  4. Make the moat falsifiable.

    • Score or table the moat by source: brand/pricing power, switching cost, network effect, scale, cost advantage, regulation, resource scarcity, technology.
    • Explain whether the moat widened or narrowed over the last 5 years.
    • Ask what can destroy the moat, even if the answer is "not competitors, but regulation/weather/price paid".
  5. Do real inverse thinking.

    • Include failure paths with probability, impact, and observable indicators.
    • Write the strongest bear case in language a smart short seller or non-buyer would actually use.
    • Explicitly identify the most likely analytical mistake.
  6. Evaluate management through capital allocation.

    • Replace vague praise with decision history: acquisitions, divestitures, buybacks, dividends, leverage, reinvestment, strategic pivots.
    • Judge incentives: insider ownership, controlling shareholder behavior, compensation, related-party transactions, and shareholder return policy.
    • Ask whether the business depends on a person or on a system.
  7. Connect industry trend to value capture.

    • Distinguish civilization-level trend from investable company-level economics.
    • Describe where the company sits in the value chain and who captures the profit pool.
    • Identify whether TAM growth, pricing, utilization, or capital intensity is the real driver.
  8. Convert valuation into action.

    • Show current multiples, reverse DCF intuition, scenario valuation, historical comparison, and comparable companies when relevant.
    • Include dividends or capital returns in expected return when they matter.
    • Provide price bands, add signals, trim/sell signals, and what would change the thesis.
  9. Close with a decision memo.

    • Include a summary table by business quality, moat, management, risk, trend, and valuation.
    • Give distinct advice for empty-handed investors and existing holders.
    • Include the action table here, not at the top, for long-form research reports.
    • End by separating AI analysis confidence from actual investment certainty.

Style Standards

  • Prefer concrete numbers and mechanisms over adjectives.
  • Use tables when they reduce cognitive load: assets, segments, failure paths, management decisions, scenario valuations, action bands.
  • Write in clear investor prose. A good memo should be understandable after one read and useful after one month.
  • Keep memorable formulations, but never let rhetoric outrun evidence.
  • Avoid hiding behind vague labels such as "wait and see" without specifying the price or event that would change the recommendation.

Layout Standards

For long-form research reports, prefer a calm stepped layout:

  • Use a simple title: 公司名(ticker)研究报告. Avoid adding "四大师综合" or "投资备忘录" to the title unless the user asks for that framing.
  • Use dated filenames for reports: 公司名研究报告-YYYYMMDD.md.
  • Start with one compact metadata block: research date, price, market cap, key multiples, and a one-sentence thesis.
  • Use horizontal separators between major sections.
  • Use Chinese step headings for readability, for example "第一步:核心数据总览", "第二步:生意本质分析", and "第八步:最终决策与行动清单".
  • Keep section titles short and concrete; avoid dense numbering such as "2.3.1" unless the document is technical.
  • Use quote blocks for master-style questions, not inline bold paragraphs.
  • Treat GitHub Markdown as the typography system: use heading levels, tables, quote blocks, and bold text; do not add HTML/CSS font styling unless the user explicitly asks for a non-GitHub artifact.
  • Use bold sparingly as a reading guide: metadata labels, one-sentence conclusion labels, key phrases, total/current-company rows, latest-year values, scenario target prices, action rows, and audit verdicts.
  • Keep ordinary facts in normal weight. Do not bold full tables or every important-looking number; over-emphasis makes long research feel noisy.
  • Use explicit + and - signs for growth rates and return ranges so positive/negative movement can be scanned without rereading the sentence.
  • Put checklists under "AI research bias awareness" when the company is information-rich or consensus-heavy.
  • Keep audit and tool details light at the end. Do not expose command lines unless the user asks for reproducibility commands.
  • If a prior report has a layout the user likes, preserve its reading rhythm while keeping only data that passes the current validation standard.

Default Report Shape

For AI Berkshire company reports, use this order unless the user asks otherwise:

  1. AI研究偏见自觉

    • State the information-richness rating, consensus trap, bias checklist, and AI research limitation.
  2. 第一步:核心数据总览

    • Show segment revenue, key operating assets or units, 3-5 year financial trend, and cross-source validation.
  3. 第二步:生意本质分析

    • Define the business in one sentence, map revenue/cost/customer/asset life/growth drivers, and explain the real profit variables.
  4. 第三步:护城河评估

    • Score moat sources, explain evidence, and state what can destroy or weaken the moat.
  5. 第四步:逆向思考与风险清单

    • Put the bear case in serious language. Include failure paths, probability, impact, and observable warning indicators.
  6. 第五步:管理层评估

    • Judge management through capital allocation, governance, incentives, dividends/buybacks, leverage, and whether the business is system-driven.
  7. 第六步:行业与文明趋势

    • Separate broad trend from investable economics and explain where the company captures value.
  8. 第七步:估值与安全边际

    • Show current valuation, reverse-DCF intuition, scenario valuation, comparable companies if useful, and explicit price bands.
  9. 第八步:最终决策与行动清单

    • Put the full decision here, not at the top: summary table, advice for empty-handed investors, advice for holders, add/sell triggers, and master-style comments if useful.
  10. AI分析置信度 vs 投资确定性

    • Separate data confidence from investment certainty.
  11. 数据来源与审计记录

    • List key sources and concise audit results. Keep command lines out of the report unless explicitly requested.

Quality Bar

A strong memo should answer these questions without forcing the reader to infer:

  • What exactly does this company sell, to whom, and why does money repeat?
  • What are the 2-3 variables that actually move profit?
  • Why might smart people refuse to buy?
  • What is already priced in?
  • What return is plausible under bull/base/bear cases, including dividends if relevant?
  • What should an empty-handed investor do?
  • What should a holder do?
  • What evidence would make the thesis wrong?

Pairing With Other Skills

When the task requires fresh company research, first use the relevant data/research skill and its validation requirements. Then use this skill to rewrite or structure the output as a memo.

For AI Berkshire work, pair especially with:

  • financial-data for source hierarchy and cross-source validation.
  • investment-research for the Buffett/Munger/Duan/Li Lu framework.
  • management-deep-dive when management quality is the core uncertainty.
  • report_audit.py before treating a report as publishable.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Investment Memo Craft AI skill do?

Codex-only writing and layout overlay for AI Berkshire investment research reports. Use whenever Codex creates, rewrites, revises, or critiques company/industry/fund research reports, especially long-form Markdown reports that need financial rigor, readable business mechanics, contrarian analysis, valuation-to-action guidance, investor-specific recommendations, restrained typography, and clear buy/hold/sell signals. Do not use this to modify Claude Code slash-command sources.

Why use Investment Memo Craft on TypingMind?

Because you install it once and use it with any model. Investment Memo Craft is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Investment Memo Craft in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/xbtlin/ai-berkshire/tree/main/codex-skills/investment-memo-craft. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Investment Memo Craft?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Investment Memo Craft?

As many as you like. As long as a model supports skills, you can use Investment Memo Craft with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Investment Memo Craft AI skill free?

Yes. It is published on GitHub by xbtlin under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇