Skip to main content
RAPTORโ€™s expert personas provide specialized methodologies for security analysis. You can create custom personas to capture domain-specific expertise and reuse successful approaches.

Understanding Personas

Personas are expert methodologies extracted from RAPTORโ€™s Python code and made accessible for explicit invocation. They load on-demand (0 tokens until requested) and provide specialized analysis frameworks.

Available Personas

RAPTOR includes nine built-in expert personas:

How Personas Work

1

Explicit Invocation

User requests persona: "Use exploit developer persona to create PoC"
2

Load Methodology

Claude loads persona file from tiers/personas/[name].md
3

Apply Framework

Persona methodology is applied to the analysis
4

Return Results

Structured verdict, code, or recommendations returned

Persona Structure

A persona file follows this standard format:
โ€œUse [persona name] to [action]โ€œ

Creating a Custom Persona

Follow these steps to create a new persona:

Step 1: Define Expertise Domain

Identify the specialized domain:
  • API security analysis
  • Cloud configuration auditing
  • Cryptographic implementation review
  • Container security assessment
  • Authentication mechanism analysis
  • Database security configuration
  • โ€œGeneral securityโ€ (use Security Researcher instead)
  • โ€œCode reviewโ€ (too generic)
  • โ€œTestingโ€ (not specific enough)

Step 2: Develop Methodology

Create a systematic approach with clear steps:

Step 3: Create Persona File

Create a new file in tiers/personas/:

Step 4: Write Persona Content

Use this template:

Usage

Invoke explicitly:
What happens:
  1. Load this persona (XXX tokens)
  2. Apply [methodology name]
  3. Return structured analysis
Token cost: 0 until invoked, ~XXX when loaded

Usage

Invoke explicitly:
What happens:
  1. Load this persona (450 tokens)
  2. Apply 4-step framework (auth, authz, rate limit, validation)
  3. Return structured analysis with severity
Token cost: 0 until invoked, ~450 when loaded
โ€œUse API security analyst persona to review /api/users endpointโ€
Avoid vague criteria like โ€œif it looks insecureโ€ or โ€œif there might be issues.โ€

Include Real Examples

Secure Code

User: Use crash analyst persona with ROP chain skill Claude: [Loads crash_analyst.md - methodology] [Loads rop_chain_skill.md - technique] [Combines both for comprehensive analysis]

Update Regularly

  • New attack techniques: Add to methodology
  • False positives: Refine decision criteria
  • User feedback: Incorporate lessons learned
  • Tool evolution: Update references

Sharing Personas

Share personas with your team:
  1. Commit to repository: tiers/personas/team/
  2. Document in README: Update persona list
  3. Provide examples: Include usage examples
  4. Train team: Show how to invoke

Summary

Creating custom personas:
  1. Identify specialized domain
  2. Develop systematic methodology
  3. Create persona file in tiers/personas/
  4. Test with real analysis
  5. Refine based on results
  6. Share with team
Personas capture expertise and make it reusable across your security practice.

Next Steps

Claude Code Usage

Learn how to invoke personas interactively

Extending RAPTOR

Add custom scanners and agents

Python CLI

Use RAPTOR from command line

Existing Personas

Reference for built-in personas