# How to analyze gameplay data with AI

> How to analyze gameplay data with AI: the tables to give ChatGPT or Claude, a copy-paste prompt, how to check the answer and which player data to keep out.

By Yos Riady. Updated 2026-11-28. Published 2026-11-28. Canonical URL: https://manalens.dev/blog/ai-gameplay-data-analysis

Give the AI aggregate tables with clear column names and one question tied to a decision, then check its method. ChatGPT, for example, writes and runs Python on uploaded files, and OpenAI says to review that code before you rely on it. Keep player emails, names and IDs out of the upload.

## Key takeaways

- Give an AI tool one aggregate table per question, with clear column names and a note that defines each event.
- Ask for an approach and the code or SQL behind each number, and recompute one or two numbers yourself.
- Keep names, emails, IP addresses and player IDs out of the upload, because pseudonymised data can still be personal data.

## What can AI do with gameplay data?

Summarize tables, find outliers, run the calculations you describe and draw charts. OpenAI lists summarizing rows, trends and outliers, creating charts, and running Python calculations and statistical analysis among what ChatGPT can do with uploaded data. For some tasks it writes and runs Python in a Jupyter notebook, so you can read the code behind the numbers.

It sees only the data you give it. OpenAI says the analysis environment cannot make web requests or API calls. So an assistant connected to your analytics saves more time than exporting files by hand.

Many developers already work this way. In GDC's November 2026 survey, 40% of game professionals said they use generative AI tools at work. Many saw value in repetitive tasks and research.

Sources: OpenAI Help Center, Data analysis with ChatGPT; GDC State of the Game Industry, November 2026.

## Which data should you give the AI?

Aggregates that answer the question, with plain column names. OpenAI recommends descriptive column headers in the first row and one record per row, and warns against several unrelated tables in one sheet. Spreadsheet and CSV uploads are limited to about 50 MB.

Our practice: export one table per question, such as sessions per day by build, level completion by level, or first session length by platform. Add a short note that defines each event, for example that level_complete fires once per level and run. Then the model does not have to guess what a column means.

*Common gameplay questions and the table to give an AI tool for each. Our practice.*

| Question | Table to give | Check |
| --- | --- | --- |
| Did the patch change D1 retention? | D1 retention by install day and build | The cohorts on each side of the patch are complete |
| Which level loses players? | Players who started and finished each level | Each player is counted once per level |
| Is a weapon too strong? | Uses, wins and run length by weapon | Sample size per weapon |
| Do Steam Deck players have shorter sessions? | Session length by platform | Median, not only the mean |

Sources: OpenAI Help Center, Data analysis with ChatGPT and Uploading files and audio to ChatGPT; our practice.

## How should you write the prompt?

Start with the decision, then ask for an approach before an answer. OpenAI suggests the frame "I'm trying to decide ___, based on ___". It says the frame "tells ChatGPT what 'done' looks like and keeps the analysis focused". Give definitions, the timeframe and what the key columns represent. Ask for exploratory analysis followed by hypotheses to test, and tell the model not to treat correlations as causes.

Anthropic's documentation for Claude adds two habits against made-up answers. The first is to "explicitly give Claude permission to admit uncertainty", which it says "can drastically reduce false information". The second is to tell the model to use only the data you provided. The template after the steps puts all of this together.

1. State the decision: "I am deciding whether to rebalance level 4, based on completion by level for build 572."
2. Define the columns and events in two or three lines.
3. Ask: "Describe the data first, list three hypotheses, and say which table would test each one."
4. Add the ground rules: use only this data, say if the data cannot answer, and do not treat correlation as cause.
5. Ask for the code or SQL behind every number you plan to act on.

*Prompt template: one gameplay question with a level funnel export*

```
I'm trying to decide whether to rebalance level 4, based on the attached
level_funnel.csv: one row per level and build, with level, build,
players_started, players_completed and median_attempts.
- level_complete fires once per level per run; each player is counted once.
- Use only this file. If it cannot answer a question, say "I don't know".
1. Describe the data first: row count, builds, levels and any empty values.
2. Compute the completion rate per level and build, with player counts.
3. List three hypotheses for the biggest drop, and the table that would
   test each one.
Do not treat correlation as cause. Show the code you ran.
```

