← Back to Skills Marketplace
nuwaiapp

Project- & Time-Capsules

by Djamel Saric · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
298
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install kapsel
Description
Project memory capsules — archive completed project knowledge to Google Drive and reload it on demand. Use this skill whenever the user mentions "Kapsel", "c...
README (SKILL.md)

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 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
Usage Guidance
This skill does what it says (archives project files to an rclone remote) but review these issues before installing: (1) The Python script runs shell commands via subprocess.run(..., shell=True) and builds command strings with user-provided names/paths — this can enable shell injection or unexpected command execution if names/paths are not sanitized. Consider editing the script to call subprocess.run([...], shell=False) and to validate/sanitize project names and file paths. (2) The skill will upload whatever you tell it (or whatever an agent instructs it to upload) to your configured rclone remote — verify the rclone remote points to the correct cloud account and that you trust that account. (3) The SKILL.md suggests removing project details from agent memory (e.g., MEMORY.md); do not allow automated deletion of agent memory/files without explicit, auditable confirmation. (4) If you plan to run this in a multi-tenant or sensitive environment, test in a sandbox first and consider limiting which files the agent is permitted to 'save'. If you want, I can produce a safer variant of kapsel.py that avoids shell=True and adds input validation and an allowlist for saved paths.
Capability Analysis
Type: OpenClaw Skill Name: kapsel Version: 1.0.0 The script `scripts/kapsel.py` contains a critical shell injection vulnerability because it uses `subprocess.run(shell=True)` with unsanitized inputs in the `run()` function. Commands are constructed using f-strings that incorporate user-provided arguments like `name` and `filepath` (e.g., in `cmd_load` and `cmd_save`), allowing an attacker to execute arbitrary shell commands by providing a malicious project name containing shell metacharacters. While the tool's stated purpose of archiving project data via `rclone` appears legitimate, the lack of input validation poses a significant security risk.
Capability Assessment
Purpose & Capability
Name/description match what the code and SKILL.md do: they rely on rclone to store capsule folders on a cloud remote and provide commands to create/list/load/archive/save capsules. Requiring a configured rclone remote is expected for this functionality.
Instruction Scope
SKILL.md stays within scope (create/list/load/summary/archive/save). However it recommends removing project details from the agent's active memory (e.g., 'Remove project details from active memory (e.g. MEMORY.md)') which instructs the agent to modify its own stored context and could be risky if done automatically. Also the agent-facing workflow implies the agent may run 'save' to copy arbitrary files into the remote — reasonable for this tool but worth guarding.
Install Mechanism
No install spec; instruction-only with a Python script to copy into workspace. No remote downloads or package installs are performed by the skill itself, which keeps install risk low.
Credentials
The skill requests no secrets directly and uses optional env vars (KAPSEL_REMOTE, KAPSEL_TMP). However it depends on the user's rclone configuration: the configured remote(s) hold credentials to cloud storage. Any invocation that copies files will place data into whatever remote the user configured, so users should confirm the remote points to the intended account/storage and not an untrusted endpoint.
Persistence & Privilege
always is false, the skill is user-invocable only and does not request persistent platform privileges or attempt to modify other skills. It copies its script into the workspace per the instructions (normal behavior).
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install kapsel
  3. After installation, invoke the skill by name or use /kapsel
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of kapsel: project memory capsule management for AI agents. - Archive completed project knowledge as structured folders on Google Drive or any rclone-supported cloud storage. - Triggered by keywords like "Kapsel", "capsule", "project archive", or requests to store, recall, or manage project knowledge. - Provides commands to create, load, list, summarize, archive, and add files to project capsules. - Enables clean agent memory by offloading inactive project details into retrievable capsules.
Metadata
Slug kapsel
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 298 downloads so far.

How do I install Project- & Time-Capsules?

Run "/install kapsel" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Project- & Time-Capsules free?

Yes, Project- & Time-Capsules is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Project- & Time-Capsules support?

Project- & Time-Capsules is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Project- & Time-Capsules?

It is built and maintained by Djamel Saric (@nuwaiapp); the current version is v1.0.0.

💬 Comments