Trader Copycat 标志

Trader Copycat

社区
Jakeschincariol
trader-copycat

反向分析师。读取知名投资者公开提交给 SEC 的文件(季度 13F-HR;如需查看内部人士交易,还可读取 Form 4),重建其投资组合,并按权重整理,供您参考复制:列出每个持仓及其在基金中的占比、上一季度以来买入、增持、减持和卖出的股票,并为每项持仓匹配对应的 CUSIP。随后写入 trader/targets.json,供预算技能据此按您的资金规模分配仓位。当用户说“复制 Buffett 的投资组合”“复制 Berkshire”“Ackman 持有哪些股票”“反向分析这位投资者”“展示他的 13F”“他上季度买了什么”“复制排名前 5 的持仓”,或提到任何基金或知名投资者时使用。

Add to TypingMind

概览

发布者Jakeschincariol
代码仓库trader-skill
技能名称trader-copycat
星标数
406
复刻数
67
附带文件
4
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Jakeschincariol 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Trader Copycat AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Jakeschincariol/trader-skill/tree/main/trader-copycat
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Jakeschincariol/trader-skill.git /tmp/trader-skill
mkdir -p .claude/skills
cp -r /tmp/trader-skill/trader-copycat .claude/skills/trader-copycat
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Trader Copycat,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Trader Copycat。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Trader Copycat 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

trader-copycat

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):

bash
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 you@example.com", 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.

What it writes

  • 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).

The rules

  • Say how old the data is, every time. A 13F is a snapshot of the last day of the quarter, filed up to 45 days later. Say "holdings as of 2026-06-30, filed 2026-08-14" in every answer that uses one.
  • Say what it cannot show. Long US-listed positions only: no shorts, no cash, no bonds, no foreign shares, no private companies, nothing bought and sold inside the quarter, and no prices paid.
  • The firm, not the person. Berkshire Hathaway files the 13F, not Warren Buffett. Greg Abel has been CEO since 2026-01-01 and Buffett became Chairman Emeritus on 2026-09-18. Never say "Buffett bought" when the filing only says "Berkshire held".
  • Every number comes from the filing. Quote the accession number and link the information table. If a ticker is a guess (marked *), say so and fix it with --figi or trader/tickers.json before anything is copied.
  • Options and bonds are never copied. PUT, CALL and PRN rows are listed as excluded. This pack trades stocks only unless the config allows more.

Step 1: find the investor

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

Step 2: read the latest quarter

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

Step 3: what changed

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

Step 4: write the targets

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

Example: the reel

"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 13Fcopy weight
1Apple (AAPL)22.0430.67
2American Express (AXP)17.1423.85
3Alphabet (GOOGL + GOOG combined)12.6217.56
4Coca-Cola (KO)10.8615.11
5Bank of America (BAC)9.2012.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."

What it never does

  • Never claims the investor is still holding today, or why they bought.
  • Never claims returns, or that copying a fund will make money. A 13F copy buys months after the fund did, at today's price.
  • Never places an order. It writes target weights; sizing, risk checks and your yes come after.
  • Never scrapes past SEC's fair-access limits (10 requests a second; the tool stays well under).

Safety

  • Education and tooling, not financial advice. Nothing in this pack is a recommendation to buy or sell anything.
  • Paper trading by default ("paper": true in trader/config.json).
  • Nothing places an order except /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.
  • No options, margin, shorting or leverage unless the config allows it and the user confirms.
  • 13F data is quarterly and up to 45 days old when it is filed. Say so.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Trader Copycat AI 技能有什么作用?

反向分析师。读取知名投资者公开提交给 SEC 的文件(季度 13F-HR;如需查看内部人士交易,还可读取 Form 4),重建其投资组合,并按权重整理,供您参考复制:列出每个持仓及其在基金中的占比、上一季度以来买入、增持、减持和卖出的股票,并为每项持仓匹配对应的 CUSIP。随后写入 trader/targets.json,供预算技能据此按您的资金规模分配仓位。当用户说“复制 Buffett 的投资组合”“复制 Berkshire”“Ackman 持有哪些股票”“反向分析这位投资者”“展示他的 13F”“他上季度买了什么”“复制排名前 5 的持仓”,或提到任何基金或知名投资者时使用。

为什么在 TypingMind 中使用 Trader Copycat?

因为您只需安装一次,就能搭配任何模型使用。Trader Copycat 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Trader Copycat?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Jakeschincariol/trader-skill/tree/main/trader-copycat。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Trader Copycat?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Trader Copycat 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Trader Copycat 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Trader Copycat AI 技能免费吗?

是的。Jakeschincariol 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