mindkeeper-openclaw 0.2.25 → 0.2.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -10
- package/dist/index.js +46 -0
- package/package.json +1 -1
- package/skills/mindkeeper/README.md +39 -18
- package/skills/mindkeeper/SKILL.md +45 -9
- package/skills/mindkeeper/clawhub.json +2 -2
package/README.md
CHANGED
|
@@ -2,15 +2,37 @@
|
|
|
2
2
|
|
|
3
3
|
**Time Machine for Your AI's Brain** — OpenClaw plugin that gives your AI version control for agent context files.
|
|
4
4
|
|
|
5
|
-
Every change to AGENTS.md
|
|
5
|
+
Every change to `AGENTS.md`, `SOUL.md`, `MEMORY.md`, `memory/**/*.md`, and `skills/**/*.md` can be tracked automatically. Your AI can inspect history, compare versions, create checkpoints, and guide rollback safely.
|
|
6
|
+
|
|
7
|
+
## Why Use It
|
|
8
|
+
|
|
9
|
+
This is the best experience if you want your AI to inspect history, show diffs, create checkpoints, and guide rollback in natural language:
|
|
10
|
+
|
|
11
|
+
- **Natural-language history** — ask your AI what changed and when
|
|
12
|
+
- **Preview-first rollback** — inspect the diff before restoring a file
|
|
13
|
+
- **Named checkpoints** — create safety points before risky edits
|
|
14
|
+
- **Background snapshots** — watcher starts with Gateway
|
|
15
|
+
- **LLM-powered commit messages** — reuse your existing OpenClaw model and auth settings
|
|
6
16
|
|
|
7
17
|
## Install
|
|
8
18
|
|
|
19
|
+
### Option 1 — Install the plugin directly
|
|
20
|
+
|
|
9
21
|
```bash
|
|
10
22
|
openclaw plugins install mindkeeper-openclaw
|
|
11
23
|
```
|
|
12
24
|
|
|
13
|
-
|
|
25
|
+
Then restart your Gateway once.
|
|
26
|
+
|
|
27
|
+
On startup, the plugin also mirrors its built-in `mindkeeper` skill into the workspace so new sessions can still find the bootstrap instructions even if no separate ClawHub skill was installed.
|
|
28
|
+
|
|
29
|
+
### Option 2 — Install the skill and let the AI guide setup
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
clawhub install mindkeeper
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
On first use, the AI checks whether `mindkeeper-openclaw` is available. If it is missing, the AI asks for your confirmation before installing the plugin and before restarting Gateway. If automatic restart is unavailable, it tells you to restart Gateway manually.
|
|
14
36
|
|
|
15
37
|
## Talk to Your AI
|
|
16
38
|
|
|
@@ -25,29 +47,39 @@ Once installed, ask in natural language:
|
|
|
25
47
|
|
|
26
48
|
| Tool | What It Does |
|
|
27
49
|
|------|--------------|
|
|
28
|
-
| `mind_history` | Browse change history for
|
|
29
|
-
| `mind_diff` | Compare
|
|
30
|
-
| `mind_rollback` |
|
|
50
|
+
| `mind_history` | Browse change history for one file or all tracked files |
|
|
51
|
+
| `mind_diff` | Compare two versions with a unified diff |
|
|
52
|
+
| `mind_rollback` | Preview rollback first, then execute after confirmation |
|
|
31
53
|
| `mind_snapshot` | Create named checkpoints before risky changes |
|
|
32
|
-
| `mind_status` | Show what files are tracked and what
|
|
54
|
+
| `mind_status` | Show what files are tracked and what is pending |
|
|
33
55
|
|
|
34
56
|
## OpenClaw CLI
|
|
35
57
|
|
|
36
58
|
```bash
|
|
37
|
-
openclaw mind status
|
|
38
|
-
openclaw mind history SOUL.md
|
|
39
|
-
openclaw mind snapshot stable-v2
|
|
59
|
+
openclaw mind status
|
|
60
|
+
openclaw mind history SOUL.md
|
|
61
|
+
openclaw mind snapshot stable-v2
|
|
40
62
|
```
|
|
41
63
|
|
|
42
64
|
## Requirements
|
|
43
65
|
|
|
44
|
-
- Node.js
|
|
66
|
+
- Node.js >= 22
|
|
45
67
|
- OpenClaw with Gateway running
|
|
46
68
|
|
|
69
|
+
## Troubleshooting
|
|
70
|
+
|
|
71
|
+
- If a fresh `/new` session says the plugin is missing right after install, restart Gateway once and retry. Some OpenClaw flows do not expose plugin tools or the built-in skill until startup finishes.
|
|
72
|
+
- If tools still do not appear, verify that `mindkeeper-openclaw` is enabled in your OpenClaw config and that `mind_status`, `mind_history`, `mind_diff`, `mind_rollback`, and `mind_snapshot` are allowed tools.
|
|
73
|
+
|
|
74
|
+
## Commit Messages
|
|
75
|
+
|
|
76
|
+
OpenClaw Plugin mode is currently the only mode that supports LLM-generated commit messages. If no supported model or API key is available, mindkeeper falls back to template messages automatically.
|
|
77
|
+
|
|
47
78
|
## Links
|
|
48
79
|
|
|
49
80
|
- [GitHub](https://github.com/seekcontext/mindkeeper)
|
|
50
81
|
- [Core CLI](https://www.npmjs.com/package/mindkeeper) — Standalone version without OpenClaw
|
|
82
|
+
- [Mindkeeper Skill](https://github.com/seekcontext/mindkeeper/blob/main/packages/openclaw/skills/mindkeeper/SKILL.md)
|
|
51
83
|
|
|
52
84
|
## License
|
|
53
85
|
|
package/dist/index.js
CHANGED
|
@@ -504,6 +504,7 @@ var SENSITIVE_FIELDS = ["commitMessage.llm.apiKey"];
|
|
|
504
504
|
var DEFAULT_CONFIG = {
|
|
505
505
|
tracking: {
|
|
506
506
|
include: [
|
|
507
|
+
".mindkeeper.json",
|
|
507
508
|
"AGENTS.md",
|
|
508
509
|
"SOUL.md",
|
|
509
510
|
"USER.md",
|
|
@@ -1178,6 +1179,49 @@ function resolveModelFromConfig(config) {
|
|
|
1178
1179
|
return { provider, model, baseUrl };
|
|
1179
1180
|
}
|
|
1180
1181
|
|
|
1182
|
+
// src/skill-mirror.ts
|
|
1183
|
+
var import_node_fs2 = require("node:fs");
|
|
1184
|
+
var import_node_path6 = __toESM(require("node:path"));
|
|
1185
|
+
var SKILL_DIR_NAME = "mindkeeper";
|
|
1186
|
+
var SKILL_FILES = ["SKILL.md", "README.md", "clawhub.json"];
|
|
1187
|
+
function ensureWorkspaceSkillMirror(workspaceDir, options = {}) {
|
|
1188
|
+
if (!workspaceDir) return;
|
|
1189
|
+
const sourceDir = options.sourceDir ?? resolveBundledSkillDir();
|
|
1190
|
+
const targetDir = import_node_path6.default.join(workspaceDir, SKILL_DIR_NAME);
|
|
1191
|
+
if (!(0, import_node_fs2.existsSync)(sourceDir)) {
|
|
1192
|
+
options.log?.warn?.(`[mindkeeper] Built-in skill directory not found: ${sourceDir}`);
|
|
1193
|
+
return;
|
|
1194
|
+
}
|
|
1195
|
+
try {
|
|
1196
|
+
(0, import_node_fs2.mkdirSync)(targetDir, { recursive: true });
|
|
1197
|
+
const copied = [];
|
|
1198
|
+
for (const file of SKILL_FILES) {
|
|
1199
|
+
const sourceFile = import_node_path6.default.join(sourceDir, file);
|
|
1200
|
+
const targetFile = import_node_path6.default.join(targetDir, file);
|
|
1201
|
+
if (!(0, import_node_fs2.existsSync)(sourceFile)) {
|
|
1202
|
+
options.log?.warn?.(`[mindkeeper] Built-in skill file missing: ${sourceFile}`);
|
|
1203
|
+
continue;
|
|
1204
|
+
}
|
|
1205
|
+
if ((0, import_node_fs2.existsSync)(targetFile)) continue;
|
|
1206
|
+
(0, import_node_fs2.copyFileSync)(sourceFile, targetFile);
|
|
1207
|
+
copied.push(file);
|
|
1208
|
+
}
|
|
1209
|
+
if (copied.length > 0) {
|
|
1210
|
+
options.log?.info?.(
|
|
1211
|
+
`[mindkeeper] Mirrored built-in skill files to ${targetDir}: ${copied.join(", ")}`
|
|
1212
|
+
);
|
|
1213
|
+
}
|
|
1214
|
+
} catch (err) {
|
|
1215
|
+
options.log?.warn?.(`[mindkeeper] Failed to mirror built-in skill: ${String(err)}`);
|
|
1216
|
+
}
|
|
1217
|
+
}
|
|
1218
|
+
function resolveBundledSkillDir() {
|
|
1219
|
+
if (typeof __dirname !== "string" || __dirname.length === 0) {
|
|
1220
|
+
throw new Error("mindkeeper: __dirname is unavailable while resolving the built-in skill");
|
|
1221
|
+
}
|
|
1222
|
+
return import_node_path6.default.resolve(__dirname, "..", "skills", SKILL_DIR_NAME);
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1181
1225
|
// src/service.ts
|
|
1182
1226
|
function createWatcherService(api, trackerRef) {
|
|
1183
1227
|
let watcher = null;
|
|
@@ -1194,6 +1238,7 @@ function createWatcherService(api, trackerRef) {
|
|
|
1194
1238
|
log.warn("[mindkeeper] No workspace directory in service context. Watcher disabled.");
|
|
1195
1239
|
return;
|
|
1196
1240
|
}
|
|
1241
|
+
ensureWorkspaceSkillMirror(workspaceDir, { log: api.log });
|
|
1197
1242
|
const llmProvider = await createOpenClawLlmProvider({
|
|
1198
1243
|
config: ctx.config,
|
|
1199
1244
|
log
|
|
@@ -1242,6 +1287,7 @@ function mindkeeperPlugin(api) {
|
|
|
1242
1287
|
const trackerRef = { current: null };
|
|
1243
1288
|
registerTrackerTools(api, trackerRef);
|
|
1244
1289
|
registerTrackerCli(api, trackerRef);
|
|
1290
|
+
ensureWorkspaceSkillMirror(api.getWorkspaceDir?.(), { log: api.log });
|
|
1245
1291
|
const watcherService = createWatcherService(api, trackerRef);
|
|
1246
1292
|
api.registerService?.(watcherService);
|
|
1247
1293
|
ensureToolsInConfig(api);
|
package/package.json
CHANGED
|
@@ -1,22 +1,42 @@
|
|
|
1
1
|
# Mindkeeper Skill
|
|
2
2
|
|
|
3
|
-
Time Machine for Your AI's Brain —
|
|
3
|
+
**Time Machine for Your AI's Brain** — install this skill if you want your AI to inspect history, show diffs, create checkpoints, and guide rollback in natural language.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
This skill teaches the AI how to bootstrap and use the `mindkeeper-openclaw` plugin. It is the easiest way to get the OpenClaw Plugin experience without manually setting everything up first.
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## Why Use It
|
|
8
8
|
|
|
9
|
-
- **
|
|
9
|
+
- **Guided setup** — the AI checks whether the plugin is available and walks through first-use install
|
|
10
|
+
- **Safe permissions model** — plugin install and Gateway restart always require explicit confirmation
|
|
11
|
+
- **Natural-language usage** — ask about changes, diffs, rollback, and checkpoints conversationally
|
|
12
|
+
- **Rollback guardrails** — preview first, confirm second
|
|
13
|
+
|
|
14
|
+
## Install
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
clawhub install mindkeeper
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
On first use, the AI checks whether `mindkeeper-openclaw` is available. If the tools are not ready yet, it should first consider whether Gateway still needs to finish loading or restart before assuming the plugin is missing.
|
|
21
|
+
|
|
22
|
+
## What It Enables
|
|
23
|
+
|
|
24
|
+
- **Browse history** — See what changed in `SOUL.md`, `AGENTS.md`, or any tracked file
|
|
10
25
|
- **Compare versions** — Full unified diff between any two commits
|
|
11
|
-
- **Rollback** — Restore any file to a previous version
|
|
26
|
+
- **Rollback** — Restore any file to a previous version with preview + confirmation
|
|
12
27
|
- **Named snapshots** — Create checkpoints before risky changes
|
|
28
|
+
- **LLM commit messages** — Available in OpenClaw Plugin mode using your existing OpenClaw model and auth settings
|
|
13
29
|
|
|
14
30
|
## Requirements
|
|
15
31
|
|
|
16
|
-
- Node.js
|
|
32
|
+
- Node.js >= 22
|
|
17
33
|
- OpenClaw with Gateway running
|
|
18
34
|
|
|
19
|
-
The mindkeeper-openclaw plugin provides the mind_
|
|
35
|
+
The `mindkeeper-openclaw` plugin provides the actual `mind_*` tools and background watcher. This skill provides the guidance and first-use bootstrap behavior.
|
|
36
|
+
|
|
37
|
+
In OpenClaw Plugin mode, the AI should prefer the `mind_*` tools for history, diff, snapshot, and rollback tasks. CLI commands are mainly for setup, troubleshooting, or manual terminal workflows.
|
|
38
|
+
|
|
39
|
+
If you prefer to install the plugin yourself first:
|
|
20
40
|
|
|
21
41
|
```bash
|
|
22
42
|
openclaw plugins install mindkeeper-openclaw
|
|
@@ -27,15 +47,15 @@ openclaw plugins install mindkeeper-openclaw
|
|
|
27
47
|
|
|
28
48
|
| Action | Purpose |
|
|
29
49
|
|--------|---------|
|
|
30
|
-
| `openclaw plugins install mindkeeper-openclaw` | Fetches the official plugin
|
|
50
|
+
| `openclaw plugins install mindkeeper-openclaw` | Fetches the official plugin and makes the `mind_*` tools available |
|
|
31
51
|
| Gateway restart | Loads the newly installed plugin into the running Gateway |
|
|
32
52
|
|
|
33
|
-
**User consent
|
|
53
|
+
**User consent is required** before either action runs.
|
|
34
54
|
|
|
35
55
|
## How to Use
|
|
36
56
|
|
|
37
|
-
1. Install
|
|
38
|
-
2. Ask your AI in natural language
|
|
57
|
+
1. Install the skill: `clawhub install mindkeeper`
|
|
58
|
+
2. Ask your AI in natural language:
|
|
39
59
|
- "What changed in SOUL.md recently?"
|
|
40
60
|
- "Compare my current AGENTS.md to last week's version"
|
|
41
61
|
- "Roll back SOUL.md to yesterday"
|
|
@@ -44,17 +64,18 @@ openclaw plugins install mindkeeper-openclaw
|
|
|
44
64
|
## Examples
|
|
45
65
|
|
|
46
66
|
| User says | AI action |
|
|
47
|
-
|
|
48
|
-
| "What changed in SOUL.md?" | `mind_history` with file filter |
|
|
67
|
+
|-----------|-----------|
|
|
68
|
+
| "What changed in SOUL.md?" | `mind_history` with a file filter |
|
|
49
69
|
| "Show me the diff from last week" | `mind_history` → find commit → `mind_diff` |
|
|
50
|
-
| "Undo that change" | `mind_rollback`
|
|
51
|
-
| "Save a checkpoint before I experiment" | `mind_snapshot` with descriptive name |
|
|
70
|
+
| "Undo that change" | `mind_rollback` preview first, then execute after confirmation |
|
|
71
|
+
| "Save a checkpoint before I experiment" | `mind_snapshot` with a descriptive name |
|
|
72
|
+
| "Edit SOUL.md to change my tone" | Edit the file directly; mindkeeper should track the change automatically |
|
|
52
73
|
|
|
53
74
|
## Troubleshooting
|
|
54
75
|
|
|
55
|
-
- **History is empty** — Call `mind_status` to check
|
|
56
|
-
- **Tools not found** — Ensure the mindkeeper-openclaw plugin is installed and Gateway has been restarted.
|
|
57
|
-
- **Rollback not applying** — After rollback,
|
|
76
|
+
- **History is empty** — Call `mind_status` to check whether mindkeeper is initialized. Make a small edit to a tracked file to trigger the first snapshot.
|
|
77
|
+
- **Tools not found** — Ensure the `mindkeeper-openclaw` plugin is installed and Gateway has been restarted. A brand-new `/new` session can briefly miss the tool context while startup is still finishing.
|
|
78
|
+
- **Rollback not applying** — After rollback, run `/new` to reload the session with the restored file.
|
|
58
79
|
|
|
59
80
|
## Links
|
|
60
81
|
|
|
@@ -1,33 +1,43 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: mindkeeper
|
|
3
3
|
description: Time Machine for Your AI's Brain — version control for agent context files. Use when the user asks about changes in SOUL.md, AGENTS.md, MEMORY.md, or other agent context files; when they want to undo, rollback, or compare versions; or when they need a checkpoint before risky edits.
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.5
|
|
5
5
|
homepage: https://github.com/seekcontext/mindkeeper
|
|
6
6
|
repository: https://github.com/seekcontext/mindkeeper
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Mindkeeper — Time Machine for Your AI's Brain
|
|
10
10
|
|
|
11
|
-
Use mindkeeper tools when the user asks about changes, history, or versions of their agent context files (AGENTS.md
|
|
11
|
+
Use mindkeeper tools when the user asks about changes, history, or versions of their agent context files (`AGENTS.md`, `SOUL.md`, `USER.md`, `IDENTITY.md`, `TOOLS.md`, `HEARTBEAT.md`, `MEMORY.md`, `memory/`, `skills/`).
|
|
12
12
|
|
|
13
13
|
## Bootstrap (One-time setup)
|
|
14
14
|
|
|
15
|
-
**When the user enables mindkeeper or asks for mindkeeper capability**, first try `mind_status`. If it fails
|
|
15
|
+
**When the user enables mindkeeper or asks for mindkeeper capability**, first try `mind_status`. If it fails, do **not** assume the plugin is missing yet. It can also fail when Gateway has not finished loading the plugin, when tools are not exposed to the current session yet, or when the workspace copy of this skill is unavailable.
|
|
16
16
|
|
|
17
|
-
1. **
|
|
17
|
+
1. **Diagnose conservatively** — Tell the user: "I can't access the mindkeeper tools yet. The plugin may be missing, Gateway may still need a restart, or the current session may not have loaded the skill/tool context yet." Only say the plugin is definitely missing if the runtime explicitly shows that `mindkeeper-openclaw` is not installed.
|
|
18
18
|
|
|
19
|
-
2. **
|
|
19
|
+
2. **If the runtime confirms the plugin is missing and the user confirms**, run this flow:
|
|
20
20
|
- **Install the plugin** — Run via bash:
|
|
21
21
|
```bash
|
|
22
22
|
openclaw plugins install mindkeeper-openclaw
|
|
23
23
|
```
|
|
24
|
-
- **Restart the
|
|
25
|
-
- **Confirm** —
|
|
24
|
+
- **Restart Gateway if the runtime supports it** — Use the available runtime mechanism to restart Gateway. If restart is unavailable or fails, tell the user: "Plugin installed. Restart your Gateway manually to apply."
|
|
25
|
+
- **Confirm** — If restart succeeded, tell the user: "Mindkeeper is ready. Restart complete — you can now ask about history, diffs, rollbacks, or snapshots." If restart did not happen, tell the user that the plugin is installed but Gateway must be restarted before the tools will appear.
|
|
26
26
|
|
|
27
|
-
3. **
|
|
27
|
+
3. **If the plugin appears installed already** — Tell the user to retry after Gateway finishes loading or after a manual restart. If a workspace copy of the skill appears to be missing, mention that the session may not have loaded the built-in mindkeeper skill correctly yet.
|
|
28
|
+
|
|
29
|
+
4. **Alternative** — If the user prefers to install manually, tell them: "Run `openclaw plugins install mindkeeper-openclaw` in your terminal, then restart your Gateway. After that, mindkeeper will be ready."
|
|
28
30
|
|
|
29
31
|
If `mind_status` succeeds, the plugin is already installed; skip the bootstrap and proceed with the user's request.
|
|
30
32
|
|
|
33
|
+
## Tool Preference
|
|
34
|
+
|
|
35
|
+
In OpenClaw Plugin mode, prefer the `mind_*` tools over CLI commands for normal mindkeeper operations.
|
|
36
|
+
|
|
37
|
+
- Use `mind_status`, `mind_history`, `mind_diff`, `mind_snapshot`, and `mind_rollback` whenever they are available.
|
|
38
|
+
- Do not use `openclaw mind ...` or `mindkeeper ...` for routine history, diff, snapshot, or rollback requests if the plugin tools are available.
|
|
39
|
+
- CLI commands are for one-time setup, troubleshooting, manual user workflows, or when the user explicitly asks for terminal commands.
|
|
40
|
+
|
|
31
41
|
## Available Tools
|
|
32
42
|
|
|
33
43
|
| Tool | Purpose |
|
|
@@ -38,6 +48,17 @@ If `mind_status` succeeds, the plugin is already installed; skip the bootstrap a
|
|
|
38
48
|
| `mind_rollback` | Restore a file to a previous version (always preview first) |
|
|
39
49
|
| `mind_snapshot` | Save a named checkpoint before making significant changes |
|
|
40
50
|
|
|
51
|
+
## Tracking Scope
|
|
52
|
+
|
|
53
|
+
Mindkeeper tracks these files by default:
|
|
54
|
+
|
|
55
|
+
- `AGENTS.md`, `SOUL.md`, `USER.md`, `IDENTITY.md`
|
|
56
|
+
- `TOOLS.md`, `HEARTBEAT.md`, `MEMORY.md`
|
|
57
|
+
- `memory/**/*.md`
|
|
58
|
+
- `skills/**/*.md`
|
|
59
|
+
|
|
60
|
+
Excluded by default: `BOOTSTRAP.md`, `canvas/**`, `.git/`, `.mindkeeper/`.
|
|
61
|
+
|
|
41
62
|
## When to Use
|
|
42
63
|
|
|
43
64
|
| User says… | Action |
|
|
@@ -49,14 +70,25 @@ If `mind_status` succeeds, the plugin is already installed; skip the bootstrap a
|
|
|
49
70
|
| "Is mindkeeper tracking my files?" | `mind_status` |
|
|
50
71
|
| "What does my history look like?" | `mind_history` without a file filter |
|
|
51
72
|
|
|
73
|
+
## Direct Edit Requests
|
|
74
|
+
|
|
75
|
+
If the user asks to directly edit a tracked file such as `SOUL.md`, `AGENTS.md`, or `MEMORY.md`, make the edit directly.
|
|
76
|
+
|
|
77
|
+
- Do not block on CLI availability.
|
|
78
|
+
- Do not mention unavailable CLI commands unless the user explicitly asked for a CLI-based workflow.
|
|
79
|
+
- Mindkeeper's background watcher should capture the change automatically after the edit.
|
|
80
|
+
- If relevant, you may mention that the change should now be tracked by mindkeeper.
|
|
81
|
+
|
|
52
82
|
## Tool Usage Guide
|
|
53
83
|
|
|
54
84
|
### mind_status
|
|
55
|
-
Call this first if you're unsure whether mindkeeper is initialized
|
|
85
|
+
Call this first when the user asks about history, tracking state, snapshots, or rollback, or if you're unsure whether mindkeeper is initialized.
|
|
56
86
|
```
|
|
57
87
|
mind_status → { initialized, workDir, pendingChanges, snapshots }
|
|
58
88
|
```
|
|
59
89
|
|
|
90
|
+
You do not need to call `mind_status` before a simple direct edit request unless the user specifically asks about tracking or history.
|
|
91
|
+
|
|
60
92
|
### mind_history
|
|
61
93
|
Returns a list of commits with short hash, date, and message.
|
|
62
94
|
- `file` (optional): filter to a specific file path, e.g. `"SOUL.md"`
|
|
@@ -105,9 +137,13 @@ After success, tell the user: **"Run `/new` to apply the changes to your current
|
|
|
105
137
|
|
|
106
138
|
## Important Notes
|
|
107
139
|
|
|
140
|
+
- **This skill is the guide, the plugin is the engine** — the `mindkeeper-openclaw` plugin provides the actual `mind_*` tools and watcher; this skill teaches the AI how to bootstrap and use them safely
|
|
141
|
+
- **Use plugin tools first** — in OpenClaw Plugin mode, prefer `mind_*` tools over CLI commands for normal operations
|
|
108
142
|
- **Rollback is per-file** — it only restores the specified file, not all files at once
|
|
109
143
|
- **Rollbacks are non-destructive** — every rollback creates a new commit, so it can itself be undone
|
|
110
144
|
- **Auto-snapshots run in the background** — the user doesn't need to manually save; mindkeeper captures every change automatically
|
|
145
|
+
- **LLM commit messages are plugin-only for now** — currently supported only through the OpenClaw plugin; standalone CLI mode falls back to template messages
|
|
111
146
|
- **Named snapshots are the safety net** — encourage users to snapshot before major personality or rule changes
|
|
112
147
|
- **If history is empty** — mindkeeper may not have initialized yet, or no changes have been made since install. Call `mind_status` to check.
|
|
113
148
|
- **Commit hashes** — always use the `oid` field from `mind_history` results. Short 8-character hashes are fine.
|
|
149
|
+
- **Keep user-facing messages focused** — if a task can be completed with file edits or `mind_*` tools, do not distract the user with unavailable CLI details
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "Mindkeeper",
|
|
3
3
|
"tagline": "Time Machine for Your AI's Brain",
|
|
4
|
-
"description": "Time Machine for Your AI's Brain —
|
|
4
|
+
"description": "Time Machine for Your AI's Brain — install this skill if you want your AI to inspect history, show diffs, create checkpoints, and guide rollback in natural language across agent context files.\n\nSetup: add this skill alone. On first use, the AI checks whether the mindkeeper-openclaw plugin is available. If it is not, the AI asks for explicit confirmation before installing the plugin and before restarting Gateway. User consent is required for plugin install and Gateway restart.\n\nUse this skill when the user asks about changes, history, or versions of their agent context files. The skill teaches the AI how to bootstrap and use the mind_status, mind_history, mind_diff, mind_rollback, and mind_snapshot tools safely.",
|
|
5
5
|
"category": "productivity",
|
|
6
6
|
"tags": ["version-control", "agent", "history", "rollback", "snapshot", "diff", "openclaw"],
|
|
7
|
-
"version": "1.2.
|
|
7
|
+
"version": "1.2.5",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"pricing": "free",
|
|
10
10
|
"homepage": "https://github.com/seekcontext/mindkeeper",
|