Agent skill

Persona Reference Architecture

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

Design an account-linked KYC control plane around Persona with explicit trust, data, event, and decision boundaries.

MITAuto-check passedBackend & APIs

Install Persona Reference Architecture

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

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

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

At a glance

Design an account-linked KYC control plane around Persona with explicit trust, data, event, and decision boundaries.

  • Works in 6 steps: Draw trust boundaries → Define authoritative identifiers → Design commands and sessions → …
  • Conducting an architecture 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 Reference Architecture is an agent skill from jeremylongshore/tons-of-skills-marketplace. Design an account-linked KYC control plane around Persona with explicit trust, data, event, and decision boundaries. Use when conducting an architecture review. Trigger with: "architect Persona integration", "Persona KYC design", "design identity workflow".

Its SKILL.md is about 1.3k 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 Software architecture. 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 an architecture review
  • With: architect Persona integration
  • Persona KYC design
  • Design identity workflow

Example prompts

  • “architect Persona integration”
  • “Persona KYC design”
  • “design identity workflow”
  • “/persona-reference-architecture”

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. Draw trust boundaries
  2. Define authoritative identifiers
  3. Design commands and sessions
  4. Design event intake
  5. Separate evidence from decision
  6. Engineer recovery and privacy

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 Reference Architecture loads about 1.3k tokens when it runs, and up to ~2.2k if it reads all its reference files. Until then it costs about 72 tokens; SKILL.md has 502 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.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.2k

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). 502 words, ~1,268 tokens.

Download SKILL.mdSave it as .claude/skills/persona-reference-architecture/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
persona-reference-architecture
description
Design an account-linked KYC control plane around Persona with explicit trust, data, event, and decision boundaries. Use when conducting an architecture review. Trigger with: "architect Persona integration", "Persona KYC design", "design identity workflow".
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
[system-context-and-risk-tier]
model
inherit
effort
high
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, persona, architecture, kyc, control-plane

Account-Linked KYC Control Plane with Persona

Overview

Put Persona behind a server-side identity orchestration boundary. The application owns subject identity, operation idempotency, policy and decisions; Persona owns inquiry and verification resources; authenticated events plus reconciliation connect the two.

Prerequisites

  • System context, data classification, and threat model
  • Business and regulatory decision policy
  • Availability, latency, retention, residency, and recovery requirements

Instructions

Step 1: Draw trust boundaries

Separate client, application API, orchestration service, secret store, Persona REST API, embedded inquiry flow, webhook edge, durable queue, decision engine, and reviewer console.

Step 2: Define authoritative identifiers

Map internal subject to Persona account and inquiry IDs. Store operation IDs and event IDs under uniqueness constraints; do not make PII the join key.

Step 3: Design commands and sessions

Create inquiries with durable idempotency and supported account-auto-create metadata. Issue or resume sessions only through authenticated subject ownership.

Step 4: Design event intake

Terminate HTTPS, retain raw bytes, verify timestamped HMAC, persist before acknowledgement, deduplicate, order by provider creation time, and tolerate unknown event types.

Step 5: Separate evidence from decision

Normalize verification resources conservatively, then apply a versioned internal policy with explicit review and appeal paths.

Step 6: Engineer recovery and privacy

Use durable queues, GET reconciliation, bounded retries, environment and quota controls, data minimization, retention, irreversible-redaction governance, and tested rollback.

Authentication

The server-side REST boundary owns environment bearer keys; the webhook edge owns signing secrets; the client receives only its inquiry session token. No credential crosses those roles.

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

Output

  • Trust and data-flow architecture
  • Identifier, command, event, evidence, and decision contracts
  • Failure, security, privacy, capacity, rollback, and audit 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

A client asks to resume. The application authenticates the subject, the orchestrator resolves the existing account-linked inquiry, issues one session, and later accepts a signed event into a durable queue before the decision engine reconciles current resources.

Error Handling

