jakeschincariol/trader-skill

trader-analyst

The Earnings Analyst.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/jakeschincariol/trader-skill --skill trader-analyst

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

trader-analyst

Earnings season moves stocks, and the press release is written to put the best number first. This skill reads the numbers the company actually filed with the SEC, lines them up quarter by quarter, and says plainly what changed.

Tool in this folder (standard library Python, no keys):

bash
python3 "${CLAUDE_SKILL_DIR}/facts.py" --help

It needs the SEC User-Agent (sec_user_agent in trader/config.json, or SEC_USER_AGENT): "Your Name you@example.com" with the user's real name and email. It refuses to call SEC without one.

What it reads and writes

  • Reads https://data.sec.gov/api/xbrl/companyfacts/CIK##########.json (every

number the company has tagged in its filings), the company's submissions list (for the newest 10-Q or 10-K and the newest 8-K with item 2.02, "Results of Operations") and that 8-K's folder to find the press release (the EX-99.1 exhibit).

  • Writes trader/metrics.json with --metrics: one row per company (TTM

revenue, net income and diluted EPS, the latest margins and growth) for /trader-screener. metrics.example.json in this folder is a real run for AAPL, AXP, GOOGL, KO and BAC on 2026-10-13.

The rules

  • Filed numbers first. The table comes from XBRL facts the company filed.

Use the press release for context (guidance, segment colour), and say which numbers came from where.

  • Compare like with like. Growth is against the same quarter a year

earlier. Quarter-on-quarter changes are shown but many businesses are seasonal (Apple's December quarter is always its biggest).

  • Say what is derived. Companies do not file a Q4 10-Q. The fourth

quarter is the 10-K year minus the three quarters inside it and is marked "derived"; derived EPS is approximate.

  • Say when the data lags. SEC's facts API can trail a filing. When the

newest 10-Q is later than the newest quarter in the facts, the tool prints a NOTE with the link: read the 10-Q itself before summarising.

  • Flag one-offs. When net income is above operating income, gains outside

the business (investment marks, tax items) are inside it. The tool says so. Banks and insurers have no gross margin: blank, not zero.

Steps

  1. Run it for the companies in question (or every ticker in

trader/targets.json):

bash
   python3 "${CLAUDE_SKILL_DIR}/facts.py" AAPL
   python3 "${CLAUDE_SKILL_DIR}/facts.py" AAPL AXP GOOGL KO BAC --metrics trader/metrics.json

--quarters 8 shows two years, --json everything machine-readable, --cik a company without a ticker.

  1. Open the latest earnings press release (the EX-99 link) and the 10-Q when

the numbers need context, and read them.

  1. Write the summary: one line on the quarter (revenue, EPS, growth), one on

margins, one on anything unusual (a one-off, a derived quarter, data that lags), and the links. Plain words, real numbers, no adjectives the numbers do not support.

Example: the reel's top holding

facts.py AAPL (2026-10-13): quarter ending 2026-06-27 (fiscal Q3 2026), revenue $109.42B, +16.4% against a year earlier, net income $29.79B (+27.1%), diluted EPS $2.02 (+28.7%); gross margin 50.1% (+0.8 points on the quarter before); last four quarters $466.8B revenue and $8.71 EPS. Press release: the EX-99.1 of the 8-K filed 2026-07-30. For Coca-Cola the tool notes that SEC's facts stop at 2026-04-03 while the 10-Q for 2026-07-03 is already filed, so the summary reads that 10-Q directly.

What it never does

  • Never says a stock is cheap, expensive, a buy or a sell. It reports what

the company filed.

  • Never invents a number the filings do not have, or estimates a quarter it

cannot derive.

  • Never calls SEC without the User-Agent, and stays well under 10 requests a

second.

Safety

Education and tooling, not financial advice. This skill only reads filings. Nothing places an order except /trader-broker, after /trader-risk passes and the user types an explicit yes for that order.

按任务相关推荐

来自同一仓库

更多 Skills

全部 Skills
jakeschincariol
社区

trader-alerts

Price 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", "pr

安装量
2
GitHub Stars
228
最近更新
10月14日
jakeschincariol
社区

trader-rebalance

Rebalancer. Brings the portfolio back to its target weights when it drifts: values every holding at current prices, works out each stock's drift from its target in percentage points, trades only the stocks outside a band (default 5 points), keeps the cash buffer and the per-stock cap, skips tiny trades, lists sells before buys, and writes the trades to trader/orders.json as proposals. Use when the user says "rebalance", "my portfolio drifted", "bring it back to the targets", "I added money", "th

安装量
2
GitHub Stars
228
最近更新
10月14日
jakeschincariol
社区

trader-budget

Budget 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 placestockorder (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

安装量
1
GitHub Stars
69
最近更新
10月14日
jakeschincariol
社区

trader-tax

Tax Optimizer. Tracks cost-basis lots for every position (FIFO, highest cost first, or specific lots), shows unrealized gains and losses by lot with short or long term, works out what a sale would realize before you sell, finds tax-loss harvesting candidates over a loss threshold, checks the wash sale rule (30 days before and after, GOOG and GOOGL as one family), and writes harvest sells only as proposals. Not tax advice. Use when the user says "what are my gains", "cost basis", "tax lots", "tax

安装量
1
GitHub Stars
69
最近更新
10月14日