Xpersona
F

Faces

CLAWHUB · Unverified

Use this skill when the user wants to create, compile, or chat through a Face (a persona compiled from source material), compose personas with boolean formul... Skill: Faces Owner: sybileak Summary: Use this skill when the user wants to create, compile, or chat through a Face (a persona compiled from source material), compose personas with boolean formul... Tags: latest:1.6.5 Version history: v1.6.5 | 2026-03-27T22:14:35.833Z | user Minor update: thread compilation command changed. - Updated thread compilation step to use faces compile:thread:make instead of faces compile:th

62
Rank
84
Safety
1.4k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.4K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s172sw0nyfg9e276ycmb8at5zh83ercc:faces
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-sybileak-faces/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

150,339 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: faces
description: >
  Use this skill when the user wants to create, compile, or chat through a Face
  (a persona compiled from source material), compose personas with boolean
  formulas, compare minds by semantic similarity, import YouTube videos into a
  Face, or manage their Faces Platform account (API keys, billing, quotas).
  Also use when the user mentions the Faces Platform, the `faces` CLI, or asks
  about persona compilation, cognitive primitives, or mind arithmetic — even if
  they don't use those exact terms.
compatibility: Requires the faces CLI (npm install -g faces-cli) and internet access to api.faces.sh.
---

# Faces Skill

You have access to the `faces` CLI. Use it to fulfill any Faces Platform request.

Always use `--json` when you need to extract values from command output.

## Current config
!`faces config:show 2>/dev/null || echo "(no config saved)"`

## Setup

Verify credentials: `faces auth:whoami`. If no credentials exist, see [references/AUTH.md](references/AUTH.md) for registration (requires human payment step) and login.

Install (if `faces` command not found): `npm install -g faces-cli`

`faces auth:*` and `faces keys:*` require JWT. Everything else accepts JWT or API key.

## Plans

Two plans: **Free** ($5 minimum initial spend, pay-per-token with 5% markup on all usage including compilation) and **Connect** ($17/month, 100k compile tokens/month, free passthrough to OpenAI Codex for users with a ChatGPT subscription). See [references/AUTH.md](references/AUTH.md) for details.

## Core workflow

1. Create a Face with basic facts and a default model: `faces face:create --name "Name" --username slug --default-model gpt-5-nano --attr gender=male --attr age=34 --attr location="Portland, OR" --attr occupation="nurse practitioner"`
2. **Compile source material in one step:** `faces compile:doc slug --file document.txt`
   - This creates the document, runs LLM extraction with real-time chunk progress, and syncs automatically
   - Repeat for each source document
3. Chat through the Face: `faces chat:chat slug -m "message"` (auto-routes to the correct API based on model provider)
4. Compare Faces: `faces face:diff` or `faces face:neighbors`
5. Compose new Faces from boolean formulas: `faces face:create --formula "a | b"`

> **Note:** `compile:doc` handles the full create → compile pipeline. For an already-created document, use `compile:doc:make <doc_id>`. Threads use a separate workflow: `compile:thread:make` (same fire-and-forget pattern as documents).

Boolean operators: `|` (union), `&` (intersection), `-` (difference), `^` (symmetric difference). Parentheses supported: `(a | b) - c`.

## Common tasks

### Create a face with attributes

