ops-credentialslisted
Install: claude install-skill Lifecycle-Innovations-Limited/claude-ops
# OPS ► CREDENTIALS
## CLI/API Reference
| Command | Output |
|---------|--------|
| `bin/ops-credentials` | Human table — configured + missing per service |
| `bin/ops-credentials --json` | JSON array, one entry per credential |
| `bin/ops-credentials --service stripe` | Filter to one integration |
The bin script is the source of truth. It scans these sources in order and reports the FIRST hit per credential:
1. Shell env (`$STRIPE_SECRET_KEY`, etc.)
2. `$OPS_DATA_DIR/preferences.json` (`.revenue.stripe.secret_key`, etc., including `doppler:KEY` references that get resolved live)
3. macOS Keychain (`security find-generic-password -s <name> -w`)
4. Dashlane (`dcli password <keyword> --output json`)
Values shorter than 12 chars print as `•••`; longer values print as `first6•••last4`.
## Your task
When the user runs `/ops:credentials`:
1. **Run** `bin/ops-credentials` and present the output verbatim — it's already formatted for the user's terminal (compact mode for SSH/mobile, table layout otherwise).
2. **Offer follow-ups via AskUserQuestion (max 4 options per Rule 1):**
```
What would you like to do next?
[Configure a missing service — pick one to set up now]
[Re-audit a specific service]
[Export to JSON]
[Done]
```
3. **On "Configure missing"**: list missing services 4-at-a-time via `AskUserQuestion`. For each pick, call the `/ops:setup <service>` skill.
4. **On "Re-audit specific"**: ask for the service name and run `bin/ops-credentials --service <name>`