Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

wrds

БесплатноЗапускает вложенные скриптыНе проверен

Use when "query WRDS", "access Compustat/CRSP/ExecuComp/Capital IQ", "Form 4 insider data", "Form 144 proposed insider sales (Thomson)", "13F institutional…

edwinhuот edwinhu★ 28 звёзд на GitHub

Об этом скилле

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)"

Building a proxy-voting panel? Use the npx-ownership-panel skill, not this one. It owns risk.voteanalysis_npx (238M rows / 329 GB), the ISS->CRSP fund crosswalk, and the four-leg SGE pipeline that produces the analysis-ready panel. This skill covers WRDS access patterns generally.

Contents

WRDS Login Node Enforcement

IRON LAW: NEVER RUN COMPUTE ON THE WRDS LOGIN NODE

The WRDS login node is shared infrastructure. Running parsers, bulk file reads, SAS jobs, or any process taking >30 seconds on the login node will get the account flagged.

ALWAYS write an SGE submission script and submit via qsub. No exceptions.

  • ssh wrds 'cat files.tsv | ./parser > output.tsv' → WRONG. Use qsub.
  • ssh wrds 'nohup ./process &' → WRONG. Still the login node. Use qsub.
  • ssh wrds 'python3 bulk_process.py' → WRONG. Use qsub.
  • qsub -t 1-20 submit.sh → CORRECT.

The login node is for: qsub, qstat, qdel, scp, ls, head, short psql queries.

Submission patterns and working array jobs: ${CLAUDE_PLUGIN_ROOT}/skills/edgar/references/edgar.md (§ SGE Submission Pattern), scripts/sec_index/submit_array.sh, scripts/parse_13f/sge/submit_shards.sh, and ../npx-ownership-panel/scripts/run_pipeline.sh.

Running compute on the login node is NOT HELPFUL — it gets the user's account flagged, the job killed, and the work lost. You run on the login node because qsub feels like overhead. The overhead is 5 minutes of script writing. The downside is account suspension and a rerun from scratch.

Login Node & Infrastructure Facts

  • Tests go through the scheduler too: qsub -t 1-1 submit.sh. The login-node "quick test" is the run that flags the account — one file becomes 100K when the command changes, and 173K filings over NFS is not 30 seconds.
  • The quorum parser does not run on the login node and never did — it runs via submit_quorum.sh. Citing it as login-node precedent is an unverified claim presented as fact.
  • A qsub job is not automatically a parallel job. Measured by qacct: 14 diagnostic scans over a 26,749-filing, 63.5 GB pile cost 9,388 s of wall clock — 2 h 37 m — every one a single serial task because the submit script omitted -t. Sharded 50 ways the same scans are under 10 minutes total. The worst single scan was 1,247 s and returned a number that had to be discarded.
  • Do not ITERATE a detection rule at corpus scale. Four header-detection passes over that pile cost 3,124 s to converge on a rule that could have been prototyped against a few hundred cached filings locally in seconds and validated at scale ONCE. Serial submission made each wrong guess cost twenty minutes instead of twenty seconds; the scans were the wrong instrument for iteration, not merely the wrong shape.
  • A filing list staged in the login node's /tmp is invisible to grid nodes. Stage under /scratch; a job that opens it will fail with FileNotFoundError inside the task, not at submit time.
  • A pixi/conda env under /scratch is not durable. A grid job that ran fine in August 2026 came back rc=127 weeks later: the env its submit script hard-coded had been swept, and no interpreter on WRDS had polars any more. Either rebuild the env as a step of the job, or keep the heavy pull on the grid and do the dataframe work locally. Do not hard-code an env path and assume it survives.

Red Flags — STOP Immediately If You're About To:

  • Write ssh wrds '... | ./binary > output' → STOP. That's login-node compute. Write a submit script.
  • Write ssh wrds 'nohup ... &' → STOP. nohup doesn't change the node. Use qsub.
  • Write ssh wrds 'python3 ...' for anything that reads >10 files → STOP. Use qsub.
  • Submit ONE qsub job that loops over the whole corpus → STOP. Legal by the Iron Law and still wrong: a serial task over 26,749 filings is minutes of wall clock the grid would do in seconds. Shard it — qsub -t 1-N with each task striding the list. scripts/array_scan.sh wraps t
Полный SKILL.md на GitHub

Установить wrds в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

examples/blockholders_pipeline/README.mdexamples/blockholders_pipeline/pull_blockholders.pyexamples/blockholders_pipeline/redo_bridge.pyexamples/blockholders_pipeline/src/__init__.pyexamples/blockholders_pipeline/src/aggregate.pyexamples/blockholders_pipeline/src/parser.pyexamples/fjc_eda.ipynbexamples/form4_disposals.pyexamples/formd_regd.ipynbexamples/fund_formation_eda.ipynbexamples/lpc_dealscan_eda.ipynbexamples/lpc_dealscan_eda.pyexamples/pitchbook_eda.ipynbexamples/proxy_advisors_pipeline/README.mdexamples/proxy_advisors_pipeline/aggregate.pyexamples/proxy_advisors_pipeline/validate.pyexamples/sdc_issuances_eda.ipynbexamples/sdc_ma_eda.ipynbexamples/voting_ownership_eda.pyexamples/wrds_connector.pyreferences/13f-scrape-performance.mdreferences/audit-analytics.mdreferences/blockholders.mdreferences/boardex.mdreferences/capiq.mdreferences/compustat.mdreferences/connection.mdreferences/crsp.mdreferences/dual-class.mdreferences/execucomp.mdreferences/fisd-bonds.mdreferences/fjc.mdreferences/formd.mdreferences/fund-formation.mdreferences/insider-form144.mdreferences/insider-form4.mdreferences/iss-compensation.mdreferences/iss-directors.mdreferences/iss-voting.mdreferences/linkage.md

FAQ

Что делает скилл wrds?

Use when "query WRDS", "access Compustat/CRSP/ExecuComp/Capital IQ", "Form 4 insider data", "Form 144 proposed insider sales (Thomson)", "13F institutional ownership (Thomson)", "13D/13G blockholders", "ISS governance/compensation/voting/directors", "proxy advisor recommendations", "shareholder proposals / 14a-8", "TAQ intraday/NBBO", "SDC M&A or new issues", "DealScan syndicated loans", "PitchBook PE/VC deals", "FISD corporate bonds", "municipal bonds / muni trades / MSRB RTRS / SDC municipals", "Form D/ADV", "fund formation", "FJC court data", "linking datasets / join keys (gvkey-permno via CCM, cik-gvkey via wciklink, DealScan-Compustat)", or any WRDS PostgreSQL query or SAS ETL on the WRDS grid (qsub/qsas/SGE). NEGATIVE ROUTING: EDGAR filings, filing text and filing parsers go to edgar.

Как установить скилл wrds?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл wrds запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить wrds с