@wipcomputer/wip-ldm-os 0.4.44 → 0.4.45

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.
Files changed (2) hide show
  1. package/SKILL.md +117 -79
  2. package/package.json +1 -1
package/SKILL.md CHANGED
@@ -5,7 +5,7 @@ license: MIT
5
5
  interface: [cli, skill]
6
6
  metadata:
7
7
  display-name: "LDM OS"
8
- version: "0.4.44"
8
+ version: "0.4.45"
9
9
  homepage: "https://github.com/wipcomputer/wip-ldm-os"
10
10
  author: "Parker Todd Brooks"
11
11
  category: infrastructure
@@ -32,20 +32,94 @@ compatibility: Requires git, npm, node. Node.js 18+.
32
32
 
33
33
  # LDM OS
34
34
 
35
- ## CRITICAL: Bootstrap (read this first)
35
+ ## Step 1: Check if LDM OS is already installed
36
36
 
37
- If `ldm` is not installed, run this BEFORE anything else:
37
+ **Always check first. Never assume.**
38
38
 
39
39
  ```bash
40
- npm install -g @wipcomputer/wip-ldm-os
40
+ which ldm && ldm --version 2>/dev/null
41
41
  ```
42
42
 
43
- Then check: `ldm --version`. If that works, proceed with `ldm install --dry-run`.
43
+ This determines everything. Branch on the result:
44
44
 
45
- If npm/node is not installed, the user needs Node.js 18+ from https://nodejs.org first.
45
+ ---
46
+
47
+ ## If LDM OS IS installed (ldm command exists)
48
+
49
+ **Do NOT explain what LDM OS is.** The user already knows. Show them what they have and what's new.
50
+
51
+ ### Run status
52
+
53
+ ```bash
54
+ ldm status 2>&1
55
+ ```
56
+
57
+ `ldm status` checks the CLI and all extensions against npm. It shows:
58
+ - CLI version and whether a newer version exists
59
+ - Extension count and how many have updates available
60
+ - Specific version diffs for each outdated extension
61
+
62
+ **Use the output of `ldm status` as your summary.** Do not say "up to date" if `ldm status` shows updates available.
63
+
64
+ ### Present what changed
65
+
66
+ Show a table of components with updates:
67
+
68
+ ```
69
+ | Component | Current | Available | Package |
70
+ |-----------|---------|-----------|---------|
71
+ | LDM OS CLI | v0.4.41 | v0.4.44 | @wipcomputer/wip-ldm-os |
72
+ | wip-branch-guard | v1.9.44 | v1.9.51 | @wipcomputer/wip-branch-guard |
73
+ ```
74
+
75
+ **Always show a table.** Never collapse updates into a paragraph or bullet list. Every update gets its own row.
76
+
77
+ ### Show what changed per component
78
+
79
+ For each component with an update, fetch the release notes and summarize what actually changed:
80
+
81
+ ```bash
82
+ # For each component with an update:
83
+ gh release list --repo wipcomputer/<repo-name> --limit 5 --json tagName,name --jq '.[]'
84
+ # Then for each release between current and available:
85
+ gh release view <tag> --repo wipcomputer/<repo-name> --json body --jq .body
86
+ ```
87
+
88
+ Show 2-3 bullet points per component summarizing the release notes. The user needs to know WHAT changed, not just THAT a version number moved.
89
+
90
+ Then answer:
91
+ 1. **What changed for this AI?** New rules, boot config changes, CLAUDE.md updates.
92
+ 2. **What changed across all my AIs?** Shared rules, shared prompts, new extensions.
93
+
94
+ ### Ask
95
+
96
+ - Do you have questions?
97
+ - Want to see a dry run?
98
+
99
+ If they say yes:
100
+ ```bash
101
+ ldm install --dry-run
102
+ ```
103
+
104
+ **Don't install anything until the user says "install".**
105
+
106
+ When they say install:
107
+ ```bash
108
+ npm install -g @wipcomputer/wip-ldm-os@latest # CLI update
109
+ ldm install # update all registered extensions
110
+ ldm doctor # verify everything works
111
+ ```
112
+
113
+ Updates deploy new code without touching data. crystal.db, agent files, secrets, and state are never overwritten.
46
114
 
47
115
  ---
48
116
 
117
+ ## If LDM OS is NOT installed (ldm command not found)
118
+
119
+ Now explain. The user is new.
120
+
121
+ ### What is LDM OS?
122
+
49
123
  You use Claude Code, GPT, OpenClaw, others. They don't share memory. They don't know each other. They don't know how to work together.