Sources: OpenAI Academy, Analyzing data with ChatGPT; Claude documentation, Reduce hallucinations.

## Which gameplay questions does AI answer well?

Questions with one event, one date range and one number or table. "Is my game fun?" has no event behind it, so any answer is a guess. Our practice is to name the exact event, the period and the split, such as by build or by source. The table rewrites four vague questions into ones an AI tool can answer from your data.

*Vague gameplay questions and the precise versions an AI tool can answer. Our practice.*

| Vague question | Question an AI tool can answer |
| --- | --- |
| Is level 3 too hard? | What share of level 3 attempts ended in level_fail last week, by build? |
| Did players like the update? | How many players opened the game each day in the 14 days before and after the update? |
| Where do players drop off? | Which event comes last before session_end in players' first session? |
| Which channel works? | Which UTM campaigns brought the most visitors this month? |

Sources: our practice.

## How do you give the AI the context of your game?

Write down the facts it cannot guess, once, and reuse them. Event names, what each one means, your build numbers and your campaign naming rules belong in the first message of a chat. Manalens Agent keeps them as project memory: short facts used with every question, such as "Creator campaigns use utm_medium=video". An item holds up to 280 characters, and a project up to 80 items.

Our practice is to keep the same text next to your tracking plan, so both change together when you rename an event.

