stripe-setuplisted
Install: claude install-skill juliandickie/stripe-plugin
# Stripe Setup
Configure the multi-account registry and provision the Stripe CLI. This skill is user-invoked only because it writes credential configuration.
## Prerequisite - 1Password CLI
Any `op://` reference, for a test key or a live key, resolves through the 1Password CLI (`op`) at call time; the registry stores only the reference, never the secret.
- Confirm `op` is installed: `op --version`. If not, `brew install 1password-cli`.
- Confirm the 1Password app is unlocked. A locked app makes `op read` fail, or hang until the timeout (default 60 seconds, override with `CLAUDE_PLUGIN_OPTION_OP_TIMEOUT`).
- If more than one 1Password account is signed in, `op read` alone fails with "multiple accounts found"; step 4 below sets `op_account` to resolve that.
## Steps
1. Determine the registry path with this precedence: a `--accounts-file` the user names, else `$STRIPE_X_ACCOUNTS_FILE`, else the `accounts_file` plugin setting, else `${CLAUDE_PLUGIN_DATA}/stripe-x/accounts.json`.
2. If no registry exists, create the directory and write a starter file, then `chmod 600` it:
```json
{
"default_account": "REPLACE_ME",
"accounts": {
"example-standalone": {
"type": "standalone",
"label": "Example business",
"test_secret_key": "env:STRIPE_EXAMPLE_TEST",
"live_secret_key": "op://Vault/StripeExample/live"
},
"example-connect": {
"type": "connect",
"label": "Example connected client",