بنقرة واحدة
sec-edgar
US SEC EDGAR filings — list 10-K/10-Q/8-K/Form 4/S-1, fetch filing text, parse insider Form 4 transactions.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
US SEC EDGAR filings — list 10-K/10-Q/8-K/Form 4/S-1, fetch filing text, parse insider Form 4 transactions.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
本仓库所有交易分析共享的判读纪律——一手信源、GAAP 陷阱、反自动附和的独立核验协议、 情景而非点位、资金流单位歧义、强制平仓 ≠ 主动卖出、输出语言、账户与仓库记录约定。这是唯一的纪律源头: 根 CLAUDE.md 导入它,app 内的 analyst / deepDive / chat 由 promptPolicy 注入它。 领域 skill 只引用规则 ID(如 TD-SOURCE-01),不得复制规则正文——复制必然漂移。
A 股官方数据,来自同花顺(HiThink)官方 API——涨停股票池、连板天梯、龙虎榜、个股异动原因、热榜、A 股官方口径财报(利润表/资产负债表/现金流量表/财务指标)、行情快照与日 K。
Korean market quotes (KOSPI / KOSDAQ / SK Hynix / Samsung) with capitulation-reversal detection. Use whenever reading the US memory/storage complex (MU / DRAM / SNDK / WDC / STX / SMH) — Korea is the SOURCE market and leads the US tape; Longbridge does not cover KRX. Triggers: 韩国 / 韩股 / KOSPI / 海力士 / SK Hynix / 三星 / Samsung / 韩国爆仓 / 韩国追保 / 存储板块见底了吗 / 洗盘结束了吗 / capitulation / Korean margin calls / has the flush ended.
Use when reading today's US-market capital flow across multiple sectors to identify rotation direction — e.g. "今天资金流向", "板块强弱", "rotation map", "卖芯买云", "where is money moving today", "scan flows across sectors". Produces a cross-section snapshot of net inflows by cohort (indices / semis / software-cloud / mega-tech / AI applications), names the dominant narrative, and writes a dated journal file. Different from `market-session-tracker` (intraday live monitoring of a single watchlist) — this is a one-shot end-of-session rotation read.
交易决策关卡——任何买入/加仓/卖出/减仓动作发生前,先过一遍写死的检查关卡, 打分给出判定,判定与实际执行不一致的记为违规,落盘 JSON 供复盘统计。三个 入口:买入漏斗(六层打分,硬门+软分)、卖出触发器(复用用户既有的 6/27 持有计划触发线、周期见顶清单、爆仓潮反向保护)、巡检(对长桥全部持仓批量跑 卖出触发器)。不拦截下单(本仓库长桥只读),约束力来自违规账单而非技术拦截。 Triggers: 我想买 X、我想加仓 X、我想卖 X、我想减 X、要不要止盈、要不要止损、 巡检、跑一遍卖出检查、算一下违规账单、我该不该现在动这只票、trade decision gate, buy funnel, sell trigger, position patrol, violation ledger.
Short-term multi-timeframe (5m/15m/1h) technical read for a single symbol — pulls K-line across three timeframes, reads MACD + swing structure, writes a direction call (long/short/neutral) with an explicit anchor price, a 2–4 scenario forward read, a range-bound playbook (long tactic + short tactic; a neutral call carries a numeric low/high zone instead of an entry plan and is scored on whether the zone held), an entry/stop/target plan with dual-basis R/R (T1 + T2) for directional calls only, position sizing with a nominal cap from the live broker account, an event-risk gate (earnings / FOMC / CPI), and market/sector alignment + relvol volume checks — MACD divergence/背驰, candle patterns like Pin Bar, and 123 structures are auto-detected and drawn server-side — then renders it via the `chart` skill (type `intraday`, POST preview → PATCH prediction) and logs a journal entry. US-only, single-symbol, short horizon (intraday to a few sessions) — a companion to `market-session-tracker`, not a replacement. Triggers:
| name | sec-edgar |
| description | US SEC EDGAR filings — list 10-K/10-Q/8-K/Form 4/S-1, fetch filing text, parse insider Form 4 transactions. |
Response language: match user input.
Trigger phrases:
Not for: 13F holdings analysis (this skill lists 13F filings but does not parse them into holdings — deferred to a future skill).
filings.py <TICKER> (optionally --type 8-K).primary_doc_url from the list output to
filing_text.py. Use --max-chars to cap; --section item1a for risk
factors, --section mda (Item 7) for MD&A.insider.py <TICKER> parses Form 4 XML for the
past --days window.Environment auto-loaded; SEC_USER_AGENT is mandatory.
# Latest 5 NVDA 8-Ks
python3 .claude/skills/sec-edgar/scripts/filings.py NVDA --type 8-K --limit 5
# All recent NVDA filings
python3 .claude/skills/sec-edgar/scripts/filings.py NVDA --limit 20
# Read the most recent 8-K (URL from filings.py)
python3 .claude/skills/sec-edgar/scripts/filing_text.py \
"https://www.sec.gov/Archives/edgar/data/1045810/000104581026000051/nvda-20260520.htm" \
--max-chars 20000
# Pull Item 1A (Risk Factors) from a 10-K
python3 .claude/skills/sec-edgar/scripts/filing_text.py "<10-K URL>" --section item1a
# Save full text to disk, get metadata only
python3 .claude/skills/sec-edgar/scripts/filing_text.py "<URL>" --save-raw /tmp/nvda-10k.txt
# Insider transactions, past 90 days
python3 .claude/skills/sec-edgar/scripts/insider.py NVDA --days 90
# Insider + amendments
python3 .claude/skills/sec-edgar/scripts/insider.py NVDA --include-amendments
| Key | 10-K section |
|---|---|
item1 / business | Item 1. Business |
item1a / risk | Item 1A. Risk Factors |
item7 / mda | Item 7. MD&A |
item7a | Item 7A. Quantitative & Qualitative Disclosures |
item8 | Item 8. Financial Statements |
meta.confidence returned: high (clean heading match), medium (short
slice, may be incomplete), low (heuristic fallback — full text returned
with warning).
filings.py:
{
"ok": true,
"data": [{
"accession": "0001045810-26-000051",
"cik": "0001045810",
"form": "8-K",
"filed_date": "2026-05-20",
"primary_doc_url": "https://www.sec.gov/Archives/edgar/data/1045810/...htm",
"primary_doc_name": "nvda-20260520.htm",
"description": "8-K",
"size": 637530,
"is_xbrl": true
}],
"meta": {"cik": "0001045810", "name": "NVIDIA CORP", "count_returned": 1}
}
insider.py:
{
"ok": true,
"data": [{
"accession": "...",
"form": "4",
"filed_date": "2026-05-15",
"reporter": "JEN-HSUN HUANG",
"roles": ["officer:CEO", "director"],
"txn_date": "2026-05-13",
"security_title": "Common Stock",
"code": "S",
"shares": 240000,
"price": 412.50,
"acquire_or_dispose": "D",
"post_holdings": 78000000,
"ownership_kind": "D",
"derivative": false,
"footnote_ids": ["F1"],
"footnotes_text": ["Sale pursuant to 10b5-1 plan adopted ..."]
}],
"meta": {"cik": "...", "name": "...", "filings_scanned": 12, "txns_parsed": 24}
}
| Exit code | Meaning | LLM action |
|---|---|---|
| 0 | Success | Parse and narrate. |
| 2 | Missing SEC_USER_AGENT | Set in .env at project root. |
| 3 | HTTP 4xx, ticker not found, or unparseable XML | Read hint. Per-filing parse errors collected in meta.parse_errors. |
| 4 | Network | Suggest retry. |
insider.py only scans the recent window of submissions (typically last
~1000 filings); deep history requires submissions/CIK*-N.json paging,
not implemented.filing_text.py uses an HTML-only extractor — XBRL inline tables are
stripped to text, not parsed into structured rows.meta.confidence.*.sec.gov calls.longbridge-financial-report for normalised income / balance / cash flow.longbridge-news for curated equity news (faster than reading 8-Ks).quiver for congressional trades (distinct from corporate insiders).