Claude-code-plugins-plus persona-performance-tuning
install
source · Clone the upstream repo
git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/jeremylongshore/claude-code-plugins-plus-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/plugins/saas-packs/persona-pack/skills/persona-performance-tuning" ~/.claude/skills/jeremylongshore-claude-code-plugins-plus-persona-performance-tuning && rm -rf "$T"
manifest:
plugins/saas-packs/persona-pack/skills/persona-performance-tuning/SKILL.mdsource content
persona performance tuning | sed 's/\b(.)/\u\1/g'
Overview
Batch inquiry creation, cache verification results, parallel polling.
Prerequisites
- Completed
setuppersona-install-auth - Valid Persona API key (sandbox or production)
Instructions
Step 1: Implementation
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
Next Steps
See related Persona skills for more workflows.