look-07-roe-capital-return

Compute DuPont three-factor ROE decomposition from annual financials.

2|1|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/shadowinlife/nano_quant_skills --skill look-07-roe-capital-return
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: look-07-roe-capital-return
Source: https://github.com/shadowinlife/nano_quant_skills/tree/main/2min-company-analysis/look-07-roe-capital-return
Command: npx skills add https://github.com/shadowinlife/nano_quant_skills --skill look-07-roe-capital-return

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires duckdb, and includes scripts (resource) components.

What problem does it solve?

Analyzes a company's ROE via DuPont decomposition to diagnose whether high returns come from profitability, leverage, or turnover, enabling targeted improvement.

Core Features & Use Cases

  • Performs DuPont-based ROE decomposition using annual financials (revenue, net income, assets, equity) for a user-specified lookback period.
  • Classifies ROE drivers (leverage-, profitability-, turnover-driven) and reports ROE trend, with a capability to benchmark against SW L3 peers.
  • Outputs results in Markdown or JSON with a structured summary, detailed DuPont rows, and cross-check indicators for auditing.

Quick Start

Run the look-07 ROE script with a stock code and a date to generate a ROE DuPont report for the specified period.

Frequently Asked Questions about look-07-roe-capital-return

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I decompose ROE using DuPont analysis for a single stock?▼

DuPont analysis decomposes ROE into profitability, asset turnover, and leverage factors. The Skill computes this decomposition using annual financials like revenue, net income, assets, and equity for a specified stock and lookback period.

What does a DuPont three-factor decomposition reveal about a company's ROE drivers?▼

DuPont three-factor decomposition diagnoses whether high ROE stems from profitability, leverage, or turnover. The Skill classifies these ROE drivers to help you target specific areas for operational or financial improvement.

Can I benchmark a stock's ROE against its SW L3 peer group?▼

Yes, you can benchmark ROE against SW L3 peer groups. The Skill compares a single stock's ROE drivers and trends against its benchmark peer group to assess relative performance over a defined lookback period.

Does the ROE analysis output structured data for programmatic consumption?▼

The ROE analysis outputs structured data in Markdown or JSON format. This payload includes summary metrics, detailed DuPont rows, and cross-check indicators, making it suitable for programmatic consumption and auditing.

Do I need DuckDB to run the DuPont ROE analysis?▼

Yes, DuckDB is a required dependency. You need DuckDB installed to execute the computational scripts that process the annual financials and generate the DuPont ROE decomposition reports.