rea-ci-tests-audit
MOmorluto/rea485k近 7 天新增 9,215 个 star
The 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. Reads an earnings call transcript when you paste one. Use when the user says "how did Tesla's earnings look", "analyze the earnings", "what changed this quarter", "is revenue growing", "check the 10-Q", "compare margins", "sum up the call", "does it report this week", or before trading a stock around its earnings.
Earnings move stocks more than anything else on the calendar, 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. For a day trader it answers two questions before a trade: what did the last report say, and is the next one inside this trade?
Tool in this folder (standard library Python, no keys):
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 [email protected]" with the user's real name and
email. It refuses to call SEC without one.
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).trader/metrics.json with --metrics: one row per company (TTM
revenue, net income and diluted EPS, the latest margins and growth), for
your notes or a spreadsheet. metrics.example.json in this folder is a
real run for AAPL, AXP, GOOGL, KO and BAC on 2026-10-13./trader-news
headlines or on the company's investor relations page, and say where it
came from.Run it for the companies in question (or the tickers on
trader/watchlist.json):
python3 "${CLAUDE_SKILL_DIR}/facts.py" TSLA
python3 "${CLAUDE_SKILL_DIR}/facts.py" TSLA NVDA AMD --metrics trader/metrics.json
--quarters 8 shows two years, --json everything machine-readable,
--cik a company without a ticker.
Open the latest earnings press release (the EX-99 link) and the 10-Q when the numbers need context, and read them.
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.
If the next report falls inside the planned trade (an overnight hold, or a
report before the open), say it before /trader-exit sets the stop: a stop
does not protect against a gap, the stock can open past it.
facts.py TSLA (run 2026-10-20): quarter ending 2026-06-30 (Q2 2026),
revenue $28.24B, +25.5% against a year earlier, net income $1.11B (-4.9%),
diluted EPS $0.32 (-3.0%); gross margin 16.8% (-4.3 points on the quarter
before), operating margin 1.4%; last four quarters $103.6B revenue and $1.08
EPS. The tool flags that net income is above operating income, so gains
outside the business are inside it. Latest 10-Q filed 2026-07-23. Monday's
headlines said Tesla reports this week, so the summary ends: "The next report
is days away. A day trade that closes before the bell is not exposed to it;
anything held overnight is."
facts.py AAPL (2026-10-13): revenue $109.42B, +16.4% against a year
earlier, diluted EPS $2.02 (+28.7%). For Coca-Cola the tool noted that SEC's
facts stopped at 2026-04-03 while the 10-Q for 2026-07-03 was already filed,
so the summary read that 10-Q directly.
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.
MOmorluto/rea485k近 7 天新增 9,215 个 star
MOmorluto/rea485k近 7 天新增 9,215 个 star
MAmattpocock/skills336k近 7 天新增 5,004 个 star
MAmattpocock/skills336k近 7 天新增 5,004 个 star
MAmattpocock/skills336k近 7 天新增 5,004 个 star