Install
openclaw skills install edgar-risk-diffDiff the SEC 10-K Risk Factors section (Item 1A) between two filings for any US-listed ticker. Surfaces new risks, removed risks, modified language, theme rollups (AI, cyber, geopolitics, regulation), and a churn percentage. Uses SEC EDGAR directly — no API key required. Premium tier adds embedding-based novelty scoring.
openclaw skills install edgar-risk-diffWhat is new in this company's risk factors vs. last year? This skill answers that question in seconds, for any US-listed ticker, by pulling the two most recent 10-Ks from SEC EDGAR and producing a structured diff of Item 1A (Risk Factors).
Activate when the user asks any of:
Do NOT use this skill for:
# Diff the two most recent 10-Ks
python3 {baseDir}/scripts/risk_diff.py diff AAPL
# Diff specific years
python3 {baseDir}/scripts/risk_diff.py diff TSLA --years 2024 2022
# Print the latest Risk Factors section (no diff)
python3 {baseDir}/scripts/risk_diff.py latest NVDA
# One-line summary across many tickers (great for morning briefs)
python3 {baseDir}/scripts/risk_diff.py scan AAPL MSFT GOOGL NVDA META AMZN
# [premium] Embedding-based novelty score — ranks paragraphs by how new they
# actually are, not just whether the text differs.
python3 {baseDir}/scripts/risk_diff.py novelty AAPL --top 10
| Capability | Free | Premium |
|---|---|---|
| Diff (added/removed/modified) | ✅ | ✅ |
| Theme rollup (keyword-based) | ✅ | ✅ |
| Multi-ticker scan | ✅ | ✅ |
| Semantic novelty score (embedding-based, catches paraphrased risks that the keyword diff misses) | ❌ | ✅ |
| Priority email support | ❌ | ✅ |
Premium unlocks the novelty subcommand. Buy a license key at the listing and
save it to ~/.edgar-risk-diff/license.txt, or export
EDGAR_RISK_LICENSE=<key>.
data.sec.gov and www.sec.gov/Archives/ (public, free, no auth).~/.edgar-risk-diff/cache/ — subsequent runs on the
same ticker are instant.User-Agent header. Override with
EDGAR_USER_AGENT="Your Name your@email.com" if redistributing.No API keys. No credentials. No outbound writes.
data.sec.gov and www.sec.gov only.~/.edgar-risk-diff/ (cache + optional license file).scripts/risk_diff.py (≈350 lines, single file, pure stdlib + requests)
before first use.latest
to see what the parser sees.