edgartools
Skill2 starsChanged 10 months agoApache-2.0View on GitHub
Learn the basics of the edgartools library - an SEC EDGAR API wrapper.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- hc938456/edgartoolstheir own version, first seen Aug 13, 2026
- LeonChaoX/qinyan-academic-skillstheir own version, first seen Mar 13, 2026
- qinyan-ai/qinyan-academic-skillstheir own version, first seen Mar 13, 2026
- yf8578/claude-skills-collectiontheir own version, first seen Mar 1, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- LeonChaoX/qinyan-academic-skills★ 932same name
- qinyan-ai/qinyan-academic-skills★ 80same name
- hc938456/edgartools★ 2same name
- yf8578/claude-skills-collection★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository3 other files it gives its agents.
- bamlSkill
- Beancount AccountingSkill
- one-pagerSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Do not veer into the deep end of XBRL parsing unless explicitly asked
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Edgartools
Find the latest up to date information by visiting https://edgartools.readthedocs.io/en/latest/.
Edgartools is a python wrapper around the SEC EDGAR API. It's extremely useful for navigating anything that is publicly accessible through this API.
This includes but is not limited to:
- Explore companies
- Get latest filings of all types
- Manipulate structured xbrl data
- Download entire filings as text or markdown
Some tips
- You must always set an identity with
edgar.set_identity("First Last first.last@example.com"). - This format of
"name email"is enforced by the SEC. - There are convenience methods to access a company's latest filings, see
docs/filings.md - Do not veer into the deep end of XBRL parsing unless explicitly asked
- Most documents can fit into your context window.
- However, if you must partially read a filing, read the appropriate report.
Reading filings
Essential setup
Install with uv
uv add edgartools>>> import edgar # Notice the difference between package install name and import name. This is extremely important.
>>> edgar.set_identity("name email@example.com")Fetching company filings
>>> filing = edgar.get_by_accession_number("0000104169-25-000191") # fetch filing by ID - no need to create Company class.
>>> company = edgar.Company("WMT") # protip: you can use CIK, or ticker here.
>>> filing = company.latest(form=["10-K", "10-Q"]) # protip: you can specify multiple form types here
>>> filing.markdown() # get entire filing as markdown
>>> filing.text() # get entire filing as beautifully rendered text. Prefer this as output for readability.
>>> # You may save the entire file to /tmp/ for fast repeated grepping
>>> with open(f"/tmp/{filing.accession_number}.txt", "w") as fh:
... fh.write(filing.text())
>>> filing.reports # get list of specific reports (disaggregated revenues, etc)
>>> print(str(filing.reports[37].text())) # get a specific report as textA full filing may be too large to read at once with the Read tool.
However, you can either split the file into 3-4 chunks, or read only the relevant reports directly.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

