[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F3MWD6VR588737R0N05NKV":3,"skill-same:01M6F3MWD6VR588737R0N05NKV":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":49,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M6F3MWD6VR588737R0N05NKV","financial-data-collector",null,"Collect real financial data for any US publicly traded company from free public sources (yfinance). Output structured JSON consumable by downstream financial skills (DCF modeling, comps analysis, earnings review). Handles market data (price, shares, beta), historical financials (income statement, cash flow, balance sheet), WACC inputs, and analyst estimates. Use when users request collect data for ticker, get financials for company, pull market data, gather DCF inputs, or any task requiring structured financial data before analysis. Also triggers on financial data, company data, stock data.","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fdaymade\u002Fclaude-code-skills\u002Ffinancial-data-collector\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"financial data collector","data","comps analysis","sources","free","triggers","modeling","stock","get","analyst","earnings","review","Market","dcf","use","analysis","flow","collect","beta","pull","2026-11-10 10:12:30",false,"---\nname: financial-data-collector\ndescription: \"Collect real financial data for any US publicly traded company from free public sources (yfinance). Output structured JSON consumable by downstream financial skills (DCF modeling, comps analysis, earnings review). Handles market data (price, shares, beta), historical financials (income statement, cash flow, balance sheet), WACC inputs, and analyst estimates. Use when users request collect data for ticker, get financials for company, pull market data, gather DCF inputs, or any task requiring structured financial data before analysis. Also triggers on financial data, company data, stock data.\"\n---\n\n# Financial Data Collector\n\nCollect and validate real financial data for US public companies using free data sources.\nOutput is a standardized JSON file ready for consumption by other financial skills.\n\n## Critical Constraints\n\n**NO FALLBACK values.** If a field cannot be retrieved, set it to `null` with `_source: \"missing\"`.\nNever substitute defaults (e.g., `beta or 1.0`). The downstream skill decides how to handle missing data.\n\n**Data source attribution is mandatory.** Every data section must have a `_source` field.\n\n**CapEx sign convention:** yfinance returns CapEx as negative (cash outflow). Preserve the original sign. Document the convention in output metadata. Do NOT flip signs.\n\n**yfinance FCF ≠ Investment bank FCF.** yfinance FCF = Operating CF + CapEx (no SBC deduction). Flag this in output metadata so downstream DCF skills don't overstate FCF.\n\n## Workflow\n\n### Step 1: Collect Data\n\nRun the collection script:\n\n```bash\npython scripts\u002Fcollect_data.py TICKER [--years 5] [--output path\u002Fto\u002Foutput.json]\n```\n\nThe script collects in this priority:\n1. **yfinance** — market data, historical financials, beta, analyst estimates\n2. **yfinance ^TNX** — 10Y Treasury yield as risk-free rate proxy\n3. **User supplement** — for years where yfinance returns NaN (report to user, do not guess)\n\n### Step 2: Validate Data\n\n```bash\npython scripts\u002Fvalidate_data.py path\u002Fto\u002Foutput.json\n```\n\nChecks: field completeness, cross-field consistency (Market Cap = Price × Shares), range sanity (WACC 5-20%, beta 0.3-3.0), sign conventions.\n\n### Step 3: Deliver JSON\n\nSingle file: `{TICKER}_financial_data.json`. Schema in `references\u002Foutput-schema.md`.\n\n**Do NOT create**: README, CSV, summary reports, or any auxiliary files.\n\n## Output Schema (Summary)\n\n```json\n{\n  \"ticker\": \"META\",\n  \"company_name\": \"Meta Platforms, Inc.\",\n  \"data_date\": \"2026-03-02\",\n  \"currency\": \"USD\",\n  \"unit\": \"millions_usd\",\n  \"data_sources\": { \"market_data\": \"...\", \"2022_to_2024\": \"...\" },\n  \"market_data\": { \"current_price\": 648.18, \"shares_outstanding_millions\": 2187, \"market_cap_millions\": 1639607, \"beta_5y_monthly\": 1.284 },\n  \"income_statement\": { \"2024\": { \"revenue\": 164501, \"ebit\": 69380, \"tax_expense\": ..., \"net_income\": ..., \"_source\": \"yfinance\" } },\n  \"cash_flow\": { \"2024\": { \"operating_cash_flow\": ..., \"capex\": -37256, \"depreciation_amortization\": 15498, \"free_cash_flow\": ..., \"change_in_nwc\": ..., \"_source\": \"yfinance\" } },\n  \"balance_sheet\": { \"2024\": { \"total_debt\": 30768, \"cash_and_equivalents\": 77815, \"net_debt\": -47047, \"current_assets\": ..., \"current_liabilities\": ..., \"_source\": \"yfinance\" } },\n  \"wacc_inputs\": { \"risk_free_rate\": 0.0396, \"beta\": 1.284, \"credit_rating\": null, \"_source\": \"yfinance + ^TNX\" },\n  \"analyst_estimates\": { \"revenue_next_fy\": 251113, \"revenue_fy_after\": 295558, \"eps_next_fy\": 29.59, \"_source\": \"yfinance\" },\n  \"metadata\": { \"_capex_convention\": \"negative = cash outflow\", \"_fcf_note\": \"yfinance FCF = OperatingCF + CapEx. Does NOT deduct SBC.\" }\n}\n```\n\nFull schema with all field definitions: `references\u002Foutput-schema.md`\n\n\u003Ccorrect_patterns>\n\n### Handling Missing Years\n\n```python\nif pd.isna(revenue):\n    result[year] = {\"revenue\": None, \"_source\": \"yfinance returned NaN — supplement from 10-K\"}\n# Report missing years to the user. Do NOT skip or fill with estimates.\n```\n\n### CapEx Sign Preservation\n\n```python\ncapex = cash_flow.loc[\"Capital Expenditure\", year_col]  # -37256.0\nresult[\"capex\"] = float(capex)  # Preserve negative\n```\n\n### Datetime Column Indexing\n\n```python\nyear_col = [c for c in financials.columns if c.year == target_year][0]\nrevenue = financials.loc[\"Total Revenue\", year_col]\n```\n\n### Field Name Guards\n\n```python\nif \"Total Revenue\" in financials.index:\n    revenue = financials.loc[\"Total Revenue\", year_col]\nelif \"Revenue\" in financials.index:\n    revenue = financials.loc[\"Revenue\", year_col]\nelse:\n    revenue = None\n```\n\n\u003C\u002Fcorrect_patterns>\n\n\u003Ccommon_mistakes>\n\n### Mistake 1: Default Values for Missing Data\n\n```python\n# ❌ WRONG\nbeta = info.get(\"beta\", 1.0)\ngrowth = data.get(\"growth\") or 0.02\n\n# ✅ RIGHT\nbeta = info.get(\"beta\")  # May be None — that's OK\n```\n\n### Mistake 2: Assuming All Years Have Data\n\n```python\n# ❌ WRONG — 2020-2021 may be NaN\nrevenue = float(financials.loc[\"Total Revenue\", year_col])\n\n# ✅ RIGHT\nvalue = financials.loc[\"Total Revenue\", year_col]\nrevenue = float(value) if pd.notna(value) else None\n```\n\n### Mistake 3: Using yfinance FCF in DCF Models Directly\n\nyfinance FCF does NOT deduct SBC. For mega-caps like META, SBC can be $20-30B\u002Fyr, making yfinance FCF ~30% higher than investment-bank FCF. Always flag this in output.\n\n### Mistake 4: Flipping CapEx Sign\n\n```python\n# ❌ WRONG — double-negation risk downstream\ncapex = abs(cash_flow.loc[\"Capital Expenditure\", year_col])\n\n# ✅ RIGHT — preserve original, document convention\ncapex = float(cash_flow.loc[\"Capital Expenditure\", year_col])  # -37256.0\n```\n\n\u003C\u002Fcommon_mistakes>\n\n## Known yfinance Pitfalls\n\nSee `references\u002Fyfinance-pitfalls.md` for detailed field mapping and workarounds.\n\n","# Financial Data Collector\n\nCollect and validate real financial data for US public companies using free data sources.\nOutput is a standardized JSON file ready for consumption by other financial skills.\n\n## Critical Constraints\n\n**NO FALLBACK values.** If a field cannot be retrieved, set it to `null` with `_source: \"missing\"`.\nNever substitute defaults (e.g., `beta or 1.0`). The downstream skill decides how to handle missing data.\n\n**Data source attribution is mandatory.** Every data section must have a `_source` field.\n\n**CapEx sign convention:** yfinance returns CapEx as negative (cash outflow). Preserve the original sign. Document the convention in output metadata. Do NOT flip signs.\n\n**yfinance FCF ≠ Investment bank FCF.** yfinance FCF = Operating CF + CapEx (no SBC deduction). Flag this in output metadata so downstream DCF skills don't overstate FCF.\n\n## Workflow\n\n### Step 1: Collect Data\n\nRun the collection script:\n\n```bash\npython scripts\u002Fcollect_data.py TICKER [--years 5] [--output path\u002Fto\u002Foutput.json]\n```\n\nThe script collects in this priority:\n1. **yfinance** — market data, historical financials, beta, analyst estimates\n2. **yfinance ^TNX** — 10Y Treasury yield as risk-free rate proxy\n3. **User supplement** — for years where yfinance returns NaN (report to user, do not guess)\n\n### Step 2: Validate Data\n\n```bash\npython scripts\u002Fvalidate_data.py path\u002Fto\u002Foutput.json\n```\n\nChecks: field completeness, cross-field consistency (Market Cap = Price × Shares), range sanity (WACC 5-20%, beta 0.3-3.0), sign conventions.\n\n### Step 3: Deliver JSON\n\nSingle file: `{TICKER}_financial_data.json`. Schema in `references\u002Foutput-schema.md`.\n\n**Do NOT create**: README, CSV, summary reports, or any auxiliary files.\n\n## Output Schema (Summary)\n\n```json\n{\n  \"ticker\": \"META\",\n  \"company_name\": \"Meta Platforms, Inc.\",\n  \"data_date\": \"2026-03-02\",\n  \"currency\": \"USD\",\n  \"unit\": \"millions_usd\",\n  \"data_sources\": { \"market_data\": \"...\", \"2022_to_2024\": \"...\" },\n  \"market_data\": { \"current_price\": 648.18, \"shares_outstanding_millions\": 2187, \"market_cap_millions\": 1639607, \"beta_5y_monthly\": 1.284 },\n  \"income_statement\": { \"2024\": { \"revenue\": 164501, \"ebit\": 69380, \"tax_expense\": ..., \"net_income\": ..., \"_source\": \"yfinance\" } },\n  \"cash_flow\": { \"2024\": { \"operating_cash_flow\": ..., \"capex\": -37256, \"depreciation_amortization\": 15498, \"free_cash_flow\": ..., \"change_in_nwc\": ..., \"_source\": \"yfinance\" } },\n  \"balance_sheet\": { \"2024\": { \"total_debt\": 30768, \"cash_and_equivalents\": 77815, \"net_debt\": -47047, \"current_assets\": ..., \"current_liabilities\": ..., \"_source\": \"yfinance\" } },\n  \"wacc_inputs\": { \"risk_free_rate\": 0.0396, \"beta\": 1.284, \"credit_rating\": null, \"_source\": \"yfinance + ^TNX\" },\n  \"analyst_estimates\": { \"revenue_next_fy\": 251113, \"revenue_fy_after\": 295558, \"eps_next_fy\": 29.59, \"_source\": \"yfinance\" },\n  \"metadata\": { \"_capex_convention\": \"negative = cash outflow\", \"_fcf_note\": \"yfinance FCF = OperatingCF + CapEx. Does NOT deduct SBC.\" }\n}\n```\n\nFull schema with all field definitions: `references\u002Foutput-schema.md`\n\n\u003Ccorrect_patterns>\n\n### Handling Missing Years\n\n```python\nif pd.isna(revenue):\n    result[year] = {\"revenue\": None, \"_source\": \"yfinance returned NaN — supplement from 10-K\"}\n# Report missing years to the user. Do NOT skip or fill with estimates.\n```\n\n### CapEx Sign Preservation\n\n```python\ncapex = cash_flow.loc[\"Capital Expenditure\", year_col]  # -37256.0\nresult[\"capex\"] = float(capex)  # Preserve negative\n```\n\n### Datetime Column Indexing\n\n```python\nyear_col = [c for c in financials.columns if c.year == target_year][0]\nrevenue = financials.loc[\"Total Revenue\", year_col]\n```\n\n### Field Name Guards\n\n```python\nif \"Total Revenue\" in financials.index:\n    revenue = financials.loc[\"Total Revenue\", year_col]\nelif \"Revenue\" in financials.index:\n    revenue = financials.loc[\"Revenue\", year_col]\nelse:\n    revenue = None\n```\n\n\u003C\u002Fcorrect_patterns>\n\n\u003Ccommon_mistakes>\n\n### Mistake 1: Default Values for Missing Data\n\n```python\n# ❌ WRONG\nbeta = info.get(\"beta\", 1.0)\ngrowth = data.get(\"growth\") or 0.02\n\n# ✅ RIGHT\nbeta = info.get(\"beta\")  # May be None — that's OK\n```\n\n### Mistake 2: Assuming All Years Have Data\n\n```python\n# ❌ WRONG — 2020-2021 may be NaN\nrevenue = float(financials.loc[\"Total Revenue\", year_col])\n\n# ✅ RIGHT\nvalue = financials.loc[\"Total Revenue\", year_col]\nrevenue = float(value) if pd.notna(value) else None\n```\n\n### Mistake 3: Using yfinance FCF in DCF Models Directly\n\nyfinance FCF does NOT deduct SBC. For mega-caps like META, SBC can be $20-30B\u002Fyr, making yfinance FCF ~30% higher than investment-bank FCF. Always flag this in output.\n\n### Mistake 4: Flipping CapEx Sign\n\n```python\n# ❌ WRONG — double-negation risk downstream\ncapex = abs(cash_flow.loc[\"Capital Expenditure\", year_col])\n\n# ✅ RIGHT — preserve original, document convention\ncapex = float(cash_flow.loc[\"Capital Expenditure\", year_col])  # -37256.0\n```\n\n\u003C\u002Fcommon_mistakes>\n\n## Known yfinance Pitfalls\n\nSee `references\u002Fyfinance-pitfalls.md` for detailed field mapping and workarounds.\n\n",{"name":5,"description":7},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fdaymade\u002Fclaude-code-skills\u002Ffinancial-data-collector",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill financial-data-collector",{"tool":59,"command":60},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill financial-data-collector",{"tool":62,"command":63},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill financial-data-collector","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fdaymade\u002Fclaude-code-skills\u002Ffinancial-data-collector\u002FSKILL.md",true,[],[68,77,86,95,101,107],{"skillNo":69,"name":70,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":39},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[74,75,76],"model","model hierarchy","model hierarchy skill",{"skillNo":78,"name":79,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":39},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[83,84,85],"MCP","zoom","zoom mcp",{"skillNo":87,"name":88,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":39},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[92,93,94,84],"sdk","zoom apps sdk","apps",{"skillNo":96,"name":97,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":39},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[97],{"skillNo":102,"name":103,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":39},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[103],{"skillNo":108,"name":109,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":39},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[109]]