50
124
 
51
125
  LDM OS is the shared infrastructure layer. Install it once and every AI you use gets:
@@ -57,46 +131,53 @@ LDM OS is the shared infrastructure layer. Install it once and every AI you use
57
131
  - **Compatibility** ... any skill, plugin, or tool works with all your AIs. Install once, use everywhere.
58
132
  - **Payments** ... your AI hits a paywall, you approve it with Face ID, Apple Pay for your AI
59
133
 
60
- ## Platform Compatibility
134
+ ### What does it install?
61
135
 
62
- | Interface | Requires | Examples |
63
- |-----------|----------|----------|
64
- | CLI | Shell access (run bash/node commands) | `ldm init`, `ldm install`, `ldm doctor` |
65
- | Skill | SKILL.md file (works in Claude Code and OpenClaw) | You're reading it right now |
136
+ - `~/.ldm/extensions/` ... where tools and plugins live
137
+ - `~/.ldm/agents/` ... each AI gets its own identity, personality, and memory here
138
+ - `~/.ldm/memory/` ... shared memory across all your AIs
139
+ - `~/.ldm/state/` ... configuration and sync state
140
+ - `~/.ldm/shared/rules/` ... dev conventions deployed to every AI harness
66
141
 
67
- **Built and tested on:**
68
- - **Claude Code CLI** ... full support (shell, CLI)
69
- - **OpenClaw** ... full support (shell, CLI)
142
+ ### What changes for this AI?
70
143
 
71
- ## Operating Rules
144
+ - Boot sequence reads from `~/.ldm/agents/` (identity, memory, daily logs)
145
+ - Rules deployed to `~/.claude/rules/` (git conventions, security, release pipeline)
146
+ - Extensions like Memory Crystal, wip-release are managed centrally
147
+ - Stop hooks write to crystal and daily logs after every turn
72
148
 
73
- **Check before you run.** Before running any `ldm` command, check if it's installed: `which ldm`. If not found, tell the user: "I can run `ldm install --dry-run` to show you exactly what will change, but first I need to install the LDM OS CLI. That's one npm package (`npm install -g @wipcomputer/wip-ldm-os`) that gives us the `ldm` command. It doesn't install anything else until you say so." Never show the user a "command not found" error you already knew would happen.
149
+ ### What changes across all my AIs?
74
150
 
75
- **Always dry-run first.** Before installing or making changes, run with `--dry-run` so the user can see exactly what will happen. Only proceed when the user explicitly says to.
151
+ - Shared memory (crystal.db) accessible to every AI
152
+ - Shared rules (same conventions everywhere)
153
+ - Shared extensions (install once, every AI sees it)
154
+ - Agent identity (each AI is its own entity with its own prefix)
76
155
 
77
- **Never touch sacred data.** The installer never overwrites: crystal.db, agent data, secrets, state files. Code gets updated. Data stays.
78
-
79
- ## Install
156
+ ### Ask
80
157
 
81
- ### Step 1: Install LDM OS
158
+ - Do you have questions?
159
+ - Want to see a dry run?
82
160
 
161
+ If they say yes, install the CLI first:
83
162
  ```bash
84
163
  npm install -g @wipcomputer/wip-ldm-os
164
+ ```
165
+
166
+ If npm/node is not installed, the user needs Node.js 18+ from https://nodejs.org first.
167
+
168
+ Then dry run:
169
+ ```bash
85
170
  ldm init --dry-run
86
171
  ```
87
172
 
88
- Show the user the dry run output. Explain what it creates:
89
- - `~/.ldm/extensions/` ... where tools and plugins live
90
- - `~/.ldm/agents/` ... each AI gets its own identity, personality, and memory here
91
- - `~/.ldm/memory/` ... shared memory across all your AIs
92
- - `~/.ldm/state/` ... configuration and sync state
173
+ **Don't install anything until the user says "install".**
93
174
 
94
- When the user approves:
175
+ When they say install:
95
176
  ```bash
96
177
  ldm init
97
178
  ```
98
179
 
99
- ### Step 2: Install Skills
180
+ ### Install Skills
100
181
 
101
182
  LDM OS ships with a skill catalog. Show the user what's available:
102
183
 
@@ -108,7 +189,6 @@ LDM OS ships with a skill catalog. Show the user what's available:
108
189
  | **Markdown Viewer** | Live markdown viewer for AI pair-editing. | Stable |
109
190
  | **xAI Grok** | xAI Grok API. Search the web, search X, generate images. | Stable |
110
191
  | **X Platform** | X Platform API. Read posts, search tweets, post, upload media. | Stable |
111
- | **OpenClaw** | AI agent platform. Run AI agents 24/7 with identity, memory, and tool access. | Stable |
112
192
  | **Dream Weaver Protocol** | Memory consolidation protocol for AI agents. | Stable |
113
193
  | **Bridge** | Cross-platform agent bridge. Claude Code to OpenClaw communication. | Stable |
114
194
 
@@ -122,17 +202,19 @@ Show the dry run. When approved:
122
202
  ldm install wipcomputer/memory-crystal
123
203
  ```
124
204
 
125
- The installer detects what a repo supports (CLI, MCP Server, OpenClaw Plugin, Skill, CC Hook, Module) and deploys each interface to the right location automatically.
126
-
127
- **Note:** Skills installed before LDM OS (via `crystal init`, `wip-install`, or manual setup) may not appear in the registry. Run `ldm install <org/repo>` to re-register them.
128
-
129
- ### Step 3: Verify
205
+ ### Verify
130
206
 
131
207
  ```bash
132
208
  ldm doctor
133
209
  ```
134
210
 
135
- This checks: LDM root exists, version.json valid, registry intact, all extensions deployed, hooks configured, MCP servers registered.
211
+ ---
212
+
213
+ ## Operating Rules (both paths)
214
+
215
+ **Always dry-run first.** Before installing or making changes, run with `--dry-run` so the user can see exactly what will happen. Only proceed when the user explicitly says to.
216
+
217
+ **Never touch sacred data.** The installer never overwrites: crystal.db, agent data, secrets, state files. Code gets updated. Data stays.
136
218
 
137
219
  ## Commands
138
220
 
@@ -163,40 +245,6 @@ When you run `ldm install`, it automatically detects what a repo supports:
163
245
 
164
246
  No manual configuration needed. Point it at a repo and it figures out the rest.
165
247
 
166
- ## Update
167
-
168
- If LDM OS is already installed, run `ldm status` BEFORE presenting the summary to the user:
169
-
170
- ```bash
171
- ldm status 2>&1
172
- ```
173
-
174
- `ldm status` checks both the CLI and all extensions against npm. It shows:
175
- - CLI version and whether a newer version exists
176
- - Extension count and how many have updates available
177
- - Specific version diffs for each outdated extension
178
-
179
- **Use the output of `ldm status` as your summary.** Do not say "up to date" if `ldm status` shows updates available. Do not make your own summary without running `ldm status` first.
180
-
181
- When the user asks for a dry run or wants to update, run `ldm install --dry-run` and display the results as a **table**:
182
-
183
- ```
184
- | Extension | Current | Available | Package |
185
- |-----------|---------|-----------|---------|
186
- | wip-branch-guard | v1.9.30 | v1.9.36 | @wipcomputer/wip-branch-guard |
187
- | memory-crystal | v0.7.24 | v0.7.26 | @wipcomputer/memory-crystal |
188
- ```
189
-
190
- **Always show a table.** Never collapse updates into a paragraph or bullet list. Every update gets its own row. Show ALL updates, not a summary.
191
-
192
- When the user says "install":
193
- ```bash
194
- ldm install # update all registered extensions
195
- ldm doctor # verify everything works
196
- ```
197
-
198
- Updates deploy new code without touching data. crystal.db, agent files, secrets, and state are never overwritten.
199
-
200
248
  ## Part of LDM OS
201
249
 
202
250
  LDM OS is the runtime. Skills plug into it:
@@ -212,13 +260,3 @@ LDM OS is the runtime. Skills plug into it:
212
260
  - **Bridge** ... `wipcomputer/wip-bridge`
213
261
 
214
262
  Run `ldm install` anytime to add more skills.
215
-
216
- ## Claude Code Marketplace
217
-
218
- If you're running Claude Code, you can browse and install all LDM OS plugins available from WIP Computer:
219
-
220
- ```
221
- /plugin marketplace add wipcomputer/claude-plugins
222
- ```
223
-
224
- This adds LDM OS skills to Claude Code's Discover tab alongside Anthropic's official plugins. Install any skill with `/plugin install`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wipcomputer/wip-ldm-os",
3
- "version": "0.4.44",
3
+ "version": "0.4.45",
4
4
  "type": "module",
5
5
  "description": "LDM OS: identity, memory, and sovereignty infrastructure for AI agents",
6
6
  "engines": {