kennethkhoocy

28 mods across 2 repositories, 35 stars between them.

applied-micro

02

kennethkhoocy/applied-micro-skills

Plugin Claude Code

Claude Code skills for empirical applied-micro research: reproducibility auditing, LLM-pipeline methods, event studies, WRDS, Stata, publication-grade tables.

27 8d ago A tokens not measured copy · 86% MIT

adjudication-sheets

03

kennethkhoocy/applied-micro-skills

Skill Claude CodeCodex

Build human adjudication / hand-labeling sheets from LLM-pipeline data without evidence truncation. Use when: (1) preparing a CSV/Excel sheet for a human to rule on cases an LLM classifier or rater panel judged, (2) a labeler reports "there is no information to label from" or cells look empty in Excel, (3) excerpt…

27 8d ago A 142 tokens original MIT

kennethkhoocy/applied-micro-skills

Skill Claude CodeCodex

N-round adversarial review pipeline for empirical research output — the chain from data to LaTeX tables to a manuscript that cites them. A Claude drafter proposes minimal diffs, a deterministic mechanical battery gates every diff from a clean state with a regression gate, a Codex reviewer files check-backed critiques…

27 8d ago A 208 tokens original MIT

kennethkhoocy/applied-micro-skills

Skill Claude CodeCodex

Before designing, training, or auditing ANY model that replicates human-annotated labels, audit the annotation protocol's INPUT — the exact document/evidence the human labelers consulted — and give the model that same input. Use when: (1) designing a classifier/LLM extractor whose target is a hand-coded label set, (2)…

27 8d ago A 207 tokens original MIT

kennethkhoocy/applied-micro-skills

Skill Claude CodeCodex

Raise real concurrency in asyncio LLM batch scorers built on the OpenAI SDK (AsyncOpenAI, including OpenAI-compatible providers like DeepSeek). Use when: (1) raising an asyncio.Semaphore above 100 produces no throughput gain, (2) a batch pipeline saturates near 100 in-flight requests despite a larger semaphore, (3)…

27 8d ago A 161 tokens original MIT

cite-placement

07

kennethkhoocy/applied-micro-skills

Skill Claude CodeCodex

Place pre-screened literature citations into a LaTeX or Word manuscript, or restyle the citations already in one. Three modes: (1) inline placement — inline \cite{}/\citet{}/\citep{} with a compiled references.bib, for author-date journals (APA, MLA, Harvard, Chicago author-date, IEEE, Vancouver); (2) footnote…

27 8d ago A 181 tokens original MIT

download-gated-pdfs

08

kennethkhoocy/applied-micro-skills

Skill Claude CodeCodex

Download the actual PDF binary from bot-gated sites (taxpolicycenter.org, urban.org, SSRN-hosted mirrors, think-tank/publisher sites) via the Wayback Machine id URL form. Use when: (1) curl/WebFetch of a .pdf URL returns HTML instead of a PDF even with a browser User-Agent, (2) pypdf fails with "invalid pdf header…

27 8d ago A 137 tokens original MIT

event-study-cars

09

kennethkhoocy/applied-micro-skills

Skill Claude CodeCodex

Complete methodology for computing publication-quality cumulative abnormal returns with proper event-study test statistics, matching the robustness of Kaspereit's eventstudy2 for Stata. Covers dateline construction, event-date mapping, estimation and event windows, thin-trading adjustment, OLS with Theil prediction…

27 8d ago A 153 tokens original MIT

kennethkhoocy/applied-micro-skills

Skill Claude CodeCodex

Set up, format, fix, and clean up LaTeX regression and estimation tables in empirical economics or finance papers. Use when (a) creating a .tex, results.tex, main.tex, or preamble to display regression or estimation output from Python (pyfixest), Stata, or R — including any mention of estout, esttab, estauto, estwide…

27 8d ago A 240 tokens original MIT

latex-to-word

11

kennethkhoocy/applied-micro-skills

Skill Claude CodeCodex

Convert between LaTeX and Microsoft Word for academic manuscripts in either direction, and assemble .tex from mixed sources. Fires on: converting .tex/LaTeX to Word/.docx ("tex to docx", "latex to word", "tex2docx", "convert to word", "pandoc convert"); converting .docx manuscripts to LaTeX for editing and back…

27 8d ago A 228 tokens original MIT

kennethkhoocy/applied-micro-skills

Skill Claude CodeCodex

Gate resumption of any multi-day LLM batch-scoring campaign that calls an unpinned model alias (deepseek-chat, gpt--latest, gemini--preview, any provider alias without a pinned version). Use when: (1) resuming a paused or credit-exhausted scoring run days after its last chunk, (2) topping up credits to finish a…

27 8d ago A 179 tokens original MIT

kennethkhoocy/applied-micro-skills

