From persona-pack
Optimize Persona verification costs with template selection and caching. Use when working with Persona identity verification. Trigger with phrases like "persona cost-tuning", "persona cost-tuning".
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 flight505/skill-forge --plugin persona-packCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.