Agent skill

Persona Performance Tuning

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Improve Persona integration latency and throughput with event-driven processing, bounded reconciliation, and evidence-based measurement.

MITAuto-check passedBackend & APIs

Install Persona Performance Tuning

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill persona-performance-tuning -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace persona-performance-tuning --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/persona-performance-tuning .claude/skills/persona-performance-tuning && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
persona-performance-tuning
GitHub stars
2.8k
Token cost
~1.2k tokens
SKILL.md length
472 words
Files
2 (incl. references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Improve Persona integration latency and throughput with event-driven processing, bounded reconciliation, and evidence-based measurement.

  • Works in 6 steps: Build the latency model → Remove polling from the hot path → Partition safely → …
  • Reducing polling
  • SKILL.md covers Overview, Prerequisites, Instructions and Authentication, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Persona Performance Tuning is an agent skill from jeremylongshore/tons-of-skills-marketplace. Improve Persona integration latency and throughput with event-driven processing, bounded reconciliation, and evidence-based measurement. Use when reducing polling or queue lag. Trigger with: "speed up Persona", "reduce inquiry polling", "tune Persona webhooks".

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/official-docs.md`). Compatibility notes: Requires an authorized Persona environment, current first-party documentation, a reviewed dated API version, and privacy-safe operational evidence.

It sits in Backend & APIs, covering Accounting and bookkeeping, Webhooks and Event-driven systems. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Reducing polling
  • With: speed up Persona
  • Reduce inquiry polling
  • Tune Persona webhooks

Example prompts

  • “speed up Persona”
  • “reduce inquiry polling”
  • “tune Persona webhooks”
  • “/persona-performance-tuning”

Requirements

  • Compatibility (from SKILL.md): Requires an authorized Persona environment, current first-party documentation, a reviewed dated API version, and privacy-safe operational evidence.
  • Pre-approved tools (allowed-tools): Read, Grep, Write, Edit

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Build the latency model
  2. Remove polling from the hot path
  3. Partition safely
  4. Avoid session churn
  5. Cache only stable metadata
  6. Tune from evidence

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Grep
    • Write
    • Edit

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.withpersona.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires an authorized Persona environment, current first-party documentation, a reviewed dated API version, and privacy-safe operational evidence.

    From compatibility in the SKILL.md frontmatter.

Context cost

Persona Performance Tuning loads about 1.2k tokens when it runs, and up to ~2.1k if it reads all its reference files. Until then it costs about 72 tokens; SKILL.md has 472 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~72
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 472 words, ~1,209 tokens.

Download SKILL.mdSave it as .claude/skills/persona-performance-tuning/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
persona-performance-tuning
description
Improve Persona integration latency and throughput with event-driven processing, bounded reconciliation, and evidence-based measurement. Use when reducing polling or queue lag. Trigger with: "speed up Persona", "reduce inquiry polling", "tune Persona webhooks".
allowed-tools
Read, Grep, Write, Edit
compatibility
Requires an authorized Persona environment, current first-party documentation, a reviewed dated API version, and privacy-safe operational evidence.
version
2.0.0
argument-hint
[latency-slo-and-volume]
model
inherit
effort
high
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, persona, performance, webhooks, reconciliation

Event-Driven Persona Inquiry Reconciliation

Overview

Optimize the application around authentic webhook events and bounded GET reconciliation rather than parallel polling or speculative session creation. Measure customer latency, queue lag, rate headroom, and decision freshness separately.

Prerequisites

  • Latency SLO and volume by workflow
  • Current traces for API calls, webhook receipt, queueing, and decisions
  • Rate and quota header telemetry plus failure budget

Instructions

Step 1: Build the latency model

Measure inquiry create, client start, verification progress, provider event creation, delivery, queue delay, reconciliation, and domain decision.

Step 2: Remove polling from the hot path

Use verified webhooks as the primary notification. Keep bounded polling only for recovery and customer-visible refresh with jitter and stop conditions.

Step 3: Partition safely

Process unrelated accounts or inquiries concurrently while serializing consequential transitions per subject or inquiry.

Step 4: Avoid session churn

Create or resume an inquiry session only when a client needs it; track issuance and prevent retries from consuming the default session allowance.

Step 5: Cache only stable metadata

Cache template and non-sensitive configuration with versioned invalidation. Do not cache bearer credentials, session tokens, or stale identity decisions.

Step 6: Tune from evidence

Adjust worker count, batch size, timeout, and reconciliation interval while protecting RateLimit-*, Quota-*, error, and stale-decision thresholds.

Authentication

Performance work must preserve bearer-key isolation, raw webhook HMAC verification, and session-token confidentiality. Bypassing authentication or reconciliation is not an optimization.

Tool Discipline

Use Read and Grep to inspect application configuration, provider documentation, fixtures, schemas, tests, and redacted operational evidence before proposing a change. Use Write or Edit only for an approved implementation, configuration, test, runbook, or redacted receipt. Do not create, resume, approve, decline, redact, rotate, revoke, deploy, or otherwise mutate production Persona resources without explicit operator approval.

Show full SKILL.md (186 more words)Show less

Output

  • End-to-end latency and queue model
  • Polling-removal and concurrency plan
  • Before/after SLO, limit headroom, correctness, and rollback receipt

Return the environment, resource and event identifiers, API version, template context, source-contract fingerprint, evidence, unresolved risk, rollback state, and final decision without exposing bearer keys, webhook secrets, inquiry session tokens, raw identity documents, or unnecessary PII.

Examples

The service replaces five-second polling with verified events and a 90-second reconciliation timer. Median decision latency falls while request volume drops, and per-inquiry serialization prevents stale event transitions.

Error Handling

FailureResponse
Queue lag improves but decisions regressRoll back worker tuning and inspect per-subject ordering and reconciliation.
Rate headroom falls below 15 percentThrottle background reads and preserve critical intake and reconciliation.
Session count grows unexpectedlyStop eager resume calls and trace client retry behavior.

Validation

Verify the result against the linked first-party evidence, the pinned API version, redacted contract fixtures, an expected failure path, and the documented rollback or manual-disposition path. A successful request is not proof of a successful identity decision.

Resources

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/.curated/persona-performance-tuning of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • references/official-docs.md

Open the folder on GitHubat commit cfae287

Compare with similar skills

Persona Performance Tuning next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Persona Performance Tuning compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Persona Performance Tuning this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.2kAutomated safety check: PassMIT
Sync State Invariantsopenchamber/openchamber11k—~2.7kAutomated safety check: PassMIT
Pp Squaremvanhorn/printing-press-library2.1k—~15kAutomated safety check: NotesApache-2.0
Backtraderagiprolabs/claude-trading-skills410—~2.4kAutomated safety check: PassMIT
Event ModelObneyAI/grain124—~536Automated safety check: PassMIT
Adobe App Builder Action Scaffolderadobe/skills197—~3.1kAutomated safety check: PassApache-2.0

Similar skills

  • Sync State Invariants

    openchamber/openchamber

    A skill your agent uses when changing session synchronization, bootstrap or reconnect state, event reducers, polling, optimistic updates, message queues, live activity, ordering/reconciliation…

    11k GitHub stars~2.7k tokensUpdated today
    Business, Finance & HRAuto-check passed
  • Pp Square

    mvanhorn/printing-press-library

    The current Square v2 API surface, plus local reconciliation and retained history.

    2.1k GitHub stars~15k tokensUpdated yesterday
    Business, Finance & HRAuto-check: notes
  • Backtrader

    agiprolabs/claude-trading-skills

    Event-driven backtesting with bar-by-bar execution, complex order types, multiple analyzers, and custom indicators

    410 GitHub stars~2.4k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Event Model

    ObneyAI/grain

    Read, write, and validate Grain's service-area-first Event Model topology.

    124 GitHub stars~536 tokensUpdated 2 days ago
    Business, Finance & HRAuto-check passed
  • Scaffolds, implements, deploys and debugs Adobe Runtime actions in App Builder projects, with templates for webhooks, events, database CRUD, sequences and Asset Compute workers.

    197 GitHub stars~3.1k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Sanity Best Practices

    sanity-io/agent-toolkit

    Official

    Sanity development best practices for schema design, GROQ queries, TypeGen, Visual Editing, images, Portable Text, Studio structure, localization, migrations, Sanity Functions, webhooks, Blueprints…

    188 GitHub stars~1.4k tokensUpdated yesterday
    Backend & APIsAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Questions about Persona Performance Tuning

What does Persona Performance Tuning do?

Improve Persona integration latency and throughput with event-driven processing, bounded reconciliation, and evidence-based measurement. Persona Performance Tuning is an agent skill from jeremylongshore/tons-of-skills-marketplace. Improve Persona integration latency and throughput with event-driven processing, bounded reconciliation, and evidence-based measurement.

When should I use Persona Performance Tuning?

Persona Performance Tuning fits situations like: reducing polling; with: speed up Persona; reduce inquiry polling; tune Persona webhooks.

How do I install Persona Performance Tuning in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill persona-performance-tuning -a claude-code`. Or copy the skill folder (skills/.curated/persona-performance-tuning in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/persona-performance-tuning in your project. Claude Code loads it when a task matches its description.

How do I install Persona Performance Tuning in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill persona-performance-tuning -a codex`. Or copy the skill folder (skills/.curated/persona-performance-tuning in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/persona-performance-tuning in your project. Codex loads it when a task matches its description.

Can I use Persona Performance Tuning in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill persona-performance-tuning -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/persona-performance-tuning, .gemini/skills/persona-performance-tuning, .github/skills/persona-performance-tuning and .opencode/skills/persona-performance-tuning in your project.

What does Persona Performance Tuning need to run?

SKILL.md names no scripts, command-line tools or credentials: Persona Performance Tuning is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Grep, Write, Edit. Compatibility (from SKILL.md): Requires an authorized Persona environment, current first-party documentation, a reviewed dated API version, and privacy-safe operational evidence..

Does Persona Performance Tuning access the network?

SKILL.md names 1 domain. As links in the text: docs.withpersona.com. This is read from the text; nothing was executed.

Is Persona Performance Tuning safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Persona Performance Tuning use?

Persona Performance Tuning is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Persona Performance Tuning use?

About 1.2k tokens (SKILL.md is roughly 4.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 900 tokens, read only when the agent opens those files.

What are the alternatives to Persona Performance Tuning?

Skills that share tags, products or a category with Persona Performance Tuning: Sync State Invariants (openchamber/openchamber, 11k stars), Pp Square (mvanhorn/printing-press-library, 2.1k stars), Backtrader (agiprolabs/claude-trading-skills, 410 stars) and Event Model (ObneyAI/grain, 124 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Persona Performance Tuning?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.