persona-core-workflow-b
Work with Persona verification types: government ID, selfie, database checks. Use when implementing specific verification checks, reviewing verification results, or building custom verification workflows. Trigger with phrases like "persona verification", "government ID check", "selfie verification", "persona database check", "verification results".
Best use case
persona-core-workflow-b is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Work with Persona verification types: government ID, selfie, database checks. Use when implementing specific verification checks, reviewing verification results, or building custom verification workflows. Trigger with phrases like "persona verification", "government ID check", "selfie verification", "persona database check", "verification results".
Teams using persona-core-workflow-b should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/persona-core-workflow-b/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How persona-core-workflow-b Compares
| Feature / Agent | persona-core-workflow-b | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Work with Persona verification types: government ID, selfie, database checks. Use when implementing specific verification checks, reviewing verification results, or building custom verification workflows. Trigger with phrases like "persona verification", "government ID check", "selfie verification", "persona database check", "verification results".
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
ChatGPT vs Claude for Agent Skills
Compare ChatGPT and Claude for AI agent skills across coding, writing, research, and reusable workflow execution.
Cursor vs Codex for AI Workflows
Compare Cursor and Codex for AI coding workflows, repository assistance, debugging, refactoring, and reusable developer skills.
SKILL.md Source
# Persona Core Workflow B — Verification Checks
## Overview
Work with Persona's verification types: government ID (passport, driver's license), selfie liveness detection, and database checks (SSN, watchlist). Covers retrieving verification details, interpreting check results, and handling edge cases.
## Prerequisites
- Completed `persona-core-workflow-a` (inquiry flow)
- Inquiry Template with verification checks configured
## Instructions
### Step 1: List Verifications for an Inquiry
```python
import os, requests
HEADERS = {
"Authorization": f"Bearer {os.environ['PERSONA_API_KEY']}",
"Persona-Version": "2023-01-05",
}
BASE = "https://withpersona.com/api/v1"
# Get all verifications for an inquiry
resp = requests.get(f"{BASE}/inquiries/inq_XXXXX", headers=HEADERS)
resp.raise_for_status()
inquiry = resp.json()["data"]
verifications = inquiry["relationships"]["verifications"]["data"]
for v in verifications:
v_resp = requests.get(f"{BASE}/verifications/{v['id']}", headers=HEADERS)
v_data = v_resp.json()["data"]["attributes"]
print(f" Type: {v['type']}")
print(f" Status: {v_data['status']}") # passed, failed, requires_retry
print(f" Checks: {v_data.get('checks', [])}")
```
### Step 2: Government ID Verification Results
```python
# Government ID verification includes extracted data
def get_gov_id_details(verification_id: str) -> dict:
resp = requests.get(f"{BASE}/verifications/{verification_id}", headers=HEADERS)
resp.raise_for_status()
attrs = resp.json()["data"]["attributes"]
return {
"status": attrs["status"],
"first_name": attrs.get("name-first"),
"last_name": attrs.get("name-last"),
"dob": attrs.get("birthdate"),
"id_number": attrs.get("identification-number"),
"id_class": attrs.get("id-class"), # dl, pp, id
"country": attrs.get("country-code"),
"expiry": attrs.get("expiration-date"),
"checks": {
check["name"]: check["status"]
for check in attrs.get("checks", [])
},
}
# Example checks: id_barcode_detection, id_integrity, id_selfie_comparison
```
### Step 3: Selfie Liveness Check
```python
def get_selfie_result(verification_id: str) -> dict:
resp = requests.get(f"{BASE}/verifications/{verification_id}", headers=HEADERS)
attrs = resp.json()["data"]["attributes"]
return {
"status": attrs["status"],
"center_photo_url": attrs.get("center-photo-url"),
"checks": {
check["name"]: check["status"]
for check in attrs.get("checks", [])
},
# Key checks: selfie_pose_detection, selfie_liveness_detection
}
```
### Step 4: Database Verification (SSN, Watchlist)
```python
def get_database_check(verification_id: str) -> dict:
resp = requests.get(f"{BASE}/verifications/{verification_id}", headers=HEADERS)
attrs = resp.json()["data"]["attributes"]
return {
"status": attrs["status"],
"checks": {
check["name"]: {
"status": check["status"],
"reasons": check.get("reasons", []),
}
for check in attrs.get("checks", [])
},
# Key checks: database_ssn_check, database_watchlist_check
}
```
### Step 5: Decision Logic
```python
def make_verification_decision(inquiry_id: str) -> str:
resp = requests.get(f"{BASE}/inquiries/{inquiry_id}", headers=HEADERS)
verifications = resp.json()["data"]["relationships"]["verifications"]["data"]
all_passed = True
for v in verifications:
v_resp = requests.get(f"{BASE}/verifications/{v['id']}", headers=HEADERS)
status = v_resp.json()["data"]["attributes"]["status"]
if status != "passed":
all_passed = False
print(f" FAILED: {v['type']} — {status}")
return "approved" if all_passed else "manual_review"
```
## Output
- Verification results retrieved with extracted data
- Government ID fields (name, DOB, ID number) parsed
- Selfie liveness status checked
- Database checks (SSN, watchlist) interpreted
## Error Handling
| Verification Status | Meaning | Action |
|--------------------|---------|--------|
| `passed` | All checks passed | Approve user |
| `failed` | One or more checks failed | Decline or manual review |
| `requires_retry` | Poor image quality | Ask user to retry |
| `initiated` | Check still running | Poll again |
## Resources
- [Government ID Verifications](https://docs.withpersona.com/api-reference/verifications/government-id-verifications)
- [Verification Checks](https://docs.withpersona.com/api-reference/verifications)
## Next Steps
- Handle events via webhooks: `persona-webhooks-events`
- Debug verification issues: `persona-common-errors`Related Skills
calendar-to-workflow
Converts calendar events and schedules into Claude Code workflows, meeting prep documents, and standup notes. Use when the user mentions calendar events, meeting prep, standup generation, or scheduling workflows. Trigger with phrases like "prep for my meetings", "generate standup notes", "create workflow from calendar", or "summarize today's schedule".
workhuman-core-workflow-b
Workhuman core workflow b for employee recognition and rewards API. Use when integrating Workhuman Social Recognition, or building recognition workflows with HRIS systems. Trigger: "workhuman core workflow b".
workhuman-core-workflow-a
Workhuman core workflow a for employee recognition and rewards API. Use when integrating Workhuman Social Recognition, or building recognition workflows with HRIS systems. Trigger: "workhuman core workflow a".
wispr-core-workflow-b
Wispr Flow core workflow b for voice-to-text API integration. Use when integrating Wispr Flow dictation, WebSocket streaming, or building voice-powered applications. Trigger: "wispr core workflow b".
wispr-core-workflow-a
Wispr Flow core workflow a for voice-to-text API integration. Use when integrating Wispr Flow dictation, WebSocket streaming, or building voice-powered applications. Trigger: "wispr core workflow a".
windsurf-core-workflow-b
Execute Windsurf's secondary workflow: Workflows, Memories, and reusable automation. Use when creating reusable Cascade workflows, managing persistent memories, or automating repetitive development tasks. Trigger with phrases like "windsurf workflow", "windsurf automation", "windsurf memories", "cascade workflow", "windsurf slash command".
windsurf-core-workflow-a
Execute Windsurf's primary workflow: Cascade Write mode for multi-file agentic coding. Use when building features, refactoring across files, or performing complex code tasks. Trigger with phrases like "windsurf cascade write", "windsurf agentic coding", "windsurf multi-file edit", "cascade write mode", "windsurf build feature".
webflow-core-workflow-b
Execute Webflow secondary workflows — Sites management, Pages API, Forms submissions, Ecommerce (products/orders/inventory), and Custom Code via the Data API v2. Use when managing sites, reading pages, handling form data, or working with Webflow Ecommerce products and orders. Trigger with phrases like "webflow sites", "webflow pages", "webflow forms", "webflow ecommerce", "webflow products", "webflow orders".
webflow-core-workflow-a
Execute the primary Webflow workflow — CMS content management: list collections, CRUD items, publish items, and manage content lifecycle via the Data API v2. Use when working with Webflow CMS collections and items, managing blog posts, team members, or any dynamic content. Trigger with phrases like "webflow CMS", "webflow collections", "webflow items", "create webflow content", "manage webflow CMS", "webflow content management".
veeva-core-workflow-b
Veeva Vault core workflow b for REST API and clinical operations. Use when working with Veeva Vault document management and CRM. Trigger: "veeva core workflow b".
veeva-core-workflow-a
Veeva Vault core workflow a for REST API and clinical operations. Use when working with Veeva Vault document management and CRM. Trigger: "veeva core workflow a".
vastai-core-workflow-b
Execute Vast.ai secondary workflow: multi-instance orchestration, spot recovery, and cost optimization. Use when running distributed training, handling spot preemption, or optimizing GPU spend across multiple instances. Trigger with phrases like "vastai distributed training", "vastai spot recovery", "vastai multi-gpu", "vastai cost optimization".