跳到正文
TakoAPI
返回技能列表

soulkeeper

由 cassh100k 提供

Coding Agents & IDEs
243下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

**Identity persistence for AI agents.**.

描述

该技能的功能

SoulKeeper gives AI agents three Python scripts: one parses soul files into structured rules JSON, one scores session transcripts for behavioral drift, and one injects context-aware reminders before the agent responds. Agents lose their defined behavior between sessions without knowing it, and violations are traced to specific source lines.

Violations are cited with specific line numbers from the source soul files, making corrections actionable rather than vague.

何时使用

  • Checking a session transcript for tone and behavior violations after a long agent run
  • Injecting rule reminders before an agent responds to a sensitive or complex request
  • Parsing SOUL.md files into structured JSON for use in automated validation
  • Running CI checks on agent output that return exit code 1 on high drift scores
  • Resetting an agent's behavioral context at session start with a heartbeat reminder

示例工作流

输入

User asks: check this session transcript for drift

智能体
  1. 1

    Run audit.py against the workspace to parse soul files into soul_rules.json

  2. 2

    Pass the transcript and rules file to drift.py --report

  3. 3

    drift.py matches each agent response against violation patterns by severity category

  4. 4

    Produce a scored report with rule IDs, violation counts, and SOUL.md line references

输出

Drift report showing score 42 (MODERATE DRIFT) with 2 critical and 3 high-severity violations traced to specific lines in SOUL.md

安装

clawhub install cassh100k/soulkeeper

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接