persona-commands

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

A set of chat commands for checking and controlling an AI persona system, including its status, identity, memory, configuration, and advisor mode.

In plain words
What is it for?
Use commands to view the persona or memory, run health and security checks, validate configuration, save a checkpoint, or switch presets.
Why use it?
It provides a consistent way to inspect system state and run checks without remembering separate procedures.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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 commands to view the persona or memory, run health and security checks, validate configuration, save a checkpoint, or switch presets.

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-commands

README.md
[![agentmods](https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/persona-commands/github.svg)](https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/persona-commands)
Your own site
<a href="https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/persona-commands"><img src="https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/persona-commands/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-commands

Your own site · 80×15
<a href="https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/persona-commands"><img src="https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/persona-commands.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 179 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,161 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.00179 $0.03161
Opus 5 $0.00089 $0.01580
Sonnet 5 $0.00036 $0.00632
Haiku 4.5 $0.00018 $0.00316

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

Security

Grade A, and why

persona-commands 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 12d 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-commands/SKILL.md · 322 lines

How it starts

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

运行时聊天指令

本技能处理 AI 人格操作系统的 11 个运行时指令,将用户请求路由到相应的系统操作。

指令参考

指令 操作 输出格式
status 运行健康检查,显示仪表盘 📊 状态仪表盘(含 🟢🟡🔴 指示器)
show persona 读取并格式化 SOUL.md 🪪 人格身份展示
show memory 显示 MEMORY.md 内容 原始记忆文件内容
health check 运行诊断脚本 脚本输出(含通过/失败指示器)
security audit 运行安全验证 脚本输出(含安全发现)
show config 验证配置文件 脚本输出(含配置验证)
help 显示指令参考 本参考表
checkpoint 保存上下文快照 确认消息(含文件路径)
advisor on 启用主动模式 确认消息
advisor off 禁用主动模式 确认消息
switch preset 更改人格配置 预设菜单,委托给 persona-setup

自然语言识别

本技能识别自然语言变体:

  • "how's my system" / "system status" / "check status" / "健康检查" / "系统状态" → status
  • "what's my persona" / "who am I" / "show identity" / "显示人格" / "我是谁" → show persona
  • "what do I remember" / "show my memory" / "memory contents" / "显示记忆" / "查看记忆" → show memory
  • "run diagnostics" / "check health" / "system check" / "运行诊断" / "系统诊断" → health check
  • "check security" / "audit security" / "security check" / "安全审计" / "安全检查" → security audit
  • "validate config" / "check config" / "show configuration" / "显示配置" / "验证配置" → show config
  • "what can I do" / "available commands" / "command list" / "帮助" / "有什么命令" → help
  • "save progress" / "create checkpoint" / "save state" / "检查点" / "保存进度" / "保存上下文" → checkpoint
  • "enable advisor" / "turn on advisor" / "proactive on" / "开启顾问" / "启用主动模式" → advisor on
  • "disable advisor" / "turn off advisor" / "proactive off" / "关闭顾问" / "禁用主动模式" → advisor off
  • "change persona" / "switch configuration" / "change preset" / "切换预设" / "更换人格" → switch preset

实现指南

阶段 1:指令识别

步骤 1.1: 解析用户输入以识别指令意图

command = extract_command(user_input)
if command not in VALID_COMMANDS:
    command = match_natural_language_variant(user_input)
if command is None:
    show_help_and_suggest_closest_match()
    exit

步骤 1.2: 验证指令可用性

if command requires script:
    check script exists at ${CLAUDE_PLUGIN_ROOT}/scripts/
if command requires workspace file:
    check file exists at ~/workspace/

Read the full file on GitHub · 322 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. 12d ago First seen · 322 lines · 179 tokens per session scan A 2aed9f60d6c2

Subscribe to this mod's changes

persona-commands is a skill published in the GitHub repository L-LesterYu/OpenClaw-hot-skills-zh (54 stars, last pushed 5mo ago), licensed MIT. It adds 179 tokens to every session and 3,161 once invoked, about $0.0009 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