baneeishaque/ljt-520_openclaw-backup / skills/0range-x/triple-layer-memory
triple-layer-memory
Verified| File | Kind | Size |
|---|---|---|
| README.md | markdown | 2.1 KB |
| SKILL.md | skill md | 7.3 KB |
| _meta.json | config | 299 B |
| docs/github-upload-guide.md | markdown | 3.1 KB |
| docs/mem0-channel-isolation.md | markdown | 2.2 KB |
| package.json | manifest | 598 B |
| scripts/auto_memory_write.py | script | 4.2 KB |
| scripts/channel_memory.py | script | 5.0 KB |
| scripts/init.sh | script | 4.0 KB |
| scripts/memory_consistency.py | script | 1.9 KB |
| scripts/memory_decay.py | script | 8.9 KB |
| scripts/memory_meta.py | script | 3.0 KB |
| scripts/session_compress.py | script | 3.0 KB |
| templates/MEMORY_ARCHITECTURE.md | markdown | 9.8 KB |
| upload-to-github.sh | script | 2.7 KB |
upload-to-github.sh
View on GitHub#!/bin/bash
# 上传 triple-layer-memory skill 到 GitHub
echo "=== 上传 triple-layer-memory skill 到 GitHub ==="
echo ""
# 1. 手动创建 GitHub 仓库
echo "步骤 1: 创建 GitHub 仓库"
echo "----------------------------------------"
echo "1. 访问: https://github.com/new"
echo "2. 仓库名称: triple-layer-memory"
echo "3. 描述: 三层记忆系统 - 解决 AI Agent 长对话记忆丢失和上下文管理问题"
echo "4. 选择 Public(公开)"
echo "5. 不要勾选 'Initialize this repository with a README'"
echo "6. 点击 'Create repository'"
echo ""
read -p "创建完成后按回车继续..."
# 2. 初始化 Git 仓库
echo ""
echo "步骤 2: 初始化 Git 仓库"
echo "----------------------------------------"
cd /Users/vulcanx/Desktop/clawork/openclaw-workspace/skills/triple-layer-memory
if [ ! -d ".git" ]; then
git init
echo "✓ Git 仓库已初始化"
else
echo "✓ Git 仓库已存在"
fi
# 3. 添加文件
echo ""
echo "步骤 3: 添加文件"
echo "----------------------------------------"
git add .
git status
echo ""
read -p "确认文件列表无误后按回车继续..."
# 4. 提交
echo ""
echo "步骤 4: 提交"
echo "----------------------------------------"
git commit -m "feat: 初始化三层记忆系统 skill
- Session 自动压缩(150k tokens 触发)
- 记忆写入时机优化(关键时机立即写入)
- 跨 Session 记忆连续性(智能加载)
- 记忆遗忘机制(语义去重、高频升权、低权归档)
- 频道级记忆隔离(Mem0 命名空间)
包含:
- SKILL.md:完整的使用文档
- README.md:快速开始指南
- scripts/:所有核心脚本
- templates/:架构文档模板
- docs/:配置指南
- init.sh:一键初始化脚本"
echo "✓ 提交完成"
# 5. 关联远程仓库
echo ""
echo "步骤 5: 关联远程仓库"
echo "----------------------------------------"
git remote add origin https://github.com/0range-x/triple-layer-memory.git
echo "✓ 远程仓库已关联"
# 6. 配置 Git 凭证
echo ""
echo "步骤 6: 配置 Git 凭证"
echo "----------------------------------------"
git config credential.helper store
echo "✓ Git 凭证助手已启用"
# 7. 推送到 GitHub
echo ""
echo "步骤 7: 推送到 GitHub"
echo "----------------------------------------"
echo "即将推送到 GitHub..."
echo "用户名: 0range-x"
echo "密码: 使用你的 Personal Access Token"
echo ""
git branch -M main
git push -u origin main
echo ""
echo "=== 上传完成!==="
echo ""
echo "仓库地址: https://github.com/0range-x/triple-layer-memory"
echo ""
echo "下一步(可选):"
echo "1. 发布到 ClawHub: https://clawhub.com/submit"
echo "2. 添加 Topics 标签: memory, openclaw, agent, session-management"
echo "3. 编辑仓库描述和 About 信息"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |