profile-switch
保存済みの Google 認証プロファイルを切り替える。「アカウント切替」「プロファイル変更」「別アカウントで使いたい」「Google アカウントを変える」「認証を切り替え」などで起動。
When & Why to Use This Skill
The Profile Switch skill is a specialized utility designed to manage and toggle between multiple saved Google authentication profiles. It streamlines workflows by allowing users to switch identities—such as moving from a work account to a personal account—without manual re-authentication. By managing tokens and active profiles through a simple command interface, it ensures that automated agents and scripts always operate under the correct Google credentials, enhancing productivity for multi-account users.
Use Cases
- Switching between 'Work' and 'Personal' Google accounts to access different sets of documents, emails, or calendars.
- Managing multiple client accounts for digital marketing or data analysis agencies that require frequent credential rotation.
- Automating cross-account data transfers by programmatically switching the active Google profile during script execution.
- Improving security and organization by isolating development, testing, and production environments into separate authenticated profiles.
| name | profile-switch |
|---|---|
| description | 保存済みの Google 認証プロファイルを切り替える。「アカウント切替」「プロファイル変更」「別アカウントで使いたい」「Google アカウントを変える」「認証を切り替え」などで起動。 |
| allowed-tools | [Read, Bash] |
Profile Switch
保存済み認証プロファイルを切り替えます。
実行方法
プロファイル一覧を表示
python plugins/shiiman-google/skills/auth-login/scripts/google_auth.py profiles
プロファイルを切り替え
python plugins/shiiman-google/skills/auth-login/scripts/google_auth.py switch <profile-name>
例:
python plugins/shiiman-google/skills/auth-login/scripts/google_auth.py switch work
python plugins/shiiman-google/skills/auth-login/scripts/google_auth.py switch personal
保存場所
- 設定ディレクトリ:
~/.config/shiiman-google/ - トークンファイル:
~/.config/shiiman-google/tokens/<profile-name>.json - アクティブプロファイル:
~/.config/shiiman-google/active-profile
注意事項
- 切り替え先のプロファイルは事前に認証されている必要があります
- 新しいプロファイルを追加するには「Google ログイン」と言ってください