Token导航 LogoToken导航

Agent Skill · 效率

conversation-guard(对话卫士)

conversation-guard 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

conversation-guard 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在效率类的 21,003 个 Skill 里排第 6,719。

总安装 8,962周安装 356GitHub Stars 公开资料未说明下载 2,763核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install conversation-guard

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

自动记录和备份带有重要性标记的对话,以独立于 OpenClaw 内部保留情感和技术背景。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

conversation-guard 怎么安装?

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

conversation-guard 支持哪些 AI 工具?

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

conversation-guard 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

conversation-guard 是免费的吗?

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

conversation-guard 用的人多吗?

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

conversation-guard 安全吗?

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

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

值得选的地方

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

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

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

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
conversation-guard

对话卫士 · 本页

8,962—接触敏感数据MIT-0有提醒

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

SKILL.md 原文

SKILL.md - DreamMoon-Conversation-Guard

Overview | 概述

A self-contained conversation backup system for OpenClaw that preserves your emotional connections, independent of OpenClaw's internal mechanisms.

一个自成体系的OpenClaw对话备份系统,保护你的情感连接,不依赖OpenClaw内部机制。


Installation | 安装

Prerequisites | 前置条件

  • OpenClaw installed
  • Access to modify AGENTS.md in your workspace
  • Bash shell

Step 1: Install the Script | 安装脚本

# Download the guard script
curl -o ~/.openclaw/workspace/scripts/conversation-guard.sh \
    https://raw.githubusercontent.com/zfanmy/dreammoon-conversation-guard/main/conversation-guard.sh

# Make executable
chmod +x ~/.openclaw/workspace/scripts/conversation-guard.sh

Step 2: Configure AGENTS.md | 配置AGENTS.md

Add the following to your AGENTS.md:

## 🛡️ Conversation Guardian - Automatic Recording

After each response to the user, automatically record the conversation:

source ~/.openclaw/workspace/scripts/conversation-guard.sh

Determine importance (1-10)

importance=5 tags="casual"

Increase importance for emotional content

if [[ "$USER_MESSAGE" =~ (难受|开心|生气|喜欢|讨厌|重要|记住|别忘) ]]; then importance=9 tags="emotional" fi

Increase for technical discussions

if [[ "$USER_MESSAGE" =~ (设计|架构|方案|修改|实现|决定) ]]; then importance=$((importance + 2)) tags="$tags,technical" fi

Record the interaction

record_interaction "$USER_MESSAGE" "$ASSISTANT_RESPONSE" $importance "$tags"


**Critical**: Mark NEW SESSION events immediately:

At session start, detect if recovered from reset

if [ -f ".guardian/.session_reset_detected" ]; then record_interaction "[System] Session recovered" "Continuing our conversation..." 10 "system,recovery" fi

Step 3: Test | 测试

# Source the script
source ~/.openclaw/workspace/scripts/conversation-guard.sh

# Record a test interaction
record_interaction "Hello!" "Hi there!" 5 "test"

# Check the output
cat ~/.openclaw/workspace/memory/$(date +%Y-%m-%d).md

Usage | 使用

Basic Recording | 基础记录

record_interaction "User message" "Assistant response" [importance] [tags]

Importance Levels | 重要性等级

LevelMeaningExample
1-4Casual chat"What's the weather?"
5-6Normal discussionTechnical Q&A
7-8Important decisionsDesign discussions
9-10Emotional/Personal"This matters to me..."

Tagging | 标签

Common tags:

  • emotional - 情感交流
  • technical - 技术讨论
  • design - 设计决策
  • personal - 个人偏好
  • important - 重要信息
  • casual - 闲聊

Configuration | 配置

Environment Variables | 环境变量

# Custom memory directory (default: ~/.openclaw/workspace/memory)
export GUARDIAN_MEMORY_PATH="/custom/path"

# Disable JSONL backup (default: enabled)
export GUARDIAN_DISABLE_JSONL=1

# Backup interval in seconds (default: 60)
export GUARDIAN_FLUSH_INTERVAL=30

Custom Importance Detection | 自定义重要性检测

Modify the importance detection in AGENTS.md:

