What it does
Produces three artifacts in sequence:- company-facts-keys.json — a full inventory of every XBRL tag available for the company, with metadata (taxonomy, units, observation count)
- csv/ folder — one CSV per valuation-relevant XBRL tag, showing all reported observations across all filings
- Per-filing _raw.json files — one per 10-K or 10-Q in the required statements list, each containing every relevant financial field as a single unsummed value with its source tag, period, and accession number
Why per-filing extraction matters
The raw companyfacts.json contains thousands of observations across dozens of filings. This skill filters to just the filings the valuation needs and extracts exactly one value per financial concept per filing — resolving tag ambiguity, handling dimensional data, and ensuring no double-counting.Tag ambiguity resolution
Companies use different XBRL tags for the same concept. For example, revenue might appear as:RevenuesRevenueFromContractWithCustomerExcludingAssessedTaxRevenueFromContractWithCustomerIncludingAssessedTax