When creating a Face, set basic demographic facts with `--attr KEY=VALUE` (repeatable). Common keys: `gender`, `age`, `location`, `occupation`, `education_level`, `religion`, `ethnicity`, `nationality`, `marital_status`. Unrecognized keys are silently ignored — see [references/ATTRIB

_meta.json

{
  "ownerId": "kn7c83smc723y8xymxfqx05nah81zcz3",
  "slug": "faces",
  "version": "1.6.5",
  "publishedAt": 1774649675833
}

references/ATTRIBUTES.md

# Accepted Attribute Keys

Complete list of accepted `--attr` keys for `face:create` and `face:update`. Keys not on this list are silently ignored.

## Age & Birth

| Key | Example value |
|---|---|
| `age` | `34` |
| `age_range` | `30-39` |
| `birth_date` | `1991-06-15` |
| `birth_year` | `1991` |
| `birth_month` | `June` |
| `birth_decade` | `1990s` |
| `date_of_birth` | `1991-06-15` |

## Current Location

| Key | Example value |
|---|---|
| `address` | `123 Main St, Portland, OR` |
| `location` | `Portland, OR` |
| `residence` | `Portland, Oregon` |
| `region` | `Pacific Northwest` |
| `city` | `Portland` |
| `state` | `Oregon` |
| `country` | `United States` |
| `postal_code` | `97201` |
| `zip_code` | `97201` |

## Birth Location

| Key | Example value |
|---|---|
| `birth_city` | `Seoul` |
| `birth_country` | `South Korea` |
| `birth_location` | `Seoul, South Korea` |
| `birth_place` | `Seoul, South Korea` |
| `place_of_birth` | `Seoul, South Korea` |

## Past Locations

| Key | Example value |
|---|---|
| `location_past` | `Chicago, IL` |
| `residence_past` | `Chicago, Illinois` |
| `previous_address` | `456 Oak Ave, Chicago, IL` |

## Identity & Demographics

| Key | Example value |
|---|---|
| `gender` | `female`, `male`, `non-binary` |
| `ethnicity` | `Korean American` |
| `race` | `Asian` |
| `nationality` | `American` |
| `citizenship` | `United States` |
| `citizenship_status` | `naturalized citizen` |
| `citizenship_past` | `South Korea` |
| `religion` | `Buddhist` |
| `sexual_orientation` | `heterosexual` |

## Immigration

| Key | Example value |
|---|---|
| `immigration` | `immigrated from South Korea` |
| `immigration_age` | `12` |
| `immigration_destination` | `United States` |
| `immigration_status` | `naturalized citizen` |
| `immigration_year` | `2003` |

## Family & Relationships

| Key | Example value |
|---|---|
| `marital_status` | `married`, `single`, `divorced` |
| `marriage_date` | `2018-09-22` |
| `marriage_year` | `2018` |
| `marital_history` | `married once` |
| `spouse` | `David Chen` |
| `spouse_name` | `David Chen` |
| `spouse_occupation` | `software engineer` |
| `number_of_children` | `2` |
| `children_names` | `Lily, Max` |
| `family_size` | `4` |
| `parents` | `Joon-ho Park, Minji Park` |
| `parents_names` | `Joon-ho Park, Minji Park` |
| `parents_occupation` | `teacher, accountant` |
| `mother_name` | `Minji Park` |
| `father_name` | `Joon-ho Park` |

## Work & Career

| Key | Example value |
|---|---|
| `occupation` | `nurse practitioner` |
| `occupation_past` | `registered nurse` |
| `employer` | `Providence Health` |
| `employer_past` | `Oregon Health & Science University` |
| `job_title` | `Senior Nurse Practitioner` |
| `work_location` | `Portland, OR` |
| `industry` | `healthcare` |
| `years_employed` | `8` |
| `employment_status` | `full-time` |
| `income` | `$95,000` |
| `salary` | `$95,000` |

## Education

| Key | Example value |
|---|---|
| `education_level` | `master's degree` |
| `degree` | `M

references/AUTH.md

# Authentication & Registration

## Registering a new account

Registration requires a credit card payment to activate. The flow is:

### Step 1 — Create the account

```bash
faces auth:register \
  --email user@example.com \
  --password 'SecurePass123!' \
  --username alice \
  --json
```

`--name` is optional — if omitted, the username is used as the display name.

The response includes:

```json
{
  "status": "registered",
  "user_id": "...",
  "activation_required": true,
  "activation_checkout_url": "https://checkout.stripe.com/c/pay/..."
}
```

The JWT is saved automatically. The account exists but is not yet active.

### Step 2 — Activate via payment

The `activation_checkout_url` is a Stripe Checkout page. The human must open it in a browser and complete payment.

Tell the user:

> Paste this link into your browser and complete the payment. When you see the confirmation page, come back here and let me know it's done.
>
> `<activation_checkout_url>`

Do **not** attempt to open the URL or complete payment programmatically. Only a human can do this step.

### Step 3 — Confirm activation

Once the user says payment is done:

```bash
faces billing:balance --json
```

Check that `is_active` is `true`. If not, tell the user the payment may not have gone through and ask them to try the link again.

### Full example

```bash
# 1. Register
RESULT=$(faces auth:register --email user@example.com --password 'SecurePass123!' --username alice --json)
URL=$(echo "$RESULT" | jq -r '.activation_checkout_url')

# 2. Give URL to human, wait for them to confirm payment

# 3. Verify
faces billing:balance --json | jq '.is_active'
```

## Logging in

For existing accounts:

```bash
faces auth:login --email user@example.com --password 'SecurePass123!'
```

The JWT is saved to `~/.faces/config.json` automatically.

To verify:

```bash
faces auth:whoami
```

## API key authentication

For non-interactive use (scripts, deployed agents), API keys are preferred over JWT:

```bash
# Create a key (requires JWT)
faces keys:create --name "my-agent" --budget 10.00 --expires-days 30

# Use it
faces config:set api_key sk-proj-...
# Or set the environment variable:
export FACES_API_KEY=sk-proj-...
```

API keys support optional restrictions:
- `--face USERNAME` — restrict to specific faces (repeatable)
- `--model NAME` — restrict to specific LLM models (repeatable)
- `--budget F` — spending cap in USD
- `--expires-days N` — auto-expiry

## Plans

### Free (pay-per-token)

- **Activation:** $5 minimum initial spend (added as API credits)
- **Compilation:** Charged per token used during extraction. Compiling a 1,000-token document costs more than 1,000 tokens because the platform makes multiple LLM calls to extract cognitive primitives. The exact cost depends on the source material and cannot be estimated in advance.
- **Inference:** Charged per token at the underlying provider's rate.
- **Markup:** 5% on all token usage (compilation and inference).
- **No monthly fee.**

### C

references/CONCEPTS.md

# What is Faces

The Faces Platform is a compiler for the human mind.

Feed it source material — documents, essays, interviews, conversations — and the compiler extracts the minimal set of cognitive primitives that define a persona. These primitives are the machine code of the mind. Like amino acids, this small formal vocabulary is sufficient to construct any human persona. The personas that result are coherent, consistent, complex, and contradictory — just like real people.

The output is a **Face**: a compressed cognitive instruction set stored as embedded semantic vectors. The principal components of a Face are `beta`, `delta`, and `epsilon`; `face` is their equal-weight composite. A Face reshapes any LLM into a new next-token predictor — not a model wearing a costume, but one whose probability distributions are fundamentally altered by the persona. This overcomes model collapse: instead of regression to the mean, you get a sharply individuated mind.

Because the primitives are embedded, they are semantic objects. You can measure the distance between two Faces. You can find which Faces are nearest or furthest on any component. This is the mathematics of the mind.

You can also do boolean algebra on Faces. A **composite Face** is defined by a formula over concrete Faces using four operators:

| Operator | Syntax | Meaning |
|---|---|---|
| Union | `a \| b` | All knowledge from both; `a` wins on conflicts |
| Intersection | `a & b` | Only knowledge present in both |
| Difference | `a - b` | Knowledge in `a` that is not in `b` |
| Symmetric diff | `a ^ b` | Knowledge in exactly one, but not both |

Operators can be parenthesized: `(a | b) - c`. Composite Faces are live — if you sync new knowledge into a component Face, the composite reflects it automatically on the next inference request. Because composite Faces are themselves chattable, they can be wired together into sequences: the output of one gate frames the input of the next. This is a cognitive circuit — an FPGA for LLMs.

## Value Proposition

Programmable and composable plug-and-play personas as nuanced as a real human for fewer tokens than any other approach. More persona, less cost.

## Example Use Cases

**1. Historical resurrection** — Feed the complete works of a thinker into a Face. Ask it questions they never answered. The responses emerge from their actual cognitive structure, not an LLM's pastiche of their reputation.

**2. Customer panel from transcripts** — Upload 20 interview transcripts, one Face per participant. Run `face:diff` across the panel. Get a similarity matrix before reading a word. Cluster by centroid, not by manual theme-coding.

**3. The board of minds** — Assemble a council of thinkers: a scientist, an artist, a pragmatist, a mystic. Route every major decision through all four. Surface the full range of internally consistent responses before choosing a direction.

**4. The shadow** — After building a Face from your own writing, find its furthest neighbor. That 

Sponsored

Ads related to Faces and adjacent AI workflows.