credential-switch

Installation
SKILL.md

/dm:credential-switch

Purpose

Switch the active credential profile to a different brand for multi-client agency management. Validates all platform connections and reports which services are available for the target brand. Ensures the correct API keys, tokens, and environment variables are active before executing any platform operations — preventing cross-client data leakage, misrouted ad spend, or accidental operations on the wrong account.

Input Required

The user must provide (or will be prompted for):

  • Target brand slug: The brand slug to switch credentials to — must match a configured brand in ~/.claude-marketing/brands/ with a corresponding credential profile in ~/.claude-marketing/credentials/
  • Validation depth (optional): One of:
    • Quick: Check that env vars exist and are non-empty — fast, no API calls
    • Full: Test live API connectivity and token validity for each configured platform — slower but confirms actual access
    • Defaults to quick for faster switching
  • Force switch (optional): If the target profile has missing or expired credentials, whether to switch anyway with warnings or abort entirely — defaults to abort on missing critical credentials (ad platforms, analytics)
  • Reason (optional): Brief note for the switch log — helps with audit trail when multiple team members share the system (e.g., "Starting monthly reporting for Acme Corp")
  • Platforms to validate (optional): Specific platforms to validate instead of all — useful when you only need certain integrations for the current task (e.g., "google-ads, google-analytics" for a paid media session)
Related skills
Installs
30
GitHub Stars
100
First Seen
Feb 27, 2026