FailureResponse
Client can call Persona REST with server keyRedesign the boundary; server bearer credentials must not reach the client.
Event delivery directly approves accessInsert durable receipt, reconciliation, and versioned policy evaluation.
No manual path during provider outageAdd a risk-approved degraded state and recovery queue before production.

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-reference-architecture of jeremylongshore/tons-of-skills-marketplace.

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

Open the folder on GitHubat commit cfae287

Compare with similar skills

Persona Reference Architecture 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 Reference Architecture compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Persona Reference Architecture this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.3kAutomated safety check: PassMIT
Nestjs Best Practicesrolling-scopes/rsschool-app10k6 repos~1.2kAutomated safety check: PassMIT
NestJS Modular Monolith Architecttech-leads-club/agent-skills7k—~3.9kAutomated safety check: PassCC-BY-4.0
Project Workflow Analysis Blueprint Generatorgithub/awesome-copilot40k1 repos~2.7kAutomated safety check: PassMIT
Architecture Reviewfossasia/eventyay-interpretation1.6k—~1.2kAutomated safety check: PassApache-2.0
Software Architecture DesignaAAaqwq/AGI-Super-Team105—~2.8kAutomated safety check: PassMIT

Similar skills

  • Nestjs Best Practices

    rolling-scopes/rsschool-app

    NestJS best practices and architecture patterns for building production-ready applications.

    10k GitHub starsUsed in 6 repos~1.2k tokens
    Backend & APIsAuto-check passed
  • NestJS Modular Monolith Architect

    tech-leads-club/agent-skills

    Designs scalable NestJS modular monoliths with domain-driven design, Clean Architecture layers and optional CQRS, defining bounded contexts and strict module boundaries.

    7k GitHub stars~3.9k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Official

    Comprehensive technology-agnostic prompt generator for documenting end-to-end application workflows.

    40k GitHub starsUsed in 1 repo~2.7k tokens
    Backend & APIsAuto-check passed
  • Architecture Review

    fossasia/eventyay-interpretation

    A skill your agent uses to evaluate proposed architecture changes against VoxBento's design principles.

    1.6k GitHub stars~1.2k tokensUpdated 5 days ago
    Backend & APIsAuto-check passed
  • Software Architecture Design

    aAAaqwq/AGI-Super-Team

    Designs system structure across monolith/microservices/serverless.

    105 GitHub stars~2.8k tokensUpdated 2 days ago
    Backend & APIsAuto-check passed
  • Backend Code Review

    langgenius/dify

    Reviews backend code under api/ for concrete, reproducible defects, routes to rule packs for architecture, schema, repositories and SQLAlchemy, and ranks findings from P0 to P3.

    158k GitHub stars~676 tokensUpdated today
    DevelopmentAuto-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 Reference Architecture

What does Persona Reference Architecture do?

Design an account-linked KYC control plane around Persona with explicit trust, data, event, and decision boundaries. Persona Reference Architecture is an agent skill from jeremylongshore/tons-of-skills-marketplace. Design an account-linked KYC control plane around Persona with explicit trust, data, event, and decision boundaries.

When should I use Persona Reference Architecture?

Persona Reference Architecture fits situations like: conducting an architecture review; with: architect Persona integration; persona KYC design; design identity workflow.

How do I install Persona Reference Architecture in Claude Code?

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

How do I install Persona Reference Architecture in Codex?

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

Can I use Persona Reference Architecture 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-reference-architecture -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-reference-architecture, .gemini/skills/persona-reference-architecture, .github/skills/persona-reference-architecture and .opencode/skills/persona-reference-architecture in your project.

What does Persona Reference Architecture need to run?

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

Persona Reference Architecture 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 Reference Architecture use?

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

What are the alternatives to Persona Reference Architecture?

Skills that share tags, products or a category with Persona Reference Architecture: Nestjs Best Practices (rolling-scopes/rsschool-app, 10k stars), NestJS Modular Monolith Architect (tech-leads-club/agent-skills, 7k stars), Project Workflow Analysis Blueprint Generator (github/awesome-copilot, 40k stars) and Architecture Review (fossasia/eventyay-interpretation, 1.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Persona Reference Architecture?

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.