lark-bridge-setuplisted
Install: claude install-skill momiji-project/lark-agent-bridge-plugin
# Set up Lark Agent Bridge
Use the plugin's `scripts/bridge-manager.mjs`; do not recreate Bridge behavior or hand-edit credential files.
## Workflow
1. Resolve the plugin root as two directories above this skill directory.
2. Run `node <plugin-root>/scripts/bridge-manager.mjs preflight --json`.
3. If exactly one supported agent is installed, use it. If both `claude` and `codex` are installed and the user did not specify one, ask which one to connect.
4. Confirm the workspace directory. Reject `/`, the home directory, system directories, and temporary roots.
5. Default to the `safe-edit` preset. Explain that `read-only` cannot edit files and `full` can access outside the workspace. Never select `full` without explicit confirmation.
6. Show the install command with `--dry-run`, then run `node <plugin-root>/scripts/bridge-manager.mjs install` after the user has requested setup.
7. Create only the selected profile with the upstream CLI:
```bash
lark-channel-bridge profile create <profile> --agent <claude|codex> --workspace <absolute-path>
```
Let the user scan the QR code. Never request that they paste an App Secret into chat. For an existing app, prefer the interactive secret prompt and do not pass `--app-secret` on a command line.
8. Preview and apply the preset with `bridge-manager.mjs preset`. Preserve credentials, access lists, attachments, meetings, and unrelated profiles.
9. Optionally install the managed Bridge-session instruction block with `bridge-manag