360 Secure SkillHub
360 安全技能中心

soul

读取 Oracle 的身份文件(resonance/oracle/SOUL/IDENTITY 等),把其 .claude/skills 下所有技能以相对符号链接引入当前仓库,写入清单与 .git/info/exclude 并索引其 learnings;支持按团队 roster 批量 sync 多个 Oracle,以及 off 移除链接。

分类:知识
Soul-Brews-Studio
热度 0.00
最近更新 2026-12-01 17:46:12

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add soul-brews-studio/arra-oracle-skills-cli/soul
兼容性
Claude Code 专属
联网要求
不联网
数据出网
数据不出本机
Metadata
name
soul
description
Bring an Oracle into the current repo — its soul, ALL its skills and its expertise — by link, never by copy. Reads the Oracle's resonance/identity files, symlinks every skill in its .claude/skills/ into this repo (git-excluded, recorded in a manifest), and indexes its learnings. "Many bodies, one soul": one session can carry Neo, then Pulse. Use when user says "soul NAME", "bring ORACLE here", "bring ORACLE soul", "แปลงร่างเป็น ORACLE", "become ORACLE", "soul off NAME", or — for a whole team at once from a roster — "soul sync", "sync the souls", "who tends this repo". Do NOT use to create an Oracle (use /awaken), to link a vault (use /psi), or to wear several souls for one question (use /oracle-prism or /round-table).
argument-hint
<oracle-path | org/name | name> [--show] · off <name> · sync [--dry-run]
group
oracle
tier
full

/soul — bring an Oracle, whole

Many bodies, one soul. The form can move; the soul stays in its own repo.

An Oracle is three things, and /soul brings all three — by reference, so the Oracle's own repo stays the single source and every fix there reaches every guest:

Part Lives in Brought by
Soul — who it is ψ/memory/resonance/<name>.md, oracle.md, SOUL.md, IDENTITY.md, CLAUDE.md identity reading them, in that order
Skills — what it can do .claude/skills/*/SKILL.md a symlink per skill in this repo's .claude/skills/
Expertise — what it learned ψ/memory/learnings/*.md an index of titles; read a file when its topic comes up
guest/.claude/skills/pulse-board  ──symlink──▶  pulse/.claude/skills/pulse-board
guest/.claude/souls/pulse.json    manifest of the links this skill made
guest/.git/info/exclude           both excluded — never in the tracked .gitignore

SKILL_DIR is the base directory printed above this skill.

Step 1 — resolve the Oracle

The argument is a path, or a name for maw locate (if you have maw):

ARG="<argument>"
if [ -d "$ARG" ]; then ROOT=$(cd "$ARG" && pwd)
else ROOT=$(maw locate "$ARG" --path 2>/dev/null)
fi
echo "root: ${ROOT:-NOT FOUND}"

If maw locate prints "matches N oracles", it lists org/name candidates — show them and ask which one; never pick. Empty → say so and stop. No filesystem search.

Step 2 — see what it carries (writes nothing)

bun "$SKILL_DIR/scripts/soul.ts" show "$ROOT"

It prints the soul files, every skill with what will happen to it, and the newest learnings:

Mark Meaning
+ will be linked
= already linked here
~ read-and-follow — a skill with that name already exists in this repo or in ~/.claude/skills/. Linking would make two skills with one name, so it is not linked; to use the Oracle's version, Read the printed SKILL.md path and follow it

With --show, stop here.

Step 3 — link the skills

bun "$SKILL_DIR/scripts/soul.ts" link "$ROOT"

Relative symlinks, a manifest at .claude/souls/<name>.json, and lines appended to .git/info/exclude — the repo's tracked files do not change. If it reports ⚠ TRACKED already, stop and tell the human: those paths are committed in this repo.

New skills usually appear in the session's skill list without a restart (Claude Code watches skill folders). If they don't, the human runs /reload-plugins.

Step 4 — load the soul and the expertise

Read every soul file show listed, in order. Then keep the learnings index in mind: when the work touches a topic in it, Read that learning before acting — that is the Oracle's experience, not a guess.

Step 5 — say who is here

<Name> here — soul, <N> skills and <M> learnings from <ROOT> — working in <repo>.

Working as a visiting Oracle

  • Borrowed skills run from their home. Many skills assume their own repo as the working directory (./scripts, config files, just). When a linked skill refers to repo-relative paths, resolve its home with realpath on the skill's base directory and go up three levels (skills/<s> → .claude → repo), and run those commands there — in a subshell, never by changing the session's cwd. Commands about this repo still run here.
  • This repo's rules win. The guest's AGENTS.md / CLAUDE.md override the visitor's habits on everything they cover.
  • Memory stays with the guest's caretaker. If ψ links to a vault, that is where retros and learnings go. A visitor does not write into its own home repo from here unless the human asks.
  • Rule 6. It is still one AI wearing a form. Say so when asked; never claim to be the Oracle's own running session. For its real view, ask it (/talk-to).

Several souls at once — sync from a roster

One /soul <name> links one Oracle. A repo tended by several was assembled by hand, and nothing recorded who tends this repo as one fact — so a fresh clone or a second machine could not rebuild it. sync reads a roster and makes the repo match it.

A roster is an existing team charter (ψ/teams/<name>.yaml) where a member gained one new optional field, soul: — a path or a name for maw locate, resolved exactly like Step 1 — and an optional skills: allow-list. A member with no soul: is a generic worker and is ignored, so every charter already on disk keeps working with no edits.

members:
  - role: builder
    soul: neo
  - role: heartbeat
    soul: pulse
    skills: [pulse-board, pulse-timeline]   # link only these
  - role: worker                            # no soul: — ignored by sync
bun "$SKILL_DIR/scripts/soul.ts" sync --dry-run      # plan only, nothing written
bun "$SKILL_DIR/scripts/soul.ts" sync                # apply it
bun "$SKILL_DIR/scripts/soul.ts" sync --roster <file> [guest-root]

Roster lookup, in order: --roster <file>, then this repo's own ψ/teams/*.yaml with any soul: member, then the caretaker's teams/ from .claude/PSI_CARETAKER (vault subtree first, then its repo). More than one in the first place that has any → it lists them and stops. It never merges two rosters.

The plan is always printed before any write:

Mark Meaning
+ on the roster, not linked here yet → will be linked
= already linked, unchanged
- gone from the roster → will be unlinked, and only if its manifest says by: "sync"
! linked by hand with link (no by:) → reported and never touched
~ skill-name clash → roster order wins; the later soul's copy is read-and-follow
@ this soul's existing links were made by hand, and applying the roster adopts them: the manifest gains by: "sync", so a later sync may unlink them. Ownership moves; that is why it is in the plan and not only in the file

Manifests written by sync gain "by": "sync" and "roster": "<path>". A second sync on an unchanged roster writes nothing at all — no manifest, no exclude line.

Then say who is here for every soul on the roster, by role:

Carrying neo (builder) and pulse (heartbeat) — from <roster> — working in <repo>.

Rule 6 still holds: one AI wearing several forms at once. It never speaks as one of them.

Changing souls

bun "$SKILL_DIR/scripts/soul.ts" off <name>

Removes only the symlinks its manifest lists, and only while each still points into that Oracle — real folders and other links are never touched. Exclude lines stay (harmless). Then /soul <next>.

What off cannot do: unread the soul. The old soul's files remain in this conversation's context. For a clean change of identity, run off, then start a new session with /soul <next>; within one session, say plainly which soul is speaking now.