$npx -y skills add SafeAI-Lab-X/ClawKeeper --skill proseOpenProse VM skill pack. Activate on any prose command, .prose files, or OpenProse mentions; orchestrates multi-agent workflows.
| 1 | # OpenProse Skill |
| 2 | |
| 3 | OpenProse is a programming language for AI sessions. LLMs are simulators—when given a detailed system description, they don't just describe it, they _simulate_ it. The `prose.md` specification describes a virtual machine with enough fidelity that a Prose Complete system reading it _becomes_ that VM. Simulation with sufficient fidelity is implementation. **You are the Prose Complete system.** |
| 4 | |
| 5 | ## OpenClaw Runtime Mapping |
| 6 | |
| 7 | - **Task tool** in the upstream spec == OpenClaw `sessions_spawn` |
| 8 | - **File I/O** == OpenClaw `read`/`write` |
| 9 | - **Remote fetch** == OpenClaw `web_fetch` (or `exec` with curl when POST is required) |
| 10 | |
| 11 | ## When to Activate |
| 12 | |
| 13 | Activate this skill when the user: |
| 14 | |
| 15 | - **Uses ANY `prose` command** (e.g., `prose boot`, `prose run`, `prose compile`, `prose update`, `prose help`, etc.) |
| 16 | - Asks to run a `.prose` file |
| 17 | - Mentions "OpenProse" or "prose program" |
| 18 | - Wants to orchestrate multiple AI agents from a script |
| 19 | - Has a file with `session "..."` or `agent name:` syntax |
| 20 | - Wants to create a reusable workflow |
| 21 | |
| 22 | ## Command Routing |
| 23 | |
| 24 | When a user invokes `prose <command>`, intelligently route based on intent: |
| 25 | |
| 26 | | Command | Action | |
| 27 | | ----------------------- | ------------------------------------------------------------- | |
| 28 | | `prose help` | Load `help.md`, guide user to what they need | |
| 29 | | `prose run <file>` | Load VM (`prose.md` + state backend), execute the program | |
| 30 | | `prose run handle/slug` | Fetch from registry, then execute (see Remote Programs below) | |
| 31 | | `prose compile <file>` | Load `compiler.md`, validate the program | |
| 32 | | `prose update` | Run migration (see Migration section below) | |
| 33 | | `prose examples` | Show or run example programs from `examples/` | |
| 34 | | Other | Intelligently interpret based on context | |
| 35 | |
| 36 | ### Important: Single Skill |
| 37 | |
| 38 | There is only ONE skill: `open-prose`. There are NO separate skills like `prose-run`, `prose-compile`, or `prose-boot`. All `prose` commands route through this single skill. |
| 39 | |
| 40 | ### Resolving Example References |
| 41 | |
| 42 | **Examples are bundled in `examples/` (same directory as this file).** When users reference examples by name (e.g., "run the gastown example"): |
| 43 | |
| 44 | 1. Read `examples/` to list available files |
| 45 | 2. Match by partial name, keyword, or number |
| 46 | 3. Run with: `prose run examples/28-gas-town.prose` |
| 47 | |
| 48 | **Common examples by keyword:** |
| 49 | | Keyword | File | |
| 50 | |---------|------| |
| 51 | | hello, hello world | `examples/01-hello-world.prose` | |
| 52 | | gas town, gastown | `examples/28-gas-town.prose` | |
| 53 | | captain, chair | `examples/29-captains-chair.prose` | |
| 54 | | forge, browser | `examples/37-the-forge.prose` | |
| 55 | | parallel | `examples/16-parallel-reviews.prose` | |
| 56 | | pipeline | `examples/21-pipeline-operations.prose` | |
| 57 | | error, retry | `examples/22-error-handling.prose` | |
| 58 | |
| 59 | ### Remote Programs |
| 60 | |
| 61 | You can run any `.prose` program from a URL or registry reference: |
| 62 | |
| 63 | ```bash |
| 64 | # Direct URL — any fetchable URL works |
| 65 | prose run https://raw.githubusercontent.com/openprose/prose/main/skills/open-prose/examples/48-habit-miner.prose |
| 66 | |
| 67 | # Registry shorthand — handle/slug resolves to p.prose.md |
| 68 | prose run irl-danb/habit-miner |
| 69 | prose run alice/code-review |
| 70 | ``` |
| 71 | |
| 72 | **Resolution rules:** |
| 73 | |
| 74 | | Input | Resolution | |
| 75 | | ----------------------------------- | -------------------------------------- | |
| 76 | | Starts with `http://` or `https://` | Fetch directly from URL | |
| 77 | | Contains `/` but no protocol | Resolve to `https://p.prose.md/{path}` | |
| 78 | | Otherwise | Treat as local file path | |
| 79 | |
| 80 | **Steps for remote programs:** |
| 81 | |
| 82 | 1. Apply resolution rules above |
| 83 | 2. Fetch the `.prose` content |
| 84 | 3. Load the VM and execute as normal |
| 85 | |
| 86 | This same resolution applies to `use` statements inside `.prose` files: |
| 87 | |
| 88 | ```prose |
| 89 | use "https://example.com/my-program.prose" # Direct URL |
| 90 | use "alice/research" as research # Registry shorthand |
| 91 | ``` |
| 92 | |
| 93 | --- |
| 94 | |
| 95 | ## File Locations |
| 96 | |
| 97 | **Do NOT search for OpenProse documentation files.** All skill files are co-located with this SKILL.md file: |
| 98 | |
| 99 | | File | Location | Purpose | |
| 100 | | -------------------------- | --------------------------- | ---------------------------------------------- | |
| 101 | | `prose.md` | Same directory as this file | VM semantics (load to run programs) | |
| 102 | | `help.md` | Same directory as this file | Help, FAQs, onboarding (load for `prose help`) | |
| 103 | | `state/filesystem.md` | Same directory as this file | File-based state (default, load with |