Skip to content
Back to skills

Persona Performance Tuning

ASecurity

'Optimize Persona API performance with batching and caching.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
documentationpythonapiperformancedocumentation

Works with

  • claude code
  • api

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add pauldx/claudifying --skill persona-performance-tuning --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Persona Performance Tuning?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Persona Performance Tuning
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pauldx-persona-performance-tuning/badge)](https://www.skillsdirectory.com/skills/pauldx-persona-performance-tuning)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: persona-performance-tuning
description: 'Optimize Persona API performance with batching and caching.

  Use when working with Persona identity verification.

  Trigger with phrases like "persona performance-tuning", "persona performance-tuning".

  '
allowed-tools: Read, Write, Edit
version: 2.0.0
license: MIT
tags:
- saas
- persona
- identity
- kyc
- verification
compatibility: Designed for Claude Code, also compatible with Codex and OpenClaw
---
# persona performance tuning | sed 's/\b\(.\)/\u\1/g'

## Overview
Batch inquiry creation, cache verification results, parallel polling.

## Prerequisites
- Completed `persona-install-auth` setup
- Valid Persona API key (sandbox or production)

## Instructions

### Step 1: Implementation
```python
import os, requests

HEADERS = {
    "Authorization": f"Bearer {os.environ['PERSONA_API_KEY']}",
    "Persona-Version": "2023-01-05",
}
BASE = "https://withpersona.com/api/v1"

# Optimize Persona API performance with batching and caching
resp = requests.get(f"{BASE}/inquiries?page[size]=10", headers=HEADERS)
resp.raise_for_status()
inquiries = resp.json()["data"]
for inq in inquiries:
    print(f"  {inq['id']}: {inq['attributes']['status']}")
```

## Output
- Batch inquiry creation, cache verification results, parallel polling.

## Error Handling
| Error | Cause | Solution |
|-------|-------|----------|
| 401 Unauthorized | Invalid API key | Check PERSONA_API_KEY |
| 429 Rate Limited | Too many requests | Implement backoff |
| 404 Not Found | Wrong resource ID | Verify ID format |

## Resources
- [Persona API Reference](https://docs.withpersona.com/reference/introduction)
- [Persona Documentation](https://docs.withpersona.com)

## Next Steps
See related Persona skills for more workflows.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in documentation →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.