Significance-Search
Parallel control variable combination search via Stata. Exhaustively searches all subsets of optional controls to find the combination that maximises |t| of the independent variable. Activates when user says: "控制变量搜索", "搜控制变量", "control variable search", "跑控制变量组合", "暴力搜索", "调控制变量".
Install / Use
npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill significance-searchInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of Significance-Search
Significance-Search scores 86/100 on our quality scale, 2341st of 4,700 Development & Engineering skills we index (top 50%).
Its SKILL.md is 3.7 KB long, split into 6 sections with 1 code example: a solid amount of guidance for an agent.
With 4,360 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so Significance-Search is actively maintained.
- Our last check on 2026-11-03 found the source still online.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 88/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-29. Automated pattern scan on 2026-09-29. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
Significance-Search compared with similar skills
All 4 of these similar skills score higher than Significance-Search; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| Significance-Search (this skill)by brycewang-stanford | 86 | 4.4k | 54d ago | SKILL.md |
| taste-skillby Leonxlnx | 100 | 116.8k | 8d ago | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 72.1k | today | CLAUDE.md |
| claude-howtoby luongnv89 | 100 | 47.3k | 2d ago | CLAUDE.md |
| lobehubby lobehub | 100 | 85.6k | today | MCP Server |
Frequently asked questions
- How do I install Significance-Search?
- Run
npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill Significance-Search. The install tabs above show the steps for each supported agent. - Which AI agents does Significance-Search work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is Significance-Search safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 88/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is Significance-Search still maintained?
- The repository was last updated about 2 months ago, so Significance-Search is actively maintained.
Skill content
View source on GitHubname: Significance-Search description: | Parallel control variable combination search via Stata. Exhaustively searches all subsets of optional controls to find the combination that maximises |t| of the independent variable. Activates when user says: "控制变量搜索", "搜控制变量", "control variable search", "跑控制变量组合", "暴力搜索", "调控制变量".
Control Variable Search Skill
This skill generates a parallelised Stata .do file that:
- Enumerates all subsets of optional control variables via
tuples - Runs
reghdfe(or user-specified command) for each combination across N parallel Stata instances - Ranks combinations by |t| of the independent variable
- Reports Top 10 and runs the best combination regression
Important: This skill only generates the .do file. It does NOT execute it. Tell the user the output path and let them run it in Stata themselves.
What to collect from the user
Ask the user for the following. Items marked (required) must be provided; others have defaults.
| Parameter | Description | Default |
|---|---|---|
| data file (required) | Full path to the .dta file | -- |
| dependent variable (Y) (required) | Y variable name | -- |
| independent variable (X) (required) | X variable of interest | -- |
| cluster variable (required) | Variable for clustering SE and fixed effects | -- |
| mandatory controls (required) | Controls always included | -- |
| optional controls (required) | Controls to search over (all subsets) | -- |
| N_WORKERS | Number of parallel Stata instances | 8 |
| significance level | Two-tailed alpha | 0.01 |
| model command | Estimation command | reghdfe |
| absorb | Fixed effects specification | absorb(<<CLUSTER>> year) |
| vce | Variance-covariance specification | vce(cluster <<CLUSTER>>) |
| STATA_EXE | Path to Stata executable | E:\Stata\StataMP-64.exe |
Critical constraints
- Optional controls must be <= 14 variables. With 15+ variables,
tuplesgenerates 32,768+ combinations and will freeze Stata. If the user provides more than 14, warn them and ask them to reduce or move some into mandatory controls. - The output .do file path is
<data_dir>\控制变量搜索_并行.doby default, placed next to the data file.
How to generate
After collecting parameters:
- Read the template at
C:\Users\Verasuna\.claude\skills\ControlVariable\template.do - Replace all
<<PLACEHOLDERS>>with user-provided values (see table below) - Write the result to
<data_dir>\控制变量搜索_并行.do - Do NOT execute it. Tell the user: "do文件已生成至 <path>,请在Stata中手动运行。"
Do not modify any code logic in the template. Only replace placeholders.
Placeholder reference
<<N_WORKERS>> e.g. 8
<<STATA_EXE>> e.g. E:\Stata\StataMP-64.exe
<<PROJ_DIR>> directory containing the .dta file
<<DATA_FILE>> filename of .dta (just the name, not full path)
<<SIGNIFICANCE>> e.g. 0.01
<<DEP_VAR>> dependent variable (Y)
<<INDEP_VAR>> independent variable (X)
<<MANDATORY_CONTROLS>> space-separated mandatory controls
<<OPTIONAL_CONTROLS>> space-separated optional controls
<<MODEL_CMD>> e.g. reghdfe
<<MODEL_ABSORB>> e.g. absorb(stkcd year)
<<MODEL_VCE>> e.g. vce(cluster stkcd)
<<HEARTBEAT_STALL>> 300
Typical usage
User says: "Y是GTFPEFF8,X是Size,聚类到stkcd,必选控制变量Lev,可选控制变量ROA ROE ATO Cashflow,数据文件是 C:\data\mydata.dta"
Then fill:
<<DEP_VAR>>= GTFPEFF8<<INDEP_VAR>>= Size<<MODEL_ABSORB>>= absorb(stkcd year)<<MODEL_VCE>>= vce(cluster stkcd)<<MANDATORY_CONTROLS>>= Lev<<OPTIONAL_CONTROLS>>= ROA ROE ATO Cashflow<<PROJ_DIR>>= C:\data<<DATA_FILE>>= mydata.dta- Other placeholders use defaults
Related Skills
taste-skill
116.8kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
ai-job-search
72.1kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
47.3kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
lobehub
85.6k🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
