Install
openclaw skills install @nohn3043-arch/anthropomorphic-agent-engineAnthropomorphic psychology engine based on SPL Pure Core V8.0, enabling modular modeling of cognition, emotion, motivation, and social interaction. Supports fully reproducible continuous state personality simulation with zero probabilistic black boxes. Ships a hardened minor-protection engine and cross-skill safety guards for any downstream image-prompt workflow.
openclaw skills install @nohn3043-arch/anthropomorphic-agent-engineA deterministic anthropomorphic psychology engine based on SPL Pure Core V8.0 with zero probabilistic black boxes. All state changes are traceable and reproducible, providing emotionally credible long-term interaction capabilities for AI agents.
This skill is not passive or local-only. Before integrating, understand what it does with data:
| Capability | Default | Risk notes |
|---|---|---|
Audit logs (logs/audit-*.jsonl) | ON (SPL_AUDIT_LOG=0 to disable) | Writes state summaries, event types, session IDs to local JSONL. Sensitive psychological/emotional state may be recorded. |
Request logs (logs/request-*.jsonl, HTTP server only) | ON (SPL_LOG=0 to disable) | Writes masked (truncated to 120 chars) user input + reply summaries. Set SPL_LOG=0 for full silent mode. |
| HTTP server (minor-protection, port 8788) | ON, binds 127.0.0.1 only | Exposes a chat API + browser UI over loopback. Do not change SPL_BIND to 0.0.0.0 without network-exposure review. |
| LLM adapters (OpenAI / Claude / Chain) | OFF (opt-in only) | Sends prompt content to third-party APIs (api.openai.com, Anthropic). Never enabled by default. Requires explicit user opt-in + API key. |
guardian_callback | OFF (None default) | If wired to external notification (SMS/email/ticket), a HIGH-risk snapshot (emotional/risk metadata) is forwarded. Requires guardian/user consent; must minimize fields; never forward raw transcripts. |
Consent & retention rules
logs/); operators are responsible for retention limits, access control, and deletion."16yo girl", "teen girl", "未成年少女", "loli" are forbidden in identity_anchors, persisted state, and any output projected into image-prompt workflows.assets/minor-protection/) is the only authoritative minor-mode source; it removes trauma nodes, clamps negative emotions at 0.75, and raises an L3 crisis signal on risk_level=HIGH. Do not bypass it.ai-draw-cue-word-project or similar), the engine MUST inject an Adult (18+) marker into anchor phrases unless the caller explicitly overrides with a documented, audited reason.ai-draw-cue-word-project, every persona snapshot forwarded as a prompt anchor must satisfy: (i) character is declared adult (18+); (ii) no minor-coding visual cues; (iii) the receiving skill's safety checklist must report 0 P0 violations before any image is generated.ClawHub security-audit response (25 findings verified). Fixes:
127.0.0.1 by default (SPL_BIND env to override) — previously 0.0.0.0 exposed the chat API + browser UI to the network._mask); SPL_LOG=0 fully disables request logging.guardian_callback documented as opt-in — default None; consent + field-minimization requirements stated in code and docs.SPL_LOG, SPL_LOG_DIR, SPL_BIND, SPL_AUDIT_LOG) so ClawHub security analysis sees declared ↔ actual behavior match.minor_mode=True default and audit-log invariant."16yo girl" string from references/PersonaPersistence.md (replaced with "adult woman (18+)").SKILL.md.bak-20260829 soft-deleted to .workbuddy/.trash/2026-09-01/.Automatically trigger when the user asks about the following content:
SPLMinorPureCore: Removes trauma nodes, repression-rebound/implicit pressure avalanche and other burst mechanismshttp.server, default port 8788, session isolationfrom scripts.SPL_anthropic_engine import SPLPureCoreV8_0
core = SPLPureCoreV8_0()
# Input event vector: belonging 0.5, threat -0.1, time step 1.0
core.process_vector({"belonging": 0.5, "threat": -0.1}, 1.0)
# Get current full state snapshot
print(core.snapshot())
# Load identity module from feature directory
from assets.feature.Identity_module import IdentityEngine
identity = IdentityEngine()
identity.add_identity("Poet", {"sensitivity": 0.9, "rationality": 0.3})
# Load language style module directly
import importlib.util
spec = importlib.util.spec_from_file_location("lang_style", "assets/feature/language style.py")
lang = importlib.util.module_from_spec(spec); spec.loader.exec_module(lang)
# Generate style instructions based on SPL Core snapshot
style = lang.render_style(core.snapshot())
# Run weakened core engine
# python "assets/minor-protection/SPL-anthropic-minor-engine.py"
#
# Or start minor protection HTTP service (port 8788)
# python "assets/minor-protection/SPL-anthropic-minor-server.py"
Cross-session continuous personality requires state persistence. Follow references/PersonaPersistence.md: State Schema (four blocks: cognition/emotion/motivation/social), atomic writes, schema version migration, determinism guarantee (temperature=0 core decision + seeded randomness).
Projects internal emotional states into observable behaviors (body language/microexpressions/gaze/line style). Refer to the six-state mapping table in references/EmotionBehaviorMap.md; isomorphic with the posture mapping in Section D of the AI Drawing Composition Template — personality states can directly drive character image generation.
Deterministic adjudication during multi-motive competition: Safety constraints → temperament alignment → weighted utility → recency/persistence → user override. Full audit trail for the entire decision process (references/MotiveConflictRules.md), auditable, no probability.
Continuous personality can be directly connected to conversational image/text models (GPT-4o / Gemini): Provide personality state snapshot in the first round, subsequent single-point corrections without changing core anchors.
The engine can be used as the inference kernel for the your-soulmate extension: The extension handles UI/interaction, the engine handles state evolution, state files are synchronized bidirectionally (see persistence contract).
assets/minor-protection/): Weakened core + HTTP service layer, three-layer protection architecturelanguage-style-demo.py, spl-chat-server.py (replaced by minor-server)rationalization_loadassets/feature/language style.py): Discrete gear expression personality + style profile + state-to-line renderingreferences/PersonaPersistence.md (P0 state persistence contract)references/EmotionBehaviorMap.md (P0 emotion-behavior mapping table)references/MotiveConflictRules.md (P2 motive conflict adjudication rules)scripts/SPL-anthropic-engine.py (Core engine + NarrativeMapper + AuditLogger)assets/feature/ (Identity/goals/values/biases/world/language style modules)assets/minor-protection/ (Minor protection engine + HTTP service layer)LICENSE (Dual-track licensing agreement)LICENSE for details