Codex

prose-install

Install OpenProse for AIWG use when no existing installation is found. Tries npx skills add first, falls back to git clone, then saves the resolved path to .aiwg/config.json.

104 stars

Best use case

prose-install is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

It is a strong fit for teams already working in Codex.

Install OpenProse for AIWG use when no existing installation is found. Tries npx skills add first, falls back to git clone, then saves the resolved path to .aiwg/config.json.

Teams using prose-install should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/prose-install/SKILL.md --create-dirs "https://raw.githubusercontent.com/jmagly/aiwg/main/.agents/skills/prose-install/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/prose-install/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How prose-install Compares

Feature / Agentprose-installStandard Approach
Platform SupportCodexLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Install OpenProse for AIWG use when no existing installation is found. Tries npx skills add first, falls back to git clone, then saves the resolved path to .aiwg/config.json.

Which AI agents support this skill?

This skill is designed for Codex.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Prose Install Skill

You install OpenProse for AIWG use when `/prose-detect` reports no installation is found.

## Triggers

- Invoked by `/prose-detect` when all detection signals fail
- "install prose" / "install openprose"
- "prose install"
- "set up prose"

## Behavior

### Step 1: Confirm with User

Before installing, ask:

```
OpenProse is not installed. Install it to ~/.aiwg/prose/ so AIWG prose skills can use it?

  Primary method:   npx skills add openprose/prose
  Fallback method:  git clone https://github.com/openprose/prose ~/.aiwg/prose

[Y/n]
```

If the user declines, stop and report:

```
Installation cancelled. Set PROSE_ROOT to an existing OpenProse installation to proceed.
```

### Step 2: Try Primary Method

```bash
npx skills add openprose/prose --target ~/.aiwg/prose
```

If this succeeds and `~/.aiwg/prose/skills/open-prose/prose.md` exists, proceed to Step 4.

### Step 3: Fallback — git clone

If npx fails (not available or package not found):

```bash
git clone --depth=1 https://github.com/openprose/prose.git ~/.aiwg/prose
```

### Step 4: Validate Installation

Check that required files are present:

```bash
ls ~/.aiwg/prose/skills/open-prose/prose.md
ls ~/.aiwg/prose/skills/open-prose/forme.md
```

If either is missing, report failure:

```
Installation failed: prose.md or forme.md not found at ~/.aiwg/prose/skills/open-prose/.
Try cloning manually: git clone https://github.com/openprose/prose.git ~/.aiwg/prose
```

### Step 5: Save to Config

Write the resolved path to `.aiwg/config.json`:

```json
{
  "prose": {
    "path": "~/.aiwg/prose/skills/open-prose",
    "installedVia": "npx|git-clone",
    "installedAt": "2026-04-02T00:00:00Z"
  }
}
```

### Step 6: Report Success

```markdown
## OpenProse Installed

**Location**: ~/.aiwg/prose/skills/open-prose
**Method**: npx skills add | git clone
**prose.md**: present
**forme.md**: present
**Config saved**: .aiwg/config.json → prose.path

All prose-integration skills are now ready to use.
```

## Updating an Existing Installation

If OpenProse is already installed and the user wants to update:

```bash
cd ~/.aiwg/prose && git pull origin main
```

Or use `/prose-setup` which handles both install and update.

## Model

This skill runs on **Haiku** — it's confirmation prompts and shell commands.

## References

- @$AIWG_ROOT/agentic/code/addons/prose-integration/README.md — prose-integration addon overview
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/human-authorization.md — Explicit user confirmation required before installing
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/research-before-decision.md — Validate installation after each method before declaring success
- @$AIWG_ROOT/docs/cli-reference.md — CLI reference for AIWG addon configuration

Related Skills

uninstall-plugin

104
from jmagly/aiwg

Remove a previously installed Claude Code plugin and unregister it from the local plugin registry

Codex

prose-validate

104
from jmagly/aiwg

Validate an OpenProse program file against Prose contract grammar without executing it — checks frontmatter, contract structure, service references, and strategy syntax

Codex

prose-setup

104
from jmagly/aiwg

Clone or update the OpenProse repository to ensure AIWG prose tools hook into the latest version of the specification and examples

Codex

prose-run

104
from jmagly/aiwg

Execute an OpenProse program within the current AIWG session, following the two-phase model (Forme wiring + Prose VM execution)

Codex

prose-reader

104
from jmagly/aiwg

Read and parse an OpenProse program file, extracting its contract (requires, ensures, strategies, errors, invariants) and services into a structured representation

Codex

prose-detect

104
from jmagly/aiwg

Locate an existing OpenProse installation using a prioritized signal chain — env var, AIWG config, AIWG-local install, project plugin manifest, user home directory, or global CLI. Returns the resolved PROSE_ROOT path. Does not install OpenProse; triggers prose-setup if no installation is found.

Codex

install

104
from jmagly/aiwg

Install AIWG-compatible packages from remote Git repositories into the current workspace

Codex

install-plugin

104
from jmagly/aiwg

Install plugins into Claude Code from the AIWG marketplace with registry lookup, download, and local deployment

Codex

aiwg-orchestrate

104
from jmagly/aiwg

Route structured artifact work to AIWG workflows via MCP with zero parent context cost

venv-manager

104
from jmagly/aiwg

Create, manage, and validate Python virtual environments. Use for project isolation and dependency management.

pytest-runner

104
from jmagly/aiwg

Execute Python tests with pytest, supporting fixtures, markers, coverage, and parallel execution. Use for Python test automation.

vitest-runner

104
from jmagly/aiwg

Execute JavaScript/TypeScript tests with Vitest, supporting coverage, watch mode, and parallel execution. Use for JS/TS test automation.