From mirra-cc-bridge
Configures Mirra CC Bridge with API key via browser auth, working directory, and chat destination. Handles fresh setups, re-authentication, directory/chat changes via Node.js scripts.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mirra-cc-bridge:configureThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Set up or reconfigure the Mirra CC Bridge. The configure script is located at `../../scripts/configure.js` relative to this skill's base directory.
Set up or reconfigure the Mirra CC Bridge. The configure script is located at ../../scripts/configure.js relative to this skill's base directory.
Read ~/.mirra/cc-bridge.json to check the current state. If the file doesn't exist or has no apiKey, this is a fresh setup — go to Fresh Setup below.
If the config already has an apiKey, ask the user what they want to change using AskUserQuestion with these options:
Then follow the appropriate section below.
Run the configure script with --work-dir and --skip-chat to prevent hanging on interactive prompts after browser auth:
node <base_directory>/../../scripts/configure.js --work-dir "<cwd>" --skip-chat
Use a 5-minute timeout since browser auth takes time. Do NOT retry if the command is still running.
After it completes, read ~/.mirra/cc-bridge.json to confirm the apiKey was saved. Then:
Run the configure script with --reconfigure plus the current working directory and group ID to preserve them:
node <base_directory>/../../scripts/configure.js --reconfigure --work-dir "<currentWorkDir>" --group-id "<currentGroupId>"
Use a 5-minute timeout. This opens the browser exactly once for re-authentication. Do NOT retry — the browser auth requires user interaction.
Ask the user for the new working directory path. Then directly update ~/.mirra/cc-bridge.json by reading it, changing the defaultWorkDir field, and writing it back. No need to run the configure script.
node <base_directory>/../../scripts/configure.js --skip-auth --list-chats
This outputs a JSON array of {groupId, name, type} objects.
Parse the JSON output and present the options to the user using AskUserQuestion (show chat name and type for each option).
After the user selects a chat, run:
node <base_directory>/../../scripts/configure.js --skip-auth --work-dir "<currentWorkDir>" --group-id "<selectedGroupId>"
Run the configure script with --reconfigure, --work-dir, and --skip-chat to prevent hanging on prompts after auth:
node <base_directory>/../../scripts/configure.js --reconfigure --work-dir "<currentWorkDir>" --skip-chat
Use a 5-minute timeout. After it completes:
<currentWorkDir>. Ask if they'd like to change it — if yes, follow Change Working Directory above.| Flag | Description |
|---|---|
--skip-auth | Reuse existing API key (no browser auth) |
--reconfigure | Force browser re-auth (skip "Reconfigure?" prompt) |
--work-dir <path> | Set working directory without prompting |
--group-id <id> | Set chat destination without prompting |
--list-chats | Output available chats as JSON array and exit |
--skip-chat | Skip the interactive chat selection prompt |
--manual | Prompt for API key in terminal instead of browser |
npx claudepluginhub oz-networks/mirra-sdk --plugin mirra-cc-bridgeInstalls @mirohq/miro-api Node.js client and configures OAuth 2.0 authentication for Miro REST API v2.
Configures WeChat channel in Claude Code: runs QR login via terminal or link, checks credentials status, clears credentials, sets custom API base URL.
Configures WeChat iLink bot channel: checks credentials/access status, generates QR code for login, polls scan confirmation, stores tokens.