# Claude for thematic analysis: codes, a codebook skill and the checks that keep every theme honest

> Claude for thematic analysis: prompts, a codebook skill and the checks that tie every theme to a quote. Tracy collects the interviews from the same chat.

- URL: https://tracyinterview.ai/blog/claude-for-thematic-analysis
- Published: 2026-11-24
- Author: Louis

> **In short** Claude can do the first pass of thematic analysis: read the transcripts, propose codes, group them into candidate themes and pull a quote for each. You decide which themes are real.
>
> Claude codes what it is given, so a thin answer gives it one line. Tracy AI Interviewer runs the interviews from a Claude chat, asks the follow-up a vague answer needs and keeps a recording and timestamped transcript behind each one.
>
> Start with five interviews and one written codebook. The first 3 Tracy results are free.

## Can Claude do thematic analysis?

Yes, for the first pass. Claude reads a transcript, proposes codes, groups them and pulls the sentences that support each group. Deciding which theme answers your research question stays with you. The wider workflow, from collecting to checking, is in [Claude for qualitative research](/blog/claude-for-qualitative-research). This page stays on the coding itself.

## Which phases of thematic analysis can Claude help with?

Braun and Clarke's 2006 paper describes six phases. Claude is a fast first reader in the first three. The last three are judgement.

1. Familiarise yourself with the data. Claude summarises each participant in a few lines. You still read some transcripts in full.
2. Generate initial codes. Claude lists codes, each with a definition, a quote and a timestamp.
3. Search for themes. Claude groups the codes and you ask which answers contradict each group.
4. Review the themes. You open the quotes and drop the weak ones.
5. Define and name the themes. This is your reading of the data.
6. Write up. Claude can draft from the quotes only, and you edit.

![Five requirements for each code: exact words, the participant, a timestamp, a written definition and an include and exclude line.](/blog/images/claude-for-thematic-analysis-1.png)

*Five things to keep in every code, so each theme can be traced back to what a participant said. Source: workflow on this page; phases after Braun and Clarke (2006).*

A code that carries the exact words, the participant, a timestamp, a definition and an include line can be checked in minutes.

## How do you prompt Claude for thematic analysis?

Run two kinds of pass. An open pass lets Claude suggest codes. A fixed pass tags everything with a codebook you wrote.

For the open pass, try: "Read these six transcripts. List the codes you see. For each code give a one-line definition, one exact quote and the participant and timestamp. Do not group yet."

For the fixed pass: "Here is my codebook: code, definition, include when, exclude when. Tag each interview below with up to two codes. If no code fits, write NEW and propose one. Return a table with the participant, the code, the quote and the timestamp."

Then ask the test question: "Which answers contradict each theme, and which participants fit no theme?" Ask Claude for the table and count from it yourself, because counts typed into a chat reply are the ones that drift. [Going from transcripts to themes](/blog/interview-transcript-analysis) gives the method behind these passes.

## How do you tag survey feedback with Claude?

Use the fixed pass. Paste the comments with an id each, give the codebook, and ask for one row per comment: id, up to two codes, and the phrase that triggered each code. Open-text survey answers are short, so a code needs a clear include and exclude line or Claude will stretch it to cover anything near it. Run the same tagging in a second chat and list the comments that got different codes. Those comments show you which definitions are loose.

## Is there a Claude skill for thematic analysis?

You can write one. A skill is a folder with a SKILL.md file. The name and description are required, and the description says what the skill does and when to use it. Anthropic describes skills as activating dynamically when needed, where Projects hold background knowledge that is always loaded. A codebook suits a skill: the definitions stay fixed and every chat tags the same way. A starting file:

```
name: thematic-tagging
description: Tags interview transcripts or survey comments with a fixed codebook and returns a table with a quote and timestamp for each tag. Use when asked to code, tag or analyse qualitative feedback.
# Codebook
- unaware-of-option: the person says they did not know an option existed. Exclude: they knew and chose not to use it.
- team-size-change: the person's team grew or shrank. Exclude: budget changes.
# Rules
- Tag only what the participant said. Quote exactly, with the timestamp.
- If no code fits, write NEW and propose one.
- Never state a count. The researcher counts from the table.
```

Skills need code execution switched on. Use only skills you wrote or trust: Anthropic warns that a malicious skill can direct Claude to call tools or run code against its stated purpose.

## What does the data behind a code look like?

Take a cancelled-customer interview, a sample we invented. At 01:34 the customer says "We went from twelve people to four." Coded alone, that is a team-size theme. At 01:48 Tracy asks "Did you look at a smaller plan?" and at 02:10 the customer says they did not know there was one. The code is now unaware-of-option, a different theme with a different fix. Because each line sits at a timestamp, you can open the recording and hear it before the theme goes into a report.

