Agent skill

Persona Security Basics

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

Harden Persona API keys, identity data, inquiry sessions, webhook verification, and destructive redaction.

MITAuto-check passedBackend & APIs

Install Persona Security Basics

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

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

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace persona-security-basics --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-security-basics .claude/skills/persona-security-basics && 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-security-basics
GitHub stars
2.8k
Token cost
~1.2k tokens
SKILL.md length
500 words
Files
2 (incl. references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Harden Persona API keys, identity data, inquiry sessions, webhook verification, and destructive redaction.

  • Works in 6 steps: Classify secrets and data → Enforce environment isolation → Minimize privilege and exposure → …
  • Conducting a security review
  • 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 Security Basics is an agent skill from jeremylongshore/tons-of-skills-marketplace. Harden Persona API keys, identity data, inquiry sessions, webhook verification, and destructive redaction. Use when conducting a security review. Trigger with: "secure Persona integration", "Persona PII controls", "audit Persona webhook security".

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 Webhooks and Security review. 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

  • Conducting a security review
  • With: secure Persona integration
  • Persona PII controls
  • Audit Persona webhook security

Example prompts

  • “secure Persona integration”
  • “Persona PII controls”
  • “audit Persona webhook security”
  • “/persona-security-basics”

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. Classify secrets and data
  2. Enforce environment isolation
  3. Minimize privilege and exposure
  4. Authenticate raw events
  5. Make processing replay-safe
  6. Govern redaction

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 Security Basics 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 68 tokens; SKILL.md has 500 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~68
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). 500 words, ~1,248 tokens.

Download SKILL.mdSave it as .claude/skills/persona-security-basics/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
persona-security-basics
description
Harden Persona API keys, identity data, inquiry sessions, webhook verification, and destructive redaction. Use when conducting a security review. Trigger with: "secure Persona integration", "Persona PII controls", "audit Persona webhook security".
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
[service-and-environment]
model
inherit
effort
high
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, persona, security, pii, webhooks

Persona PII, Key, Session, and Webhook Controls

Overview

Treat the integration as a high-sensitivity identity boundary. Separate server API keys, short-lived inquiry session tokens, and webhook secrets; minimize collected PII; authenticate every event; and make destructive redaction an explicit governed operation.

Prerequisites

  • Data-flow and threat model for the Persona integration
  • Owners for credentials, privacy, incidents, retention, and redaction
  • Approved environment, template, webhook, and access-control inventory

Instructions

Step 1: Classify secrets and data

Inventory bearer keys, webhook secrets, session tokens, identity attributes, documents, images, logs, and derived decisions with owners and retention.

Step 2: Enforce environment isolation

Use distinct secret scopes, endpoints, templates, and access policies for sandbox and production. Deny production data in developer fixtures.

Step 3: Minimize privilege and exposure

Restrict keys and operator roles, keep Persona calls server-side, redact headers and bodies, and prevent session tokens from analytics or URLs.

Step 4: Authenticate raw events

Parse Persona-Signature, compute SHA-256 HMAC over timestamp + '.' + rawBody, compare all v1 candidates in constant time, and enforce a reviewed timestamp tolerance.

Step 5: Make processing replay-safe

Deduplicate event IDs and order business transitions by provider created-at, because deliveries may repeat or arrive out of order.

Step 6: Govern redaction

Require subject, resource, authorization, impact preview, child-resource expectations, and evidence before invoking redaction. It cannot be undone and child redaction is asynchronous.

Authentication

REST uses an environment bearer API key; event intake uses the endpoint webhook secret; browser flows receive only the intended inquiry session token. These credentials are not interchangeable.

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 (195 more words)Show less

Output

  • Credential and sensitive-data inventory
  • Webhook authenticity and replay-control design
  • Retention, redaction, rotation, incident, and rollback controls

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

During secret rotation the endpoint accepts both current signing candidates, verifies every candidate against the raw body in constant time, records only the matching-secret generation, and removes the retired secret after the overlap window.

Error Handling

