Project- & Time-Capsules
/install kapsel
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:
\x3Cremote>:\x3Cbase-path>/Kapseln/\x3Cproject-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:
| Variable | Default | Meaning |
|---|---|---|
KAPSEL_REMOTE |
gdrive:Kapseln |
rclone remote + path for capsule storage |
KAPSEL_TMP |
/tmp/openclaw/kapseln |
Local 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 \x3Cname> # Create new capsule (empty template)
python3 scripts/kapsel.py load \x3Cname> # Load full capsule (all docs)
python3 scripts/kapsel.py summary \x3Cname> # Show only the short summary
python3 scripts/kapsel.py archive \x3Cname> # Mark as completed
python3 scripts/kapsel.py save \x3Cname> \x3Cfile> # Add a file to the capsule
When to use each command
Starting a new project — create makes an empty capsule with template files.
Fill in the summary, details, and context as the project progresses.
Project is done — archive 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 knowledge — summary gives a quick refresher. If you need
the full picture, use load to get all details and technical context.
Want to store a file — save 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:
- When a new project begins:
kapsel.py create my-project - As work progresses: update the capsule files with learnings, decisions, configs
- Project completed:
kapsel.py archive my-project - Remove project details from active memory (e.g. MEMORY.md) — the capsule is the archive
- 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
- Copy
scripts/kapsel.pyinto your agent's workspace scripts directory - Make sure
rcloneis installed and configured with a cloud remote - Set
KAPSEL_REMOTEto your preferred storage path - Add the commands to your agent's memory/instructions so it knows they exist
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install kapsel - 安装完成后,直接呼叫该 Skill 的名称或使用
/kapsel触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 298 次。
如何安装 Project- & Time-Capsules?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install kapsel」即可一键安装,无需额外配置。
Project- & Time-Capsules 是免费的吗?
是的,Project- & Time-Capsules 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Project- & Time-Capsules 支持哪些平台?
Project- & Time-Capsules 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Project- & Time-Capsules?
由 Djamel Saric(@nuwaiapp)开发并维护,当前版本 v1.0.0。