wrds
БесплатноЗапускает вложенные скриптыНе проверенUse when "query WRDS", "access Compustat/CRSP/ExecuComp/Capital IQ", "Form 4 insider data", "Form 144 proposed insider sales (Thomson)", "13F institutional…
от 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-panelskill, not this one. It ownsrisk.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
- Query Enforcement
- SAS ETL Enforcement
- Quick Reference: Table Names
- Connection
- Critical Filters
- Parameterized Queries
- Additional Resources
WRDS Login Node Enforcement
IRON LAW: NEVER RUN COMPUTE ON THE WRDS LOGIN NODE
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
qsubjob is not automatically a parallel job. Measured byqacct: 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
/tmpis 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
/scratchis not durable. A grid job that ran fine in August 2026 came backrc=127weeks 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-Nwith each task striding the list.scripts/array_scan.shwraps t
Установить wrds в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic