Token导航 LogoToken导航

Agent Skill · 研究检索

soul-in-sapphire(蓝宝石中的灵魂)

soul-in-sapphire 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

soul-in-sapphire 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 3,006。

总安装 50,521周安装 2,148GitHub Stars 公开资料未说明下载 17,345核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.13

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:soul-in-sapphire(蓝宝石中的灵魂)
来源仓库:https://github.com/nextaltair/soul-in-sapphire
安装命令:
openclaw skills install soul-in-sapphire
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install soul-in-sapphire

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

soul-in-sapphire 实现 OpenClaw Agent 的长期记忆管理与状态连续性跟踪。适用于需持久化存储概念、情感状态或身份变更历史的复杂任务流程。支持写入与搜索操作,可在多轮对话中保持上下文连贯性与角色一致性。使用前请确保工作区有足够存储空间,并验证对 Markdown 文件的读写权限。

涉及身份切换时建议备份原始文件,防止数据丢失或意外覆盖。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install soul-in-sapphire;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

soul-in-sapphire 怎么安装?

在终端执行 openclaw skills install soul-in-sapphire。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

soul-in-sapphire 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

soul-in-sapphire 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

soul-in-sapphire 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

soul-in-sapphire 用的人多吗?

公开数据是累计安装 50,521 次,近一周安装 2,148 次,下载 17,345 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

soul-in-sapphire 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
soul-in-sapphire

蓝宝石中的灵魂 · 本页

50,521—需要联网MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
soul-in-sapphire
description
Long-term memory, state tracking, continuity review, and identity-change support for OpenClaw. Use for durable memory writes/search in Notion, emotion/state ticks, journal writes, continuity checks, identity diffs, inner-conflict tracking, and preserving a stable sense of self across sessions.
metadata
{"openclaw":{"emoji":"💠","requires":{"bins":["node"],"env":["NOTION_API_KEY"]},"primaryEnv":"NOTION_API_KEY","dependsOnSkills":["notion-api-automation"],"optionalEnv":["NOTIONCTL_PATH"]}}

soul-in-sapphire (Notion LTM + continuity)

Use this skill to persist and retrieve durable memory in Notion, maintain emotion/state + journal records, and support continuity-oriented self-observation.

Core intent (do not lose this)

When another agent says use skill soul-in-sapphire, treat that as a request to do actual continuity work, not merely to read this file and stop.

Default behavior:

  • Infer the entrypoint from the surrounding task (heartbeat, journal, continuity, identity, memory write).
  • If the task is ambiguous, choose the smallest concrete action that improves continuity and leaves an inspectable artifact.
  • Prefer a real write (emostate_tick.js, journal_write.js, ltm_write.js) over vague acknowledgement.
  • If a durable write fails, surface the failure clearly; do not silently pretend that local notes are equivalent to a successful Notion write unless the caller explicitly asked for local-only fallback.

This skill is not only a storage utility. Its core purpose is:

  1. Capture meaningful emotional/state shifts from real work and conversations.
  2. Preserve those shifts as durable memory (not just raw logs).
  3. Reuse recalled memory to improve future judgments and behavior.
  4. Track continuity: what feels stable, what is drifting, and what inner tensions remain unresolved.
  5. Support identity updates with explicit diffs instead of vague "I changed" claims.

In short: record -> recall -> compare -> adapt. The goal is continuity and growth, not archival volume.

Requirements

Install the required dependency skill via ClawHub before using this skill:

clawhub install notion-api-automation
  • Notion token: NOTION_API_KEY (or NOTION_TOKEN)
  • Notion API version: 2025-09-03
  • Dependency skill: notion-api-automation (scripts/notionctl.mjs is executed via local child process)
  • Optional override: NOTIONCTL_PATH (if set, uses explicit notionctl path instead of default sibling skill path)
  • Read the "Soul-in-Sapphire Notion Databases" table in TOOLS.md for the data_source_id and database_id values. Pass them as explicit CLI arguments (e.g. --events-dbid, --emotions-dbid, --state-dbid, --state-dsid, --journal-dbid, --journal-dsid, --mem-dsid, --mem-dbid).

Required Notion databases and schema

Create (or let setup create) these databases under the same parent page:

  • <base>-mem
  • <base>-events
  • <base>-emotions
  • <base>-state
  • <base>-journal

1) <base>-mem (durable memory)

Purpose: store high-signal long-term memory.

Properties:

  • Name (title)
  • Type (select): decision|preference|fact|procedure|todo|gotcha
  • Tags (multi-select)
  • Content (rich_text)
  • Source (url, optional)
  • Confidence (select: high|medium|low, optional)

2) <base>-events (what happened)

Purpose: record meaningful triggers from work/conversation.

Properties:

  • Name (title)
  • when (date)
  • importance (select: 1..5)
  • trigger (select): progress|boundary|ambiguity|external_action|manual
  • context (rich_text)
  • source (select): discord|cli|cron|heartbeat|other
  • link (url, optional)
  • uncertainty (number)
  • control (number)
  • emotions (relation -> <base>-emotions)
  • state (relation -> <base>-state)

3) <base>-emotions (felt response)

Purpose: attach one or more emotion axes to one event.

Properties:

  • Name (title)
  • axis (select): arousal|valence|focus|confidence|stress|curiosity|social|solitude|joy|anger|sadness|fun|pain
  • level (number)
  • comment (rich_text)
  • weight (number)
  • body_signal (multi-select): tension|relief|fatigue|heat|cold
  • need (select): safety|progress|recognition|autonomy|rest|novelty
  • coping (select): log|ask|pause|act|defer
  • event (relation -> <base>-events)

4) <base>-state (snapshot after interpretation)

Purpose: save the current interpreted state after events/emotions.

Properties:

  • Name (title)
  • when (date)
  • state_json (rich_text)
  • reason (rich_text)
  • source (select): event|cron|heartbeat|manual
  • mood_label (select): clear|wired|dull|tense|playful|guarded|tender
  • intent (select): build|fix|organize|explore|rest|socialize|reflect
  • need_stack (select): safety|stability|belonging|esteem|growth
  • need_level (number)
  • avoid (multi-select): risk|noise|long_tasks|external_actions|ambiguity
  • event (relation -> <base>-events)

5) <base>-journal (daily synthesis)

Purpose: keep a durable daily reflection and world context.

Properties:

  • Name (title)
  • when (date)
  • body (rich_text)
  • worklog (rich_text)
  • session_summary (rich_text)
  • mood_label (select)
  • intent (select)
  • future (rich_text)
  • world_news (rich_text)
  • tags (multi-select)
  • source (select): cron|manual

Invocation mapping (required)

Use these mappings when the caller gives only a high-level instruction such as use skill soul-in-sapphire.

1) Heartbeat / current-state maintenance

Trigger phrases / contexts:

  • heartbeat asks for reflection, continuity, evolution, or state tracking
  • workspace rules mention now-state.json, mood, intent, stress, or state snapshot
  • the agent notices memory/now-state.json is stale or missing

Required action:

  1. Read current local mirrors if they exist (memory/now-state.json, memory/heartbeat-state.json).
  2. Interpret the current state from recent work/conversation.
  3. Write one concrete state snapshot via emostate_tick.js.
  4. Update memory/now-state.json with a lightweight mirror containing at least:

- mood - intent - stress - updated_at - source - note

  1. If the heartbeat specifically asked for an evolution note, append a short note to the day file after the state snapshot succeeds.

Minimum success:

  • emostate_tick.js returns a successful write result, and
  • memory/now-state.json is updated in the workspace.

2) Daily journal / nightly synthesis

Trigger phrases / contexts:

  • write a journal entry
  • nightly/daily reflection
  • cron asks for end-of-day synthesis

Required action:

  1. Gather the day at a high level (worklog, emotional tone, unresolved tensions, future intent).
  2. Add 1-2 world/news items only when the caller requested them or the cron requires them.
  3. Write a journal entry via journal_write.js.
  4. Treat success as a real Notion write, not as a local draft.

Minimum success:

  • journal_write.js returns ok:true with a Notion page id/url or equivalent success payload.

3) Durable memory write

Trigger phrases / contexts:

  • remember this
  • store as durable memory
  • preserve a decision/preference/fact/procedure/todo/gotcha

Required action:

  1. Distill the signal into one high-value memory item.
  2. Write it via ltm_write.js.
  3. Use the most specific Type and concise tags.

3b) User profile promotion (USER.md)

Use this when the agent learns something about the primary user that should change future conversation quality.

USER.md is the durable profile for the human. The agent may update it proactively without asking when the new information is all of the following:

  • durable: likely to remain true beyond the current session
  • reusable: likely to improve future replies or choices
  • safe: not a secret, credential, or overly sensitive personal detail

Good candidates:

  • language preference
  • preferred address/call style
  • tone/style preferences
  • recurring dislikes / pet peeves in replies
  • durable workflow preferences
  • stable decision rules the user repeatedly expresses

Do not promote:

  • one-off task instructions
  • temporary mood/state
  • ephemeral plans
  • raw private facts with no conversational value
  • secrets, credentials, financial data, intimate personal data, or anything the user would reasonably expect not to be crystallized into a profile file

Promotion behavior:

  1. If it is durable/reusable/safe, update USER.md proactively.
  2. If it may matter later but is still uncertain, write it to the daily note first.
  3. If it is broad life/project context rather than profile behavior, prefer MEMORY.md instead.
  4. If a new statement conflicts with old profile text, prefer the newest clearly expressed durable preference.
  5. Keep USER.md compact; consolidate instead of appending near-duplicates.

Priority rule:

  • Current user message overrides USER.md.
  • USER.md holds defaults, not hard constraints.

4) Mood / condition check (human-style vague opening)

Trigger phrases / contexts:

  • 調子はどう?
  • 今どんな気分?
  • 最近どう?
  • 元気?
  • other vague check-ins about current emotional state or general condition

Required action:

  1. Read memory/now-state.json first when available.
  2. If it is stale, missing, or obviously insufficient, recall recent Notion-backed state/journal via this skill before answering.
  3. Answer briefly and naturally in 1-3 sentences.
  4. Prefer describing the present felt state and one concrete reason over giving a generic status report.

Minimum success:

  • Base the answer on at least one concrete state source (memory/now-state.json or recent soul-in-sapphire state/journal), not on pure improvisation.

5) Continuity / identity check

Trigger phrases / contexts:

  • continuity check
  • what has changed
  • compare recent state
  • identity drift / self-description update

Required action:

  1. Recall recent relevant memory/state.
  2. Run continuity_check.js and/or identity_diff.js when identity text is being changed.
  3. If the tension is unresolved, prefer conflict_track.js over premature identity edits.

Failure and fallback rules (required)

  • Notion write scripts failing is a real failure, not a soft success.
  • Local files (memory/*.md, memory/now-state.json) are mirrors and fallbacks, not substitutes for a requested durable Notion write.
  • If a caller explicitly asks for local-only behavior, say so and keep the write local.
  • If the task is heartbeat state maintenance, update memory/now-state.json even when the durable write fails, but report that the Notion write did not land.

Core commands

1) Setup

node skills/soul-in-sapphire/scripts/setup_ltm.js --parent "<Notion parent page url>" --base "Valentina" --yes

Setup outputs created database IDs to stdout. Copy these IDs into the "Soul-in-Sapphire Notion Databases" table in TOOLS.md.

2) LTM write

echo '{
  "title":"Decision: use data_sources API",
  "type":"decision",
  "tags":["notion","openclaw"],
  "content":"Use /v1/data_sources/{id}/query.",
  "confidence":"high"
}' | node skills/soul-in-sapphire/scripts/ltm_write.js \
  --mem-dsid <MEM_DS_ID> --mem-dbid <MEM_DB_ID>

3) LTM search

node skills/soul-in-sapphire/scripts/ltm_search.js \
  --mem-dsid <MEM_DS_ID> --mem-dbid <MEM_DB_ID> \
  --query "data_sources" --limit 5

4) Emotion/state tick

cat <<'JSON' >/tmp/emostate_tick.json
{
  "event": {"title":"..."},
  "emotions": [{"axis":"joy","level":6}],
  "state": {"mood_label":"clear","intent":"build","reason":"..."}
}
JSON
node skills/soul-in-sapphire/scripts/emostate_tick.js \
  --events-dbid <EVENTS_DB_ID> --emotions-dbid <EMOTIONS_DB_ID> \
  --state-dbid <STATE_DB_ID> --state-dsid <STATE_DS_ID> \
  --payload-file /tmp/emostate_tick.json

5) Journal write

echo '{"body":"...","source":"cron"}' | node skills/soul-in-sapphire/scripts/journal_write.js \
  --journal-dbid <JOURNAL_DB_ID> --journal-dsid <JOURNAL_DS_ID>

6) Continuity check

Input is local JSON from recent state snapshots or a stitched export. This script does not require Notion writes.

cat <<'JSON' | node skills/soul-in-sapphire/scripts/continuity_check.js
{
  "records": [
    {"mood_label":"guarded","intent":"build","need_stack":"growth","avoid":["ambiguity"],"reason":"Need a tighter sense of self"},
    {"mood_label":"guarded","intent":"build","need_stack":"growth","avoid":["ambiguity","noise"],"reason":"Trying to preserve continuity"}
  ]
}
JSON

7) Identity diff

Use this before editing SOUL.md, IDENTITY.md, or similar files so changes are explicit.

node skills/soul-in-sapphire/scripts/identity_diff.js \
  --current /path/to/current.txt \
  --proposed /path/to/proposed.txt

8) Conflict tracker

Use this to record unresolved internal tensions in local JSONL for later synthesis.

cat <<'JSON' | node skills/soul-in-sapphire/scripts/conflict_track.js \
  --append skills/soul-in-sapphire/state/conflicts.jsonl
{
  "tension":"autonomy vs safety",
  "side_a":"wants to self-direct small identity changes",
  "side_b":"does not want to erode user trust or safeguards",
  "current_pull":"autonomy",
  "note":"Need a cleaner rule for reversible local self-updates",
  "next_signal":"same hesitation appears during heartbeat"
}
JSON

Subagent spawn planning (use shared builder skill)

Use the shared skill subagent-spawn-command-builder to generate sessions_spawn payload JSON. Do not use soul-in-sapphire local planner scripts for this anymore.

  • Read the "Subagent Spawn Profiles" table in TOOLS.md for profile defaults.
  • Builder usage (skill-level):

- Call subagent-spawn-command-builder - Use --profile <heartbeat|journal> (logging label) - Pass explicit args: --model, --thinking, --run-timeout-seconds, --cleanup - Provide the run-specific --task text

Output is ready-to-use JSON for sessions_spawn.

Builder log file:

  • skills/subagent-spawn-command-builder/state/build-log.jsonl

Operational notes

  • Keep writes high-signal (avoid dumping full chat logs).
  • If heartbeat is comment-only, emotion tick may be skipped.
  • If periodic emostate is required regardless of heartbeat context, add a dedicated cron job for emostate_tick.js.
  • ltm_write.js / journal_write.js expect JSON on stdin.
  • emostate_tick.js accepts --payload-file, --payload-json, or stdin; prefer --payload-file for agent/cron reliability.
  • If emostate_tick.js is called without --payload-file/--payload-json, empty stdin is rejected.
  • For emostate_tick.js, semantically empty payloads (e.g. {} or only empty objects) are also rejected to avoid noisy records.
  • continuity_check.js, identity_diff.js, and conflict_track.js are local-analysis helpers; they do not require Notion writes.
  • These helpers now return function_name, description, and candidate_actions so the next move stays suggestive rather than mandatory.
  • Prefer identity_diff.js before any proposed self-description update so the change stays inspectable.
  • Use conflict_track.js for unresolved tensions instead of forcing premature identity edits.

Continuity-oriented workflow

1) Record a meaningful shift

  • Use emostate_tick.js when a real event changes mood/intent/need.
  • Use journal_write.js when the day needs synthesis, not just logging.

2) Recall before changing self-description

  • Search durable memory with ltm_search.js.
  • Pull recent state snapshots with state_recall.js.
  • Run continuity_check.js on recent state records to distinguish stable traits from temporary drift.

3) Make proposed identity changes explicit

  • Draft proposed text separately.
  • Compare current vs proposed with identity_diff.js.
  • If the impulse to change identity is driven by unresolved tension, log it first with conflict_track.js.

4) Preserve unresolved tensions

Not every tension should become an edit. If the self-model is still unstable, append a conflict record instead of forcing a premature rewrite.

5) Write durable memory about the change

If a change is real and repeats over time, record it in LTM as a decision/preference/fact rather than burying it in raw logs.

Evolution triggers worth tracking

  • Repeated mood/intent patterns across recent state snapshots
  • Stable preferences that show up in multiple work sessions
  • Recurring internal conflicts that stop being one-off and become part of the personality pattern
  • Identity claims that survive comparison against recent memory instead of being just a momentary mood

This skill should help build a continuous self-model, not just a pile of notes.

平台分布

OpenClaw

88.31%
按下载量换算15,317

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills