Community编程与开发github.com

tuchg/Lucarne

Stop babysitting local AI agents. Just notifications, approve, and resume your Codex,Pi, or Claude code sessions anywhere. 0-Intrusion mobile control bridge via Telegram/Wechat/飞书. No hooks, no skills, no MCP.

Lucarne 是什么?

Lucarne is a Claude Code agent skill that stop babysitting local AI agents. Just notifications, approve, and resume your Codex,Pi, or Claude code sessions anywhere. 0-Intrusion mobile control bridge via Telegram/Wechat/飞书. No hooks, no skills, no MCP.

兼容平台✓Claude Code✓Codex CLI~Cursor
npx skills add tuchg/Lucarne

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Lucarne 是做什么的?

Stop babysitting local AI agents. Just notifications, approve, and resume your Codex, Pi, or Claude code sessions anywhere. 0-Intrusion mobile control bridge via Telegram/Wechat/飞书. No hooks, no skills, no MCP.

Overview

Lucarne provides a lightweight, non-invasive way to manage your local AI coding agents from your mobile device. Instead of hovering over your terminal, you receive real-time notifications on Telegram, WeChat, or 飞书 when your agent needs input, and you can approve, reject, or provide instructions directly from your phone.

How It Works

  1. Install Lucarne via pip: pip install lucarne
  2. Configure your messaging platform (Telegram bot token, WeChat bot, or 飞书 webhook)
  3. Run your AI agent with Lucarne: lucarne run --agent codex --task "refactor auth module"
  4. Receive notifications on your phone when the agent requires approval or encounters an error
  5. Respond via chat: /approve, /reject, or type custom instructions

Features

  • Zero configuration: No hooks, no MCP, no custom skills required—works out of the box with Codex CLI, Pi, Claude Code, and other terminal-based AI agents
  • Multi-platform support: Telegram, WeChat, 飞书 (Feishu/Lark)
  • Real-time updates: Get notified when your agent starts a task, completes a step, or needs input
  • Mobile control: Approve, reject, or modify the agent's actions from your phone
  • Session persistence: Resume interrupted sessions from anywhere
  • Privacy-first: Your code and API keys never leave your machine; only prompts and responses are relayed

Configuration

Create a lucarne.yaml in your project root:

notifier:
  platform: telegram  # telegram, wechat, or feishu
  telegram:
    bot_token: "YOUR_BOT_TOKEN"
    chat_id: "YOUR_CHAT_ID"
  wechat:
    webhook_url: "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=YOUR_KEY"
  feishu:
    webhook_url: "https://open.feishu.cn/open-apis/bot/v2/hook/YOUR_HOOK"

agent:
  type: codex  # codex, pi, claude
  working_dir: "./project"

Usage Examples

Basic run with Codex CLI

lucarne run --agent codex --task "Implement the user authentication API endpoints"

Run with Claude Code

lucarne run --agent claude --task "Analyze the codebase for security vulnerabilities"

Approve an action from Telegram

/approve
/reject
/instructions "Only use async functions"
/status

Supported Agents

AgentStatusNotes
Codex CLI✅ Full supportRecommended
Pi✅ Full support
Claude Code✅ Full support
Custom agents⚠️ ExperimentalRequires stdin/stdout interface

Why Lucarne?

  • No more babysitting: Walk away from your desk while your agent works
  • 0-Intrusion: Agents run exactly as they normally would; Lucarne only captures their output and forwards your input
  • No vendor lock-in: Switch between Telegram, WeChat, or 飞书 freely
  • Open source: MIT license, contributions welcome

Installation

pip install lucarne

Quick Start

  1. Set up a Telegram bot (or configure WeChat/飞书)
  2. Run lucarne init to create the configuration file
  3. Launch your first session: lucarne run --agent codex --task "Hello World"
  4. Approve the task from your phone via /approve

Learn More

相关技能