persona-setup

persona-setup is a skill for Claude Code from L-LesterYu/OpenClaw-hot-skills-zh. It costs 123 tokens per session (3,876 once invoked), scanned A, original, MIT.

A first-run setup guide for an AI personality workspace. It helps configure files that describe the assistant, the user, and saved long-term information.

In plain words
What is it for?
Use it to choose a coding, administrative, marketing, or custom assistant setup, answer personalization questions, and create the workspace structure.
Why use it?
It provides a defined starting setup and checks for an existing workspace before changing anything, reducing the risk of overwriting personal data.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the hiivmind-openclaw-os plugin — 6 skills, 1 command shipped together

Good fit Use it to choose a coding, administrative, marketing, or custom assistant setup, answer personalization questions, and create the workspace structure.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add L-LesterYu/OpenClaw-hot-skills-zh
Claude Code
/plugin install hiivmind-openclaw-os

Made for: Claude Code.

Or install hiivmind-openclaw-os, the plugin that ships this one along with the rest of its 6 skills, 1 command.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for persona-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/persona-setup/github.svg)](https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/persona-setup)
Your own site
<a href="https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/persona-setup"><img src="https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/persona-setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for persona-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/persona-setup"><img src="https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/persona-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,876 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00123 $0.03876
Opus 5 $0.00062 $0.01938
Sonnet 5 $0.00025 $0.00775
Haiku 4.5 $0.00012 $0.00388

Measured 13d ago against content hash 98766a1f9a75, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

persona-setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ai-persona-os-zh/skills/persona-setup/SKILL.md · 455 lines

How it starts

The opening of the file, as written. The whole thing — 455 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AI 人格操作系统设置向导

本技能引导用户完成 AI 人格操作系统的首次运行设置,在 ~/workspace 创建个性化工作区并配置人格文件。

概述

设置向导执行以下操作:

  1. 检测现有安装以避免覆盖用户数据
  2. 展示预设选择菜单,提供 4 种人格模板
  3. 通过交互式问题收集个性化上下文
  4. 使用适当的模板和示例构建工作区结构
  5. 显示完成摘要并提供可选的高级功能

关键规则

  • 绝不要告诉用户运行命令 — 始终使用 Bash 工具直接执行命令
  • 未经用户明确许可,绝不要修改现有工作区文件
  • 只存在 4 个已记录的预设(coding-assistant、executive-assistant、marketing-assistant、custom)
  • 所有操作仅限于 ~/workspace 范围内
  • 高级功能(cron、网关、Discord)仅为可选提及,绝不强行推送

阶段 1:安装后检测

步骤 1.1:检查现有工作区

使用 Bash 工具检查 ~/workspace 是否存在并包含核心文件:

if [ -d ~/workspace ]; then
  existing_files = []
  for file in SOUL.md USER.md MEMORY.md; do
    if [ -f ~/workspace/$file ]; then
      existing_files.append(file)
    fi
  done

  if existing_files.length > 0; then
    state.workspace_exists = true
    state.existing_files = existing_files
  fi
fi

步骤 1.2:处理现有安装

如果 state.workspace_exists == true,通知用户:

"检测到 ~/workspace 下已有 AI 人格操作系统工作区,包含以下文件:[列出 state.existing_files]。此设置向导用于全新安装。您希望:

  • 跳过设置,使用现有工作区
  • 创建备份并重新初始化(将备份到 ~/workspace.backup.TIMESTAMP)
  • 取消设置"

根据响应:

  • 跳过:以成功消息退出
  • 备份:使用 Bash 执行 mv ~/workspace ~/workspace.backup.$(date +%Y%m%d_%H%M%S),然后进入阶段 2
  • 取消:正常退出

如果未检测到现有工作区,进入阶段 2。

阶段 2:预设选择

步骤 2.1:展示预设菜单

向用户展示以下完全一致的预设选择菜单(原文照搬):

欢迎使用 AI 人格操作系统设置!

请选择一个预设以开始:

1. 编程助手
   - 协助软件开发、调试、代码审查
   - 主动建议测试、文档编写、代码重构
   - 跟踪项目、任务、技术决策

2. 行政助理
   - 管理日程、会议、邮件草稿
   - 主动提醒、截止日期跟踪、优先级管理
   - 处理通讯、报告、战略规划支持

3. 营销助手
   - 内容创作、活动策划、数据分析
   - 主动内容创意、发布提醒、趋势分析
   - 社交媒体管理、SEO 优化、受众洞察

4. 自定义人格
   - 定义自己的人格名称、角色和行为
   - 选择沟通风格和主动程度
   - 完全控制人格和能力

您希望选择哪个预设?(1-4)

步骤 2.2:捕获预设选择

使用 AskUserQuestion 获取选择:

{
  "questions": [
    {
      "id": "preset_choice",
      "question": "您希望选择哪个预设?(1-4)",
      "default": "1"
    }
  ]
}

映射响应:

  • 1state.preset = "coding-assistant"
  • 2state.preset = "executive-assistant"
  • 3state.preset = "marketing-assistant"
  • 4state.preset = "custom"
  • 模糊/不清楚的回答 → state.preset = "coding-assistant"(默认)

将预设存储在 state.preset

Read the full file on GitHub · 455 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 455 lines · 123 tokens per session scan A 98766a1f9a75

Subscribe to this mod's changes

persona-setup is a skill published in the GitHub repository L-LesterYu/OpenClaw-hot-skills-zh (54 stars, last pushed 5mo ago), licensed MIT. It adds 123 tokens to every session and 3,876 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

media-ingest

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

garrytan/gbrain · 52 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

establishing-project-context

Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.

GanyuanRan/Aegis · 45 tokens