Social Science Research (Meta Skill)
This meta-skill coordinates a complete social science research pipeline by
integrating literature discovery, data collection, natural language processing,
statistical analysis, and academic report writing. It combines four specialized
skills to support rigorous empirical research across economics, political
science, sociology, and related disciplines.
Workflow
Step 1: Literature Review and Theoretical Framing
Search SSRN and CrossRef for relevant academic papers on the research topic:
- Keyword and author-based searches across working paper repositories
- Citation network exploration to identify seminal and recent contributions
- Extraction of theoretical frameworks, hypotheses, and methodological approaches
- Identification of gaps in existing literature that motivate the study
- Construction of an annotated bibliography with key findings per source
Step 2: Data Collection and Preparation
Gather quantitative data from established sources:
- World Bank: Development indicators, governance metrics, trade data
- Census/Survey: Demographic, labor market, household-level data
- Custom datasets: User-provided CSV, Excel, or API-sourced data
- Data cleaning: handle missing values, outliers, encoding inconsistencies
- Variable construction: create indices, interaction terms, lagged variables
- Descriptive statistics: summary tables, distributions, correlation matrices
Step 3: Qualitative Text Analysis
Apply spaCy NLP tools to analyze qualitative or textual data sources:
- Named entity recognition to extract people, organizations, locations
- Document classification by topic, sentiment, or policy domain
- Keyword extraction and frequency analysis across corpora
- Relationship extraction between entities in policy documents
- Coding assistance: map text segments to predefined thematic categories
Step 4: Statistical Analysis and Causal Inference
Use statsmodels for rigorous quantitative analysis:
- Regression: OLS, logistic, Poisson, negative binomial models
- Panel data: Fixed effects, random effects, difference-in-differences
- Causal inference: Instrumental variables, regression discontinuity, propensity score matching
- Time series: ARIMA, VAR, cointegration analysis
- Robustness: Alternative specifications, placebo tests, sensitivity analysis
- Report standard errors appropriate to the data structure (clustered, HAC)
Step 5: Visualization and Figure Preparation
Generate publication-quality figures with matplotlib:
- Coefficient plots with confidence intervals
- Time series trend charts with event markers
- Geographic maps for spatial data (choropleth, point maps)
- Distribution comparisons (kernel density, box plots, violin plots)
- Regression diagnostic plots (residuals, Q-Q, leverage)
Step 6: Academic Report Generation
Compile findings into a structured academic report:
- Abstract summarizing research question, method, and key findings
- Introduction with literature context and contribution statement
- Data section with source descriptions and summary statistics
- Methodology section with model specifications and identification strategy
- Results with tables, figures, and interpretation
- Discussion of limitations, policy implications, and future directions
- Properly formatted references and appendices
Integration Points
- ssrn-econpapers -- Working paper search, citation discovery, literature mapping
- world-bank-data -- Development indicators, cross-country panel data, time series
- statsmodels-stats -- Regression analysis, panel methods, causal inference, diagnostics
- spacy-nlp -- Entity recognition, text classification, keyword extraction, coding support
Output Formats
- Literature table: Paper title, authors, year, method, key finding, relevance score
- Data summary: Variable descriptions, summary statistics, sample sizes
- Regression table: Coefficients, standard errors, significance, R-squared, diagnostics
- Figures: Publication-ready plots with labeled axes, legends, and annotations
- Report draft: Structured academic document with sections and citations
Best Practices
- Define the research question and identification strategy before touching data
- Pre-register hypotheses when conducting confirmatory analysis
- Use consistent variable definitions across all analyses
- Report all specifications tested, not only those yielding significant results
- Cluster standard errors at the appropriate level of treatment assignment
- Include balance tests and pre-trend checks for quasi-experimental designs
- Triangulate quantitative findings with qualitative evidence where possible
- Use multiple imputation or bounds analysis for missing data sensitivity
- Follow disciplinary reporting standards (APA, AER, APSR as appropriate)
- Clearly distinguish correlation from causation in all interpretive sections
1---2name: social-science-research3description: Orchestrates a social science research workflow from literature review through data collection, text analysis, statistical modeling, and report generation. Use when conducting empirical social science research, policy analysis, or mixed-methods studies. NOT for pure natural science analysis or clinical trial data.4---5
6# Social Science Research (Meta Skill)
7
8This meta-skill coordinates a complete social science research pipeline by
9integrating literature discovery, data collection, natural language processing,
10statistical analysis, and academic report writing. It combines four specialized
11skills to support rigorous empirical research across economics, political
12science, sociology, and related disciplines.
13
14## Workflow
15
16### Step 1: Literature Review and Theoretical Framing
17
18Search SSRN and CrossRef for relevant academic papers on the research topic:
19- Keyword and author-based searches across working paper repositories
20- Citation network exploration to identify seminal and recent contributions
21- Extraction of theoretical frameworks, hypotheses, and methodological approaches
22- Identification of gaps in existing literature that motivate the study
23- Construction of an annotated bibliography with key findings per source
24
25### Step 2: Data Collection and Preparation
26
27Gather quantitative data from established sources:
28- **World Bank**: Development indicators, governance metrics, trade data
29- **Census/Survey**: Demographic, labor market, household-level data
30- **Custom datasets**: User-provided CSV, Excel, or API-sourced data
31- Data cleaning: handle missing values, outliers, encoding inconsistencies
32- Variable construction: create indices, interaction terms, lagged variables
33- Descriptive statistics: summary tables, distributions, correlation matrices
34
35### Step 3: Qualitative Text Analysis
36
37Apply spaCy NLP tools to analyze qualitative or textual data sources:
38- Named entity recognition to extract people, organizations, locations
39- Document classification by topic, sentiment, or policy domain
40- Keyword extraction and frequency analysis across corpora
41- Relationship extraction between entities in policy documents
42- Coding assistance: map text segments to predefined thematic categories
43
44### Step 4: Statistical Analysis and Causal Inference
45
46Use statsmodels for rigorous quantitative analysis:
47- **Regression**: OLS, logistic, Poisson, negative binomial models
48- **Panel data**: Fixed effects, random effects, difference-in-differences
49- **Causal inference**: Instrumental variables, regression discontinuity, propensity score matching
50- **Time series**: ARIMA, VAR, cointegration analysis
51- **Robustness**: Alternative specifications, placebo tests, sensitivity analysis
52- Report standard errors appropriate to the data structure (clustered, HAC)
53
54### Step 5: Visualization and Figure Preparation
55
56Generate publication-quality figures with matplotlib:
57- Coefficient plots with confidence intervals
58- Time series trend charts with event markers
59- Geographic maps for spatial data (choropleth, point maps)
60- Distribution comparisons (kernel density, box plots, violin plots)
61- Regression diagnostic plots (residuals, Q-Q, leverage)
62
63### Step 6: Academic Report Generation
64
65Compile findings into a structured academic report:
66- Abstract summarizing research question, method, and key findings
67- Introduction with literature context and contribution statement
68- Data section with source descriptions and summary statistics
69- Methodology section with model specifications and identification strategy
70- Results with tables, figures, and interpretation
71- Discussion of limitations, policy implications, and future directions
72- Properly formatted references and appendices
73
74## Integration Points
75
76- **ssrn-econpapers** -- Working paper search, citation discovery, literature mapping
77- **world-bank-data** -- Development indicators, cross-country panel data, time series
78- **statsmodels-stats** -- Regression analysis, panel methods, causal inference, diagnostics
79- **spacy-nlp** -- Entity recognition, text classification, keyword extraction, coding support
80
81## Output Formats
82
83- **Literature table**: Paper title, authors, year, method, key finding, relevance score
84- **Data summary**: Variable descriptions, summary statistics, sample sizes
85- **Regression table**: Coefficients, standard errors, significance, R-squared, diagnostics
86- **Figures**: Publication-ready plots with labeled axes, legends, and annotations
87- **Report draft**: Structured academic document with sections and citations
88
89## Best Practices
90
911. Define the research question and identification strategy before touching data
922. Pre-register hypotheses when conducting confirmatory analysis
933. Use consistent variable definitions across all analyses
944. Report all specifications tested, not only those yielding significant results
955. Cluster standard errors at the appropriate level of treatment assignment
966. Include balance tests and pre-trend checks for quasi-experimental designs
977. Triangulate quantitative findings with qualitative evidence where possible
988. Use multiple imputation or bounds analysis for missing data sensitivity
999. Follow disciplinary reporting standards (APA, AER, APSR as appropriate)
10010. Clearly distinguish correlation from causation in all interpretive sections