Alterlab Text As Data
Analyzes text as social-science data — topic modeling (BERTopic with embeddings + class-based TF-IDF, LDA/NMF via scikit-learn or gensim), document embeddings (sentence-transformers), dictionary/lexicon methods, and supervised text classification — choosing the method that matches the inferential goal (discovery vs measurement vs prediction) and validating topic reliability rather than trusting one stochastic run. It uses the verified stack (BERTopic, scikit-learn, gensim CoherenceModel, spaCy, sentence-transformers) with pinned patterns. Use when the request mentions topic modeling, text as d
Install
/plugin marketplace add AlterLab-IEU/AlterLab-Academic-SkillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add AlterLab-IEU/AlterLab-Academic-Skills --skill alterlab-text-as-datagit clone --depth 1 https://github.com/AlterLab-IEU/AlterLab-Academic-Skills.git /tmp/AlterLab-Academic-Skills
mkdir -p ~/.claude/skills
cp -r /tmp/AlterLab-Academic-Skills/skills/social-science-workflow/alterlab-text-as-data ~/.claude/skills/alterlab-text-as-dataPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Text-as-Data — Match the Method to the Inferential Goal **Skill type: ANALYSIS MODULE.** Turns a corpus into measurements. The discipline is choosing by *goal* — **discovery** (what themes exist?), **measurement** (how much of concept X?), or **prediction** (label new documents) — and validating that a topic solution is **reliable**, not a single lucky stochastic run. ## Core Mission ``` PICK BY GOAL: DISCOVERY vs MEASUREMENT vs PREDICTION. THEN VALIDATE THE TOPICS — ONE RUN IS NOT A RESULT. ``` ## When to Use This Skill - "Run topic modeling on my corpus (BERTopic / LDA)." - "Measure how much each document expresses concept X (dictionary/lexicon)." - "Embed my documents and cluster / compare them." - "Classify these texts into categories." ### Does NOT Trigger | The request is really about… | Route to | Why not this skill | |---|---|---| | Training / fine-tuning a transformer model | `alterlab-transformers` | Model training, not corpus measurement. | | Humanities close-reading / annotation of texts | `alterlab-digital-humanities` | Interpretive, not quantitative text-as-data. | | Whether a text method fits the question at all | `alterlab-ssci-design-gate` | Design routing, upstream. | | Plain tabular statistics | `alterlab-statistical-analysis` | No text. |
Details
- Skill name
alterlab-text-as-data- Repository
- AlterLab-IEU/AlterLab-Academic-Skills
- Path
skills/social-science-workflow/alterlab-text-as-data/SKILL.md- License
- MIT
- Repo updated
- 11 November 2026
- Listed in
- BehiSecc/awesome-claude-skills
FAQ
What does the Alterlab Text As Data skill do?
Analyzes text as social-science data — topic modeling (BERTopic with embeddings + class-based TF-IDF, LDA/NMF via scikit-learn or gensim), document embeddings (sentence-transformers), dictionary/lexicon methods, and supervised text classification — choosing the method that matches the inferential goal (discovery vs measurement vs prediction) and validating topic reliability rather than trusting one stochastic run. It uses the verified stack (BERTopic, scikit-learn, gensim CoherenceModel, spaCy, sentence-transformers) with pinned patterns. Use when the request mentions topic modeling, text as d
How do I install the Alterlab Text As Data skill?
Claude Code plugin: /plugin marketplace add AlterLab-IEU/AlterLab-Academic-Skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Alterlab Text As Data popular?
It lives in AlterLab-IEU/AlterLab-Academic-Skills, which has 87 GitHub stars and 18 forks, and is included in 1 curated skill list.
Related skills
Alterlab Abm Mesa
87AlterLab-IEU/AlterLab-Academic-Skills
Builds agent-based models of social systems with Mesa 3 — the current AgentSet API (model.agents.shuffle_do('step'), auto-assigned unique_id, mandatory super().__init__(rng=...)), cell spaces (mesa.discrete_space OrthogonalMooreGrid / classic mesa.space grids), the DataCollector, batch_run parameter sweeps, and SolaraViz — for emergence, segregation, diffusion, opinion dynamics, and cooperation models. It uses the Mesa 3.x API (the old mesa.time schedulers like RandomActivation are removed) and treats the model as a generative theory to be validated, not just run. Use when the request mentions
Alterlab Academic Career
87AlterLab-IEU/AlterLab-Academic-Skills
Prepares academic career documents and professional-development materials for faculty and researchers. Use when drafting academic CVs, research statements, teaching philosophies, diversity statements, faculty-position cover letters, tenure dossiers, promotion narratives, academic portfolios, or mentorship statements, and when planning conference-networking strategy, building academic web presence, setting up ORCID profiles, or understanding impact metrics. Part of the AlterLab Academic Skills suite.
Alterlab Accreditation Aol
87AlterLab-IEU/AlterLab-Academic-Skills
Scaffolds program-level Assurance-of-Learning (AoL) documentation for AACSB (Standard 5 in the 2020 standards and the 2026 Global Standards) and ABET (Criterion 3 Student Outcomes, Criterion 4 Continuous Improvement) accreditation — program learning outcomes / competency goals, curriculum-to-outcome mapping matrices, direct- and indirect-assessment plans, rubric design, and closing-the-loop continuous-improvement narratives — and validates the structure of an outcome-mapping matrix with scripts/aol_matrix.py. Use when the user needs AACSB or ABET assurance-of-learning material, a program-learn
Alterlab Thesis Supervisor
87AlterLab-IEU/AlterLab-Academic-Skills
Supervises theses and dissertations end to end — structure guidance from proposal through defense, chapter-by-chapter writing support (introduction, literature review, methodology, results, discussion), supervision strategies, committee management, defense and viva voce preparation, timeline planning, feedback integration, examiner-expectation guidance, and formatting (APA 7, Chicago, university styles). Use when the request mentions thesis, dissertation, supervision, defense preparation, viva, proposal defense, thesis structure, thesis chapter, literature review chapter, methodology chapter,
Alterlab Sympy
87AlterLab-IEU/AlterLab-Academic-Skills
Symbolic mathematics in Python with SymPy — solve equations algebraically, perform calculus (derivatives, integrals, limits), manipulate algebraic expressions, work with symbolic matrices, and generate executable code from formulas. Use when exact symbolic results are needed rather than numerical approximations, or for physics, number-theory, and geometry computations involving variables and parameters. Part of the AlterLab Academic Skills suite.
Alterlab Tiledbvcf
87AlterLab-IEU/AlterLab-Academic-Skills
Store and query genomic variant data at scale with TileDB-VCF — ingest VCF/BCF into compressed TileDB arrays, add samples incrementally, run fast parallel region/sample queries, and export back to VCF. Use when managing population-genomics variant datasets that are too large for flat VCF, building joint variant stores, or querying thousands of samples by region. Part of the AlterLab Academic Skills suite.
Browse the most popular Claude skills, all research & science skills, or write your own with the skills generator.