blaw-edgar-search
БесплатноЗапускает вложенные скриптыНе проверенUse when the user wants to search SEC filings or exhibits on Bloomberg Law — 'search EDGAR on Bloomberg Law', 'BLAW EDGAR search', 'find exhibits with this…
от edwinhu★ 28 звёзд на GitHubОб этом скилле
Bloomberg Law EDGAR search
!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)"
A Bloomberg-specific profile of ui-json-capture: drive the logged-in browser at human pace and
keep the JSON the page already receives. Load browser-automation (port 9222,
mcp__chrome-devtools__*) and read ui-json-capture for the procedure and its Red Flags.
Why this route
Measured against SEC EFTS, WRDS web and wrds_sec_search: Bloomberg matches per
exhibit (option "Exhibits Only"), runs unstemmed (stemmed_search: false), tolerates
extraction glitches ("Non -Competition" still matched), and has Terms & Connectors: "phrase",
^"case-sensitive", ! and * wildcards, N/x, NP/x, S/, P/, ATLx(), ATMx().
Coverage from 1994; ~19.6M EDGAR documents.
Login
The browser is often signed out. Credentials are the 1Password item Bloomberg Law (UVA) (vault
"Shared with Agents"); handle them only inside a dispatched agent, never in the main thread.
- Fields:
input#username,input#password. A bare#usernamematches the<m-text-field>wrapper first. EnterInput.insertTextafter focusing; React ignores.value. - Enter does not submit. Click the button whose text is
Sign In; it lands onbloomberglaw.com/start.
Search
- Form:
https://www.bloomberglaw.com/start#advanced-search/features_edgar_all_search/features_edgar_all_search(Keywords; Apply To = Forms & Exhibits / Forms Only / Exhibits Only; Forms; Exhibits; Exhibit title; filer, CIK, company, location, SIC, file number). The favorite link may need one reload. - Install
scripts/01-install-hook.jsbefore clicking Search, so page 1 is captured.
Wire facts (observed, not for calling)
POST /product/blaw/api/v1/search/criteria, body{"criteria":{"model":"features_edgar_all_search","term":…,"keywords_apply_to":"edgar_exhibit","page_size":50,"page":N}}. Page 1 is the form submit; page N comes from the pager. Filter clicks hit the same endpoint with new criteria; the hook keys each page by criteria-minus-page, so check__cap.queriesholds exactly one query before assembling.- Response:
results_page.components.documents.items[](50 per page;id,titlelike"WOLFSPEED, INC.; Form 10-K; EX-10.21",date,metadatafiler,subtitlesfile number / filed / period / form,extractswith<mark>hits);.remote_counttotal (the UI shows "1000+");components.facets.items[](form family, form type, exhibit type, company, SIC) with counts. - Paging is an in-app route change (URL
/product/blaw/search/results/<criteria_id>, same document), so the hook persists. Next control:svg[data-testid="search-results-next-page"],disabled="true"on the last page; click it with a dispatchedMouseEvent.
Capture
scripts/01-install-hook.js and scripts/02-run-pager.js here; 03-status.js, 04-dump.js,
05-stop.js and assemble.py from ui-json-capture/scripts/ unchanged:
python3 ~/.claude/skills/workflows/skills/ui-json-capture/scripts/assemble.py \
--batches scratch/blaw --glob 'batch_*.json' --out data/raw/blaw_hits.jsonl \
--expect-total <remote_count> --page-size 50 --id-field id
From hits to EDGAR (accession, full text)
A hit carries no accession or CIK. scripts/resolve_exhibits.py resolves an assemble.py file:
uv run --script ${CLAUDE_SKILL_DIR}/scripts/resolve_exhibits.py --hits data/raw/blaw_hits.jsonl \
--out-dir data/processed/blaw --cache-dir data/raw/edgar_sgml \
--phrase "consulting agreement" --phrase "non-competition" # phrases optional
- Join on WRDS: keys go up as parameter arrays (pgdata is a hot standby: no TEMP tables) and
join server-side to
registrant(file no.),filing_view(date, form prefix) andwrds_forms(wrdsfname), so only ids and paths come back, neverfilingtext. - Files via rclone: raw submissions from
wrds:/wrds/sec/archivesbywrdsfname, cached; over 10,000 files it uses the edgar skill's server-side tar.--ignore-checksumis deliberate: the default md5 check opens an ssh session per file on the login node, and exhausted it at 16 transfers. - Parse locally: one pass over the SGML
<DOCUMENT>blocks gives TYPE, DESCRIPTION, FILENAME and text for every hit, with no per-hit query.
hits_resolved.jsonl / `.parq
Установить blaw-edgar-search в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл blaw-edgar-search?
Use when the user wants to search SEC filings or exhibits on Bloomberg Law — 'search EDGAR on Bloomberg Law', 'BLAW EDGAR search', 'find exhibits with this clause', 'which 8-Ks attach a consulting agreement', 'pull the Bloomberg Law results list', 'capture the BLAW results' — or needs exhibit-level phrase search with proximity operators that the SEC and WRDS full-text routes handle badly.
Как установить скилл blaw-edgar-search?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл blaw-edgar-search запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
agent-skill-stack
Find, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
от GitHubbuild-evidence-map
Build an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
от GitHubpinecone-rag
Build production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
от GitHubqdrant-monitoring-debugging
Diagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…
от GitHub