name: agents-to-im description: | Manage the Feishu/Lark bridge daemon for Claude Code and Codex. Use for: CLI install guidance, setup guidance, start/stop/status/logs/doctor, checking bridge health, or explaining how to configure the Feishu bot. This skill is Feishu/Lark-only. argument-hint: "onboard | setup | start | stop | status | logs [N] | doctor | upgrade" allowed-tools:
- Bash
- Read
- Write
- Edit
- Grep
- Glob
Agents to IM Skill
You are managing the Feishu/Lark bridge daemon.
User data is stored at ~/.agents-to-im/.
The skill directory is ~/.claude/skills/agents-to-im.
If that path does not exist, find SKILL.md via glob and derive the root directory from it.
Commands
Map $ARGUMENTS to one of:
onboardsetupstartstopstatuslogsdoctorupgrade
If no configuration exists at ~/.agents-to-im/config.env, show config.env.example and explain the required Feishu fields. Do not try to start the daemon without config.
CLI usage
Prefer the globally installed npm CLI:
- install once:
npm install -g agents-to-im@beta agents-to-im onboardagents-to-im startagents-to-im restartagents-to-im statusagents-to-im doctoragents-to-im upgradeagents-to-im logs 100
Use source checkout commands only for development/debugging.
Setup
This project no longer has a multi-platform setup wizard. Setup means:
- Show
config.env.example. - Explain the required fields:
CTI_FEISHU_APP_IDCTI_FEISHU_APP_SECRETCTI_DEFAULT_WORKDIR
- Explain optional fields:
CTI_FEISHU_DOMAINCTI_FEISHU_ALLOWED_USERS- external
CODEX_HOMEoverride if the user stores Codex config outside~/.codex
- Point the user to
references/setup-guides.mdfor the one-shot Feishu scopes import JSON. - Remind the user to enable Feishu long connection events:
im.message.receive_v1card.action.trigger
- Remind the user that private chat only accepts
/new:claudeand/new:codex, and real conversation happens in the auto-created group.
Runtime behavior
- Runtime is selected per session.
/new:claudecreates a Claude session./new:codexcreates a Codex session./resetkeeps the current group's runtime.
Execution
Use:
agents-to-im onboardbash "SKILL_DIR/scripts/daemon.sh" startbash "SKILL_DIR/scripts/daemon.sh" stopbash "SKILL_DIR/scripts/daemon.sh" statusbash "SKILL_DIR/scripts/daemon.sh" logs 50bash "SKILL_DIR/scripts/doctor.sh"
When showing logs or doctor output, summarize the important lines instead of dumping excessive raw output.
Architecte Docker Compose
DevOps
Concoit des configurations Docker Compose optimisees.
Rapport de Post-Mortem
DevOps
Rédige des rapports post-mortem d'incidents structurés et blameless.
Créateur de Runbooks
DevOps
Crée des runbooks opérationnels clairs pour les procédures DevOps courantes.