How to Run a Munger Quality Screen with AI

A 5-step deep-dive framework: revenue trends, cash flow quality, balance sheet health, ROIC, and valuation

← Back to shibui.finance

Charlie Munger's investment approach starts with business quality, not price. Before asking "is it cheap?", Munger asks "is it a wonderful business?", one with durable competitive advantages, consistent margins, high returns on capital, and conservative financing. Price only matters after those questions are answered. The result is a concentrated portfolio of businesses he understands deeply, held for decades rather than traded on quarterly noise.

This guide walks through a 5-step quality screen you can run on any stock using Shibui Finance. Each step maps to specific data in the database, and you describe what you want to see in plain English. The framework is not a screener in the traditional sense, it does not filter the universe down to a ranked list. It is a structured deep-dive applied to one company at a time, checking whether that company meets the quality bar before you ever look at valuation. For universe-wide screening that overlaps with Munger's criteria, see the AI Stock Screener.

The framework: what Munger looks for

Munger described his ideal investment as a company with a "durable competitive advantage", a business that can maintain pricing power and high returns on capital even as competitors try to replicate what it does. He was willing to pay a fair price for such businesses rather than hunt for statistically cheap stocks with mediocre economics.

The practical translation: check five things, in order. Revenue and margin stability tell you whether the business has pricing power. Cash flow quality tells you whether reported earnings are real. Balance sheet health tells you whether management is conservative. ROIC tells you whether the business earns more than its cost of capital. Valuation tells you whether the current price gives you a reasonable entry. Each step draws on different parts of the Shibui database, and each adds context the others miss.

Step 1: Revenue and margin trends over 5+ years

Start with the top line. A Munger-quality business shows consistent revenue growth, not explosive quarter-to-quarter jumps, but steady expansion over years. More important than growth rate is margin stability. If operating margins stay in a narrow band while revenue grows, the company likely has pricing power and cost discipline. If margins compress as revenue grows, the company may be buying growth by cutting prices or spending more to compete.

On Shibui, you ask

"Show me Microsoft's quarterly revenue, operating margin, and net margin for the last 5 years. I want to see whether margins are stable, expanding, or compressing as revenue grows."

Claude pulls quarterly revenue and pre-computed margin ratios from the database. A company where operating margin stays above 30% for 20 consecutive quarters while revenue doubles is telling you something about the business structure. One where margins swing 15 points quarter to quarter is telling you something different.

For the annual view, which smooths out seasonal effects, ask for yearly data instead. Annual figures often reveal trends that quarterly noise obscures, especially for companies with lumpy revenue recognition (defense contractors, enterprise software with large contracts).

Step 2: Cash flow quality and stock-based compensation

Reported earnings can be managed. Cash flow is harder to fake. The core question: does the company convert its reported earnings into actual cash? Free cash flow (operating cash flow minus capital expenditures) should track net income over time. If net income consistently exceeds free cash flow, something is absorbing the difference: aggressive revenue recognition, rising working capital, or heavy capex that may or may not generate returns.

On Shibui, you ask

"For MSFT, compare quarterly net income to free cash flow and stock-based compensation over the last 5 years. Show the FCF conversion ratio (free cash flow / net income) and SBC as a percentage of operating cash flow."

Stock-based compensation deserves separate attention. SBC is a real cost to shareholders (it dilutes ownership) but does not reduce reported cash flow. A company reporting strong free cash flow while issuing 5-8% of revenue in SBC is overstating its true cash generation. Shibui tracks stock-based compensation as a separate line item, so you can see exactly how much of the cash flow picture depends on excluding equity compensation.

Look at the trend, not just the level. A company where SBC as a percentage of revenue is declining over time is growing into its equity compensation structure. One where SBC keeps pace with revenue growth is using equity as a permanent cost that does not show up in margins.

Step 3: Balance sheet health

Munger favored companies that did not need much debt to generate returns. A strong balance sheet means the company can weather downturns, take advantage of distressed acquisitions, and avoid the discipline that debt covenants impose on management decisions. The key ratios: debt-to-equity, current ratio, and the trajectory of each over time.

On Shibui, you ask

"Show MSFT's debt-to-equity ratio, current ratio, total debt, cash and equivalents, and interest expense for the last 5 years, quarterly. Calculate the interest coverage ratio (operating income / interest expense)."

Claude pulls the debt-to-equity ratio and the balance sheet items from the quarterly financials. A company with a debt-to-equity ratio below 0.5 and rising cash reserves is in a different category from one with D/E above 2.0 and declining coverage.

One nuance: some excellent businesses carry significant debt by choice (they can borrow cheaply and deploy capital at higher returns). Apple and Microsoft both carry large debt balances alongside larger cash positions. The net debt position (total debt minus cash) matters more than gross debt for these companies. Ask Claude to compute net debt alongside the ratios to get the full picture.

Step 4: Return on invested capital (ROIC) trend

ROIC is the single most important number in the Munger framework. A company that consistently earns 20%+ on invested capital is doing something its competitors cannot easily replicate. That spread between ROIC and the cost of capital is the quantitative signature of a competitive advantage. If ROIC is high and stable, the moat is intact. If ROIC is declining, the competitive advantage may be eroding.

On Shibui, you ask

"Show MSFT's return on invested capital for every quarter over the last 5 years. Also show ROE and return on assets for comparison. I want to see whether the spread between ROIC and a rough cost of capital (~8-10%) is stable or narrowing."

