EdgarTools
ResearchEdgarTools is an Agent Skill for research published in the brycewang-stanford/Auto-Empirical-Research-Skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Query and analyze SEC filings using EdgarTools
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills/blob/HEAD/skills/57-dgunning-edgartools/skills/core/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/edgartools, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
EdgarTools
Analyze SEC filings and financial statements.
Skills
| Skill | Purpose |
|---|---|
| core (this directory) | Company lookup, filings, search |
| financials/ | Financial statements and metrics |
| reports/ | 10-K/10-Q/8-K section extraction |
| holdings/ | 13F institutional holdings |
| ownership/ | Form 3/4/5 insider transactions |
| xbrl/ | Low-level XBRL facts and concepts |
| forms.yaml | SEC form type mappings |
Each skill directory has skill.yaml (patterns and examples) and sharp-edges.yaml (common mistakes to avoid).
Quick Setup
from edgar import set_identity
set_identity("Your Name [email protected]") # Required
API Discovery
Every object has .docs for API reference:
company.docs # Full API guide
company.docs.search("filings") # Search for specific topic
filing.docs.search("xbrl") # How to access XBRL
Common Entry Points
from edgar import Company, get_filings, find
company = Company("AAPL") # By ticker
filing = find("0000320193-25-000079") # By accession
filings = get_filings(form="10-K", year=2024) # Discovery