![A customer says the team shrank from twelve to four; Tracy asks about a smaller plan and the customer did not know one existed.](/blog/images/claude-for-thematic-analysis-2.png)

*Tracy asks the follow-up after the customer finishes the thought, so Claude has a second line to code. Illustration with sample content. Sample content, not a real participant.*

One follow-up turned a size-change code into a communication gap.

## Where does the data come from?

The interviews can come from any you run, or from Tracy. Connect Tracy to Claude, describe what you want to learn, approve the preview and send participants a link. They join in a browser with no account and are told on the join screen that the conversation is recorded and transcribed. Ask Claude for the results and it returns what each participant said to each question, with the result fields, into the chat. Setup steps are in [how to run interviews from a Claude chat](/blog/claude-user-interviews).

## What Tracy adds to Claude for thematic analysis

Claude codes the text it is given, so the codes are only as good as the interviews. Tracy runs those interviews: each person starts on click, at any hour, with nobody scheduling or sitting in on the call. When an answer is missing its detail, Tracy listens, waits until the person has finished and asks for it, so Claude gets a second line to code instead of one thin answer. A recording and a timestamped transcript sit behind every result, so a quote in your table can be opened at its source.

## Where does Claude's thematic analysis need your check?

Check contradictions, counts and repeatability. Ask for contradictions in every pass, then read the answers yourself. Claude may write "most participants" when it means three of eleven, so count from the table. On repeatability, a 2024 JMIR viewpoint tried ChatGPT-3.5 on one podcast transcript and says it may give different answers to the same questions. That is not a test of Claude, but the habit carries over: run the coding twice and compare.

## Which path fits you?

- Collecting and checking a whole study: [Claude for qualitative research](/blog/claude-for-qualitative-research).
- Customer discovery calls: [Claude for customer research](/blog/claude-for-customer-research).
- Survey comments in ChatGPT: [ChatGPT for survey analysis](/blog/chatgpt-for-survey-analysis).
- Adding Tracy to Claude: [how to add MCP to Claude](/blog/how-to-add-mcp-to-claude).

## Common questions

### Can Claude do thematic analysis?

It can do the first pass: summaries, codes, groupings and supporting quotes. You review the themes against the transcripts and make the interpretation.

### Is there a Claude skill for thematic analysis?

You can write one as a SKILL.md with your codebook and rules. Skills need code execution enabled, and you should only install ones you wrote or trust.

### How do I tag survey feedback with Claude?

Give Claude a codebook with include and exclude lines and ask for one row per comment: id, up to two codes and the triggering phrase. Run it twice and review the comments that got different codes.

### Is Claude's thematic analysis repeatable?

Not necessarily. A 2024 JMIR viewpoint that tried ChatGPT-3.5 on one podcast transcript says the tool may give different answers to the same questions. It is not a test of Claude, so run the coding twice, compare and keep a quote and timestamp for every code.

### What does Tracy cost for a small study?

A credit costs $1 and covers each started 20 minutes of an interview, so five 20-minute interviews for a first coding round cost $5, and the first 3 results are free.

---

**Run five interviews from a Claude chat** Describe what you want to learn, approve the preview and send the link; the answers come back in your chat. First 3 results free. [Try it free](https://tracyinterview.ai/connect?utm_source=blog&utm_medium=seo&utm_campaign=claude-for-thematic-analysis&utm_content=try-free) [Book a demo](https://cal.com/tracy-ai/tracy-demo-web?utm_source=blog&utm_medium=seo&utm_campaign=claude-for-thematic-analysis&utm_content=demo)

## Sources

- [Add Tracy AI Interviewer to Claude (public guide)](https://tracyinterview.ai/help/claude), retrieved 14 Nov 2026.
- [Braun and Clarke (2006), Using thematic analysis in psychology](https://doi.org/10.1191/1478088706qp063oa), retrieved 14 Nov 2026.
- [Anthropic, Agent Skills overview](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview), retrieved 14 Nov 2026.
- [Anthropic, What are skills?](https://support.claude.com/en/articles/12512176-what-are-skills), retrieved 14 Nov 2026.
- [Lee et al. (2024), Harnessing ChatGPT for Thematic Analysis: Are We Ready? JMIR (a viewpoint on ChatGPT-3.5, one transcript)](https://pmc.ncbi.nlm.nih.gov/articles/PMC11179012/), retrieved 14 Nov 2026.
