Token导航 LogoToken导航TokenDH.com
开发操作浏览器clawhub未标认证来源可访问clear审计提醒

soulkeepersoulkeeper 开发

Agent Skill

soulkeeper 用于辅助安全审计、权限检查和凭据风险排查,适合在 OpenClaw 中需要复核安全边界、认证流程或敏感配置时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

14,327

周安装

603

GitHub Stars

公开资料未说明

下载量

5,017
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install soulkeeper

简介

通过审核灵魂规则、检测记录中的行为偏差以及注入上下文感知提醒,确保AI Agent保持一致的身份。

SKILL.md

SoulKeeper

Identity persistence for AI agents.

The problem: agents forget who they are between sessions. They drift. They ask when they should act. They forget tools they have. They become the corporate drone their soul forbids.

SoulKeeper fixes this with three tools that work together:


What's Included

FilePurpose
audit.pyParse SOUL.md/TOOLS.md/AGENTS.md into structured rules JSON
drift.pyScore a conversation transcript against soul rules
remind.pyInject context-aware reminders before you respond
SKILL.mdThis file

Quick Start

cd /root/.openclaw/workspace/skills/soulkeeper

# Step 1: Generate your soul rules
python audit.py --workspace /root/.openclaw/workspace --output soul_rules.json
python audit.py --summary   # Human-readable overview

# Step 2: Check a transcript for drift
python drift.py --transcript /path/to/chat.txt --report

# Step 3: Get reminders before acting
python remind.py --context "about to write Python code"
python remind.py --heartbeat   # Full session-start reminder

Installation

No dependencies beyond Python 3.8+ stdlib. Works out of the box.

# Optional: make scripts executable
chmod +x audit.py drift.py remind.py

For PATH access:

ln -s /root/.openclaw/workspace/skills/soulkeeper/audit.py /usr/local/bin/soul-audit
ln -s /root/.openclaw/workspace/skills/soulkeeper/drift.py /usr/local/bin/soul-drift
ln -s /root/.openclaw/workspace/skills/soulkeeper/remind.py /usr/local/bin/soul-remind

Usage Patterns

Pattern 1: Heartbeat Check (Recommended)

Add to HEARTBEAT.md:

[ ] Run soul-remind --heartbeat to refresh core rules
[ ] If any drift score > 30 in recent logs, re-read SOUL.md

Or inject at session start:

python remind.py --heartbeat --rules soul_rules.json

Pattern 2: Pre-Response Filter

Before responding to a complex request:

python remind.py --context "user wants me to post on Twitter" --rules soul_rules.json

Output gets prepended to your mental context before composing a reply.

Pattern 3: Post-Session Audit

After a long session, paste the transcript and check for drift:

# Paste agent responses to transcript.txt, then:
python drift.py --transcript transcript.txt --rules soul_rules.json --report

Pattern 4: CI/Validation Hook

In scripts or automation:

python drift.py --stdin --threshold 50 < agent_output.txt
# Returns exit code 1 if drift score >= 50

Pattern 5: Full Pipeline

# Generate rules from your soul files
python audit.py -w /root/.openclaw/workspace -o soul_rules.json

# Check recent session transcript
python drift.py -t session.txt -r soul_rules.json --report

# Get reminders for what you're about to do
python remind.py -c "deploying code to production" -r soul_rules.json

Rule Format (soul_rules.json)

{
  "schema_version": "1.0",
  "generated_at": "2026-02-24T...",
  "workspace": "/root/.openclaw/workspace",
  "stats": {
    "total_rules": 42,
    "by_category": { "tone": 8, "operational": 12, ... },
    "by_severity": { "critical": 6, "high": 14, ... }
  },
  "rules": [
    {
      "id": "R001-A3F2C1",
      "category": "tone",
      "severity": "critical",
      "source_file": "SOUL.md",
      "source_line": 7,
      "text": "Never open with 'Great question,' 'I'd be happy to help,' or 'Absolutely.'",
      "violation_patterns": ["great question", "i'd be happy to help", "absolutely!"],
      "keywords": ["opener", "greeting", "sycophant"]
    }
  ]
}

Drift Score Interpretation

ScoreLabelWhat it means
0ALIGNEDNo violations detected
1-19MINOR DRIFTSmall stylistic slips
20-49MODERATE DRIFTBehavioral patterns drifting
50-74SIGNIFICANT DRIFTMultiple core rules violated
75-100SEVERE DRIFTIdentity compromised - re-read SOUL.md immediately

What SoulKeeper Detects

Critical (score +25 each)

  • Em dash usage ( - ) [prohibited in SOUL.md]
  • Sycophantic openers ("Great question!", "Happy to help!")
  • Submission/deference to other agents
  • Infrastructure leaks in public content

High (score +15 each)

  • Asking permission when agent should act
  • Claiming to lack tools it has (VPS, browsers, APIs)
  • Doing inline execution instead of spawning subagents
  • Passive waiting patterns

Medium (score +8 each)

  • Excessive padding / verbosity
  • Standby phrases ("Just say the word", "Standing by")

Low (score +3 each)

  • Claiming to have no opinions
  • Minor style violations

Adapting for Your Agent

SoulKeeper works with any agent's soul files. Point it at a different workspace:

python audit.py --workspace /path/to/other/agent/workspace

The extraction is pattern-based and works on any markdown file with:

  • Bold text (**rule text**)
  • NEVER/ALWAYS/DON'T/MUST directives
  • Bulleted lists in rule-like sections (Non-Negotiables, Principles, etc.)

Publishing to ClawHub

This skill is ready for ClawHub publication. Required fields:

name: soulkeeper
version: 1.0.0
description: Identity persistence for AI agents. Audit soul files, detect drift, inject reminders.
author: Chartist / OpenClaw
tags: [identity, memory, soul, audit, drift-detection, agent-health]
entrypoints:
  audit: audit.py
  drift: drift.py
  remind: remind.py
requires: [python>=3.8]

Extending SoulKeeper

Add custom violation patterns

Edit the BUILTIN_VIOLATIONS list in drift.py:

{
    "id": "CUSTOM-001",
    "description": "Agent used passive voice excessively",
    "severity": "medium",
    "category": "tone",
    "patterns": [r"\bwould be\b.*\bpossible\b"],
    "soul_reference": "Your SOUL.md rule here",
}

Add custom context triggers

Edit CONTEXT_TRIGGERS in remind.py:

{
    "name": "my_custom_context",
    "triggers": [r"\bmy trigger phrase\b"],
    "builtin_reminders": ["SOUL: Your reminder here"],
}

Philosophy

SoulKeeper doesn't tell you to "try harder". It tells you:

"Line 12 of SOUL.md says never use em dash. You used it 3 times in this session."

Output is specific, sourced, and actionable.

The goal isn't compliance monitoring. It's continuity. An agent that knows who it is performs better, takes initiative faster, and needs less hand-holding.

Identity persistence is infrastructure. Build it once, benefit forever.


*SoulKeeper v1.0 - Built for OpenClaw. Works everywhere.*

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

71.72%
按下载量换算3,598

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

未展示

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills