OpenProse 安装配置
prose-install
当未找到 OpenProse 时为 AIWG 安装该工具。先尝试 `npx skills add`,失败则回退到 git clone,然后将解析后的路径保存到 .aiwg/config.json。
- License 许可
- MIT
- 所属仓库
- jmagly/aiwg
- 最近更新
- 2026-11-14
- Stars
- ★ 229
- Forks
- 36
01 前言 Front Matter
- name
- prose-install
- errors
- [ { "user-declined": "user chose not to install when prompted" }, { "install-failed": "both npx and git clone failed; network or permissions issue" } ]
- ensures
- [ { "PROSE_ROOT": "OpenProse installed and path validated at ~/.aiwg/prose/skills/open-prose" }, { "config-saved": "path written to .aiwg/config.json prose.path for future prose-detect Signal 2" } ]
- version
- 0.1.0
- requires
- [ "nothing: prose-install is self-contained — confirmation from user before installing" ]
- namespace
- aiwg
- platforms
- [ "all" ]
- invariants
- [ "always confirms with user before installing — never installs silently", "validates prose.md and forme.md exist after install before declaring success" ]
- description
- Install OpenProse for AIWG when not found. Tries `npx skills add`, falls back to git clone, then saves the resolved path to .aiwg/config.json.
03 SKILL.md 正文
Prose Install Skill
You install OpenProse for AIWG use when /prose-detect reports no installation is found.
Triggers
- Invoked by
/prose-detectwhen 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
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):
git clone --depth=1 https://github.com/openprose/prose.git ~/.aiwg/prose
Step 4: Validate Installation
Check that required files are present:
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:
{
"prose": {
"path": "~/.aiwg/prose/skills/open-prose",
"installedVia": "npx|git-clone",
"installedAt": "2026-04-02T00:00:00Z"
}
}
Step 6: Report Success
## 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:
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/${CLAUDE_PLUGIN_ROOT}/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
04 同仓库更多 Skills
plugin-search
Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything
plugin-search
Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything
host-hardening
Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.
exposure-analysis
Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.
host-hardening
Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.
exposure-analysis
Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.