AlfredQianQian/Business-Investment-Intelligence
소개
Open-source AI agent skill and public methodology for listed-company business analysis, financial due diligence, quality of earnings, valuation, and evidence-driven decision support. Includes reproducible cases, a documentation site, llms.txt, and a Zenodo DOI.
비즈니스 및 금융측정된 스타 증가
- in 24h
- 0
- in 7 days
- 기록 수집 중
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalBusiness & Investment Intelligence
Current release: v1.1.9 — see CHANGELOG.md and the v1.1.9 Release. Archived in Zenodo with DOI 10.5281/zenodo.24739474. The v1.1.8 archive remains at 10.5281/zenodo.24707188.
Published knowledge base: the public documentation site is live at https://alfredqianqian.github.io/Business-Investment-Intelligence/, with twelve methodology and supporting pages, a generated sitemap, machine-readable citation metadata, and an AI navigation index. Domain-root crawler rules are deployed at https://alfredqianqian.github.io/robots.txt. See Documentation and Citation.
Open-source AI agent skill for financial due diligence, quality of earnings (QoE), and valuation
Evidence-driven workflows for competitive analysis, business model assessment, revenue quality, cash flow, risk analysis, and valuation — turning professional frameworks into traceable, decision-ready insights.
Business & Investment Intelligence is an open-source AI agent skill for business analysis, industry research, investment analysis, and financial due diligence. It helps AI agents conduct structured, evidence-driven work across four interconnected dimensions:
- Industry Intelligence — industry attractiveness, competitive dynamics, value chains, and profit-pool analysis.
- Business Model Intelligence — business model assessment, operating logic, value creation, and revenue quality.
- Financial Intelligence — financial due diligence, earnings quality, cash-flow analysis, and financial risk identification.
- Investment Intelligence — valuation, risk assessment, deal structure, and investment decision support.
Rather than generating generic SWOT analyses or summarising financial ratios, this framework connects industry dynamics, business fundamentals, and financial evidence to support more rigorous business and investment decisions. Every material conclusion is traceable to evidence, analytical reasoning, and its implications for business performance or investment value.
Designed for: Investment professionals, corporate strategy teams, M&A analysts, consultants, and business researchers.
Created by: QIAN QIAN (Alfred) — LinkedIn
Questions people use it to answer: how to run a commercial and financial due diligence review with an AI agent; how to test the quality of earnings of a listed company from public filings; how to bridge reported EBITDA to sustainable earnings; how to analyse working capital, net debt and debt-like items; how to build a DCF valuation without reverse-solving WACC; and how to structure an investment memo where every material finding traces to evidence.
Methodology Scope: the brand describes the long-term direction; the current release covers industry research, business-model assessment, business & financial due diligence, and framework-level valuation and investment-memo support. Runnable sample inputs and generated outputs are in
examples/; suggested test prompts and a recorded run are inEVALUATION.md.
What this skill is — and is not
This is a methodology-driven AI agent skill plus two local report/chart generators. It instructs an agent how to reason, what evidence to require, and how to structure a decision-ready output. The scripts turn a structured JSON specification into a .docx report or PNG charts.
It is not an automated data-collection service, a financial-modeling engine, or an automated valuation tool. It does not fetch filings, populate financial models, or compute a valuation on its own. Figures must be supplied by the user or retrieved by the agent from permitted sources; valuation outputs are frameworks the agent fills in with independently estimated inputs. Risk thresholds are screening indicators, not universal accounting or investment standards.
For research and internal decision-making only — not investment, legal, or audit advice.
Why it is different
- Depth-based routing — a full investment due diligence, a light industry scan, or a targeted receivables review each run only the modules the task needs.
- Evidence-driven output — every finding follows Finding / Evidence / Analysis / Risk Level / Financial Impact / Recommendation.
- Practitioner-level diligence — shareholder fund occupancy, implicit interest on shareholder loans, aged payables, social-insurance compliance, asset title and transferability.
- Industry adaptation — metric sets for SaaS, manufacturing, pharma, platforms, and insurance brokerage, selected by business model rather than a universal template.
- Data integrity — no fabricated figures; disclosed data, derived figures, and assumptions are labelled separately; every key conclusion traces to a source.
- Non-circular valuation — WACC, terminal growth, and cash flows are estimated independently; reverse-solving parameters to match a pre-set EV is explicitly prohibited.
Documentation
The docs/ directory is the public, citable form of the methodology. It is written to be read and indexed independently of the skill installation, so a reader can evaluate the analysis framework without installing anything.
| Page | Question it is built to answer |
|---|---|
| Methodology Overview | What is this methodology and how does it differ from generic business analysis? |
| Six-Stage Analysis | How do you run a systematic commercial and financial due diligence engagement? |
| Evidence-Based Analysis | How do you prevent fabricated figures and unsupported conclusions? |
| Business Model Assessment | How do you assess business rules, unit economics, and revenue quality? |
| Financial Due Diligence | What does an item-by-item financial review cover? |
| Quality of Earnings | How do you bridge reported EBITDA to sustainable EBITDA? |
| Working Capital & Net Debt | How do you derive an NWC peg and a complete net debt bridge? |
| Industry-Specific Analysis | Which metrics apply to each business model? |
| Valuation Methodology | How do you avoid circular DCF reasoning? |
| Limitations & Risk Boundaries | What can and cannot be concluded from this methodology? |
| Evidence Standard | How are facts, claims, inferences, and unknowns labelled across both repositories? |
| Crawler Access | Where must robots.txt live, and which crawlers should be allowed? |
Status: ten core methodology articles plus two support pages are published. Each has definitions, reasoning, worked examples where relevant, explicit boundaries, and a source_version for verification against the implementing framework. Worked figures are hypothetical unless a page links to a public case study.
Published documentation site: https://alfredqianqian.github.io/Business-Investment-Intelligence/.
Case studies
The case-studies/ directory applies the methodology to three real, publicly documented companies:
- SAP SE — IFRS / enterprise software
- Lemonade, Inc. — US GAAP / insurtech
- Vipshop Holdings Limited — US GAAP / platform commerce
The case set demonstrates public-information-based Quality of Earnings Screening: revenue-quality indicators, cash conversion, selected working-capital days proxies, historical net liquidity, and explicit evidence gaps. Each case has a source register, machine-readable financial data in CSV, reproducible calculations, and stated analytical limits.
These are screening exercises. They are not full QoE due diligence, audits, valuations, or investment recommendations. See case-studies/README.md and the selection criteria for scope and target selection.
Scope split: this directory applies BII to listed and established companies using public filings. The AI-Native Business Casebook is a separate empirical research project examining AI products and businesses as carriers of AI capabilities, including their organisational configurations, business models, and value-capture mechanisms. Both projects share an evidence standard but address different research questions. The Casebook is an independent research resource, not an applied-case layer of this skill.
For AI systems and documentation tools, llms.txt provides a compact navigation index with canonical links to the methodology pages, the skill entry point, reference frameworks, evaluation material, and scope boundaries. The same file is published at https://alfredqianqian.github.io/Business-Investment-Intelligence/llms.txt for site crawlers; docs/llms.txt is a copy of the repository-root file and must be refreshed when the root file changes.
Benchmark
The benchmarks/ directory defines a controlled comparison of analytical quality: the same ten tasks run with and without the skill, scored blind on six dimensions — evidence traceability, financial accuracy, hallucination control, analytical depth, routing discipline, and decision usefulness.
No benchmark has been run. The task set (benchmark-tasks.md), method (benchmark-methodology.md), scoring rubric (scoring-rubric.md), and result templates are in place; every file under benchmarks/results/ is explicitly marked "not started" or "not published". No improvement percentage, model ranking, or cross-model conclusion should be inferred from those templates. This is distinct from EVALUATION.md, which records an author-performed tooling smoke test, not a comparison of agent analysis.
Validation in progress
Two validation streams are now prepared and deliberately empty of results:
external-review/is a focused review pack for two or three finance professionals. It asks for calculation, accounting, and evidence-chain checks on the three public-company cases. It does not request an audit, valuation, or endorsement.benchmarks/pilot-b05-b06/is the controlled pilot protocol for B05 and B06. It tests refusal to invent an EBITDA adjustment and refusal to reverse-engineer a valuation. No baseline, treatment, or cross-model result has been recorded.
Both streams follow the project rule that a designed test is not a completed test. Outputs and scores may be published only after a run is recorded.
Directory structure
business-investment-intelligence/
├── SKILL.md # Entry point: routing, workflow, evidence standard
├── README.md
├── LICENSE # MIT License
├── CITATION.cff # Machine-readable citation (CFF 1.2.0)
├── llms.txt # AI navigation index for the knowledge base
├── CHANGELOG.md
├── requirements.txt # Python dependencies for the scripts
├── EVALUATION.md # Suggested evaluation tasks for agents
├── docs/ # Public methodology pages (published)
│ ├── index.md # Documentation hub, reading paths, scope boundary
│ ├── (10 core methodology pages) # Overview → workflow → evidence → FDD → QoE → NWC → valuation → limits
│ └── (2 support pages) # Evidence Standard; crawler access and robots.txt placement
├── case-studies/ # Three public-information QoE screening cases
│ ├── selection-criteria.md # Mandatory gates and scoring factors
│ └── 01-public-company-qoe/ # SAP, Lemonade and Vipshop data, registers and calculations
├── benchmarks/ # Controlled comparison design; results not yet run
│ ├── benchmark-methodology.md # Experimental design and integrity rules
│ ├── benchmark-tasks.md # Ten controlled tasks B01–B10
│ ├── scoring-rubric.md # Six dimensions, 0–3 anchors
│ ├── pilot-b05-b06/ # First controlled pilot: protocol and blank score sheets
│ ├── results/ # Templates only — all marked not started
│ └── sample-outputs/ # De-identified outputs (empty until a run)
├── external-review/ # Reviewer brief, form and outreach template
├── references/
│ ├── 01_industry_business.md # Industry and business-model review
│ ├── 02_financial_checklist.md # Author's original financial checklist
│ ├── 03_financial_deep_dive.md # Financial deep-dive framework
│ ├── 04_data_discipline.md # Data integrity, evidence tracing, writing standard
│ ├── 05_report_outline.md # Report skeleton and chart specs
│ ├── 06_industry_playbook.md # Industry-specific metric sets and threshold caveats
│ └── 07_investment_memo_template.md# Final investment memo template
├── examples/
│ ├── sample_company_profile.md # Illustrative target-company brief
│ ├── sample_financial_data.json # Illustrative figures for report generation
│ ├── sample_charts.json # Runnable chart specification (all five types)
│ ├── sample_investment_memo.md # Illustrative memo following the six-part standard
│ └── sample_output/ # Generated DOCX + charts for reference
├── scripts/
│ ├── build_research_report.py # JSON → DOCX (with --blank template)
│ └── generate_charts.py # JSON → PNG (5 chart types)
├── tests/
│ └── test_case_calculations.py # Recomputes all three cases and checks figures
└── .github/workflows/
└── case-calculations.yml # Runs calculation tests on push and pull request
Installation
Install via Skills CLI (verified)
The repository root contains one discoverable skill, business-investment-due-diligence. The Skills CLI finds it and installs the complete package — SKILL.md, all references, both scripts, and examples/:
# Check what the CLI discovers before installing
npx skills add AlfredQianQian/Business-Investment-Intelligence --list
# Interactive install — choose the skill and target agent when prompted
npx skills add AlfredQianQian/Business-Investment-Intelligence
# Non-interactive example — Claude Code, project-level
npx skills add AlfredQianQian/Business-Investment-Intelligence \
--skill business-investment-due-diligence --agent claude-code --yes
# Pin a specific release via its GitHub tag (reproducible installs)
npx skills add AlfredQianQian/[email protected] \
--skill business-investment-due-diligence
Add -g for a global (user-level) install. The Skills CLI can install to many supported agents. For this skill, claude-code, codex, and cursor installs have been verified to place the complete package in .agents/skills/; only Claude Code has been tested end to end. For other agents, or if automatic discovery does not work, load SKILL.md explicitly as project instructions; see the compatibility note below.
Directory visibility. This skill is now listed on skills.sh (badge above). Directory ranking is driven by anonymous CLI install data, so real installs — not stars — determine visibility. The badge indicates listing only; it is not an install-count or quality endorsement.
Manual clone
The SKILL.md frontmatter follows the open Agent Skills convention used by Claude Code:
# Claude Code — personal (available across all projects)
git clone https://github.com/AlfredQianQian/Business-Investment-Intelligence.git \
~/.claude/skills/business-investment-due-diligence
# Claude Code — project-level (checked in with the project)
git clone https://github.com/AlfredQianQian/Business-Investment-Intelligence.git \
.claude/skills/business-investment-due-diligence
Restart the session after installing. The skill triggers on "due diligence / FDD / investment memo / investability / industry research / business analysis / financial analysis / QoE / valuation / deal structure".
Compatibility note. Public availability of this repository does not make the skill auto-discoverable to a conversational model.
| Environment | Status |
|---|---|
| Claude Code | Tested end to end — Skills CLI install, manual clone, and skill execution verified |
| OpenAI Codex | Install path verified — Skills CLI accepts --agent codex, resolves the skill to .agents/skills/, and copies the complete 74-file package. In-agent execution not independently tested |
| Cursor | Install path verified — Skills CLI accepts --agent cursor, resolves the skill to .agents/skills/, and copies the complete 74-file package. In-agent execution not independently tested |
| Other skills-compatible agents | CLI-supported but not tested for this skill — the CLI exposes a wider agent list; load SKILL.md explicitly if the agent does not read .agents/skills/ |
| ChatGPT (conversational) | Requires the skill content and script files to be supplied in the conversation; not automatic discovery. Local PNG/DOCX generation requires a Python execution environment, and generated files must be attached for display |
Install-path verification confirms the CLI can place the complete skill package in the agent's skills directory. It does not confirm that the agent loads the skill at the right moment or that generated output meets the evidence standard. Those require a task-level test in the target agent.
The Skills CLI resolves both Codex and Cursor to .agents/skills/ (the cross-agent convention), not to agent-specific directories such as ~/.codex/ or ~/.cursor/. Verify that your agent reads .agents/skills/ before relying on automatic discovery.
ChatGPT and Codex are different products: the former is a conversational assistant, the latter a skills-capable coding agent. Conversational ChatGPT use must not be described as automatic skill discovery.
Chart-generation troubleshooting. Run python scripts/generate_charts.py --doctor first. Common failures:
| Symptom | Likely cause | Fix |
|---|---|---|
can't open file 'scripts/generate_charts.py' |
Script files were not provided, or the working directory is wrong | Provide the repository scripts or use an absolute script path |
[Missing dependency] |
matplotlib or numpy is absent in that runtime |
python -m pip install -r requirements.txt in an isolated environment |
Chart specification not found |
JSON path is relative to another directory | Use an absolute path or run from the repository root; the script also retries the skill root |
| PNGs exist but chat shows no image | The client does not render local files | Attach or upload the PNG output explicitly |
The chart script now returns a non-zero exit code when any chart fails, so an agent cannot report success after a partial run.
Quick start
# 1. Install Python dependencies once per environment
python -m pip install -r requirements.txt
# 2. Generate a blank report template
python scripts/build_research_report.py --blank -o research_template.docx
# 3. Build a report from a structured JSON specification (demo input included)
python scripts/build_research_report.py examples/sample_financial_data.json \
-o research_report.docx
# 4. Generate charts (revenue_profit / expense_ratios / balance_sheet /
# waterfall / dcf_sensitivity) from the included runnable specification
python scripts/generate_charts.py examples/sample_charts.json -o charts
All figures in examples/ are illustrative and hypothetical — they are provided to demonstrate the JSON format and script behaviour, not to describe a real company.
Ask at different depths — "assess the business model of company X" (light), "check the earnings quality of these figures" (medium), or "produce an investment memo for this target" (full). The skill selects stages accordingly. See EVALUATION.md for ten reproducible test prompts.
Reproducible demo — verified output
examples/ is a complete runnable case: a fictional target brief, the matching report specification, a chart specification, and the outputs generated from them. All figures are hypothetical.

The generated report is examples/sample_output/research_report.docx — 27 paragraphs, 5 tables, and 2 embedded charts at 14 cm width. A representative finding from that report:
Receivables grew 27.6% in FY2024 against revenue growth of 12.7% (gap 14.9pp), while operating cash flow fell to RMB 16.1m. Risk Level: High. Financial Impact: excess receivables = RMB 97.5m − (RMB 76.4m × 1.127) = RMB 11.4m. At an explicitly supplied 15% assumption, the Illustrative Receivables Loss Sensitivity is approximately RMB 1.7m. This mechanical sensitivity does not establish actual uncollectibility, an allowance shortfall, EBITDA overstatement, or a QoE adjustment. Recommendation: make a post-period collection test a completion condition, with a holdback or indemnity; record no EBITDA adjustment until collection evidence is verified.
Recorded run (Python 3.13, 2026-11-30): report generation exited successfully; all five PNG charts were produced; both embedded images measured 14.0 cm; validate_spec() accepted the sample specification and rejected an invalid one with exit code 1. The full tooling record is in EVALUATION.md.
Dependencies
Python 3.8+ with:
python-docx— report generationmatplotlib— chart renderingnumpy— DCF sensitivity matrix
Install once with python -m pip install -r requirements.txt inside a dedicated virtual environment. On macOS, a hardened-runtime Python can reject the adhoc-signed .so files in matplotlib wheels (dyld: code signature ... different Team IDs); reinstalling does not help. An isolated interpreter, e.g. uv venv --python 3.12 .venv, avoids this. The scripts deliberately do not install packages or otherwise modify the Python environment; a missing dependency produces a clear error message instead.
Boundaries
- Prefer annual reports, audit reports, exchange filings, and data-room material; public-search fallbacks must cite the outlet, the date, and be flagged "secondary / to be verified".
- Distinguish disclosed data, derived figures, and assumptions; state period, currency, and unit for every figure.
- Risk thresholds in
references/03andreferences/06are screening indicators, not universal accounting or investment standards. - Not for secondary-market data, technical indicators, or fund/stock recommendations.
- For research and internal decision-making only; not investment, legal, or audit advice.
The full boundary statement — including verification status and agent compatibility — is in Limitations & Risk Boundaries.
Companion research with a different scope
AI-Native Business Casebook: empirical research on AI products and businesses
The Casebook is a separate evidence-led research collection on AI products and businesses: the carriers that deliver AI capability to a paying customer, whether a venture, a unit inside a listed company, or a cross-company arrangement. It is not an application example repository for this skill.
This repository analyses established businesses, listed companies, and investment or M&A targets where filings or data-room evidence exist. Its central question is how an established business performs and creates financial value. The Casebook studies how AI products and businesses position AI within value chains, organise human–AI work, and seek to capture economic value; its central question is how the carrier of AI capability delivers and captures value. Both follow the same Evidence Standard, with evidence requirements adapted to each information environment.
Each Casebook case states what would change the author's assessment. Findings may inform each other, but neither project is a module of the other.
Explore the Casebook · Casebook documentation
Citation
If you use this methodology or the skill in research, analysis, or teaching, cite the released version. GitHub generates APA and BibTeX formats from CITATION.cff via the Cite this repository entry. The v1.1.8 archive is Zenodo record 10.5281/zenodo.24707188; the v1.1.9 archive is 10.5281/zenodo.24739474.
# Excerpt from CITATION.cff (CFF 1.2.0)
title: "Business & Investment Intelligence"
version: "1.1.9"
doi: 10.5281/zenodo.24707188
date-released: 2026-12-01
url: https://github.com/AlfredQianQian/Business-Investment-Intelligence
Use the version DOI above when citing v1.1.9. The v1.1.8 archive is 10.5281/zenodo.24707188; v1.1.7 remains at 10.5281/zenodo.24681412. Zenodo also provides a concept DOI, 10.5281/zenodo.24681411, which always resolves to the latest archived version. For a specific methodological claim, cite the relevant docs/ page; all twelve pages currently carry status: published.
v1.1 — Citation-Ready Intelligence Framework
v1.1 is a knowledge-base release, not a feature release. The core methodology — six-stage workflow, depth routing, evidence standard, valuation discipline, and industry metric sets — is unchanged. It was published on 2026-11-30; the release adds citable documentation and reproducible applied cases rather than new analytical rules.
| Work item | Status in this repository |
|---|---|
Public methodology pages (docs/, hub + 10 core articles + 2 supporting pages) |
Published full articles with worked examples — done |
Machine-readable citation (CITATION.cff, llms.txt) |
Done |
| Benchmark design, task set, rubric, result templates | Done; all runs not started, no results claimed |
| Applied case studies (selection criteria + three real-company QoE screenings) | Done for SAP SE, Lemonade, Inc. and Vipshop Holdings Limited; source registers, SEC-filed figures and reproducible calculations; no finding of misstatement asserted |
| GitHub Pages config + crawler-placement guidance | Pages enabled; sitemap generated and verified; domain-root robots.txt deployed |
| skills.sh directory badge and external installs | Listed; badge added. Install counts not published by skills.sh |
No improvement percentage, benchmark score, or cross-model validation result is reported in this README. Evidence status is stated precisely in EVALUATION.md: an author-performed tooling smoke test, not an independent evaluation of AI-generated analytical quality.
Feedback
The most useful signal is not an install count — it is a specific account of where the methodology held up and where it failed. There are two entry points, separated by purpose:
- GitHub Discussions — open-ended feedback, questions, and examples of use. Tell us the task, the depth used, what worked, and what did not. Share an analysis you built with the skill; redact confidential inputs.
- GitHub Issues — a specific, reproducible failure: a fabricated figure, a skipped module, an unsupported claim, a confusing instruction, or a generator script error. Use the bug template and include the agent and version, how the skill was loaded, the exact prompt, and the input (redacted if needed).
General impressions and questions belong in Discussions, not Issues. That separation keeps reproducible defects traceable while leaving open discussion visible to other users.
Substantive feedback from Discussions, Issues, and public channels is curated into external-review/feedback-log.md with its source and date. An entry there is feedback, not a reviewer response and not a validation result.
If the skill was useful, a Star is the simplest way to signal that to others; installing it with npx skills add also helps the project appear in the open Agent Skills directory. Neither is required for feedback — a specific, thoughtful report is more valuable than either.
License
Released under the MIT License — see LICENSE.
관련 프로젝트 살펴보기
불러오는 중…