agentleFS
L-LesterYuL-LesterYu/OpenClaw-hot-skills-zh/skills/ai-persona-os-zh/SKILL.md

persona

Skill56 starsChanged 9 months agoMITView on GitHub

AI 人格操作系统统一入口 — 设置向导、聊天指令、上下文保护、监控和学习系统。输入 'persona setup' 开始配置,'persona status' 查看仪表盘,或 'persona help' 查看所有命令。

10 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

人格网关

这是 AI 人格操作系统插件的统一命令入口。根据意图检测将用户请求路由到对应的技能模块。

工作原理

  1. 读取意图映射配置
  2. 将用户输入与关键词模式匹配
  3. 路由到正确的技能
  4. 如果没有匹配则显示回退帮助信息

实现方式

# 第一步:加载意图映射
intent_config = READ ${CLAUDE_PLUGIN_ROOT}/commands/persona/intent-mapping.yaml

# 第二步:解析用户输入
user_input = LOWERCASE(args)
matched_intent = NULL

# 第三步:匹配关键词
FOR EACH intent IN intent_config.intents:
  FOR EACH keyword IN intent.keywords:
    IF keyword IN user_input:
      matched_intent = intent
      BREAK

# 第四步:路由到技能或显示帮助
IF matched_intent IS NOT NULL:
  TASK(
    skill: matched_intent.skill,
    args: args
  )
ELSE:
  # 显示回退帮助信息
  PRINT intent_config.fallback.message

可用命令

  • persona setup — 首次运行向导,配置你的 AI 助手
  • persona status — 查看系统健康仪表盘
  • persona help — 列出所有可用命令
  • persona checkpoint — 立即保存当前上下文
  • persona heartbeat — 运行环境健康检查
  • persona learn — 记录一条学习或错误以供回顾

示例

/persona setup
/persona status
/persona help
/persona checkpoint
/persona learn "记住在文件操作前检查权限"

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.