Trader Pelosi
The Pelosi Tracker.
Install
npx skills add Jakeschincariol/day-trader-skill --skill trader-pelosi -g -a claude-code -y- Repository
- Jakeschincariol/day-trader-skill4.3k
- Category
- Documents
- Updated
- 15d ago
- License
- MIT
- Context cost
- Mediumabout 1,652 tokens
- Runs scripts
- Yes, review before use
What it does
The Pelosi Tracker. Watches the stock trades members of Congress must disclose under the STOCK Act: reads the House Clerk's public Periodic Transaction Reports (PTRs) as soon as they are posted, alerts once per new filing, and turns each PDF into clean rows (who, owner, stock, ticker, buy or sell, options strike and expiry, trade date, amount range, how many days it took to disclose). Flags trades in stocks you hold. Senate reports are covered by a documented manual route. Use when the user says "what is Pelosi buying", "track Nancy Pelosi", "Congress trades", "politician stock trades", "did any congressman buy X", "alert me when Pelosi files", or "run the Pelosi skill".
trader-pelosi
Members of Congress have to report their trades, their spouse's and their dependent children's. The House Clerk posts every report as a PDF and lists them all in one index file per year. This skill reads that index, notices the moment a new report appears, and reads the report for you.
It is fast. It is not early. A PTR is due within 30 days of the member learning of the trade and never more than 45 days after it, so by the time anyone can read it the trade is days or weeks old. There is no inside information here: only public filings, read quickly. Say that every time.
Tool in this folder (standard library Python; pdftotext from poppler is
optional, to read the PDFs locally):
python3 "${CLAUDE_SKILL_DIR}/ptr.py" --help
What it reads and writes
- Reads
https://disclosures-clerk.house.gov/public_disc/financial-pdfs/<YEAR>FD.zip(one<Member>per filing: name, district, FilingType, FilingDate, DocID) and each PTR at.../public_disc/ptr-pdfs/<YEAR>/<DocID>.pdf. - Writes
trader/state/pelosi.json(the DocIDs already shown, so each PTR alerts once) and keeps downloaded PDFs intrader/state/ptr-pdfs/. - Reads
trader/portfolio.json(if it exists) to flag trades in what you hold.


