Perform a deep dive into capital allocation for the company named in the user's request. If no ticker or company is provided, ask for one before proceeding.
Before starting, read ../data-access.md for data access methods and ../design-system.md for formatting conventions. Follow the data access detection logic and design system throughout this skill.
Follow these steps:
1. Company Lookup
Look up the company by ticker using discover_companies. Capture:
company_id
latest_calendar_quarter — anchor for all period calculations below (see ../data-access.md Section 1.5)
latest_fiscal_quarter
- Firm name for report attribution (default: "Daloopa") — see
../data-access.md Section 4.5
2. Market Data
Get the current stock price, market cap, and shares outstanding for {TICKER} (see ../data-access.md Section 2 for how to source market data in your environment).
- This is needed to compute yields and per-share metrics
If market data is unavailable, note that market-derived metrics (yields, etc.) cannot be computed and proceed with Daloopa data only.
3. Capital Allocation Data
Calculate 8 quarters backward from latest_calendar_quarter. Pull:
Share Count & Buybacks:
- Diluted shares outstanding
- Share repurchase amounts (dollars)
- Shares retired/repurchased (units, if available)
Dividends:
- Dividends per share
- Total dividend payments
- Special dividends (if any)
Cash Flow:
- Operating Cash Flow
- Capital Expenditures
- Free Cash Flow (compute as OCF - CapEx, label "(calc.)")
- D&A (for reference)
Balance Sheet:
- Cash and equivalents
- Short-term investments / marketable securities
- Total debt (short + long term)
- Net debt (compute as Total Debt - Cash - Investments, label "(calc.)")
M&A / Investments:
- Search for "acquisition", "purchase of business", "investment" in series
- Pull any available M&A-related series
4. Compute Capital Allocation Metrics
Calculate for each quarter where data is available:
Shareholder Returns:
- Total Buyback Amount
- Total Dividend Amount
- Total Shareholder Return = Buybacks + Dividends
- Shareholder Yield = (Buybacks + Dividends) / Market Cap (annualized)
- Buyback Yield = Buybacks / Market Cap (annualized)
- Dividend Yield = Dividends / Market Cap (annualized)
FCF Deployment:
- FCF Payout Ratio = Total Shareholder Return / FCF
- CapEx as % of Revenue
- CapEx as % of OCF
- FCF Margin = FCF / Revenue
Leverage:
- Net Debt / EBITDA (if EBITDA available; compute from Operating Income + D&A if needed)
- Net Debt / Equity
- Interest Coverage = Operating Income / Interest Expense (if available)
- Cash as % of Market Cap
Share Count Dynamics:
- QoQ share count change
- YoY share count change
- Implied buyback rate (QoQ % reduction)
- At current buyback rate, years to retire X% of shares
5. Qualitative Research
Search SEC filings for capital allocation strategy and context. Try multiple searches:
- Buyback program: Try "repurchase program", "share repurchase"; fallback to "buyback", "authorization"
- Dividend policy: Try "dividend", "capital return"; fallback to "distribution", "payout"
- M&A strategy: Try "acquisition", "strategic"; fallback to "purchase", "investment"
- Capital priorities: Try "capital allocation", "priorities"; fallback to "deploy", "balance sheet"
- Debt management: Try "debt", "refinance"; fallback to "leverage", "maturity"
Extract:
- Board-authorized buyback programs (remaining authorization amount)
- Dividend policy (commitment to growth, payout ratio targets)
- M&A philosophy (bolt-on vs transformational, deal pipeline commentary)
- Management's stated capital allocation framework and priorities
- Any changes in capital allocation strategy
- Direct quotes with document citations
6. Historical Analysis & Value Judgment
Analyze the 8-quarter trend:
- Is buyback activity accelerating or decelerating?
- Is the company buying back more shares when price is lower (disciplined) or higher (less disciplined)?
- Dividend growth rate (if applicable)
- Shift between CapEx, buybacks, dividends, and debt repayment over time
- FCF conversion trend (is more/less of OCF converting to FCF?)
Honestly assess whether capital allocation is creating or destroying value:
- If the company is buying back stock at all-time-high prices with deteriorating fundamentals, call it value destruction — even if EPS looks better from the lower share count.
- If the company is under-investing in CapEx or R&D to fund buybacks, flag the risk to long-term competitiveness.
- If FCF payout ratio exceeds 100%, the company is funding returns with debt or cash drawdowns — flag this as unsustainable.
- Compare the implied return from buybacks (inverse of P/E at purchase prices) to what the company could earn from organic reinvestment or M&A.
6.5. Reinvestment Assessment
Assess whether the company is adequately reinvesting in its business or funding returns at the expense of long-term competitiveness.
Pull reinvestment metrics (8 quarters):
- R&D expense (and R&D as % of revenue)
- Capital Expenditures (and CapEx as % of revenue)
- Key growth KPIs relevant to the business model (use sector taxonomy):
- SaaS/Cloud: ARR, net revenue retention, RPO/cRPO, customers >$100K
- Consumer Tech: DAU/MAU, ARPU, installed base, paid subscribers
- E-commerce/Marketplace: GMV, take rate, active buyers/sellers
- Retail: same-store sales, store count, average ticket
- Telecom/Media: subscribers, churn, ARPU, content spend
- Hardware: units shipped, ASP, attach rate
- Financial Services: AUM, NIM, loan growth, fee income ratio
- Pharma/Biotech: pipeline stage, patient starts, scripts, market share
- Industrials/Energy: backlog, book-to-bill, utilization, production volumes
Assess reinvestment adequacy:
- Is R&D/revenue trending down while buybacks are increasing? This may indicate the company is funding shareholder returns by underinvesting in innovation.
- Is CapEx/revenue declining while the business requires sustained infrastructure investment (e.g., cloud, manufacturing, stores)?
- Are growth KPIs (subscriber adds, customer growth, same-store sales) deteriorating while capital returns are at record levels? This is a red flag — the company may be harvesting rather than growing.
- Compare R&D intensity and CapEx intensity vs peers (if available from /industry or /comps data). Is the company investing more or less than competitors?
Value creation vs extraction verdict:
- Net assessment: Is the company's capital allocation creating long-term value (reinvesting at high ROIC, buying back cheap stock, growing dividends sustainably) or extracting value (under-investing to fund buybacks at premium valuations, leveraging up for returns)?
7. Save Report
Save to reports/{TICKER}_capital_allocation.html using the HTML report template from ../design-system.md. Write the full analysis as styled HTML with the design system CSS inlined. This is the final deliverable — no intermediate markdown step needed.
Structure the report with these sections:
<h1>{Company Name} ({TICKER}) — Capital Allocation Analysis</h1>
<p>Generated: {date}</p>
<h2>Summary</h2>
{2-3 sentences: How does this company deploy its capital? Key takeaways.}
<h2>Current Snapshot</h2>
<table>
| Metric | Value |
| Market Cap | $XXX |
| Trailing 4Q FCF | $XXX |
| FCF Yield | X.X% |
| Shareholder Yield | X.X% |
| Net Debt / EBITDA | X.Xx |
| Remaining Buyback Authorization | $XXX |
</table>
<h2>Cash Flow & FCF (8 Quarters)</h2>
<table>
| Metric | Q1 | Q2 | ... | Q8 |
{OCF, CapEx, FCF, FCF Margin % — with Daloopa citations}
</table>
<h2>Share Repurchases & Dividends (8 Quarters)</h2>
<table>
| Metric | Q1 | Q2 | ... | Q8 |
{Buyback $, Dividends $, Total Return, Share Count — with Daloopa citations}
</table>
<h2>Shareholder Yield Analysis</h2>
<table>
| Metric | Q1 | Q2 | ... | Q8 |
{Buyback Yield, Div Yield, Total Yield, FCF Payout Ratio}
</table>
<h2>Leverage & Balance Sheet (8 Quarters)</h2>
<table>
| Metric | Q1 | Q2 | ... | Q8 |
{Cash, Debt, Net Debt, Net Debt/EBITDA — with Daloopa citations}
</table>
<h2>Capital Allocation Framework</h2>
{Management's stated priorities from filings, with document citations}
<h2>Reinvestment Assessment</h2>
<table>
| Metric | Q1 | Q2 | ... | Q8 |
{R&D, R&D % Rev, CapEx, CapEx % Rev, key growth KPIs — with Daloopa citations}
</table>
{Analysis: Is the company adequately reinvesting? R&D/CapEx trends vs growth KPI trends. Value creation vs extraction verdict.}
<h2>Buyback Discipline Analysis</h2>
{Analysis of buyback timing vs price, share count reduction trend, authorization remaining}
<h2>M&A Activity</h2>
{Any acquisitions from filings, deal sizes, strategic rationale}
<h2>Key Observations</h2>
<ul>{3-5 bullet points on capital allocation quality, trends, and implications}</ul>
All financial figures must use Daloopa citation format: <a href="https://daloopa.com/src/{fundamental_id}">$X.XX million</a>
Tell the user where the HTML report was saved.
Highlight the key capital allocation story (e.g., "AAPL returned $XX billion to shareholders over the last year, a X.X% shareholder yield, with buybacks accelerating").
1---2name: capital-allocation3description: Deep dive into capital deployment, buybacks, dividends, and shareholder yield4---56Perform a deep dive into capital allocation for the company named in the user's request. If no ticker or company is provided, ask for one before proceeding.78**Before starting, read `../data-access.md` for data access methods and `../design-system.md` for formatting conventions.** Follow the data access detection logic and design system throughout this skill.910Follow these steps:1112## 1. Company Lookup13Look up the company by ticker using `discover_companies`. Capture:14- `company_id`15- `latest_calendar_quarter` — anchor for all period calculations below (see `../data-access.md` Section 1.5)16- `latest_fiscal_quarter`17- Firm name for report attribution (default: "Daloopa") — see `../data-access.md` Section 4.51819## 2. Market Data20Get the current stock price, market cap, and shares outstanding for {TICKER} (see ../data-access.md Section 2 for how to source market data in your environment).21- This is needed to compute yields and per-share metrics2223If market data is unavailable, note that market-derived metrics (yields, etc.) cannot be computed and proceed with Daloopa data only.2425## 3. Capital Allocation Data26Calculate 8 quarters backward from `latest_calendar_quarter`. Pull:2728**Share Count & Buybacks:**29- Diluted shares outstanding30- Share repurchase amounts (dollars)31- Shares retired/repurchased (units, if available)3233**Dividends:**34- Dividends per share35- Total dividend payments36- Special dividends (if any)3738**Cash Flow:**39- Operating Cash Flow40- Capital Expenditures41- Free Cash Flow (compute as OCF - CapEx, label "(calc.)")42- D&A (for reference)4344**Balance Sheet:**45- Cash and equivalents46- Short-term investments / marketable securities47- Total debt (short + long term)48- Net debt (compute as Total Debt - Cash - Investments, label "(calc.)")4950**M&A / Investments:**51- Search for "acquisition", "purchase of business", "investment" in series52- Pull any available M&A-related series5354## 4. Compute Capital Allocation Metrics55Calculate for each quarter where data is available:5657**Shareholder Returns:**58- Total Buyback Amount59- Total Dividend Amount60- Total Shareholder Return = Buybacks + Dividends61- Shareholder Yield = (Buybacks + Dividends) / Market Cap (annualized)62- Buyback Yield = Buybacks / Market Cap (annualized)63- Dividend Yield = Dividends / Market Cap (annualized)6465**FCF Deployment:**66- FCF Payout Ratio = Total Shareholder Return / FCF67- CapEx as % of Revenue68- CapEx as % of OCF69- FCF Margin = FCF / Revenue7071**Leverage:**72- Net Debt / EBITDA (if EBITDA available; compute from Operating Income + D&A if needed)73- Net Debt / Equity74- Interest Coverage = Operating Income / Interest Expense (if available)75- Cash as % of Market Cap7677**Share Count Dynamics:**78- QoQ share count change79- YoY share count change80- Implied buyback rate (QoQ % reduction)81- At current buyback rate, years to retire X% of shares8283## 5. Qualitative Research84Search SEC filings for capital allocation strategy and context. Try multiple searches:85- **Buyback program**: Try "repurchase program", "share repurchase"; fallback to "buyback", "authorization"86- **Dividend policy**: Try "dividend", "capital return"; fallback to "distribution", "payout"87- **M&A strategy**: Try "acquisition", "strategic"; fallback to "purchase", "investment"88- **Capital priorities**: Try "capital allocation", "priorities"; fallback to "deploy", "balance sheet"89- **Debt management**: Try "debt", "refinance"; fallback to "leverage", "maturity"9091Extract:92- Board-authorized buyback programs (remaining authorization amount)93- Dividend policy (commitment to growth, payout ratio targets)94- M&A philosophy (bolt-on vs transformational, deal pipeline commentary)95- Management's stated capital allocation framework and priorities96- Any changes in capital allocation strategy97- Direct quotes with document citations9899## 6. Historical Analysis & Value Judgment100Analyze the 8-quarter trend:101- Is buyback activity accelerating or decelerating?102- Is the company buying back more shares when price is lower (disciplined) or higher (less disciplined)?103- Dividend growth rate (if applicable)104- Shift between CapEx, buybacks, dividends, and debt repayment over time105- FCF conversion trend (is more/less of OCF converting to FCF?)106107**Honestly assess whether capital allocation is creating or destroying value:**108- If the company is buying back stock at all-time-high prices with deteriorating fundamentals, call it value destruction — even if EPS looks better from the lower share count.109- If the company is under-investing in CapEx or R&D to fund buybacks, flag the risk to long-term competitiveness.110- If FCF payout ratio exceeds 100%, the company is funding returns with debt or cash drawdowns — flag this as unsustainable.111- Compare the implied return from buybacks (inverse of P/E at purchase prices) to what the company could earn from organic reinvestment or M&A.112113## 6.5. Reinvestment Assessment114115Assess whether the company is adequately reinvesting in its business or funding returns at the expense of long-term competitiveness.116117**Pull reinvestment metrics (8 quarters):**118- R&D expense (and R&D as % of revenue)119- Capital Expenditures (and CapEx as % of revenue)120- Key growth KPIs relevant to the business model (use sector taxonomy):121 - **SaaS/Cloud**: ARR, net revenue retention, RPO/cRPO, customers >$100K122 - **Consumer Tech**: DAU/MAU, ARPU, installed base, paid subscribers123 - **E-commerce/Marketplace**: GMV, take rate, active buyers/sellers124 - **Retail**: same-store sales, store count, average ticket125 - **Telecom/Media**: subscribers, churn, ARPU, content spend126 - **Hardware**: units shipped, ASP, attach rate127 - **Financial Services**: AUM, NIM, loan growth, fee income ratio128 - **Pharma/Biotech**: pipeline stage, patient starts, scripts, market share129 - **Industrials/Energy**: backlog, book-to-bill, utilization, production volumes130131**Assess reinvestment adequacy:**132- Is R&D/revenue trending down while buybacks are increasing? This may indicate the company is funding shareholder returns by underinvesting in innovation.133- Is CapEx/revenue declining while the business requires sustained infrastructure investment (e.g., cloud, manufacturing, stores)?134- Are growth KPIs (subscriber adds, customer growth, same-store sales) deteriorating while capital returns are at record levels? This is a red flag — the company may be harvesting rather than growing.135- Compare R&D intensity and CapEx intensity vs peers (if available from /industry or /comps data). Is the company investing more or less than competitors?136137**Value creation vs extraction verdict:**138- Net assessment: Is the company's capital allocation creating long-term value (reinvesting at high ROIC, buying back cheap stock, growing dividends sustainably) or extracting value (under-investing to fund buybacks at premium valuations, leveraging up for returns)?139140## 7. Save Report141Save to `reports/{TICKER}_capital_allocation.html` using the HTML report template from `../design-system.md`. Write the full analysis as styled HTML with the design system CSS inlined. This is the final deliverable — no intermediate markdown step needed.142143Structure the report with these sections:144145```146<h1>{Company Name} ({TICKER}) — Capital Allocation Analysis</h1>147<p>Generated: {date}</p>148149<h2>Summary</h2>150{2-3 sentences: How does this company deploy its capital? Key takeaways.}151152<h2>Current Snapshot</h2>153<table>154| Metric | Value |155| Market Cap | $XXX |156| Trailing 4Q FCF | $XXX |157| FCF Yield | X.X% |158| Shareholder Yield | X.X% |159| Net Debt / EBITDA | X.Xx |160| Remaining Buyback Authorization | $XXX |161</table>162163<h2>Cash Flow & FCF (8 Quarters)</h2>164<table>165| Metric | Q1 | Q2 | ... | Q8 |166{OCF, CapEx, FCF, FCF Margin % — with Daloopa citations}167</table>168169<h2>Share Repurchases & Dividends (8 Quarters)</h2>170<table>171| Metric | Q1 | Q2 | ... | Q8 |172{Buyback $, Dividends $, Total Return, Share Count — with Daloopa citations}173</table>174175<h2>Shareholder Yield Analysis</h2>176<table>177| Metric | Q1 | Q2 | ... | Q8 |178{Buyback Yield, Div Yield, Total Yield, FCF Payout Ratio}179</table>180181<h2>Leverage & Balance Sheet (8 Quarters)</h2>182<table>183| Metric | Q1 | Q2 | ... | Q8 |184{Cash, Debt, Net Debt, Net Debt/EBITDA — with Daloopa citations}185</table>186187<h2>Capital Allocation Framework</h2>188{Management's stated priorities from filings, with document citations}189190<h2>Reinvestment Assessment</h2>191<table>192| Metric | Q1 | Q2 | ... | Q8 |193{R&D, R&D % Rev, CapEx, CapEx % Rev, key growth KPIs — with Daloopa citations}194</table>195{Analysis: Is the company adequately reinvesting? R&D/CapEx trends vs growth KPI trends. Value creation vs extraction verdict.}196197<h2>Buyback Discipline Analysis</h2>198{Analysis of buyback timing vs price, share count reduction trend, authorization remaining}199200<h2>M&A Activity</h2>201{Any acquisitions from filings, deal sizes, strategic rationale}202203<h2>Key Observations</h2>204<ul>{3-5 bullet points on capital allocation quality, trends, and implications}</ul>205```206207All financial figures must use Daloopa citation format: `<a href="https://daloopa.com/src/{fundamental_id}">$X.XX million</a>`208209Tell the user where the HTML report was saved.210211Highlight the key capital allocation story (e.g., "AAPL returned $XX billion to shareholders over the last year, a X.X% shareholder yield, with buybacks accelerating").