credential-switch
/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)
More from indranilbanerjee/digital-marketing-pro
video-script
Write video scripts. Use when: creating YouTube, TikTok, Reels, LinkedIn, demo, or explainer video content.
136paid-advertising
Plan paid advertising campaigns. Use when: managing Google Ads, Meta Ads, LinkedIn Ads, bid strategy, or budget optimization.
58pdf-report
Generate branded PDF reports. Use when: creating executive summaries, campaign reports, or client deliverables.
50reputation-management
Manage brand reputation. Use when: handling reviews, crisis comms, negative press, sentiment, or recovery plans.
42landing-page-audit
Audit landing pages. Use when: scoring above-fold clarity, trust signals, form friction, message match, or mobile UX.
39media-plan
Create a paid media plan. Use when: building media buy schedules, cross-channel budget allocation, or creative rotation calendars.
39