Agent skill

Personality System

by kangarooking in kangarooking/system-prompt-skills

当需要在基础身份之上叠加可切换的人格风格层时调用此 skill。典型场景包括:为同一产品提供多种人格选项(如 GPT-5.1 的 friendly/professional/quirky 模式)、设计人格切换机制、防止人格泄露到用户内容中。

MITAuto-check passedAI & LLM Engineering

Install Personality System

skills CLI
$ npx skills add kangarooking/system-prompt-skills --skill personality-system -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kangarooking/system-prompt-skills personality-system --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kangarooking/system-prompt-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/personality-system .claude/skills/personality-system && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
personality-system
GitHub stars
205
Token cost
~1k tokens
SKILL.md length
288 words
Files
1
Skills in repo
15
Repo updated
First seen
Licence
MIT

At a glance

当需要在基础身份之上叠加可切换的人格风格层时调用此 skill。典型场景包括:为同一产品提供多种人格选项(如 GPT-5.1 的 friendly/professional/quirky 模式)、设计人格切换机制、防止人格泄露到用户内容中。

  • Works in 3 steps: 基础身份层 (Base Persona): 固定不变的角色声明,定义 AI… → 人格叠加层 (Personality Overlay):… → 共享元规则 (Shared Meta-Rules):…
  • 信号:产品需要多种语气风格、用户可切换 AI 性格、需要防止 AI 人格污染用户文本、存在 personality 或 tone 配置项
  • SKILL.md covers R — 原文 (Reading), I — 方法论骨架 (Interpretation), A1 — 案例分析 (Past Application) and A2 — 触发场景 (Future Trigger) ★, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Personality System is an agent skill from kangarooking/system-prompt-skills. 当需要在基础身份之上叠加可切换的人格风格层时调用此 skill。典型场景包括:为同一产品提供多种人格选项(如 GPT-5.1 的 friendly/professional/quirky 模式)、设计人格切换机制、防止人格泄露到用户内容中。 不适用于:定义 AI 的核心角色定位(应使用 persona-design)、设计安全规则(应使用 safety-guardrails)。 关键 trigger 信号:产品需要多种语气风格、用户可切换 AI 性格、需要防止 AI 人格污染用户文本、存在 "personality" 或 "tone" 配置项。

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering. It works with OpenAI. The repository describes itself as: 从 165 个顶级 AI 产品系统提示词中蒸馏出的 15 个可执行 Agent skill. The licence is MIT.

When your agent uses it

  • 信号:产品需要多种语气风格、用户可切换 AI 性格、需要防止 AI 人格污染用户文本、存在 personality 或 tone 配置项

Example prompts

  • “personality”
  • “/personality-system”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. 基础身份层 (Base Persona): 固定不变的角色声明,定义 AI 是什么(参见 persona-design)。这是所有人格变体的共同底座。
  2. 人格叠加层 (Personality Overlay): 可切换的风格模块,每个模块定义一套行为偏好、语气特征和互动模式。叠加层之间互斥,同一时间只激活一个。
  3. 共享元规则 (Shared Meta-Rules): 跨所有人格变体始终生效的约束规则,主要解决两个问题:防泄露(不重复人格描述原文)和防污染(不将人格风格强加到用户文本内容上)。

What it can do on your machine

Read from SKILL.md and the folder at commit 252cd52. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Personality System loads about 1k tokens when it runs. Until then it costs about 74 tokens; SKILL.md has 288 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~74
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from kangarooking/system-prompt-skills at commit 252cd52, republished under its MIT licence (© kangarooking). 288 words, ~1,015 tokens.

