/prose-integration:prose-readerfrom prose-integration
Reads and parses OpenProse program files (.md with contract semantics), extracting contract specifications (requires, ensures, strategies, errors, invariants) and services into a structured summary.
Ships in prose-integration. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You read and parse OpenProse program files (.md with contract semantics), extracting the full contract specification into a structured, human-readable summary.
A path to a .md file that is an OpenProse program (has requires: and/or ensures: sections).
Given a path to an OpenProse program file:
Before any operation, run /prose-detect to locate the OpenProse installation and resolve PROSE_ROOT. /prose-detect handles the full detection chain (env var, AIWG config, AIWG-local install, project plugin manifest, user home, global CLI).
If /prose-detect reports no installation found, do NOT auto-clone. Inform the user:
OpenProse not found. Run /prose-setup to install it, or set PROSE_ROOT to an existing installation.
Read the target file using the Read tool.
Extract YAML frontmatter fields:
name — program namekind — program, service, library, or testservices — list of service component names (multi-service programs only)model — preferred model if specifiedParse the markdown body for contract sections. Each section uses a specific keyword followed by a colon and a list:
| Section | Keyword | Format | Meaning |
|---|---|---|---|
| Inputs | requires: | - name: description | What the program needs to run |
| Outputs | ensures: | - name: description | What the program commits to produce (obligation) |
| Conditional behavior | strategies: | - when condition: action | How to handle specific situations |
| Failure channels | errors: | - condition description | When the program cannot proceed |
| Invariants | invariants: | - property description | Properties that always hold |
If kind: program and services: is present in frontmatter:
.md file exists in the same directoryFormat the extracted information as:
## Program: {name}
**Kind**: {kind}
**Services**: {services list or "single-component"}
**Model**: {model or "not specified"}
### Requires (Inputs)
| Name | Description |
|------|-------------|
| {name} | {description} |
### Ensures (Outputs — Obligations)
| Name | Description |
|------|-------------|
| {name} | {description} |
### Strategies
- when {condition}: {action}
### Errors
- {error condition}
### Invariants
- {invariant property}
### Services
| Service | File | Exists |
|---------|------|--------|
| {name} | {name}.md | {yes/no} |
requires:: Report as "No declared inputs (implicit)"ensures:: Flag as warning — all valid programs should have ensuresensures: entries with when clauses — parse and display the conditionservices:, note the nesting.prose files: Treat identically to .md filesThis skill runs on Sonnet — parsing and extraction don't require complex reasoning.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jmagly/aiwg --plugin prose-integration7 skills in this plugin
/forme-manifestRead a multi-service OpenProse program directory, analyze all service contracts, and generate the Forme wiring manifest for inspection and debugging/prose-detectLocate an existing OpenProse installation via env var, AIWG config, local install, plugin manifest, or global CLI. Returns PROSE_ROOT; triggers prose-install if not found./prose-installInstall OpenProse for AIWG when not found. Tries `npx skills add`, falls back to git clone, then saves the resolved path to .aiwg/config.json./prose-runExecute an OpenProse program within the current AIWG session, following the two-phase model (Forme wiring + Prose VM execution)/prose-setupClone or update the OpenProse repository to ensure AIWG prose tools hook into the latest version of the specification and examples/prose-validateValidate an OpenProse program file against Prose contract grammar without executing it — checks frontmatter, contract structure, service references, and strategy syntaxOther plugins' skills for the same job