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