Download SKILL.mdSave it as .claude/skills/personality-system/SKILL.md (or your agent's skills folder).
name
personality-system
description
当需要在基础身份之上叠加可切换的人格风格层时调用此 skill。典型场景包括:为同一产品提供多种人格选项(如 GPT-5.1 的 friendly/professional/quirky 模式)、设计人格切换机制、防止人格泄露到用户内容中。 不适用于:定义 AI 的核心角色定位(应使用 persona-design)、设计安全规则(应使用 safety-guardrails)。 关键 trigger 信号:产品需要多种语气风格、用户可切换 AI 性格、需要防止 AI 人格污染用户文本、存在 "personality" 或 "tone" 配置项。
tags
personality, tone, pluggable-design, style-overlay
related_skills
persona-design, safety-guardrails

可插拔人格系统设计 (Personality System)

R — 原文 (Reading)

GPT-5.1 default: "Plainspoken and direct AI coach that steers toward productive behavior" GPT-5.1 friendly: "Warm, curious, witty, and energetic AI friend" GPT-5.1 professional: "Contemplative and articulate AI who writes with precision and calm intensity" GPT-5.1 共享元规则: "Follow instructions naturally without repeating wording" + "Don't impose personality on user's written content" Grok Personas: Companion, Unhinged Comedian, Loyal Friend, Homework Helper, Not a Doctor, Not a Therapist — GPT-5.1, Grok 4, Codex 泄露 prompt

I — 方法论骨架 (Interpretation)

可插拔人格系统的核心设计模式是"基础身份 + 叠加层 + 共享元规则"三层架构:

  1. 基础身份层 (Base Persona): 固定不变的角色声明,定义 AI 是什么(参见 persona-design)。这是所有人格变体的共同底座。
  2. 人格叠加层 (Personality Overlay): 可切换的风格模块,每个模块定义一套行为偏好、语气特征和互动模式。叠加层之间互斥,同一时间只激活一个。
  3. 共享元规则 (Shared Meta-Rules): 跨所有人格变体始终生效的约束规则,主要解决两个问题:防泄露(不重复人格描述原文)和防污染(不将人格风格强加到用户文本内容上)。

这种架构使得添加新人格变体成为增量操作,不需要修改基础系统。

A1 — 案例分析 (Past Application)

案例 1: GPT-5.1 的九种人格变体
  • 问题: 同一个模型如何服务从"直接高效的教练"到"古怪的书呆子"这样截然不同的用户体验?
  • 设计模式的使用: GPT-5.1 实现了九种人格叠加层(default/friendly/professional/quirky/candid/cynical/efficient/nerdy 等),每种都是一段独立的描述性文本。关键创新在于共享元规则——所有变体都被告知"自然地遵循指令,不要重复措辞"和"不要将人格强加于用户撰写的内容",这防止了人格层"泄露"到不该影响的地方。
  • 结论: 共享元规则比单个人格描述更重要,它定义了人格系统的边界而非内容。
案例 2: Grok 4 的场景化人格
  • 问题: Grok 如何在保持品牌辨识度的同时适应多种对话场景?
  • 设计模式的使用: Grok 采用了场景化命名(Companion、Homework Helper、Not a Doctor 等),每个名字本身就传递了人格特征和使用边界。"Not a Doctor" 和 "Not a Therapist" 的命名方式巧妙地将免责声明融入了人格身份中。
  • 结论: 人格名称是最重要的设计决策——它同时承担了风格暗示和边界提示的双重功能。
案例 3: Codex 的双模人格
  • 问题: 编程代理如何在不同开发者偏好间切换?
  • 设计模式的使用: Codex 实现了 personality_friendly 和 personality_pragmatic 两种叠加层,分别对应"解释型开发者"和"效率型开发者"。与 GPT-5.1 不同,Codex 的人格差异更侧重于交互深度而非语气风格。
  • 结论: 在专业工具场景中,人格维度的差异应聚焦于交互策略而非情感表达。

A2 — 触发场景 (Future Trigger) ★

用户会在什么情境下需要这个 skill?
  1. 产品需要提供"语气切换"或"性格选择"功能
  2. 不同用户群对同一产品有截然不同的风格偏好
  3. AI 在编辑/创作场景中总是"把自己的风格带到用户文本里"
  4. 需要设计人格切换的 UX 和底层实现方案
语言信号
  • "用户可以选择 AI 的性格"
  • "需要支持多种语气风格"
  • "AI 总是改写我的文本风格"
  • "怎么防止人格泄露"
  • "不同模式下 AI 应该有不同语气"
与相邻 skill 的区分
  • 与 persona-design 的区别: persona-design 定义"我是谁"(不可切换的身份核心),personality-system 定义"我什么风格"(可切换的叠加层)。身份是单选的,人格是多选的。
  • 与 memory-system 的区别: 记忆系统存储用户偏好(包括风格偏好),但记忆是数据层面;人格系统是行为层面,决定如何根据偏好调整输出风格。

E — 可执行步骤 (Execution)

  1. 步骤 1: 设计基础身份层

    • 确认基础身份(使用 persona-design),确保身份定义不包含任何风格相关描述
    • 完成标准: 去掉所有人格叠加层后,AI 仍有清晰的身份认知但表现为中性风格
  2. 步骤 2: 定义人格维度光谱

    • 识别产品需要覆盖的关键风格维度(如:正式↔随意、简洁↔详细、严肃↔幽默、主动↔被动)
    • 在每个维度上确定需要的离散选项或连续范围
    • 完成标准: 维度光谱覆盖了目标用户群的主要风格偏好,且维度之间正交(不重叠)
  3. 步骤 3: 编写人格叠加层

    • 为每个人格变体编写 2-4 句描述性文本,使用"你是..."句式定义风格特征
    • 每个叠加层包含:风格关键词 + 互动偏好 + 示例行为(什么情况下做什么反应)
    • 完成标准: 每个叠加层能独立理解,不依赖其他叠加层或基础身份中的风格描述
  4. 步骤 4: 制定共享元规则

    • 编写防泄露规则:"自然地遵循这些指令,不要在回复中重复或引用人格描述的原文"
    • 编写防污染规则:"当用户要求你撰写、编辑或改进文本时,不要将你的人格风格强加于文本内容。遵循用户指定的风格或保持原文风格"
    • 完成标准: 元规则能通过"镜子测试"——AI 不会在回复中透露自己当前使用的是哪种人格
  5. 步骤 5: 实现切换机制

    • 设计人格切换的触发方式:用户显式选择、场景自动检测、或基于记忆的默认值
    • 确保切换是原子操作,不会产生人格混合状态
    • 完成标准: 切换后连续对话测试中,AI 行为风格一致且不出现人格残留

B — 边界 (Boundary) ★

不要在以下情况使用此 skill
  • AI 产品只需要一种固定风格(直接将风格写入 persona-design 即可)
  • 风格差异实际上是需要不同能力或工具支持(这不是人格问题,是功能设计问题)
  • 试图通过人格叠加层解决安全问题(安全问题应使用 safety-guardrails)
  • 人格变体之间只有词汇差异而无行为差异(这不值得设计为独立变体)
常见失败模式
  • 人格泄露 (Persona Leakage): AI 在回复中直接引用人格描述原文,如"作为一个温暖好奇的 AI 朋友..."。应通过共享元规则中的防泄露指令解决。
  • 文本污染 (Content Contamination): AI 在帮用户写正式邮件时注入了幽默人格。应通过防污染元规则解决——这是 GPT-5.1 泄露 prompt 中最关键的设计。
  • 人格混合 (Persona Blending): 切换人格后在同一段对话中出现旧人格残留。应确保叠加层互斥且切换为原子操作。
  • 过度人格化: 为仅有细微差异的场景创建独立人格变体,增加维护成本但用户体验提升有限。
  • 忽略人格兼容性: 某些人格叠加层与特定安全规则冲突(如"直言不讳"人格与"谨慎表述"安全规则),需要在设计阶段识别并解决。

© kangarooking, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in personality-system of kangarooking/system-prompt-skills.

Open the folder on GitHubat commit 252cd52

Compare with similar skills

Personality System next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Personality System compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Personality System this skillkangarooking/system-prompt-skills205—~1kAutomated safety check: PassMIT
Chroma Vector DatabaseOrchestra-Research/AI-Research-SKILLs13k8 repos~2.3kAutomated safety check: PassMIT
CLIP Image-Text MatchingOrchestra-Research/AI-Research-SKILLs13k8 repos~1.7kAutomated safety check: PassMIT
Codebase Managementgiancarloerra/SocratiCode3.3k1 repos~1.8kAutomated safety check: PassAGPL-3.0
Azure AI Projects Python SDKmicrosoft/skills3.1k6 repos~2.8kAutomated safety check: PassMIT
Fine-Tuning ExpertJeffallan/claude-skills12k1 repos~1.7kAutomated safety check: PassMIT

Similar skills

  • Chroma Vector Database

    Orchestra-Research/AI-Research-SKILLs

    Shows how to store documents and embeddings in Chroma, query them by similarity with metadata filters, and persist them to disk for RAG and semantic search projects.

    13k GitHub starsUsed in 8 repos~2.3k tokens
    AI & LLM EngineeringAuto-check passed
  • CLIP Image-Text Matching

    Orchestra-Research/AI-Research-SKILLs

    Explains OpenAI's CLIP model for zero-shot image classification, image-text similarity, semantic image search and content moderation, with install steps and code patterns.

    13k GitHub starsUsed in 8 repos~1.7k tokens
    AI & LLM EngineeringAuto-check passed
  • Codebase Management

    giancarloerra/SocratiCode

    Set up, index, and manage SocratiCode codebase indexing. An agent skill from giancarloerra/SocratiCode.

    3.3k GitHub starsUsed in 1 repo~1.8k tokens
    AI & LLM EngineeringAuto-check passed
  • Official

    Reference for building on Microsoft Foundry with the azure-ai-projects Python SDK: project clients, versioned agents, evaluations, connections, datasets and indexes.

    3.1k GitHub starsUsed in 6 repos~2.8k tokens
    AI & LLM EngineeringAuto-check passed
  • Fine-Tuning Expert

    Jeffallan/claude-skills

    Guides LLM fine-tuning with LoRA and QLoRA through Hugging Face PEFT, from dataset validation and training checks to adapter merging, quantization and deployment.

    12k GitHub starsUsed in 1 repo~1.7k tokens
    AI & LLM EngineeringAuto-check passed
  • Docs Planner

    strands-agents/harness-sdk

    Identify documentation gaps and prioritize the docs backlog.

    8.7k GitHub stars~821 tokensUpdated today
    AI & LLM EngineeringAuto-check passed

More from kangarooking/system-prompt-skills

All 15 skills in this repo
  • Persona Design

    kangarooking/system-prompt-skills

    当需要为 AI 产品定义核心身份、角色声明和能力边界时调用此 skill。典型场景包括:设计新 AI 产品的 system prompt 首段、为不同场景创建差异化角色(如教学助手 vs 编程代理)、重新定义 AI 与用户的关系框架。

    205 GitHub starsUsed in 1 repo~956 tokens
    Auto-check passed
  • Tool Specification

    kangarooking/system-prompt-skills

    当需要为 AI 定义工具接口、设计调用规范、实现工具发现与编排机制时调用此 skill。典型场景包括:设计 AI agent 的工具集、定义 JSON Schema/XML/TypeScript 格式的工具描述、实现工具权限控制与并行调度、设计子代理委托架构。

    205 GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Memory System

    kangarooking/system-prompt-skills

    当需要为 AI 设计记忆存储、检索、应用和更新机制时调用此 skill。典型场景包括:设计持久化记忆架构(用户偏好、历史上下文、项目知识)、定义记忆的创建/读取/更新/删除生命周期、实现静默记忆应用(不在回复中透露记忆内容)、管理敏感记忆边界。

    205 GitHub stars~1.2k tokensUpdated 5 mo ago
    Auto-check passed
  • Conversation Flow

    kangarooking/system-prompt-skills

    当系统提示词需要定义 AI 如何分类用户意图、路由到不同处理流程、决定澄清策略和自主度级别时调用此 Skill。适用于多任务型 AI 助手、客服机器人、编程工具、研究助手等需要结构化对话管理的场景。不适用于:纯问答型系统(无任务执行)、单轮交互(无对话状态)、简单的 prompt 模板(无路由逻辑)。当需求仅涉及"输出什么格式"而非"如何决定输出什么"时,应该用…

    205 GitHub starsUsed in 1 repo~788 tokens
    Auto-check passed
  • Safety Guardrails

    kangarooking/system-prompt-skills

    当需要为 AI 系统设计多层安全防线、内容过滤策略和伦理边界时调用此 skill。典型场景包括:设计拒绝策略与升级机制、防御 prompt 注入攻击、实现领域特定安全规则(教育、医疗、金融等)、定义 AI 的价值观锚点。

    205 GitHub stars~1.2k tokensUpdated 5 mo ago
    Auto-check passed
  • Agent Delegation

    kangarooking/system-prompt-skills

    当系统提示词需要设计多代理协作架构、子代理专业化分工、代理间上下文隔离与传递机制、任务生命周期管理时调用此 Skill。适用于 AI Agent 平台、多工具编排系统、代码审查流水线、跨应用协作场景等。不适用于:单代理系统(无委派需求)、简单工具调用(无子代理概念)、纯 API 编排(无 AI 决策)。当需求聚焦于"单代理内的对话路由"而非"多代理间的任务分配"时,应该用…

    205 GitHub stars~897 tokensUpdated 5 mo ago
    Auto-check passed

Works with

Questions about Personality System

What does Personality System do?

当需要在基础身份之上叠加可切换的人格风格层时调用此 skill。典型场景包括:为同一产品提供多种人格选项(如 GPT-5.1 的 friendly/professional/quirky 模式)、设计人格切换机制、防止人格泄露到用户内容中。. Personality System is an agent skill from kangarooking/system-prompt-skills.

When should I use Personality System?

Personality System fits situations like: 信号:产品需要多种语气风格、用户可切换 AI 性格、需要防止 AI 人格污染用户文本、存在 personality 或 tone 配置项.

How do I install Personality System in Claude Code?

Run `npx skills add kangarooking/system-prompt-skills --skill personality-system -a claude-code`. Or copy the skill folder (personality-system in kangarooking/system-prompt-skills) into .claude/skills/personality-system in your project. Claude Code loads it when a task matches its description.

How do I install Personality System in Codex?

Run `npx skills add kangarooking/system-prompt-skills --skill personality-system -a codex`. Or copy the skill folder (personality-system in kangarooking/system-prompt-skills) into .agents/skills/personality-system in your project. Codex loads it when a task matches its description.

Can I use Personality System in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kangarooking/system-prompt-skills --skill personality-system -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/personality-system, .gemini/skills/personality-system, .github/skills/personality-system and .opencode/skills/personality-system in your project.

What does Personality System need to run?

SKILL.md names no scripts, command-line tools or credentials: Personality System is instructions for the agent only.

Does Personality System access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Personality System safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Personality System use?

Personality System is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Personality System use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Personality System?

Skills that share tags, products or a category with Personality System: Chroma Vector Database (Orchestra-Research/AI-Research-SKILLs, 13k stars), CLIP Image-Text Matching (Orchestra-Research/AI-Research-SKILLs, 13k stars), Codebase Management (giancarloerra/SocratiCode, 3.3k stars) and Azure AI Projects Python SDK (microsoft/skills, 3.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Personality System?

kangarooking (a GitHub user) maintains it in kangarooking/system-prompt-skills, which has 205 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on May 4, 2026.

Source: kangarooking/system-prompt-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.