- [Game tracking plan generator](https://manalens.dev/tools/game-tracking-plan-generator)

Sources: Manalens Agent documentation; our practice.

## How do you check an AI answer?

Open the method and recompute one or two numbers yourself. OpenAI says to review the generated code, outputs and assumptions before relying on a result. It also says to spot-check a couple of key numbers before a decision. Anthropic suggests running the same prompt more than once and comparing outputs, because inconsistent answers can point to a hallucination.

Our practice: check the row count first. A model that read only part of a file, or dropped rows with empty values, gives confident numbers about the wrong players. Then compare the headline number with your own dashboard for the same dates.

Sources: OpenAI Help Center, Data analysis with ChatGPT; OpenAI Academy; Claude documentation, Reduce hallucinations; our practice.

## What player data should stay out of the chat?

Anything that identifies a player. The European Commission lists names, email addresses, IP addresses, cookie IDs and phone advertising identifiers as personal data. It says pseudonymised data that can be re-identified is still personal data under the GDPR. Sending it to an AI provider is processing it.

Our practice: remove user and device IDs, emails and IP addresses before an upload, or better, send only counts and rates. For a question about one player, look in your own analytics instead of pasting their history into a chat.

Sources: European Commission, Data protection explained; our practice.

## Is this workflow available as an agent skill?

Yes. The free, open-source player-funnel skill builds a step funnel, day 1, 7, and 30 retention by cohort and source, and the last event before players quit, from a raw event CSV. Run npx skills add manalens/game-marketing-skills in your game's repo, and Claude Code, Codex, Cursor, or another agent that reads Agent Skills loads it when you ask where players drop off.

The Manalens Agent answers the same kind of question inside your project, such as "How many level_complete events last week?". It reads your game's own events, can draw a chart, and shows how it got each number.

- [Open-source game marketing skills](https://manalens.dev/skills)
- [Manalens Agent](https://manalens.dev/features/agent)
- [Game marketing skills (docs)](https://docs.manalens.dev/guides/game-marketing-skills)

Sources: game-marketing-skills README and player-funnel skill; Manalens Agent documentation.

## How to measure the result

Manalens is the analytics and growth engine built for games. the Agent answers questions such as "How many level_complete events last week?" from an approved report. It can also write a chart whose SQL you can open with How I calculated this. The model never gets raw events, user profiles or identities. The MCP server lets Claude, Cursor and other MCP clients read the same reports with a project API key; SQL needs the Studio plan.

- [Manalens Agent](https://manalens.dev/features/agent)
- [MCP server](https://manalens.dev/features/mcp-server)
- [SQL Explorer](https://manalens.dev/features/sql-explorer)

Sources: Manalens Agent and MCP server documentation.

## Frequently asked questions

### Can ChatGPT analyze my game's analytics export?

Yes, if the export is a clean table. ChatGPT reads CSV and Excel files, and for many tasks it writes and runs Python on them. OpenAI recommends clear headers, one record per row and no unrelated tables in one sheet. Review the code it ran, and remove player IDs and emails before you upload.

### How do I stop an AI from making up numbers about my game?

Tell it to use only the data you gave it and to say when the data cannot answer, as Anthropic recommends. Ask for the code or SQL behind each number, run the same question twice and compare, and recompute one key number yourself against your own dashboard before you act.

### Is it safe to upload player data to an AI tool?

Not if the rows identify players. The European Commission counts names, emails, IP addresses, cookie IDs and advertising IDs as personal data, and pseudonymised data that can be re-identified still counts. Send aggregates such as counts per level or retention per build instead, and check the tool's data controls.

### What is the best first question to ask AI about gameplay data?

One tied to a decision you must make this week, such as whether a patch changed D1 retention or which level loses the most players. Give the table that answers it, define the events, and ask for hypotheses and the table that would test each one before you ask for a conclusion.

### Can I ask AI questions about my game analytics without exporting files?

Yes. Manalens Agent answers from approved reports inside the app, and its MCP server lets Claude, Cursor and other MCP clients read your reports with a project API key. The model never receives raw events or player profiles. SQL through MCP needs the Studio plan.

### Is ChatGPT or Claude better for analyzing game data?

Both can analyze an uploaded table. OpenAI says ChatGPT writes and runs Python in a notebook, with spreadsheet uploads of about 50 MB, and Anthropic documents prompts that cut made-up answers in Claude. Our practice: give both the same prompt and file once, and keep the tool whose code and row counts you can check fastest.

## Sources

- [OpenAI Help Center: Data analysis with ChatGPT (OpenAI, read 26 November 2026)](https://help.openai.com/en/articles/8437071-data-analysis-with-chatgpt)
- [OpenAI Help Center: Uploading files and audio to ChatGPT (OpenAI, read 26 November 2026)](https://help.openai.com/en/articles/8555545-uploading-files-and-audio-to-chatgpt)
- [OpenAI Academy: Analyzing data with ChatGPT (OpenAI, 10 April 2026, read 26 November 2026)](https://openai.com/academy/data-analysis/)
- [Claude documentation: Reduce hallucinations (Anthropic, read 26 November 2026)](https://docs.claude.com/en/docs/test-and-evaluate/strengthen-guardrails/reduce-hallucinations)
- [European Commission: Data protection explained (read 26 November 2026)](https://commission.europa.eu/law/law-topic/data-protection/data-protection-explained_en)
- [GDC: State of the Game Industry, November 2026 (GDC Festival of Gaming, read 26 November 2026)](https://gdconf.com/state-of-the-game-industry-november-2026/)
- [manalens/game-marketing-skills: README (Manalens, MIT license, read 26 November 2026)](https://github.com/manalens/game-marketing-skills)
- [manalens/game-marketing-skills: player-funnel skill (Manalens, read 26 November 2026)](https://github.com/manalens/game-marketing-skills/blob/main/skills/measure/player-funnel/SKILL.md)

## Related guides

- [Player analytics guides](https://manalens.dev/blog/topic/player-analytics)
- [AI guides for game developers](https://manalens.dev/blog/topic/ai-for-game-developers)
- [Game analytics with AI agents and MCP](https://manalens.dev/blog/game-analytics-ai-agents-mcp)
- [26 game KPIs with formulas, benchmarks and next steps](https://manalens.dev/blog/game-kpis)
- [How to predict player churn with AI](https://manalens.dev/blog/ai-player-churn-prediction)
- [How to use AI to balance your game](https://manalens.dev/blog/ai-game-balancing)
- [Game analytics with AI and an MCP server](https://manalens.dev/solutions/ai-agents)
- [What events to track first in your game](https://manalens.dev/blog/game-tracking-plan-first-events)
- [First session funnel and FTUE analysis](https://manalens.dev/blog/first-session-funnel-ftue)
- [Game metrics every indie developer should track](https://manalens.dev/blog/game-metrics-indie-developers)
- [10 game analytics metrics that separate successful games from the rest](https://manalens.dev/blog/game-analytics-metrics-that-matter)