Skill Claude CodeCodex

Diagnose whether an LLM classifier's validation-gate failure is GOLD-BOUND before spending on prompt revision or model changes. Use when: (1) a scoring pipeline over-predicts a label (precision low, recall high) and a prompt clarification is proposed to tighten it, (2) a pilot/validation gate fails and the fix…

27 8d ago A 182 tokens original MIT

markdown-to-pdf

14

kennethkhoocy/applied-micro-skills

Skill Claude CodeCodex

Convert Markdown (.md) files to a polished PDF with ALL images preserved and scaled to the page. Use whenever the user asks to "save this markdown as a PDF", "convert README.md to pdf", "export the .md as a pdf", "turn these notes/docs into a PDF", or wants a PDF deliverable of any GitHub-flavored Markdown document…

27 8d ago A 188 tokens original MIT

kennethkhoocy/applied-micro-skills

Skill Claude CodeCodex

Adding demeanerbackend="cupy64" to an existing pf.feols() call is treated as a pure performance switch, but it changes the output: regressors with zero within-FE identifying variation (fully absorbed by the fixed effects) that the default numba backend silently drops are RETAINED by the cupy64 path (also in its…

27 8d ago A 164 tokens original MIT

kennethkhoocy/applied-micro-skills

Skill Claude CodeCodex

Diagnose and fix slow pyfixest regression GRIDS (many feols/fepois calls run sequentially) that stay slow despite demeanerbackend="cupy64" and an idle GPU. Use when: (1) a script looping dozens of pf.feols models on a 100k+ row panel takes 1 min/model, (2) process inspection shows 1-1.5 cores busy and nvidia-smi shows…

27 8d ago A 212 tokens original MIT

stata-style-figures

17

kennethkhoocy/applied-micro-skills

Skill Claude CodeCodex

Style every matplotlib figure like the Stata 18/19 default (stcolor) scheme — Arial embedded as TrueType, white background, recessive light-gray grid below the data, no top/right spines, unframed legends, and the validated blue/red/gray palette. Use whenever a task generates or restyles charts, plots, or figures for…

27 8d ago A 130 tokens original MIT

stata

18

kennethkhoocy/applied-micro-skills

Skill Claude CodeCodex

Use this skill whenever the user asks to run Stata commands, estimate econometric models, work with .dta files, run a .do file, generate Stata output, or do any statistical analysis where Stata is involved. Also trigger when the user mentions Stata variables, Stata syntax, or econometric tasks where Stata is the…

27 8d ago A 165 tokens original MIT

wrds

19

kennethkhoocy/applied-micro-skills

Skill Claude CodeCodex

Connect to and query WRDS (Wharton Research Data Services) from any research project. Use this skill whenever the user needs to download, query, or explore data from WRDS — including Compustat, CRSP, FactSet, I/B/E/S, or any other WRDS-hosted database. Also trigger when the user mentions WRDS tables, WRDS libraries…

27 8d ago A 107 tokens original MIT

legal-scholarship

21

kennethkhoocy/legal-scholarship-skills

Plugin Claude Code

Claude Code skills for legal scholarship: verified citation placement (Bluebook/OSCOLA/McGill), article planning, law-review docx pipelines, document sourcing and delivery.

8 8d ago A tokens not measured original MIT

cite-placement

22

kennethkhoocy/legal-scholarship-skills

Skill Claude CodeCodex

Place pre-screened literature citations into a LaTeX or Word manuscript, or restyle the citations already in one. Three modes: (1) inline placement — inline \cite{}/\citet{}/\citep{} with a compiled references.bib, for author-date journals (APA, MLA, Harvard, Chicago author-date, IEEE, Vancouver); (2) footnote…

8 8d ago A 181 tokens copy · 100% MIT

download-gated-pdfs

23

kennethkhoocy/legal-scholarship-skills

Skill Claude CodeCodex

Download the actual PDF binary from bot-gated sites (taxpolicycenter.org, urban.org, SSRN-hosted mirrors, think-tank/publisher sites) via the Wayback Machine id URL form. Use when: (1) curl/WebFetch of a .pdf URL returns HTML instead of a PDF even with a browser User-Agent, (2) pypdf fails with "invalid pdf header…

8 8d ago A 137 tokens copy · 100% MIT

latex-to-word

24

kennethkhoocy/legal-scholarship-skills

Skill Claude CodeCodex

Convert between LaTeX and Microsoft Word for academic manuscripts in either direction, and assemble .tex from mixed sources. Fires on: converting .tex/LaTeX to Word/.docx ("tex to docx", "latex to word", "tex2docx", "convert to word", "pandoc convert"); converting .docx manuscripts to LaTeX for editing and back…

8 8d ago A 228 tokens copy · 100% MIT