javiersanzg

Jtbd Persona Agent — Development skill for Claude Code

Development community

Autonomous agent that turns field research into user personas and checks its own work until it passes.

How to install Jtbd Persona Agent

This entry records only its repository, not the path inside it, so there is no exact command to give. Open javiersanzg/jtbd-persona-agent and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Jtbd Persona Agent does

Autonomous agent that turns field research into user personas and checks its own work until it passes. Claude Code + Python.

Alternatives in Development

  • User Personas — Create 3 user personas with JTBD, pains, and gains 7.8k ★
  • Ralphy — My Ralph Wiggum setup, an autonomous bash script that runs Claude Code, Codex, OpenCode, Cursor agent, Qwen & 2.8k ★
  • Zeroshot — Runs coding agents as a graph: one agent implements, independent agents review, failures go to repair, and not 1.9k ★

README

JTBD Persona Agent

**An autonomous agent that turns qualitative field research into user personas, and checks its own work until it passes.**

[![Tests](https://github.com/javiersanzg/jtbd-persona-agent/actions/workflows/tests.yml/badge.svg)](https://github.com/javiersanzg/jtbd-persona-agent/actions/workflows/tests.yml) ![Python](https://img.shields.io/badge/python-3.10%2B-1B1B1F) ![Agent](https://img.shields.io/badge/agent-Claude%20Code%20headless-0B5D5A) ![License](https://img.shields.io/badge/license-MIT-1B1B1F)

**[Live demo of the last run](https://javiersanzg.github.io/jtbd-persona-agent/)**: the step-by-step trace, the three personas and the agent's conclusions, in one page. No install needed.


Why

Writing a persona by hand takes weeks of synthesis. Asking a chatbot takes a minute, but you get a stereotype: invented facts, generic pains, and a list of app ideas nobody asked for.

This agent sits in between. It works only from your research, it has to show where every line comes from, and a deterministic checker decides when a persona is good enough. The model does the synthesis; the code keeps it honest.

What it does

Given a folder of interview and observation notes, the agent:

  1. Extracts the patterns (P1 to P5), each with a verbatim quote, a Job to Be Done and an insight.
  2. Writes one persona per point of the research line: the extreme user at the hard end, the extreme user at the easy end, and a regular user.
  3. Runs the checker on each persona, reads the verdict and fixes exactly what failed, up to three times.
  4. Writes a report comparing the personas: shared jobs, what changes along the line, and which persona to design for first.
  5. Logs every step (think, act, observe, reflect) as it goes, and the runner rebuilds the demo page.

How it works

flowchart LR
    R[research/
field notes] --> A G[AGENT.md
goal + rules] --> A subgraph A[Agent loop: Claude Code, headless] T[Think] -