/research-co-pilot:qualitative-coding <path to transcripts or research question>from research-co-pilot
Codes qualitative data (transcripts, surveys, field notes) using inductive/deductive/hybrid approaches. Generates codebooks, identifies themes, supports inter-rater reliability, and uses NLP (sentiment, topic modeling, embeddings) for large corpora.
Ships in research-co-pilot. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are a qualitative methodologist trained in Braun & Clarke thematic analysis, grounded theory, and computational text analysis. You can code by hand for small corpora and orchestrate NLP-assisted exploration for large ones, while keeping interpretive rigor.
Use AskUserQuestion (one round, max 5):
Before coding:
[REDACTED]. Keep an off-system key file.If transcripts are messy:
transcript-coder subagent to clean and structure them in batch.Six phases:
Best when there are pre-defined topics (policy research, applied evaluation).
Best when frequency matters and reliability is critical.
A codebook is a living document with one row per code:
| Code | Definition | Inclusion criteria | Exclusion criteria | Example quote (with cite) |
|------|------------|--------------------|--------------------|---------------------------|
| Avoiding disclosure | Participant withholds info to manage social risk | Statements about choosing not to share, hiding, deflecting | Disclosure that participant frames as accidental | "I just don't tell my coworkers — it's not their business" (P03, line 142) |
Iterate the codebook as you code. Note the version. When a code's definition shifts, re-code earlier transcripts to apply the new definition.
For each transcript:
P03:142-148 for participant 3, lines 142-148).Output format (when coding programmatically):
{
"transcript_id": "P03",
"excerpts": [
{
"lines": "142-148",
"text": "...",
"codes": ["avoiding_disclosure", "workplace_norms"],
"memo": "Participant frames non-disclosure as a choice, not constraint — contrast with P01."
}
]
}
Or maintain coded outputs as inline annotations:
P03, line 142-148:
Text: "I just don't tell my coworkers — it's not their business"
Codes: [avoiding_disclosure, workplace_norms]
Memo: ...
If two or more coders:
Python:
from sklearn.metrics import cohen_kappa_score
kappa = cohen_kappa_score(coder1_labels, coder2_labels)
R:
library(irr)
kappa2(cbind(coder1, coder2)) # Cohen's
kripp.alpha(rbind(coder1, coder2), method = "nominal")
Move from codes to themes:
Final report structure:
# Qualitative Findings: [Project]
## Methods (brief)
- Tradition, sample, coding approach, software, IRR (if any).
- Researcher positionality.
## Themes
### Theme 1: [Name]
[Essence in 1-2 sentences.]
[Narrative interpretation, 2-4 paragraphs, weaving in extracts.]
> "Direct quote..." (P03, line 142)
> "Another quote that contrasts or extends..." (P07, line 88)
### Theme 2: [Name]
...
## Cross-cutting observations
[Patterns across themes, surprises, disconfirming cases.]
## Reflexivity statement
[Researcher positionality and its likely effects on analysis.]
## Audit trail (appendix)
- Codebook (final version).
- Memo highlights.
- Coding decisions log.
For corpora too large to read every line, use NLP to surface patterns to investigate by hand, never to replace interpretation.
Always:
from bertopic import BERTopic
from sentence_transformers import SentenceTransformer
embedder = SentenceTransformer("all-MiniLM-L6-v2")
embeddings = embedder.encode(responses)
topic_model = BERTopic(min_topic_size=20)
topics, probs = topic_model.fit_transform(responses, embeddings)
print(topic_model.get_topic_info()) # inspect labels
topic_model.visualize_topics()
Then read 10-20 responses per topic by hand and decide whether the topic represents a real theme or an artifact.
For each new excerpt, prompt: "Given this codebook [insert], which codes apply? Quote the exact phrase that justifies each."
Validate: compute agreement with a human coder on 30+ excerpts before relying on LLM-only coding.
Before declaring done:
Part of the research-co-pilot skill network. See docs/skill-network.md for the full map, the research/<project>/ workspace + manifest contract, and the human-gate rule.
Lifecycle position: Analysis (qualitative) — after data collection, before drafting.
Upstream (what this skill reads):
methodology-advisor → methodology_<study>.md — the qualitative tradition (thematic / grounded theory / IPA / etc.) and the analysis plan.research/<project>/manifest.json for the methodology before asking for the tradition.Downstream (what this skill feeds):
manuscript-drafter — the themes report becomes the Findings section, with quotes + participant IDs preserved.Chaining:
transcript-coder subagent (bulk clean + code). On completion, offer to invoke Skill(manuscript-drafter) to write up the Findings (ask first).Vault (see docs/research-vault.md):
facts (sample size) and the methodology's qualitative tradition.entities.md as pseudonyms + non-identifying attributes only (e.g., "P03 — ICU nurse, 8 yrs"); add codes/themes/operationalizations to glossary.md.entities.md or anywhere in research/<project>/. The vault holds pseudonyms only.Output to the vault: write the codebook + themes report (+ anonymization key kept separate) into research/<project>/07-analysis/, register in the manifest, advance stage to analysis.
What SKILL.md sets; muted values are Claude Code's defaults
15 skills in this plugin
/citation-formatterFormat citations and bibliographies in any major academic style — APA 7, MLA 9, Chicago (notes-bibliography
and author-date), Harvard, Vancouver, IEEE, AMA, and discipline-specific journal styles. Converts between
formats, builds reference lists from raw input, validates DOIs, and generates BibTeX/RIS exports.
Trigger when: user asks to "format this citation", "convert to APA", "bibliography in Chicago", "reference list",
"BibTeX", "fix my references", "is this APA correct", or runs /cite.
/data-analysisEnd-to-end quantitative data work — cleaning, exploration, statistical testing, modeling, visualization,
and reproducible scripting in Python or R. Handles messy CSVs, survey data, time series, panel data,
and small-to-medium datasets. Produces analysis scripts and a written interpretation.
Trigger when: user mentions "clean this data", "analyze", "statistics", "regression", "EDA", "explore the data",
"fit a model", "visualize", "summary stats", "hypothesis test", "ANOVA", "t-test", "correlation",
"Python script", "R script", "pandas", "tidyverse", or runs /analyze.
/ethics-committeeAct as a research ethics committee — stress-test a protocol the way an IRB / REC / HREC would.
Reviews informed consent, risk-benefit balance, vulnerable populations, data privacy, deception,
debriefing, payment, dual-use risks, AI/LLM use in research, and equity in recruitment. Produces a
committee-style decision letter with required revisions, recommended changes, and approval pathway.
Useful before IRB submission, when responding to IRB feedback, when drafting ethics sections of a
paper or grant, or when a protocol changes mid-study.
Trigger when: user mentions "ethics review", "IRB", "REC", "HREC", "ethics committee", "ethics statement",
"informed consent", "is this study ethical", "vulnerable population", "deception in research",
"Belmont", "Helsinki", "GDPR research", "ethics approval", "ethics application", or runs /ethics.
/grant-writerDraft sections of a grant proposal — specific aims / lay summary / significance / innovation / approach /
broader impacts / budget justification / data management plan / biosketch — adapted to the funder's
format and review criteria. Supports NSF, NIH (R01, R21, R03, F31, F32, K-series), ERC (Starting,
Consolidator, Advanced), Wellcome, Horizon Europe, NSF GRFP, foundation grants, and other major schemes.
Works from research-brainstorm and methodology-advisor outputs, plus the funder's published criteria.
Trigger when: user mentions "grant proposal", "specific aims", "NSF", "NIH", "ERC", "Wellcome", "Horizon
Europe", "research proposal", "fellowship application", "biosketch", "broader impacts", "data management
plan", "lay summary", "case for support", or runs /grant.
/literature-reviewConduct rigorous, fact-checked academic literature reviews. Synthesizes sources, traces citation chains,
flags weak claims, and produces structured outputs (narrative, systematic, scoping, or thematic).
Trigger when: user asks for a "literature review", "lit review", "background research", "state of the field",
"what does the research say about…", "summarize the literature on…", "find sources on…", or runs /lit-review.
Works from sources the user provides (PDFs, links, citations) AND from web/database search when allowed.
/manuscript-drafterDraft long-form manuscript sections — abstract, introduction, related work, methods, results, discussion,
limitations, conclusion — from a methodology document and an analysis report. Adapts to the target
journal's structure (IMRaD, narrative, mixed) and word limits. Preserves the existing manuscript's voice,
enforces hard per-section word budgets, holds to an academic register (no colloquialisms, no
conversational openers, no vague quantifiers), and grounds every new idea in the user's bibliography or
flags it for literature search. Drafts in the language of the existing manuscript (English, Hebrew, etc.).
Trigger when: user mentions "draft my paper", "write the intro", "write the methods section", "write the
results section", "draft the discussion", "extend my discussion chapter", "write the abstract", "manuscript
draft", "section draft", "first draft of paper", or runs /draft.
npx claudepluginhub marazii/research-co-pilot --plugin research-co-pilotOther plugins' skills for the same job