Individual skill
sec-filing-puller
Pulls financial statement numbers for US public companies straight from SEC EDGAR's free official XBRL APIs (companyfacts, companyconcept, frames, submissions) into a cited table. Every value carries its accession number, form, fiscal period, filed date, XBRL tag and a link to the filing, and the tool handles fiscal-year ends, quarterly vs YTD vs TTM, derived Q4, restatements and units. Use this whenever the user wants 10-K numbers or 10-Q numbers, says "pull financials for", asks for public company revenue, net income, EPS, cash, debt or capex, wants comps or a competitor side-by-side, a credit check, prospect research, or model inputs, or mentions SEC filings or EDGAR, even if they never say XBRL. Free and primary-source, no paid data terminal needed. Do not use it for private companies, stock prices or valuation multiples.
sec-filing-puller/SKILL.md
Source commit b2267d9171af4f56848d82992381b20b89b44056
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 10, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 423
- Repository last updated
- Oct 20, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- ai-agents Repository topic
- anthropic Repository topic
- claude Repository topic
- claude-code Repository topic
- claude-skills Repository topic
- developer-tools Repository topic
- llm Repository topic
- prompt-engineering Repository topic
- sales-automation Repository topic
- finance Derived category
- data Derived category
- research Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 8,326 bytesSKILL.mdcore · 8,326 bytesSKILL.mdcore · 8,326 bytesSKILL.mdcore · 8,326 bytesSKILL.mdcore · 8,326 bytesSKILL.mdcore · 8,326 bytesSKILL.mdcore · 8,326 bytesreferences/edgar-api.mddoc · 7,646 bytesreferences/xbrl-concepts.mddoc · 8,453 bytesscripts/compare.pyruns · 11,503 bytesscripts/sec_pull.pyruns · 43,831 bytestests/fixtures/aapl_companyfacts_subset.jsonasset · 23,623 bytestests/fixtures/synthetic_restatement.jsonasset · 7,284 bytestests/test_sec_pull.pyruns · 7,271 bytes
Read excerpt
# SEC Filing Puller
Analysts lose a day prompting for 10-K numbers and still distrust the result. Models get these numbers wrong in predictable ways: they mix fiscal years, blend restated and originally reported figures, confuse quarterly with YTD or TTM, and slip on units. Do not recall financials from memory and do not scrape them from websites. Run the scripts. They read SEC's structured data and attach a filing citation to every number. Spend your own effort on judgment: whether the periods line up, whether the definitions match, and what the XBRL cannot tell you.
## Setup (once)
SEC requires a declared User-Agent with contact info. Without one, requests get HTTP 403. Ask the user for their name/company and email if you don't have them, then run:
```bash
export SEC_USER_AGENT="Acme Research jane@acme.com" # the user's own contact, never a made-up one
pip install pandas # the only dependency; everything else is stdlib
```
The scripts stay under SEC's 10 requests/second limit and cache responses in `~/.cache/sec-filing-puller` (override with `SEC_CACHE_DIR`, bypass with `--refresh`). Endpoint details are in `references/edgar-api.md`.