persona-pipeline

Generate AI agent personas with backstories, demographics, and OCEAN traits for TraitorSim.

Updated Dec 21, 2025
One-click install
npx skills add https://github.com/rickoslyder/TraitorSim --skill persona-pipeline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: persona-pipeline
Source: https://github.com/rickoslyder/TraitorSim/tree/main/.claude/skills/persona-pipeline
Command: npx skills add https://github.com/rickoslyder/TraitorSim --skill persona-pipeline

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-genai, claude-agent-sdk, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Generating complete, grounded personas is a multi-stage process that couples demographic grounding with narrative synthesis. This Skill orchestrates skeleton gen, Deep Research, polling, backstory synthesis, and validation to produce production-ready personas.

Core Features & Use Cases

  • 5-stage pipeline: Skeleton -> Deep Research -> Polling -> Backstory -> Validation.
  • Batch generation: Produce 15-100 personas per run with quota-conscious strategies.
  • World Bible compliance: Ensure in-universe brands and lore constraints.

Quick Start

./scripts/generate_persona_library.sh --count 15

Frequently Asked Questions about persona-pipeline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate AI agent personas with backstories and demographic traits?

Persona generation orchestrates a five-stage pipeline: skeleton creation, deep research submission, polling, backstory synthesis, and validation. This Skill automates the entire process to produce complete personas with authentic demographics, OCEAN traits, and in-universe compliance for batch libraries of 15-100 agents.

Can I generate personas in batch and manage API quota constraints?

Yes. The Skill produces 15-100 personas per run with quota-conscious strategies built into the pipeline. Use the generate_persona_library.sh script with the --count parameter to control batch size while respecting Gemini and Claude API limits.

Does this persona pipeline enforce brand and lore constraints?

Yes. The validation stage includes brand leakage detection to ensure generated personas comply with your World Bible—in-universe brands, factions, and narrative constraints—before output.

What dependencies do I need to run the persona generation pipeline?

You need google-genai for Gemini Deep Research integration and claude-agent-sdk for Claude Opus orchestration. Both are required to execute the five-stage pipeline and produce standardized JSON persona outputs.

How do I apply persona generation to incremental updates after initial batch creation?

The pipeline supports both batch library creation and incremental updates. After generating an initial persona set, you can add new personas while maintaining consistent formatting, trait distributions, and World Bible compliance across runs.