edificelisted
Install: claude install-skill BluegReeno/bluegreen-marketplace
# Edifice — Mission Workflow (Claude Code)
## Plugin directory
```bash
# Resolve PLUGIN_DIR — priority: config.json → env var → marketplace cache → known dev paths → error
PLUGIN_DIR=$(python3 - <<'PYEOF'
import json, os, pathlib, sys
home = pathlib.Path.home()
# 1. env var
env = os.environ.get('HAL_PLUGIN_DIR', '')
if env and pathlib.Path(env, 'scripts', 'build_context.py').exists():
print(env); sys.exit(0)
# 2. Claude Code marketplace cache (bluegreen-marketplace)
for _mkt in ['bluegreen-marketplace']:
cache_root = home / '.claude' / 'plugins' / 'cache' / _mkt / 'hal'
if cache_root.exists():
candidates = sorted(cache_root.glob('*/scripts/build_context.py'), key=lambda p: p.stat().st_mtime, reverse=True)
if candidates:
print(str(candidates[0].parent.parent)); sys.exit(0)
# 3. Cowork app sandbox: /sessions/*/mnt/.remote-plugins/plugin_*/scripts/build_context.py
import glob as _glob
for pat in ['/sessions/*/mnt/.remote-plugins/*/scripts/build_context.py']:
matches = sorted(_glob.glob(pat), key=lambda p: os.path.getmtime(p), reverse=True)
if matches:
print(os.path.dirname(os.path.dirname(matches[0]))); sys.exit(0)
# 4. Known dev paths (Mac + Windows)
for dev_path in [
home / 'Projects' / 'bluegreen-marketplace' / 'plugins' / 'hal',
home / 'projects' / 'bluegreen-marketplace' / 'plugins' / 'hal',
pathlib.Path('C:/Users') / os.environ.get('USERNAME', '') / 'Projects' / 'bluegreen-marketplace' / 'plugins' /