|
1 | 1 | --- |
2 | | -title: "OpenProse" |
3 | | -sidebarTitle: "OpenProse" |
4 | | -summary: "OpenProse is a markdown-first workflow format for multi-agent AI sessions. In OpenClaw it ships as a plugin with a /prose slash command and a skill pack." |
| 2 | +title: "OpenProse removal and migration" |
| 3 | +sidebarTitle: "OpenProse migration" |
| 4 | +summary: "OpenClaw no longer bundles OpenProse or the /prose command. Move to the maintained upstream Agent Skill and clean stale plugin configuration." |
5 | 5 | read_when: |
6 | | - - You want to run or write .prose workflow files |
7 | | - - You want to enable the OpenProse plugin |
8 | | - - You need to understand how OpenProse maps to OpenClaw primitives |
| 6 | + - You used the bundled OpenProse plugin or /prose command |
| 7 | + - You need to clean OpenProse configuration after upgrading OpenClaw |
| 8 | + - You want to install the maintained upstream OpenProse Agent Skill |
9 | 9 | --- |
10 | 10 |
|
11 | | -OpenProse is a portable, markdown-first workflow format for orchestrating AI |
12 | | -sessions. In OpenClaw it ships as a plugin that installs an OpenProse skill |
13 | | -pack and a `/prose` slash command. Programs live in `.prose` files and can |
14 | | -spawn multiple sub-agents with explicit control flow. |
| 11 | +OpenClaw no longer bundles the OpenProse plugin or its `/prose` command. OpenProse |
| 12 | +continues as a maintained upstream Agent Skill. Existing `.prose` source files |
| 13 | +remain yours; the removed plugin did not store state in OpenClaw's SQLite database. |
15 | 14 |
|
16 | | -<CardGroup cols={3}> |
17 | | - <Card title="Install" icon="download" href="#install"> |
18 | | - Enable the OpenProse plugin and restart the Gateway. |
19 | | - </Card> |
20 | | - <Card title="Run a program" icon="play" href="#slash-command"> |
21 | | - Use `/prose run` to execute a `.prose` file or remote program. |
22 | | - </Card> |
23 | | - <Card title="Write programs" icon="pencil" href="#example-parallel-research-and-synthesis"> |
24 | | - Author multi-agent workflows with parallel and sequential steps. |
25 | | - </Card> |
26 | | -</CardGroup> |
| 15 | +## Migrate |
27 | 16 |
|
28 | | -## Install |
| 17 | +1. Clean stale bundled-plugin configuration: |
29 | 18 |
|
30 | | -<Steps> |
31 | | - <Step title="Enable the plugin"> |
32 | | - OpenProse is bundled but disabled by default. Enable it: |
| 19 | + ```bash |
| 20 | + openclaw doctor --fix |
| 21 | + ``` |
33 | 22 |
|
34 | | - ```bash |
35 | | - openclaw plugins enable open-prose |
36 | | - ``` |
| 23 | + Doctor removes `open-prose` from plugin allowlists, denylists, and plugin |
| 24 | + entries. No OpenClaw database migration is required. |
37 | 25 |
|
38 | | - </Step> |
39 | | - <Step title="Restart the Gateway"> |
40 | | - ```bash |
41 | | - openclaw gateway restart |
42 | | - ``` |
43 | | - </Step> |
44 | | - <Step title="Verify"> |
45 | | - ```bash |
46 | | - openclaw plugins list | grep prose |
47 | | - ``` |
| 26 | +2. From your workspace root, install the upstream skill: |
48 | 27 |
|
49 | | - You should see `open-prose` as enabled. The `/prose` skill command is now |
50 | | - available in chat. |
| 28 | + ```bash |
| 29 | + npx skills add openprose/prose --skill open-prose --agent codex --copy -y |
| 30 | + ``` |
51 | 31 |
|
52 | | - </Step> |
53 | | -</Steps> |
| 32 | + This copies the skill to `.agents/skills/open-prose`, which OpenClaw loads as |
| 33 | + a project Agent Skill. It does not restore the removed bundled plugin or the |
| 34 | + `/prose` command. |
54 | 35 |
|
55 | | -From a repo checkout you can install the plugin directly: |
56 | | -`openclaw plugins install ./extensions/open-prose` |
| 36 | +3. If you are upgrading older OpenProse source, start a new OpenClaw agent |
| 37 | + session in the workspace and send: |
57 | 38 |
|
58 | | -## Slash command |
| 39 | + ```text |
| 40 | + prose upgrade --dry-run |
| 41 | + ``` |
59 | 42 |
|
60 | | -OpenProse registers `/prose` as a user-invocable skill command: |
61 | | - |
62 | | -```text |
63 | | -/prose help |
64 | | -/prose run <file.prose> |
65 | | -/prose run <handle/slug> |
66 | | -/prose run <https://example.com/file.prose> |
67 | | -/prose compile <file.prose> |
68 | | -/prose examples |
69 | | -/prose update |
70 | | -``` |
71 | | - |
72 | | -`/prose run <handle/slug>` resolves to `https://p.prose.md/<handle>/<slug>`. |
73 | | -Direct URLs are fetched as-is using the `web_fetch` tool. |
74 | | - |
75 | | -Top-level remote runs are explicit. Remote imports inside a `.prose` program are |
76 | | -transitive code dependencies: before OpenProse fetches any remote `use` target, |
77 | | -it shows the resolved import list and requires the operator to reply exactly |
78 | | -`approve remote prose imports` for that run. |
79 | | - |
80 | | -## What it can do |
81 | | - |
82 | | -- Multi-agent research and synthesis with explicit parallelism. |
83 | | -- Repeatable, approval-safe workflows (code review, incident triage, content pipelines). |
84 | | -- Reusable `.prose` programs you can run across supported agent runtimes. |
85 | | - |
86 | | -## Example: parallel research and synthesis |
87 | | - |
88 | | -```prose |
89 | | -# Research + synthesis with two agents running in parallel. |
90 | | -
|
91 | | -input topic: "What should we research?" |
92 | | -
|
93 | | -agent researcher: |
94 | | - model: sonnet |
95 | | - prompt: "You research thoroughly and cite sources." |
96 | | -
|
97 | | -agent writer: |
98 | | - model: opus |
99 | | - prompt: "You write a concise summary." |
100 | | -
|
101 | | -parallel: |
102 | | - findings = session: researcher |
103 | | - prompt: "Research {topic}." |
104 | | - draft = session: writer |
105 | | - prompt: "Summarize {topic}." |
106 | | -
|
107 | | -session "Merge the findings + draft into a final answer." |
108 | | - context: { findings, draft } |
109 | | -``` |
110 | | - |
111 | | -## OpenClaw runtime mapping |
112 | | - |
113 | | -OpenProse programs map to OpenClaw primitives: |
114 | | - |
115 | | -| OpenProse concept | OpenClaw tool | |
116 | | -| ------------------------- | ----------------------------------------------- | |
117 | | -| Spawn session / Task tool | `sessions_spawn` | |
118 | | -| File read / write | `read` / `write` | |
119 | | -| Web fetch | `web_fetch` (`exec` + curl when POST is needed) | |
120 | | - |
121 | | -<Warning> |
122 | | - If your tool allowlist blocks `sessions_spawn`, `read`, `write`, or |
123 | | - `web_fetch`, OpenProse programs will fail. Check your |
124 | | - [tools allowlist config](/gateway/config-tools). |
125 | | -</Warning> |
126 | | - |
127 | | -## File locations |
128 | | - |
129 | | -OpenProse keeps state under `.prose/` in your workspace: |
130 | | - |
131 | | -```text |
132 | | -.prose/ |
133 | | -├── .env # config (key=value), e.g. OPENPROSE_POSTGRES_URL |
134 | | -├── runs/ |
135 | | -│ └── {YYYYMMDD}-{HHMMSS}-{random}/ |
136 | | -│ ├── program.prose # copy of the running program |
137 | | -│ ├── state.md # execution state |
138 | | -│ ├── bindings/ |
139 | | -│ ├── imports/ # nested remote program runs |
140 | | -│ └── agents/ |
141 | | -└── agents/ # project-scoped persistent agents |
142 | | -``` |
143 | | - |
144 | | -User-level persistent agents (shared across projects) live at: |
145 | | - |
146 | | -```text |
147 | | -~/.prose/agents/ |
148 | | -``` |
149 | | - |
150 | | -## State backends |
151 | | - |
152 | | -<AccordionGroup> |
153 | | - <Accordion title="filesystem (default)"> |
154 | | - State is written to `.prose/runs/...` in the workspace. No extra |
155 | | - dependencies required. |
156 | | - </Accordion> |
157 | | - <Accordion title="in-context"> |
158 | | - Transient state kept in the context window; select with `--in-context`. |
159 | | - Suitable for small, short-lived programs. |
160 | | - </Accordion> |
161 | | - <Accordion title="sqlite (experimental)"> |
162 | | - Select with `--state=sqlite`. Requires the `sqlite3` binary on `PATH` |
163 | | - (falls back to filesystem when missing); state lands in |
164 | | - `.prose/runs/{id}/state.db`. |
165 | | - </Accordion> |
166 | | - <Accordion title="postgres (experimental)"> |
167 | | - Select with `--state=postgres`. Requires `psql` and a connection string in |
168 | | - `OPENPROSE_POSTGRES_URL` (set it in `.prose/.env`). |
169 | | - |
170 | | - <Warning> |
171 | | - Postgres credentials flow into sub-agent logs. Use a dedicated, |
172 | | - least-privileged database. |
173 | | - </Warning> |
174 | | - |
175 | | - </Accordion> |
176 | | -</AccordionGroup> |
177 | | - |
178 | | -## Security |
179 | | - |
180 | | -Treat `.prose` files like code. Review them before running, including remote |
181 | | -`use` imports. Top-level `/prose run https://...` requests are explicit, but |
182 | | -transitive remote imports require per-run approval before they are fetched or |
183 | | -executed. Use OpenClaw tool allowlists and approval gates to control side |
184 | | -effects. For deterministic, approval-gated workflows, compare with |
185 | | -[Lobster](/tools/lobster). |
| 43 | + This is an Agent Skill command, not a shell executable. Review the plan, then |
| 44 | + send `prose upgrade` in the same session. The upstream upgrade does not |
| 45 | + migrate old runtime ledgers or state, so retain your source files and begin |
| 46 | + with a clean state directory. |
186 | 47 |
|
187 | 48 | ## Related |
188 | 49 |
|
189 | | -<CardGroup cols={2}> |
190 | | - <Card title="Skills reference" href="/tools/skills" icon="puzzle-piece"> |
191 | | - How OpenProse's skill pack loads and what gates apply. |
192 | | - </Card> |
193 | | - <Card title="Subagents" href="/tools/subagents" icon="users"> |
194 | | - OpenClaw's native multi-agent coordination layer. |
195 | | - </Card> |
196 | | - <Card title="Text-to-speech" href="/tools/tts" icon="volume-high"> |
197 | | - Add audio output to your workflows. |
198 | | - </Card> |
199 | | - <Card title="Slash commands" href="/tools/slash-commands" icon="terminal"> |
200 | | - All available chat commands including /prose. |
201 | | - </Card> |
202 | | -</CardGroup> |
203 | | - |
204 | | -Official site: [https://www.prose.md](https://www.prose.md) |
| 50 | +- [Skills](/tools/skills) |
| 51 | +- [Slash commands](/tools/slash-commands) |
| 52 | +- [Lobster workflows](/tools/lobster) |
| 53 | +- [OpenProse upstream](https://github.com/openprose/prose) |
0 commit comments