Tooluck logoTooluck
SKILL.md

trader-pelosi

Agent skill fromJakeschincariol/trader-skill

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".

How to install trader-pelosi

install trader-pelosi
# install the trader-skill pack with the skills CLI
npx skills add Jakeschincariol/trader-skill

# or add only this skill to Claude Code: copy the folder

trader-pelosi/

# into

~/.claude/skills/trader-pelosi/ (all projects)

.claude/skills/trader-pelosi/ (one project)

trader-pelosi/SKILL.md

MITFull file
1# trader-pelosi
2
3Members of Congress have to report their trades, their spouse's and their
4dependent children's. The House Clerk posts every report as a PDF and lists
5them all in one index file per year. This skill reads that index, notices the
6moment a new report appears, and reads the report for you.
7
8It is fast. It is not early. A PTR is due within 30 days of the member
9learning of the trade and never more than 45 days after it, so by the time
10anyone can read it the trade is days or weeks old. There is no inside
11information here: only public filings, read quickly. Say that every time.
12
13Tool in this folder (standard library Python; `pdftotext` from poppler is
14optional, to read the PDFs locally):
15
16```bash
17python3 "${CLAUDE_SKILL_DIR}/ptr.py" --help
18```
19
20## What it reads and writes
21
22- Reads `https://disclosures-clerk.house.gov/public_disc/financial-pdfs/<YEAR>FD.zip`
23 (one `<Member>` per filing: name, district, FilingType, FilingDate, DocID)
24 and each PTR at `.../public_disc/ptr-pdfs/<YEAR>/<DocID>.pdf`.
25- Writes `trader/state/pelosi.json` (the DocIDs already shown, so each PTR
26 alerts once) and keeps downloaded PDFs in `trader/state/ptr-pdfs/`.
27- Reads `trader/portfolio.json` (if it exists) to flag trades in what you hold.
28
29## The rules
30
31- **Quote the filing, not a tracker.** Every row comes from the PTR PDF on the
32 Clerk's site, with its DocID and link. Third-party trackers are fine for
33 browsing but can be off (Capitol Trades showed Pelosi's trade dates one day
34…

Excerpt shown under the repository's MIT license.

More skills in trader-skill

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates