look-01-profit-quality

Compute deduplicated annual revenue, margin, and cash flow indicators for profit-quality assessment.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill outputs structured, deduplicated annual financial evidence needed to assess profit quality according to Rule 1, enabling targeted inspection and iterative refinement.

Core Features & Use Cases

  • Deduplicated annual indicators from revenue, margins, and cash flow to support Rule 1 analyses.
  • Primary and fallback net margin selection logic to maximize data coverage across years.
  • Not-applicable handling for financial-sector firms with clear rationale and safe fallbacks.

Quick Start

Run the script to fetch yearly evidence for a stock by specifying stock code, as-of date, and lookback years.

Frequently Asked Questions about look-01-profit-quality

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

FAQPage Schema
How do I calculate annual profit-quality indicators from financial reports for Rule 1 investing?

To calculate annual profit-quality indicators, this Skill deduplicates revenue, margins, and cash flows from financial reports to support Rule 1 investing assessments for up to three years. It outputs structured yearly evidence and missing-value statistics.

How does DuckDB handle deduplication of yearly financial data for single-stock analysis?

DuckDB handles deduplication of yearly financial data by processing single-stock queries with primary and fallback net margin selection logic. This maximizes data coverage across years and outputs a data-quality summary for accurate assessment.

Can I assess profit quality for financial-sector firms using annual financial indicators?

You cannot assess profit quality for financial-sector firms using these annual financial indicators. The Skill provides explicit not-applicable handling with clear rationale and safe fallbacks, as standard margin and cash flow metrics do not apply to financial-sector firms.

What is the best way to analyze multi-year revenue and cash flow margins with an as-of date?

The best way to analyze multi-year revenue and cash flow margins is by specifying a stock code, an optional as-of date, and a lookback period of up to three years. The tool fetches year-end 12/31 data to generate yearly evidence and missing-value statistics.

Why does my annual financial data analysis show missing values for net margins?

Missing values for net margins occur when primary margin fields are absent in annual reports. The Skill implements a fallback margin field selection logic to mitigate this, and outputs missing-value statistics to flag data-quality issues for your profit-quality assessment.

Does DuckDB require specific data formats to compute annual financial indicators?

DuckDB requires structured financial data inputs to compute annual financial indicators. The Skill processes these inputs to deliver deduplicated yearly evidence, margin calculations, and data-quality summaries in its output.