From persona-pack
Optimizes Persona API performance for identity verification with batching, caching, and parallel polling using Python requests.
How this skill is triggered — by the user, by Claude, or both
Slash command
/persona-pack:persona-performance-tuningThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Batch inquiry creation, cache verification results, parallel polling.
Batch inquiry creation, cache verification results, parallel polling.
persona-install-auth setupimport 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']}")
| 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 |
See related Persona skills for more workflows.
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin persona-packOptimizes Persona identity verification costs via template selection, caching, and duplicate avoidance. Use for KYC API integrations.
Dispatches parallel multi-persona content reviews against a target file using configurable verdict modes (voting, hard-gate, coordinator-summary). Supports domain experts, buyer personas, compliance reviewers via per-repo persona catalogs.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.