setuplisted
Install: claude install-skill agentflock/myna
# myna-setup
Single entry point for all Myna configuration — new installs and returning users alike. Detects whether Myna is already installed, runs the install script if not, then opens the Config UI (or doc import as an alternative). No guided interview.
`${CLAUDE_SKILL_DIR}` is the directory containing this SKILL.md file, resolved by the plugin runtime to the skill's install location.
---
## Step 0: Detect Install State
Read `~/.myna/config.yaml`.
- If it **exists**: parse `vault_path` from it. Subfolder is always `myna`. Skip to Step 3 (Config UI).
- If it **does not exist**: say "Welcome! Let's get Myna set up." and continue to Step 1.
---
## Step 1: Gather Vault Details (first-time only)
Ask the user one question:
1. Full path to your Myna vault — a folder on your machine where Myna stores everything. Using Obsidian? Point it to your Obsidian vault. (e.g. `/Users/you/Documents/MyVault`)
Then continue to Step 2.
---
## Step 2: Run Install Script (first-time only)
Run the install script in the foreground:
```
bash "${CLAUDE_SKILL_DIR}/../../install/claude.sh" "<vault_path>" "myna"
```
Show all progress output as it runs. If the script exits non-zero, show the error output and stop — do not proceed to Step 3.
---
## Step 3: Config UI
Check if `python3` is available:
```
python3 --version
```
**If python3 is not available:**
Check if `brew` is available:
```
brew --version
```
- **If brew is available:** Ask: "The Config UI needs Python 3. Want me to