Lylacore SDK

Validates, loads, and packages Mind definitions for agent identity systems.

Updated Feb 21, 2026
One-click install
npx skills add https://github.com/joySUSY/violet-plugin-place --skill lylacore-sdk-joysusy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: Lylacore SDK
Source: https://github.com/joySUSY/violet-plugin-place/tree/main/plugins/_backup_pre_lylacore_unification/lylacore-js/skills/lylacore
Command: npx skills add https://github.com/joySUSY/violet-plugin-place --skill lylacore-sdk-joysusy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building agent identity systems requires consistent schemas for defining agent personas (Minds), portable formats for sharing them, and mechanisms for adapting communication style. This Skill provides the SDK patterns to validate Mind definitions, load them from JSON files, export/import Soul Packages, and apply the COACH protocol for style adaptation. ## Core Features & Use Cases - Mind Validation & Loading: Validate Mind definitions against the Mind Schema and load single Minds or entire directories of JSON definitions. - Soul Package Management: Export collections of Minds into portable, versioned Soul Packages with metadata, and import or selectively load specific Minds from packages. - COACH Protocol: Learn user communication patterns (language, formality, tone) from interactions and apply learned styles to agent responses. - Use Case: You are building a multi-persona agent system. Define each persona as a Mind JSON file, validate them against the schema, bundle them into a Soul Package for distribution, and use the COACH engine to adapt each persona's responses to individual user communication styles. ## Quick Start Ask the assistant to validate a Mind definition JSON file against the Lylacore Mind Schema and show any validation errors.

Frequently Asked Questions about Lylacore SDK

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate a Mind definition against the Mind Schema?▼

Use the validateMind function from lylacore/sdk/mind-loader, passing your Mind data object and the loaded schema. It returns a result object with a valid flag and an errors array listing any schema violations.

How do I export multiple Minds as a Soul Package?▼

Load your Minds with loadMindsFromDirectory, then call exportSoulPackage with the minds array and metadata such as author, description, and tags. The resulting package object can be serialized to JSON and saved to a file.

What fields are required in a Mind definition?▼

A Mind requires a name, a Unicode symbol of at most four characters, and a role describing its primary function. Optional fields include traits, triggers with context patterns and activation weights, and coordination rules for multi-Mind interaction.

Can I import only specific Minds from a Soul Package?▼

Yes, importSoulPackage accepts a selectMinds option containing an array of Mind names. Only the matching Minds are returned along with the package metadata, letting you load a subset of a larger package.

How does the COACH protocol adapt agent communication style?▼

The learnPattern function analyzes each user message and agent response pair with context like language and topic, producing style metadata. The applyStyle function then rewrites outgoing messages to match the learned language, formality, and tone.

Should I encrypt Soul Packages containing sensitive identity data?▼

Yes, the documentation recommends encrypting sensitive identity data for production deployments using a soul-crypto module. Encrypted Mind data should be decrypted before validation against the Lylacore schema.