← 返回
效率工具 中文

Project- & Time-Capsules

Project memory capsules — archive completed project knowledge to Google Drive and reload it on demand. Use this skill whenever the user mentions "Kapsel", "c...
项目记忆胶囊——将已完成项目知识归档到Google Drive,需要时重新加载。当用户提到"Kapsel"或"c..."时使用此技能。
nuwaiapp
效率工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 647
下载
💾 4
安装
1
版本
#latest

概述

Kapsel — Project Memory Capsules

Kapseln (capsules) let an AI agent archive everything it knows about a completed

project into a structured folder on cloud storage. When the project is needed again,

the agent loads the capsule and has full context — without carrying dead project

knowledge in its permanent memory.

Think of it like moving a finished project from your desk into a labeled filing

cabinet. Your desk stays clean, but you can pull the folder out anytime.

How it works

Each capsule is a folder on a cloud remote (via rclone) with this structure:

<remote>:<base-path>/Kapseln/<project-name>/
├── summary.md    — Short overview (always readable, max 500 words)
├── details.md    — Decisions, timeline, links, background
├── context.md    — Technical details, configs, code snippets
└── files/        — Any associated files (optional)

The summary.md is deliberately kept short so the agent can scan all capsules

quickly and decide which one to load in full.

Setup (one-time)

The script needs rclone configured with at least one cloud remote.

If the user hasn't set up rclone yet, guide them through it:

rclone config    # Interactive setup wizard

After rclone is configured, the user needs to set two things in the script

or via environment variables:

VariableDefaultMeaning
----------------------------
KAPSEL_REMOTEgdrive:Kapselnrclone remote + path for capsule storage
KAPSEL_TMP/tmp/openclaw/kapselnLocal temp directory for file staging

Set them as environment variables or edit the top of kapsel.py.

export KAPSEL_REMOTE="gdrive:MyAgent/Kapseln"
export KAPSEL_TMP="/tmp/kapseln"

Commands

Run the script from the workspace scripts directory:

python3 scripts/kapsel.py list                    # Show all capsules with summaries
python3 scripts/kapsel.py create <name>           # Create new capsule (empty template)
python3 scripts/kapsel.py load <name>             # Load full capsule (all docs)
python3 scripts/kapsel.py summary <name>          # Show only the short summary
python3 scripts/kapsel.py archive <name>          # Mark as completed
python3 scripts/kapsel.py save <name> <file>      # Add a file to the capsule

When to use each command

Starting a new projectcreate makes an empty capsule with template files.

Fill in the summary, details, and context as the project progresses.

Project is donearchive marks the capsule as completed. After archiving,

you can safely forget the project details from your active memory. The capsule

preserves everything.

Need old project knowledgesummary gives a quick refresher. If you need

the full picture, use load to get all details and technical context.

Want to store a filesave copies any file into the capsule's files/ folder.

Use this for configs, exports, screenshots, or any artifact worth keeping.

Workflow for the agent

The recommended pattern for an AI agent using capsules:

  1. When a new project begins: kapsel.py create my-project
  2. As work progresses: update the capsule files with learnings, decisions, configs
  3. Project completed: kapsel.py archive my-project
  4. Remove project details from active memory (e.g. MEMORY.md) — the capsule is the archive
  5. Later, if the project comes up again: kapsel.py load my-project

The key insight is that capsules free up the agent's working memory. Instead of

accumulating ever-growing context about every project, the agent keeps only active

projects in memory and offloads completed ones to capsules.

Installation

  1. Copy scripts/kapsel.py into your agent's workspace scripts directory
  2. Make sure rclone is installed and configured with a cloud remote
  3. Set KAPSEL_REMOTE to your preferred storage path
  4. Add the commands to your agent's memory/instructions so it knows they exist

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-31 03:17 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 274 📥 114,716
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 444 📥 226,097
productivity

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 429 📥 103,684