首页龙虾技能列表 › Persona Spawn — 技能工具

Persona Spawn — 技能工具

v1.2.0

Spawn subagents with personas from a local workspace library or the Emblem persona marketplace. Use when a task needs a different voice, expertise, or operat...

0· 192·0 当前·0 累计
by @decentraliser (Decentraliser🌵)·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/14
安全扫描
VirusTotal
可疑
查看报告
OpenClaw
安全
high confidence
The skill's files, scripts, and runtime instructions are coherent with its stated purpose (managing local personas, building prompts, and spawning subagents); no unrelated credentials, strange installs, or hidden endpoints were found, though you should be aware of how it reads workspace files and fetches personas from GitHub.
评估建议
This skill appears to do what it says: manage local personas, fetch public personas from a GitHub-hosted marketplace, assemble persona prompts, and spawn subagents. Before installing, consider: (1) personas/config.json can list shared context files; if those paths point to sensitive files (or are absolute paths), the skill will read and inject their contents into the spawned agent prompt — which may be sent to an external model provider, so avoid pointing config to secrets or private system file...
详细分析 ▾
用途与能力
Name/description match the delivered assets: scripts to ensure a local persona library, import personas from a public marketplace, build a deterministic persona prompt, and spawn subagents. No extra credentials or unrelated binaries are requested.
指令范围
SKILL.md and scripts only reference persona files and shared org context files. One notable behavior: build-persona-prompt loads files listed in personas/config.json and will resolve absolute paths if present — meaning the skill can read any file path referenced in that config and include it in the assembled prompt. This is consistent with the feature (injecting shared org context) but is a data-exposure risk if config.json points at sensitive files.
安装机制
No install spec (instruction-only), and included scripts use curl to fetch personas from raw.githubusercontent.com / github.com archives — well-known hosts. No downloads from weird or shortener URLs and no extract-from-arbitrary-URLs beyond the GitHub archive.
凭证需求
The skill requires no environment variables or external credentials. Network access is used for optional marketplace imports (public GitHub raw URLs) and is reasonable for the described capability.
持久化与权限
always is false. The skill writes to <workspace>/personas/ and creates a personas/config.json when bootstrapping starter personas — this is appropriate for its function. It does not request system-wide privileges or modify other skills.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.2.02026/3/15

Add persona override directive, shared context_files support, deterministic prompt builder, starter bootstrap, and improved persona import flow.

● 可疑

安装命令 点击复制

官方npx clawhub@latest install persona-spawn
镜像加速npx clawhub@latest install persona-spawn --registry https://cn.clawhub-mirror.com

技能文档

Use this skill to ensure the local persona library exists, assemble a deterministic persona prompt, and spawn a subagent without letting workspace persona files override the requested persona.

Files

Keep personas in the current workspace:

/personas/
├── config.json
├── index.json
├── the-mandalorian/
│   ├── SOUL.md
│   ├── IDENTITY.md
│   └── persona.json
└── /
    ├── SOUL.md
    ├── IDENTITY.md
    └── persona.json

personas/config.json is the shared org-context config. Put docs there that every persona spawn should inherit, such as Kru foundation rules, brand standards, or execution rules.

Read references/api-endpoints.md only when importing or validating marketplace data. Read references/soul-guide.md only when authoring a new custom persona.

First use

Before resolving personas, ensure the local library exists:

python3 /scripts/ensure-personas.py  

If the workspace has no local persona library yet, this bootstraps bundled starter personas and creates personas/config.json.

Shared org context config

Create or edit:

{
  "context_files": [
    "../_System/Motoko-Kru-Foundation.md",
    "../Resources/Coding-Subagent-Contract.md"
  ]
}

Rules:

  • Accept context_files as either an array or a comma-separated string.
  • Resolve relative paths from personas/config.json.
  • Use shared context for durable org rules, not persona-specific flavor.

Workflow

1. Respect local policy first

Before spawning, follow the current workspace policy. If local AGENTS.md or system rules require asking before spawning subagents, ask first. Do not use this skill to bypass local governance.

2. Ensure local personas exist

Run:

python3 /scripts/ensure-personas.py  

Then read /personas/index.json.

3. Resolve the persona

Read:

  • /personas//SOUL.md
  • /personas//IDENTITY.md
  • /personas//persona.json

If the persona is not installed locally, import it first with the bundled importer.

4. Build the persona prompt deterministically

Use the bundled builder:

python3 /scripts/build-persona-prompt.py \
   \
   \
  --task-file 

This assembles the prompt in this order:

  • Override directive
  • Org context files from personas/config.json
  • Persona SOUL.md
  • Persona IDENTITY.md
  • Task

The override directive tells the spawned agent to ignore conflicting workspace-injected SOUL.md / IDENTITY.md for persona and tone, while still obeying higher-priority system, developer, safety, and governance instructions.

5. Spawn the subagent

Use the normal OpenClaw subagent path with the assembled prompt. Preferred shape:

{
  "task": "",
  "runtime": "subagent",
  "mode": "run",
  "label": "persona:",
  "runTimeoutSeconds": 300,
  "cleanup": "delete"
}

Model guidance:

  • Use the caller's default model unless the user requests another one.
  • Use a fast model for writing, brainstorming, or stylistic tasks.
  • Use a stronger model for analysis, security review, or planning.

6. Return the result

The subagent reports back automatically.

  • If the user asked for the persona's voice, preserve it.
  • Otherwise summarize in your own voice and mention which persona was used.

Import personas

Import one

bash /scripts/import-persona.sh  /personas

Import all

bash /scripts/import-persona.sh --all /personas

Batch without rebuilding every time

bash /scripts/import-persona.sh --no-index  /personas
python3 /scripts/rebuild-index.py /personas

Rebuild the local index manually

After adding, removing, or editing personas:

python3 /scripts/rebuild-index.py /personas

Guardrails

  • Do not change your own persona in-place. Spawn another agent instead.
  • Do not spawn for trivial one-liners.
  • Do not mix multiple personas in one subagent.
  • Do not add tone instructions that conflict with the persona.
  • Prefer local personas after import.
  • Prefer context_files for shared org doctrine and execution standards.
  • If import fails, report the failure cleanly and suggest nearby installed personas when possible.
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务