edgar
БесплатноЗапускает вложенные скриптыНе проверенALWAYS use for anything from SEC EDGAR or SEC.gov, and before writing code that fetches or parses it - 'pull SEC filings', 'download the 10-Ks', '10-K / 10-Q…
от edwinhu★ 28 звёзд на GitHubОб этом скилле
EDGAR and SEC.gov
What this skill carries — grep references/ for any subject the names below miss:
!d=${CLAUDE_SKILL_DIR}; command -v skill-toc >/dev/null 2>&1 && exec skill-toc "$d"; s=$HOME/.claude/skills/plugin-utils/bin/skill-toc; [ -x "$s" ] && exec "$s" "$d"; echo "(skill-toc unavailable: references and scripts are NOT listed here — install the plugin-utils plugin, or start a new session so its bin/ reaches PATH)"
Route by shape
| The need | Source |
|---|---|
| Many filings, their exhibits, or a list of filings | WRDS, below |
| Which filing table, which columns, which CIK roles | references/wrds-forms-tables.md |
| Phrase search inside filings | references/sec-text-search.md (WRDS); EDGAR full-text search in references/sec-gov.md |
| A parser or scanner over a corpus | "Extractors", below |
| One filing, looked at once, not from a script | sec.gov is allowed (references/sec-gov.md); WRDS works too |
Filings newer than max(fdate) in wrdssec_all.wrds_forms (it lags about a business day) |
references/sec-gov.md, for those filings only, after running that query |
| Rules releases, SEC web pages, data.sec.gov APIs with no WRDS equivalent, a 403 on any of these | references/sec-gov.md |
WRDS route
Before writing the pull, read § "Download Filing Text via WRDS rclone" in references/edgar.md.
- First list by SQL:
cik, accession, form, fdate, wrdsfnamefromwrdssec_all.wrds_forms.cikis a 10-digit string. - One bulk copy:
wrdsfnameis the path under both roots,wrds:/wrds/sec/archives(raw SGML with every exhibit) andwrds:/wrds/sec/wrds_clean_filings(markup stripped). Clean is for text; discovery needs raw, because clean drops the hrefs to referenced filings. Clean also empties GRAPHIC, XBRL, XML, EXCEL and ZIP bodies, so those need raw too. - Parse locally for the next list (referenced accessions), copy that list in one go, and repeat until no new targets.
- Extract locally: both copies keep the
<DOCUMENT>,<TYPE>and<FILENAME>tags. Useextract, not a fresh regex: older submissions double a leading "." on each body line, which corrupts text and uuencoded files.
E="${CLAUDE_SKILL_DIR}/scripts/edgar_filing.py"
python3 "$E" fetch pairs.tsv out/ [--clean] # one round: "cik accession" lines in, local paths out
python3 "$E" resolve pairs.tsv # the list alone, on stdout; over 10K files feed it to edgar.md's tar route
python3 "$E" extract <local path> --list
python3 "$E" extract <local path> --type EX-3.1 # or --filename d123dex31.htm
python3 "$E" path <cik> <accession> [--clean] # offline
In Python, fetch_round(pairs, dest) is one round and fetch_rounds(seeds, dest, discover) repeats it: discover gets a round's local paths and returns the next pairs.
- Raw submissions are large (1,150 filings = 6.2 GB). When only a few
<DOCUMENT>blocks per filing are needed, use clean, or extract on WRDS in a grid array job (references/edgar.md§ "SGE Submission Pattern"; this script is stdlib-only) and copy back only those blocks. - An exhibit incorporated by reference names the accession of the filing that carries it, often under another CIK (predecessor, parent, filer agent prefix).
resolvefinds it by accession; a path built from the citing firm's CIK silently misses it. - A missing file under WRDS is not a reason to switch the batch to sec.gov. Report the residue, and fetch from sec.gov only filings past
max(fdate).
Extractors
| Need | Existing tool |
|---|---|
| Header fields (state, SIC, address, former names) | query wrdssec_all.wrds_forms_reg first |
| Cover page, body or header extraction at scale | ${CLAUDE_PLUGIN_ROOT}/skills/wrds/scripts/scan_covers/ |
| Series and header scans; a self-built index | ${CLAUDE_PLUGIN_ROOT}/skills/wrds/scripts/scan_headers/, ${CLAUDE_PLUGIN_ROOT}/skills/wrds/scripts/sec_index/ |
| 13F, N-PX, DEF 14A ownership, S-1 management | the parse_* directories in ${CLAUDE_PLUGIN_ROOT}/skills/wrds/scripts/ |
| Dual-class from 10-K text | ${CLAUDE_PLUGIN_ROOT}/skills/wrds/scripts/dual_class/ |
| Parser records to Parqu |
Установить edgar в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл edgar?
ALWAYS use for anything from SEC EDGAR or SEC.gov, and before writing code that fetches or parses it - 'pull SEC filings', 'download the 10-Ks', '10-K / 10-Q / 8-K / DEF 14A / S-1 text', 'filing text', 'get the exhibits', 'charters and bylaws', 'agreements from filings', 'EX-3.1 / EX-10', 'list a company's filings', 'search inside filings', 'EDGAR full-text search', 'wrds_forms', 'build a filing parser', 'get the rules release PDF', 'proposing/adopting release', 'SEC company facts', any sec.gov or data.sec.gov URL, or a 403 from sec.gov. NEGATIVE ROUTING: parsed WRDS datasets (Compustat, CRSP, ISS, Thomson 13F and insider tables, SDC) go to wrds.
Как установить скилл edgar?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл edgar запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic