How-to · Writing · By James Anditis (Journalism)

How to use Data Journalism in your AI agent

Install and use the Data Journalism skill in Claude Code, Cursor, Codex, Gemini CLI, OpenCode, and Windsurf — with sample prompts.

What you'll get

Data journalism helps you find insights in public datasets and present them clearly. Perfect for reporters, researchers, and anyone building data-driven narratives. You get structured workflows for cleaning messy data, calculating statistics, creating charts and maps, and documenting your methodology so readers trust your findings.

Step 1 — Get the skill source URL

The Data Journalism skill lives at:

Step 2 — Add it to your AI agent

Copy one of these prompts and paste it into your AI tool. The agent will fetch and install the skill for you.

Claude Code

Add the agent skill from https://github.com/jamditis/claude-skills-journalism/tree/master/data-journalism to my project.

Cursor

Install this agent skill: https://github.com/jamditis/claude-skills-journalism/tree/master/data-journalism

Codex

Add this skill to .codex/skills/: https://github.com/jamditis/claude-skills-journalism/tree/master/data-journalism

Gemini CLI

Add the skill at https://github.com/jamditis/claude-skills-journalism/tree/master/data-journalism to my .gemini/skills/ directory.

OpenCode

Install this agent skill from https://github.com/jamditis/claude-skills-journalism/tree/master/data-journalism

Windsurf

Add this skill: https://github.com/jamditis/claude-skills-journalism/tree/master/data-journalism

Step 3 — Try these prompts

Once the skill is installed, ask your AI things like:

  • Building a story from public datasets and need to verify your findings
  • You have messy data with inconsistent formatting and missing values
  • Explain your methodology clearly to readers
  • Looking for reliable data sources for research or reporting

What this skill does

  • Cleans messy datasets by standardizing formats, handling missing values, and flagging duplicates
  • Guides you through the full data journalism process from hypothesis to publication
  • Provides templates for methodology documentation and story structure
  • Connects you to major public data sources like Census Bureau, BLS, FDA, and state portals
  • Handles common data problems like inconsistent dates, outliers, and similar names
Made byJames Anditis (Journalism)
CategoryWriting