/trader-skill:trader-copycat [investor, fund or CIK] [--top N]from trader-skill
Reads SEC 13F-HR and Form 4 filings from EDGAR to reconstruct an investor's portfolio as copyable target weights. Outputs trader/targets.json for budget sizing.
Ships in trader-skill. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Copying an investor starts with what they are legally required to show: a 13F-HR, filed with the SEC every quarter by any investment manager with over $100 million in US-listed stocks and other 13(f) securities. This skill reads it straight from SEC EDGAR, rebuilds the portfolio, and turns it into target weights for your own account.
Tool in this folder (standard library Python, no keys):
python3 "${CLAUDE_SKILL_DIR}/edgar13f.py" --help
SEC asks every program to identify itself with a name and email. Set it once
in trader/config.json ("sec_user_agent": "Your Name [email protected]", with
the user's real name and email) or export SEC_USER_AGENT=.... The tool
refuses to call SEC without it and says how to fix it. Ask the user for it;
never invent one.
trader/targets.json: the weights to copy, in the shape every other trader
skill reads: { "source", "as_of", "weights": [ {"ticker", "name", "weight"} ] }, weights in % with 2 decimals summing to 100 over the stock
sleeve (keep the 2 decimals: budget sizing needs them), plus the
13F share, value, CUSIPs, what was skipped and why, and the caveats.trader/tickers.json (optional, yours): CUSIP to ticker fixes the tool
will always use first, as {"650111107": "NYT"}.targets.example.json in this folder is the real output of the reel's run
(Berkshire, top 5).
*), say so and fix
it with --figi or trader/tickers.json before anything is copied.python3 "${CLAUDE_SKILL_DIR}/edgar13f.py" find buffett
python3 "${CLAUDE_SKILL_DIR}/edgar13f.py" find "pershing square" --sec
filers.json lists 23 well-known filers with CIKs checked against SEC on
2026-10-13 (Berkshire, Pershing Square, Scion, Bridgewater, ARK, Duquesne,
Appaloosa, Baupost and more). --sec searches every EDGAR filer by name. If
a filer has stopped filing (Scion's last 13F-HR was 2025-11-03), say so.
python3 "${CLAUDE_SKILL_DIR}/edgar13f.py" filings 1067983
python3 "${CLAUDE_SKILL_DIR}/edgar13f.py" holdings 1067983 --combine --top 15
It downloads the submissions list, picks the newest original 13F-HR, finds the
information table XML in the filing folder, sums the rows each holding is
split into (Berkshire reports one stock across several subsidiaries), checks
the total against the cover page, and matches tickers: your
trader/tickers.json first, then share_classes.json (verified CUSIPs for
companies with several listed classes), then SEC's company_tickers.json by
name, and OpenFIGI's free CUSIP lookup with --figi. --combine adds share
classes of one company together (Alphabet A + C). If an amendment exists for
the quarter, the tool says so; read it with --accession.
python3 "${CLAUDE_SKILL_DIR}/edgar13f.py" diff 1067983
New positions, positions sold out, added and trimmed, by share count against the quarter before. Share counts at two dates, not trades: say "held more shares at June 30 than at March 31", never "bought on" a day.
python3 "${CLAUDE_SKILL_DIR}/edgar13f.py" copy 1067983 --top 5 --out trader/targets.json
Share classes are combined by default (--separate keeps them apart).
--exclude TICKER leaves out what the user will not own, --min-pct 1 drops
crumbs. The weights are each position's % of the 13F scaled so the chosen
ones sum to 100. Show the table, then hand off to /trader-budget.
Form 4 (optional): insiders and 10% owners report their trades within two
business days on Form 4. To see them, open
https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=<CIK>&type=4&owner=include
(or the filer's submissions list) and read the filings the user asks about.
They are faster than a 13F but cover one stock at a time.
"Copy Berkshire Hathaway, top 5." The latest 13F-HR is for the quarter ending 2026-06-30, filed 2026-08-14, accession 0001193125-26-352200, total $299,253,556,246 (matches the cover page).
| # | holding | % of the 13F | copy weight |
|---|---|---|---|
| 1 | Apple (AAPL) | 22.04 | 30.67 |
| 2 | American Express (AXP) | 17.14 | 23.85 |
| 3 | Alphabet (GOOGL + GOOG combined) | 12.62 | 17.56 |
| 4 | Coca-Cola (KO) | 10.86 | 15.11 |
| 5 | Bank of America (BAC) | 9.20 | 12.80 |
Rounded, that is 30.7 / 23.9 / 17.6 / 15.1 / 12.8. Since the quarter before: new D.R. Horton (3,564 shares), sold out of Constellation Brands, added Alphabet, Delta, Lennar, Macy's and the New York Times, trimmed Bank of America, Kroger, Capital One, Nucor, Ally and DaVita. Then: "These are Berkshire's holdings as of June 30, 2026. Next, /trader-budget sizes them to your $5,000."
"paper": true in trader/config.json)./trader-broker, and only after
/trader-risk passes 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.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jakeschincariol/trader-skill --plugin trader-skill11 skills in this plugin
/trader-alertsPrice Alerts. Rings when a price target, a stop or the opening bell hits: above / below / stop rules, percent moves from the previous close, and the NYSE opening bell, each ringing once so you are not spammed. Knows NYSE hours with the 2026 and 2027 holidays and 1:00 p.m. early closes, fetches free delayed quotes (Yahoo chart JSON, Stooq CSV) one ticker at a time, and writes trader/prices.json for the other skills. Use when the user says "alert me when", "tell me if AAPL hits", "set a stop", "price target", "watch my stocks", "is the market open", "when does the market open", "get me prices", or to refresh prices before sizing, risk or tax./trader-analystThe Earnings Analyst. Reads a company's reported numbers straight from SEC EDGAR (XBRL company facts from its 10-Qs and 10-Ks, plus the latest earnings 8-K and its press release) and sums up what changed: revenue, gross, operating and net margins, net income and diluted EPS, quarter by quarter, each against the same quarter a year earlier, with the trailing twelve months. Writes a metrics file the screener reads. Use when the user says "how did Apple's earnings look", "analyze the earnings", "what changed this quarter", "is revenue growing", "check the 10-Q", "compare margins", or "run the analyst on my holdings"./trader-brokerOrder Executor. Places APPROVED orders through your brokerage connector, one at a time, and never without your explicit yes. Shows each order as a plain ticket plus the exact JSON for Alpaca's place_stock_order, records your yes word for word, then Claude's own Allow once / Deny card asks again. Covers setting up Alpaca's official MCP server in Claude Desktop (paper trading by default, keys in env vars, never in chat), the Interactive Brokers connector (orders go to your IBKR account for your approval), and setting order tools to "Needs approval". Use when the user says "place the orders", "buy it", "execute", "send it to my broker", "connect Alpaca", "connect Interactive Brokers", "set up paper trading", or after /trader-risk passes./trader-budgetBudget Manager. Sizes every position to your budget before anything is bought: keeps a cash buffer, caps any one stock (the excess is shared out to the others), drops slices under your minimum order, rounds so every dollar is used, supports fractional or whole shares, and writes the proposed buy orders to trader/orders.json in the exact shape of Alpaca's place_stock_order (notional as a string). Nothing is placed. Use when the user says "I have $5,000", "size my trades", "how much of each should I buy", "manage my budget", "split my money", "keep 10% in cash", "no stock over 25%", "set my rules", or after /trader-copycat writes targets./trader-newsThe News Monitor. Watches breaking market news and SEC filings for the stocks you hold (or are about to copy): Yahoo Finance headlines per ticker and each company's 8-K filings on SEC EDGAR (earnings, CEO changes, deals, restatements, bankruptcy). Shows only what is new since the last check, newest first, flags what touches your positions and why it matters, and never repeats an item. Use when the user says "any news on my stocks", "what's happening with Apple", "monitor the news", "watch my portfolio", "did anything break", "check the 8-Ks", or "morning briefing"./trader-pelosiThe 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".2 plugins ship this exact skill · first indexed Oct 21, 2026
Other plugins' skills for the same job