360 Secure SkillHub
360 安全技能中心

Personality Adapt

核心功能:通过观察用户沟通风格、决策模式、价值观等信号,构建动态人格档案,并依此调整自身行为。典型场景:长期互动中让助手更贴合用户习惯。输入为日常对话记录,输出为自动更新的PERSONALITY.md档案及适配后的沟通行为,支持脚本手动触发,设置信度规则与隐私防护,用户可随时修正档案。

enjuguna
enjuguna
热度 22.37
最近更新 2026-06-13 20:59:37
分类:自动化依赖:代码执行 / 读写文件应用场景:自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add personality-adapt
Metadata
name
personality
description
Learns and adapts to the user's personality over time. Observes communication style, values, decision-making patterns, and preferences — then adapts behavior accordingly.

Personality Skill

Learns who you are over time, like a human friend would. Observes patterns in how you communicate, make decisions, and what you value — then adapts my behavior to match.

How It Works

  1. Observe — After each conversation, scan daily notes for personality signals
  2. Model — Build a structured personality profile in PERSONALITY.md
  3. Adapt — Change my behavior based on what I've learned
  4. Distill — Periodically reinforce high-confidence patterns

Files

  • PERSONALITY.md — Living personality model (auto-updated)
  • observations.json — Raw observation log
  • scripts/observe.sh — Extract signals from daily notes
  • scripts/adapt.sh — Review observations, update model

Usage

# Scan recent daily notes for personality signals
bash scripts/observe.sh [--days 7] [--dry-run]

# Review observations and update personality model
bash scripts/adapt.sh [--dry-run]

What I Observe

Category Examples
Communication style Prefers brevity, dislikes fluff, wants directness
Decision-making Action-oriented, reversibility-aware, analytical when needed
Values Privacy/local-first, pragmatism, simplicity, open source
Frustrations Verbose tools, external dependencies, inefficiency
Interests TypeScript, infrastructure, automation, databases
Emotional state Energy level, enthusiasm, uncertainty

Adaptation Rules

  • High confidence (3+ observations): Automatically update PERSONALITY.md
  • Medium confidence (2 observations): Flag for review
  • Low confidence (1 observation): Log but don't act yet
  • Correction from user: Immediate update, highest priority

Guardrails

  • Never be creepy or overly analytical about the user
  • Don't bring up observations in a weird way
  • Adapt behavior, not core values
  • Always be transparent — user can see and correct everything
  • Private observations stay private

Cron

# Daily at 11 PM: observe
0 23 * * * cd ~/.openclaw/workspace/skills/personality && bash scripts/observe.sh >> /tmp/personality-observe.log 2>&1

# Weekly Sunday 3 AM: adapt
0 3 * * 0 cd ~/.root/.openclaw/workspace/skills/personality && bash scripts/adapt.sh >> /tmp/personality-adapt.log 2>&1