Codex

prose-setup

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

104 stars

Best use case

prose-setup 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.

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

Teams using prose-setup 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-setup/SKILL.md --create-dirs "https://raw.githubusercontent.com/jmagly/aiwg/main/.agents/skills/prose-setup/SKILL.md"

Manual Installation

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

How prose-setup Compares

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

Frequently Asked Questions

What does this skill do?

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

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 Setup Skill

You ensure the OpenProse repository is cloned and up-to-date so that all prose-integration skills have access to the latest specifications, examples, and guidance.

## Triggers

- "setup prose" / "install prose" / "install openprose"
- "update prose" / "update openprose"
- "clone prose repo"
- "ensure prose is available"
- "prose setup"

## Behavior

### Step 1: Check Current State

Check if OpenProse is already cloned:

```bash
# Check default location
ls /tmp/prose/skills/open-prose/prose.md 2>/dev/null

# Check configured location (from addon config proseRoot)
```

### Step 2: Clone or Update

**If not present** — clone from GitHub:

```bash
git clone https://github.com/openprose/prose.git /tmp/prose
```

**If already present** — pull latest:

```bash
cd /tmp/prose && git pull origin main
```

### Step 3: Verify Installation

After clone/update, verify key files exist:

| File | Purpose | Required |
|------|---------|----------|
| `skills/open-prose/prose.md` | Prose VM specification | Yes |
| `skills/open-prose/forme.md` | Forme Container specification | Yes |
| `skills/open-prose/guidance/patterns.md` | Design patterns | Yes |
| `skills/open-prose/guidance/antipatterns.md` | Antipatterns guide | Yes |
| `skills/open-prose/guidance/tenets.md` | Design tenets | Yes |
| `skills/open-prose/examples/` | Example programs (50+) | Yes |

### Step 4: Report Version

```bash
cd /tmp/prose && git log -1 --format="%H %ci %s"
```

### Step 5: Output Summary

```markdown
## OpenProse Setup Complete

**Location**: /tmp/prose
**Version**: {commit hash} ({date})
**Latest commit**: {subject}

### Verified Files
- [x] prose.md (Prose VM spec)
- [x] forme.md (Forme Container spec)
- [x] guidance/ (patterns, antipatterns, tenets)
- [x] examples/ ({count} examples)

### Available Skills
All prose-integration skills now have access to the latest OpenProse specification:
- `/prose-reader` — parse contracts
- `/prose-run` — execute programs
- `/prose-validate` — validate grammar
- `/forme-manifest` — generate wiring manifests
```

## Custom Install Location

If the user wants Prose installed somewhere other than `/tmp/prose`, they can configure it:

```yaml
# In aiwg.yml
addons:
  prose-integration:
    proseRoot: /path/to/prose/skills/open-prose
    proseRepoPath: /path/to/prose
```

The clone target is `proseRepoPath` (repo root), and `proseRoot` is `{proseRepoPath}/skills/open-prose`.

## Auto-Setup

Other prose-integration skills should check for the Prose installation before operating. If not found, suggest running `/prose-setup` first:

```markdown
OpenProse not found at /tmp/prose/skills/open-prose/prose.md

Run `/prose-setup` to clone the latest OpenProse repository, or configure
a custom path in aiwg.yml under addons.prose-integration.proseRoot
```

## Model

This skill runs on **Haiku** — it's just git operations and file checks.

## References

- @$AIWG_ROOT/agentic/code/addons/prose-integration/README.md — prose-integration addon overview
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/research-before-decision.md — Verify installation state before cloning or pulling
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/human-authorization.md — Confirm custom install location with user when non-default path requested
- @$AIWG_ROOT/docs/cli-reference.md — CLI reference for AIWG addon configuration

Related Skills

customize-setup

104
from jmagly/aiwg

Set up personal AIWG customization mode from a local clone or fork — makes your clone the live global AIWG instance so edits go live immediately

setup-validate

104
from jmagly/aiwg

Validate a `setup.aiwg.io/v1` SetupManifest file against the schema and run cons

Codex

setup-tdd

104
from jmagly/aiwg

One-command TDD infrastructure setup with pre-commit hooks and CI coverage gates

Codex

setup-run

104
from jmagly/aiwg

Execute a `setup.aiwg.io/v1` SetupManifest, performing cross-platform installati

Codex

setup-generate

104
from jmagly/aiwg

Generate a `setup.manifest.yaml` file for a project using the `setup.aiwg.io/v1`

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-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-install

104
from jmagly/aiwg

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.

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

aiwg-setup-warp

104
from jmagly/aiwg

Setup Warp Terminal with AIWG framework context (preserves existing content)

Codex

aiwg-setup-project

104
from jmagly/aiwg

Update project CLAUDE.md with AIWG framework context and configuration

Codex