sec-data

Retrieve and structure SEC EDGAR XBRL financial statements into JSON or CSV formats.

173|28|Updated Jun 2, 2026
One-click install
npx skills add https://github.com/gauss314/skills --skill sec-data
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sec-data
Source: https://github.com/gauss314/skills/tree/main/skills/sec-data
Command: npx skills add https://github.com/gauss314/skills --skill sec-data

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires secfi, pandas, requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill solves the complexity of navigating the SEC EDGAR database by automating the retrieval and structuring of financial statements, which are otherwise buried in raw XBRL filings.

Core Features & Use Cases

  • Automated Financial Extraction: Pulls income statements, balance sheets, and cash flow data directly into JSON or CSV formats.
  • Cross-Taxonomy Mapping: Automatically resolves differences between US-GAAP and IFRS taxonomies for global company analysis.
  • Use Case: A financial analyst can use this skill to pull 10 years of historical revenue and net income data for both US-based companies like Apple and international firms like Alibaba without manually parsing individual filings.

Quick Start

Use the sec-data skill to fetch the annual income statement and balance sheet for the ticker AAPL and save the output to the data folder.

Frequently Asked Questions about sec-data

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

FAQPage Schema
How do I extract financial statements from SEC EDGAR XBRL filings?

To extract financial statements from SEC EDGAR, this skill automates retrieving and structuring income statements, balance sheets, and cash flow data from XBRL filings into standardized JSON or CSV formats.

Can I pull both US-GAAP and IFRS financial data for global companies?

Yes, you can pull both US-GAAP and IFRS financial data, because cross-taxonomy mapping automatically resolves accounting concept differences for global company analysis.

How do I retrieve historical revenue and net income data for a specific stock ticker?

You retrieve historical revenue and net income data by specifying a stock ticker, which resolves to a CIK identifier to fetch structured multi-year financials.

Do I need the secfi library to parse SEC EDGAR financial data?

Yes, you need the secfi library because it handles resolving CIK identifiers and parsing XBRL facts required to structure the SEC EDGAR financial data.

What is the best way to automate financial analysis of SEC filings without manual parsing?

The best way to automate financial analysis is using a skill that maps diverse accounting concepts into standardized tabular formats, eliminating manual parsing of individual filings.