trader-pelosi
Skill14 starsChanged 30 days agoMITView on GitHub
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".
5 other projects use a version of this, 4 of them edited; 3 new projects in the last 4 weeks, against 0 the 4 before.
Adopted by
Surging: 3 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Most recently taken up by
- Kafish69/ultimate-traderedited, first seen Nov 8, 2026
- hasanaljadi/elite-trader-skilledited, first seen Nov 8, 2026
- KanishkThakar/day-trader-warroomedited, first seen Oct 25, 2026
- neubauerwilli/trader-skill-deutschtheir own version, first seen Oct 25, 2026
- Jakeschincariol/day-trader-skilledited, first seen Oct 20, 2026
Used with
Projects with it also use trader-entry, trader-exit and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
JakeschincariolSkilltrader-entry
Entry Timer. Watches a setup bar by bar and tells you the moment to get in. Reads free Yahoo 1-minute or 5-minute bars, builds the opening range (the first 15 minutes by default) and calls the entry on the first completed bar that CLOSES above the range high, or above a level you give it (like a 20-day high from the scanner), with an optional volume check. Says waiting and how far, triggered with the time and the price, expired, or not open yet, and writes trader/entry.json for /trader-exit. Long side only. It never places an order. Use when the user says "tell me when to get in", "watch TSLA", "has it broken out", "did it break the opening range", "entry signal", "time my entry", "check my watchlist", or after /trader-scanner and /trader-news, before /trader-exit.
Also in 4 projects that use this
JakeschincariolSkilltrader-exit
Exit Planner. Sets your stop and your target before you enter, so you know when to get out. Reads the entry from trader-entry (or a price you give), puts the stop at the opening-range midpoint by default (or the range low, your price, a percent, or a multiple of the ATR), rounds it down to the cent, and sets the target at 2R (or 1R, or your price). Refuses a stop at or above the entry, a target at or below it, or a stop too tight to survive the spread, and says why. Writes trader/plan.json for the Time Machine, the Budget Manager and Price Alerts. Long side only. Use when the user says "where's my stop", "set my stop and target", "plan the exit", "when do I get out", "stop loss", "what's my R", "risk reward", or right after /trader-entry triggers, before /trader-timemachine.
Also in 4 projects that use this
- +2 more from Jakeschincariol
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 4
- Jakeschincariol/day-trader-skill★ 2097% same
- hasanaljadi/elite-trader-skill★ 297% same
- Kafish69/ultimate-trader★ 197% same
- KanishkThakar/day-trader-warroom★ 097% same
Wrote their own version · 1
- neubauerwilli/trader-skill-deutsch★ 2same 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 repository10 other files it gives its agents.
- trader-alertsSkill
- trader-analystSkill
- trader-brokerSkill
- trader-budgetSkill
- trader-copycatSkill
- trader-newsSkill
- trader-rebalanceSkill
- trader-riskSkill
- trader-screenerSkill
- trader-taxSkill
The file
We split this skill into the rules it gives an agent
7 rules. 6 are common, 0 are distinctive, and 1 is very specific to this project.
6
Common
Most of the 4 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 47
Quote the filing, not a tracker: Every row comes from the PTR PDF on the Clerk's site, with its DocID and link.
- Very specific: line 112
If the user wants to act on it, it goes the long way: shares only (the config has allow_options: false), sized by /trader-budget, checked …
- Common: line 135
Never says or implies a member has inside information, or that copying a politician beats the market.
- Common: line 137
Never presents a range as an exact dollar figure or a tracker's date as the trade date.
- Common: line 139
Never places an order, and never copies options trades.
- Common: line 140
Never automates the Senate agreement or any login.
- Common: line 152
No options, margin, shorting or leverage unless the config allows it and the user confirms.
“Common” is measured: kept by at least 6 in 10 of the 4 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
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" --helpWhat 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.
The rules
- Quote the filing, not a tracker. Every row comes from the PTR PDF on the Clerk's site, with its DocID and link. Third-party trackers are fine for browsing but can be off (Capitol Trades showed Pelosi's trade dates one day earlier than her PTRs). The PTR wins.
- Amounts are ranges. "$1,000,001 - $5,000,000", never "$3 million".
- Owner matters. SP is the spouse, JT joint, DC a dependent child, blank the member. Pelosi's 2026 trades are all SP: Paul Pelosi.
- Say the delay. Each row shows how many days passed between the trade and the filing; over 45 is flagged as late.
- Options are options. A call bought with a strike and an expiry is not a share purchase. The tool reads contracts, strike and expiry from the description and marks exercises.
Step 1: what has been filed
python3 "${CLAUDE_SKILL_DIR}/ptr.py" index --member pelosi
python3 "${CLAUDE_SKILL_DIR}/ptr.py" index --since 2026-10-01 # every member
python3 "${CLAUDE_SKILL_DIR}/ptr.py" index --member "Josh Gottheimer" --year 2025--member takes a last name, "First Last" or "Last, First", and repeats.
--type '' lists every filing type (annual reports are type O).
Step 2: watch for new ones
python3 "${CLAUDE_SKILL_DIR}/ptr.py" new --member pelosi --readShows only PTRs not seen at the last check (the first run shows the last 45
days), downloads and reads them with --read, and records them in the state
file. Exit code 1 means nothing new. In January it also checks last year's
index. The Clerk rebuilds the index file about once a day (the copy read on
2026-10-13 was stamped 09:00 that morning), so checking every hour on weekdays
is plenty: run it with /loop 1h or a scheduled task.
Step 3: read a report
python3 "${CLAUDE_SKILL_DIR}/ptr.py" fetch 20035143
python3 "${CLAUDE_SKILL_DIR}/ptr.py" parse ptr.txt --filed 2026-08-21 --jsonfetch saves the PDF and, if pdftotext is installed, prints the rows. If it
is not installed, open the saved PDF and read it directly: you can read PDFs.
parse turns pdftotext -layout text into rows. Check the row count against
the PDF when a report runs over several pages.
Example: the reel's alert
NEW Periodic Transaction Report: Hon. Nancy Pelosi (CA11) filed 2026-08-21, doc 20035143
- spouse purchase, Bloom Energy Corporation Class A Common Stock (BE): 100 call
options, $100 strike, expires 2027-06-17, $1,000,001 - $5,000,000, traded
2026-07-24, disclosed 28 days laterThe same PTR also shows 10,000 and 5,000 BE shares, a second block of 100 BE calls on 07/28, Intel shares and 50 Intel calls ($50 strike, 6/17/27), and a private real estate LLC with no ticker. Her other 2026 PTRs: 20033725 (01/23), 20034836 (06/23, Intel and Uber calls) and 20035553 (10/02, a real estate LLC). Then: "This is a public disclosure filed 28 days after the trade. It says what Paul Pelosi bought in July, not what anyone will buy next."
If the user wants to act on it, it goes the long way: shares only (the config
has allow_options: false), sized by /trader-budget, checked by
/trader-risk, placed by /trader-broker only after their yes.
The Senate: the manual route
Senate reports live at https://efdsearch.senate.gov. Before searching, the
site asks you to tick a box agreeing to the legal limits on how the reports
may be used. That is an agreement for the person to accept, so this skill
does not click it or automate it. The route:
- The user opens
https://efdsearch.senate.gov/search/in their browser and accepts the agreement themselves. - They pick the report type "Periodic Transactions", type the senator's last name, set the date range and search.
- They open the report: electronic filings show a table of transactions, paper filings are scanned images.
- They paste the table (or a screenshot, or the saved page) into the chat, and you write it up in the same shape as the House rows, with the report link, and the same 45-day caveat.
What it never does
- Never says or implies a member has inside information, or that copying a politician beats the market. No return claims.
- Never presents a range as an exact dollar figure or a tracker's date as the trade date.
- Never places an order, and never copies options trades.
- Never automates the Senate agreement or any login.
Safety
- Education and tooling, not financial advice. Nothing in this pack is a recommendation to buy or sell anything.
- Paper trading by default (
"paper": trueintrader/config.json). - Nothing places an order except
/trader-broker, and only after/trader-riskpasses AND the user types an explicit yes for that order in the chat, AND the brokerage tool is set to "Needs approval" in Claude (Customize > Connectors > tool permissions) so Claude's own "Allow once / Deny" card appears too. Never "Always allow" an order tool. - No options, margin, shorting or leverage unless the config allows it and the user confirms.
- Congressional trades are PUBLIC disclosures filed up to 45 days after the trade (STOCK Act). This skill reads them fast; it has no inside information, and it says so.
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.