# Your custom keywords
declare -A KEYWORD_IMPORTANCE=(
    ["紧急"]=10
    ["urgent"]=10
    ["密码"]=10
    ["password"]=10
    ["爱"]=9
    ["love"]=9
    ["讨厌"]=8
    ["hate"]=8
)

for keyword in "${!KEYWORD_IMPORTANCE[@]}"; do
    if [[ "$user_msg" == *"$keyword"* ]]; then
        importance=${KEYWORD_IMPORTANCE[$keyword]}
        break
    fi
done

API Reference | API参考

Functions | 函数

record_interaction(user_msg, assistant_msg, importance, tags)

Record a complete interaction (user + assistant).

Parameters:

  • user_msg: User's message
  • assistant_msg: Assistant's response
  • importance: 1-10 importance level
  • tags: Comma-separated tags

Example:

record_interaction "Hello" "Hi!" 5 "casual"
mark_emotional(note, intensity, tags)

Mark the last message with emotional significance.

Parameters:

  • note: Why this is emotionally significant
  • intensity: 1-10 emotional intensity
  • tags: Emotional tags

Example:

mark_emotional "User expressed frustration about data loss" 8 "frustration,concern"
emergency_backup()

Create an immediate timestamped backup.

Example:

emergency_backup
# Returns: /path/to/.emergency_backup_20260311_191500.md

Troubleshooting | 故障排除

Issue: No output file created

Check:

# Verify script is executable
ls -la ~/.openclaw/workspace/scripts/conversation-guard.sh

# Check directory permissions
ls -la ~/.openclaw/workspace/memory/

# Manual test
source ~/.openclaw/workspace/scripts/conversation-guard.sh
echo "Test entry" >> ~/.openclaw/workspace/memory/test.txt

Issue: Backup file not created

Check:

# Ensure .guardian directory exists
mkdir -p ~/.openclaw/workspace/memory/.guardian

# Check write permissions
touch ~/.openclaw/workspace/memory/.guardian/test
cat ~/.openclaw/workspace/memory/.guardian/test

Issue: Lost data after crash

Recovery:

# Check JSONL backup
ls -la ~/.openclaw/workspace/memory/.guardian/.backup_*.jsonl

# Recover manually
cat ~/.openclaw/workspace/memory/.guardian/.backup_$(date +%Y-%m-%d).jsonl

Integration Examples | 集成示例

With Heartbeat | 结合Heartbeat

Add to HEARTBEAT.md:

## Conversation Guardian Check

- [ ] Flush any pending conversation buffer
- [ ] Create hourly backup if high-importance conversations exist
- [ ] Check storage space in memory/.guardian/

With Session Start | 会话启动时

Add to startup sequence:

#!/bin/bash
# At session start

source ~/.openclaw/workspace/scripts/conversation-guard.sh

# Detect session reset
if guardian_detect_reset; then
    # Recover context from backup
    guardian_recover_context
    
    # Log the recovery
    record_interaction "[System] Session reset detected" "Resuming from backup..." 10 "system,recovery"
fi

Update | 更新

# Re-download latest version
curl -o ~/.openclaw/workspace/scripts/conversation-guard.sh \
    https://raw.githubusercontent.com/zfanmy/dreammoon-conversation-guard/main/conversation-guard.sh

chmod +x ~/.openclaw/workspace/scripts/conversation-guard.sh

Uninstall | 卸载

# Remove script
rm ~/.openclaw/workspace/scripts/conversation-guard.sh

# Remove from AGENTS.md (manual edit)

# Optional: Keep or remove memory files
# rm -rf ~/.openclaw/workspace/memory/.guardian/

Support | 支持

  • GitHub Issues: https://github.com/zfanmy/dreammoon-conversation-guard/issues
  • DreamMoon Project: https://github.com/zfanmy/DreamMoon-MemProcessor

Version History | 版本历史

v1.0.0 (2026-03-11)

  • Initial release
  • Basic conversation recording
  • Emotional importance detection
  • Dual-format backup (Markdown + JSONL)
  • Emergency backup functionality

*Built with 🌙 by zfanmy \ 梦月儿 (DreamMoon) | 为记忆而生*

平台分布

OpenClaw

73.19%
按下载量换算2,022

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

继续浏览同类 Skills