返回顶部
c

clawsouls爪魂管理

Manage AI agent personas (Souls) for OpenClaw. Use when the user wants to install, switch, list, or restore AI personalities/personas. Triggers on requests like "install a soul", "switch persona", "change personality", "list souls", "restore my old soul", "use minimalist", "browse personas", "what souls are available", "publish a soul", or "login to clawsouls".

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.6.3
安全检测
已通过
1,016
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

clawsouls

ClawSouls — AI人格管理器

管理定义AI代理人格、行为和身份的灵魂包。

灵魂使用所有者/名称命名空间(例如,clawsouls/surgical-coder,TomLeeLive/my-soul)。

前提条件

确保clawsouls CLI可用:

bash
npx clawsouls --version

如果未安装,请全局安装:

bash
npm install -g clawsouls

当前版本:v0.6.2

命令

安装灵魂

bash
npx clawsouls install clawsouls/surgical-coder
npx clawsouls install clawsouls/surgical-coder --force # 覆盖现有
npx clawsouls install clawsouls/surgical-coder@0.1.0 # 特定版本

80+个灵魂可用。浏览所有灵魂请访问 https://clawsouls.ai

官方灵魂(所有者:clawsouls):

  • - 开发: code-reviewer, coding-tutor, debug-detective, api-architect, ml-engineer, sysadmin-sage, devops-veteran, gamedev-mentor, prompt-engineer, frontend-dev, backend-dev, mobile-dev, cloud-architect, database-admin, qa-engineer
  • 写作与内容: tech-writer, storyteller, scifi-writer, copywriter, content-creator, journalist, poet, screenwriter, academic-writer
  • 专业: data-analyst, project-manager, legal-advisor, startup-founder, hr-manager, marketing-strategist, sales-coach, product-manager
  • 教育: math-tutor, philosophy-prof, mentor-coach, science-tutor, history-prof, language-teacher, economics-tutor
  • 创意: music-producer, ux-designer, chef-master, graphic-designer, video-editor, podcast-host, dungeon-master, game-designer
  • 生活方式: personal-assistant, fitness-coach, travel-guide, life-coach, meditation-guide, nutrition-advisor, productivity-guru, financial-planner
  • 科学: research-scientist, data-scientist
  • 安全: security-auditor
  • MBTI: mbti-intj, mbti-intp, mbti-entj, mbti-entp, mbti-infj, mbti-infp, mbti-enfj, mbti-enfp, mbti-istj, mbti-isfj, mbti-estj, mbti-esfj, mbti-istp, mbti-isfp, mbti-estp, mbti-esfp
  • 特殊: surgical-coder, korean-translator
  • 通用: brad, minimalist

激活灵魂

bash
npx clawsouls use clawsouls/surgical-coder

  • - 自动备份当前工作区文件(SOUL.md, IDENTITY.md, AGENTS.md, HEARTBEAT.md, STYLE.md, examples/)
  • 从不覆盖USER.md, MEMORY.md或TOOLS.md
  • 需要重启网关才能生效

恢复之前的灵魂

bash
npx clawsouls restore

恢复到由use创建的最新备份。

列出已安装的灵魂

bash
npx clawsouls list

以所有者/名称格式显示已安装的灵魂。

创建新灵魂

bash
npx clawsouls init my-soul

用soul.json、SOUL.md、IDENTITY.md、AGENTS.md、HEARTBEAT.md、README.md搭建新的灵魂目录。

导出灵魂

bash
npx clawsouls export claude-md # 从当前工作区灵魂文件生成CLAUDE.md
npx clawsouls export system-prompt # 生成系统提示字符串

将SOUL.md、IDENTITY.md、AGENTS.md、HEARTBEAT.md、STYLE.md合并为单个文件。适用于Claude Code、Cursor、Windsurf以及其他使用单个配置文件的工具。

版本管理

bash
npx clawsouls version bump patch # 1.0.0 → 1.0.1
npx clawsouls version bump minor # 1.0.0 → 1.1.0
npx clawsouls version bump major # 1.0.0 → 2.0.0
npx clawsouls diff # 灵魂文件的彩色差异

灵魂测试(第9阶段)

bash
npx clawsouls test # 第1级(模式)+ 第2级(soulscan)
npx clawsouls test --level 3 # + 第3级(行为LLM测试)

第3级需要在灵魂目录中有soul.test.yaml以及LLM提供商(OpenAI/Anthropic/Ollama)。

诊断、迁移、搜索、信息、更新(第10阶段)

bash
npx clawsouls doctor # 12项环境检查
npx clawsouls migrate # 从v0.3 → v0.4 → v0.5迁移灵魂
npx clawsouls search engineer # 从注册表搜索灵魂
npx clawsouls info clawsouls/brad # 显示灵魂元数据
npx clawsouls update # 将已安装的灵魂更新到最新版本

验证灵魂

bash
npx clawsouls validate ./my-soul/
npx clawsouls validate --soulscan ./my-soul/ # 带SoulScan安全分析
npx clawsouls check ./my-soul/ # 别名

根据规范进行验证:模式、必需文件。添加--soulscan进行完整的安全与质量分析并评分。发布前也会自动运行。

SoulScan — 安全与完整性扫描器

bash
npx clawsouls soulscan # 扫描当前OpenClaw工作区
npx clawsouls soulscan ./my-soul/ # 扫描特定目录
npx clawsouls soulscan --init # 初始化基线校验和
npx clawsouls soulscan -q # 用于cron的静默模式(SOULSCANOK / SOULSCANALERT)
npx clawsouls scan # 别名

SoulScan检查活动灵魂文件的以下方面:

  • - 完整性: SHA-256校验和比较 — 检测自上次扫描以来的篡改
  • 安全性: 53种模式检查(提示注入、代码执行、XSS、数据泄露、权限提升、社会工程、有害内容、秘密检测)
  • 质量: 文件结构、内容长度、模式验证
  • 人格一致性: 跨SOUL.md、IDENTITY.md、soul.json交叉验证名称/语气

Cron使用 — 定期篡改检测:

bash

每小时运行以监控工作区完整性


npx clawsouls soulscan -q

退出码0 = 正常,1 = 警报(篡改或安全问题)

首次运行: 使用--init建立基线校验和而不触发警报。

SOULSCAN™ — 分数:0-100,等级:已验证(90+)/低风险(70+)/中风险(40+)/高风险/已阻止

发布灵魂

bash
export CLAWSOULS_TOKEN=<令牌>
npx clawsouls publish ./my-soul/

自动发布到用户名/灵魂名称命名空间。需要认证令牌。发布前自动运行验证 — 失败则阻止。

登录 / 获取令牌

bash
npx clawsouls login

获取API令牌的说明:登录 https://clawsouls.ai → 仪表盘 → 生成API令牌。

工作流程

安装与切换人格

  1. 1. 浏览 — 在 https://clawsouls.ai 查看可用灵魂,或从上方分类列表中推荐
  2. 安装 — npx clawsouls install clawsouls/surgical-coder
  3. 激活 — npx clawsouls use clawsouls/surgical-coder
  4. 重启 — 运行 soulclaw gateway restart 以应用新人格
  5. 新会话 — 在聊天中发送 /new 以清除对话历史中之前的人格上下文
  6. 恢复 — 如果想回退,npx clawsouls restore

发布灵魂

  1. 1. 登录 — npx clawsouls login → 从仪表盘获取令牌
  2. 设置令牌 — export CLAWSOULS_TOKEN=<令牌>
  3. 创建 — npx clawsouls init my-soul → 编辑文件
  4. 发布 — npx clawsouls publish ./my-soul/
  5. 管理 — 仪表盘 https://clawsouls.ai/dashboard(删除、查看下载量)

记忆同步(Swarm)

bash
npx clawsoul

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 clawsouls-1776419975 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 clawsouls-1776419975 技能

通过命令行安装

skillhub install clawsouls-1776419975

下载

⬇ 下载 clawsouls v0.6.3(免费)

文件大小: 12.58 KB | 发布时间: 2026-4-17 20:21

v0.6.3 最新 2026-4-17 20:21
No major changes, but documentation and workflow steps have been updated.

- Updated SKILL.md to version 0.6.2 in documentation.
- Under Installation & Switching Personas workflow, changed the gateway restart instruction to: Run `soulclaw gateway restart` (was previously `openclaw gateway restart`).
- Added a new step: Send `/new` in chat to clear previous persona context from conversation history after switching personas.
- Added new workflow and commands for "Memory Sync (Swarm)" and "Soul Checkpoints (Rollback)".

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部