From persona-pack
Optimizes Persona identity verification costs via template selection, caching, and duplicate avoidance. Use for KYC API integrations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/persona-pack:persona-cost-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
Choose appropriate verification types, cache results, avoid duplicate inquiries.
Choose appropriate verification types, cache results, avoid duplicate inquiries.
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 verification costs with template selection 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 API performance for identity verification with batching, caching, and parallel polling using Python requests.
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.
Optimizes Clerk auth costs by reducing MAUs via deferred sign-ins/anonymous access and caching API calls in Next.js apps.