Shibui has ROIC pre-computed, calculated as NOPAT (net operating profit after tax) divided by average invested capital (equity plus interest-bearing debt). ROE and ROA are also pre-computed. The advantage of ROIC over ROE: ROE can be inflated by heavy borrowing (a company with 10x debt-to-equity can show a 40% ROE on a mediocre business). ROIC normalizes for capital structure, so it measures the business itself rather than how it is financed.

What to watch for: a company where ROIC has been above 15% for 20 consecutive quarters is a strong candidate. One where ROIC was 25% five years ago and is now 12% may be losing its competitive position, even if the absolute level still looks reasonable.

Step 5: Current valuation snapshot

Only after passing the first four steps does valuation matter. A wonderful business at an outrageous price is still a bad investment. Munger was willing to pay more than a strict value investor (he did not need a 50% margin of safety), but he still wanted a reasonable price relative to the business quality.

On Shibui, you ask

"Show MSFT's current trailing P/E, operating P/E, EV/EBITDA, free cash flow yield, price-to-book, and forward P/E. Compare each to the stock's own 5-year median. Is the stock trading above or below its historical range?"

Shibui stores trailing P/E, operating P/E, EV/EBITDA, and FCF yield as daily time series, so historical medians are straightforward. Forward P/E comes from analyst consensus estimates. Price-to-book is available as a daily metric as well.

The comparison to the stock's own history is more useful than absolute thresholds. A company trading at 25x earnings when its 5-year median is 30x is relatively cheap for itself, even if 25x looks expensive on a cross-market basis. For Munger-quality businesses with ROIC above 20%, paying a premium to historical averages may still be reasonable; paying 2x the historical premium probably is not.

Putting it together: a complete quality screen

The five steps above are designed to be run in sequence on a single stock. You can run them as five separate questions or combine them into a single comprehensive request.

On Shibui, you ask

"Run a Munger quality screen on Costco (COST). Show 5 years of quarterly data: revenue and operating margin trend, FCF vs net income with SBC breakdown, debt-to-equity and current ratio, ROIC trend, and current valuation multiples vs their 5-year medians."

Claude breaks this into multiple queries and presents a structured summary. The output is data, not a verdict. You decide whether the trends meet your quality bar and whether the valuation gives you enough margin for the quality level you see.

The same framework works for any ticker in the database. Companies like Visa, Costco, and Moody's tend to score well on the quality dimensions. Companies in cyclical industries (airlines, commodity producers) tend to show the margin volatility and capital intensity that the framework is designed to flag. That is the point: the framework surfaces the difference.

What Shibui cannot do

The Munger framework is fundamentally a qualitative judgment supported by quantitative evidence. Shibui provides the quantitative side. It cannot assess management quality, competitive moat durability, brand strength, customer switching costs, regulatory capture, or the "circle of competence" question (whether you understand the business well enough to hold it through a 50% drawdown).

There is no pre-built Munger score or quality rating. The database has the raw financial data; the framework asks you to interpret the patterns. A company with 20% ROIC, stable margins, and low debt looks like a quality business in the numbers, but if those margins depend on a single patent expiring next year, the numbers alone will not tell you.

Stock-based compensation is reported in the financial statements but not adjusted out of the pre-computed ratios. When SBC is material (common in tech), you need to run the SBC analysis in Step 2 yourself to get the adjusted picture. Shibui does not compute SBC-adjusted free cash flow or SBC-adjusted margins automatically.

Data is end-of-day, updated after market close. US equities only (NYSE and NASDAQ). For full coverage details, see the data sources page. For universe-wide screening using overlapping quality criteria (high ROIC, stable margins, low debt), the Quality Compounder Screener can filter the whole market in one pass. To check whether insiders at quality companies are buying their own stock, see the insider buying screener.

Frequently asked questions

What is a Munger quality screen?

A Munger quality screen is a structured 5-step framework for evaluating whether a company has a durable competitive advantage. It checks revenue and margin trends over 5+ years, cash flow quality relative to reported earnings, balance sheet strength, return on invested capital consistency, and current valuation. The framework is based on Charlie Munger's emphasis on buying wonderful businesses at fair prices rather than mediocre businesses at cheap prices.

Can AI run a Munger quality screen?

Shibui Finance connects to Claude and lets you describe each step of the Munger framework in plain English. Claude pulls revenue trends, margin history, free cash flow, stock-based compensation, balance sheet ratios, ROIC, and valuation metrics from a pre-loaded database covering 10,000+ US stocks with 20+ years of quarterly financials. It does not assign quality scores or make buy/sell recommendations; it retrieves the numbers so you can apply the framework yourself.

How is this different from a value screener?

A traditional value screener filters for cheap stocks on current multiples (low P/E, below book value). The Munger framework starts with business quality, not price. It asks whether the company has pricing power, consistent margins, high returns on capital, and conservative financing before looking at valuation at all. Many companies that pass a value screen fail the quality test, and vice versa.

What data does Shibui have for a Munger quality screen?

Shibui has quarterly and annual financial statements (revenue, operating income, net income, free cash flow, stock-based compensation, debt, equity, ROIC) going back 20+ years for most companies. Daily valuation metrics include trailing P/E, operating P/E, EV/EBITDA, free cash flow yield, and price-to-book. What Shibui does not have: management quality assessments, competitive moat ratings, brand value estimates, customer switching costs, or any qualitative scoring. Those are judgment calls the framework asks you to make after reviewing the numbers.

Connect Shibui to Claude in 2 minutes

Shibui is free. Connect it to Claude and run the Munger quality framework on any US stock, revenue trends, cash flow quality, balance sheet health, ROIC, and valuation in plain English.

Connect to Claude →