π¦ ClawHub
PersonaNexus ClawHub Skill
by @jcrowan3
Build structured AI agent personalities using OCEAN, DISC, and Jungian frameworks. Define traits, communication styles, guardrails, and compile to system pro...
π‘ Examples
1. Create an Agent Identity
Copy a template from templates/ and customize it:
templates/minimal.yaml -- Start here (simplest possible agent)templates/full.yaml -- All sections filled outtemplates/ocean-example.yaml -- Using OCEAN Big Five frameworktemplates/disc-example.yaml -- Using DISC personality frameworktemplates/jungian-example.yaml -- Using Jungian 16-type framework2. Validate the Identity
from personanexus_skill import IdentityValidatorvalidator = IdentityValidator()
result = validator.validate_file("my-agent.yaml")
print(result.valid, result.errors, result.warnings)
3. Compile to a System Prompt
from personanexus_skill import parse_identity_file, compile_identityidentity = parse_identity_file("my-agent.yaml")
prompt = compile_identity(identity, target="text")
Targets: "text", "anthropic", "openai", "openclaw", "soul", "json", "markdown"
print(prompt)
4. Use Personality Frameworks
from personanexus_skill import (
ocean_to_traits, disc_to_traits, jungian_to_traits,
get_disc_preset, get_jungian_preset,
)Get a DISC preset and convert to PersonaNexus traits
disc = get_disc_preset("the_analyst")
traits = disc_to_traits(disc)Get a Jungian preset
jungian = get_jungian_preset("intj")
traits = jungian_to_traits(jungian)
βοΈ Configuration
Install the skill's Python dependencies:
pip install pydantic pyyaml typer rich
Or if using uv:
uv pip install pydantic pyyaml typer rich
TERMINAL
clawhub install personanexus-skill