FailureResponse
Signature valid only after JSON serializationReject it: verification must use the exact raw bytes received.
Secret or token in telemetryRevoke or rotate as appropriate, contain access, and follow the incident plan.
Redaction target ambiguousStop; resolve the exact inquiry and child-resource impact before any destructive call.

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-security-basics of jeremylongshore/tons-of-skills-marketplace.

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

Open the folder on GitHubat commit cfae287

Compare with similar skills

Persona Security Basics 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 Security Basics compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Persona Security Basics this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.2kAutomated safety check: PassMIT
Sec Checkwaynesutton/markdown-site627—~753Automated safety check: PassMIT
Security Reviewtrycompai/comp2k—~853Automated safety check: PassAGPL-3.0
Security Reviewdoorkeeper-gem/doorkeeper5.5k—~1.4kAutomated safety check: PassMIT
Security Reviewgetsentry/warden418—~1.8kAutomated safety check: PassCustom licence
Security ConvexIgorWarzocha/Opencode-Workflows122—~3.1kAutomated safety check: PassNone

Similar skills

  • Sec Check

    waynesutton/markdown-site

    Security review checklist for Convex functions, auth logic, public queries, admin routes, webhooks, uploads, and AI-generated code.

    627 GitHub stars~753 tokensUpdated 4 mo ago
    Backend & APIsAuto-check passed
  • Security Review

    trycompai/comp

    Check code for the most common, high-risk security vulnerabilities (broken access control, tenant isolation, injection, secrets, SSRF, auth/session, unsafe file handling, mass assignment) before it…

    2k GitHub stars~853 tokensUpdated yesterday
    SecurityAuto-check passed
  • Security Review

    doorkeeper-gem/doorkeeper

    Verify that code changes do not introduce OAuth security vulnerabilities.

    5.5k GitHub stars~1.4k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Security Review

    getsentry/warden

    Official

    Finds exploitable application security vulnerabilities in code changes.

    418 GitHub stars~1.8k tokensUpdated today
    SecurityAuto-check passed
  • Security Convex

    IgorWarzocha/Opencode-Workflows

    Review Convex security audit patterns for authentication and authorization.

    122 GitHub stars~3.1k tokensUpdated 8 mo ago
    SecurityAuto-check passed
  • Security Review

    ChatbotXIO/ChatbotX

    Use before committing changes to auth, workspace scoping, channel webhooks, AI tools/MCP, permission settings, or anything handling untrusted channel content in ChatbotX.

    885 GitHub stars~1.8k tokensUpdated 2 days ago
    SecurityAuto-check: notes

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 Security Basics

What does Persona Security Basics do?

Harden Persona API keys, identity data, inquiry sessions, webhook verification, and destructive redaction. Persona Security Basics is an agent skill from jeremylongshore/tons-of-skills-marketplace. Harden Persona API keys, identity data, inquiry sessions, webhook verification, and destructive redaction.

When should I use Persona Security Basics?

Persona Security Basics fits situations like: conducting a security review; with: secure Persona integration; persona PII controls; audit Persona webhook security.

How do I install Persona Security Basics in Claude Code?

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

How do I install Persona Security Basics in Codex?

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

Can I use Persona Security Basics 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-security-basics -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-security-basics, .gemini/skills/persona-security-basics, .github/skills/persona-security-basics and .opencode/skills/persona-security-basics in your project.

What does Persona Security Basics need to run?

SKILL.md names no scripts, command-line tools or credentials: Persona Security Basics 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 Security Basics 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 Security Basics 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 Security Basics use?

Persona Security Basics 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 Security Basics use?

About 1.2k tokens (SKILL.md is roughly 5k 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 899 tokens, read only when the agent opens those files.

What are the alternatives to Persona Security Basics?

Skills that share tags, products or a category with Persona Security Basics: Sec Check (waynesutton/markdown-site, 627 stars), Security Review (trycompai/comp, 2k stars), Security Review (doorkeeper-gem/doorkeeper, 5.5k stars) and Security Review (getsentry/warden, 418 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Persona Security Basics?

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.