install-applisted
Install: claude install-skill 0xMaxMa/claude-gateway
# /install-app — Install an App Store App
Arguments passed: `$ARGUMENTS`
---
## Argument formats
- `/install-app <registry-name>` — install latest version from registry
- `/install-app <registry-name> <version>` — install specific version
- `/install-app <github-url> <40-hex-commit>` — custom GitHub install (pinned commit)
---
## Step 1 — Resolve the app
**Registry install:** call `browse_registry` with the app name to get its versions list.
Show the user:
- App name and description
- Repo URL
- Version you will install (and whether it is latest)
**GitHub install:** validate that the commit is a 40-char hex string. If not, tell the user
and stop.
If the app is not found in the registry and no GitHub URL given, stop with a helpful message.
---
## Step 2 — Check for required env vars
Call `browse_registry` to get the app definition. If the app has `secretKeys` listed, those
env vars must be supplied. Prompt the user for each missing secret before proceeding:
```
This app requires the following environment variables:
MY_API_KEY — (no default)
SOME_TOKEN — (no default)
Please provide values, e.g.:
MY_API_KEY=xxx
SOME_TOKEN=yyy
```
Wait for the user's reply. Parse key=value pairs.
If no secrets are needed, proceed immediately.
---
## Step 3 — Show permissions summary
Before installing, show a brief summary:
```
Installing: <app-name> v<version>
Source: <registry|github>
Repo: <url>
Commit: <first 8 chars>
Proxy routes: (from registry metadata if availab