Community编程与开发github.com

Lobster

运行可重复的多步骤工作流,支持类型化管道和审批检查点。

Lobster 是什么?

Lobster 是一款专为 AI 代理设计的技能,用于执行可重复的多步骤工作流,支持审批检查点。它非常适合需要自动化的任务,例如邮件分类、监控和同步,尤其是在执行发送、发布或删除等操作前需要人工审批的场景。Lobster 通过管道将多个工具调用串联成一个可重复的操作,并返回结构化的 JSON 输出。其关键特性包括确定性(相同输入产生相同输出)、审批门控(通过 `approve` 命令暂停执行并返回令牌)以及可恢复性(使用 `resume` 动作和令牌继续工作流)。支持的平台包括 Claude Code、Cursor 和 Codex 等。使用时,只需通过 `run` 动作启动管道,并在需要时通过 `resume` 动作处理审批。对于简单的单步操作或需要 LLM 中途解释的查询,不建议使用 Lobster。它特别适合定期执行的任务(如每日邮件检查并回复),而非常规的一次性查询。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/extensions/lobster

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

在你喜欢的 AI 中提问

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

文档

Lobster 是做什么的?

Lobster 执行多步骤工作流并带有审批检查点。在以下场景中使用:

  • 用户需要可重复的自动化(分类、监控、同步)
  • 操作在执行前需要人工审批(发送、发布、删除)
  • 多个工具调用应作为单一可重复操作运行

何时使用 Lobster

用户意图使用 Lobster?
“分类我的电子邮件”是 — 多步骤,可能需要发送回复
“发送一条消息”否 — 单步操作,直接使用消息工具
“每天早晨检查我的电子邮件,回复前先问我”是 — 带审批的定时工作流
“今天天气怎么样?”否 — 简单查询
“监控这个 PR 并在有变化时通知我”是 — 有状态、重复性

基本用法

运行一个管道

{
  "action": "run",
  "pipeline": "gog.gmail.search --query 'newer_than:1d' --max 20 | email.triage"
}

返回结构化结果:

{
  "protocolVersion": 1,
  "ok": true,
  "status": "ok",
  "output": [{ "summary": {...}, "items": [...] }],
  "requiresApproval": null
}

处理审批

如果工作流需要审批:

{
  "status": "needs_approval",
  "output": [],
  "requiresApproval": {
    "prompt": "发送 3 封草稿回复?",
    "items": [...],
    "resumeToken": "..."
  }
}

向用户展示提示。如果用户批准:

{
  "action": "resume",
  "token": "<resumeToken>",
  "approve": true
}

示例工作流

邮件分类

gog.gmail.search --query 'newer_than:1d' --max 20 | email.triage

获取最近邮件,分类到不同桶(需回复、需操作、仅供参考)。

带审批门的邮件分类

gog.gmail.search --query 'newer_than:1d' | email.triage | approve --prompt '处理这些吗?'

与上面相同,但在返回之前暂停等待审批。

关键行为

  • 确定性:相同输入 → 相同输出(管道执行中无 LLM 偏差)
  • 审批门:approve 命令暂停执行,返回令牌
  • 可恢复:使用 resume 动作和令牌继续执行
  • 结构化输出:始终返回包含 protocolVersion 的 JSON 信封

不要将 Lobster 用于

  • 简单的单步操作(直接使用工具)
  • 需要 LLM 中途解释的查询
  • 不会重复的一次性任务

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills and agent Templates when requested; add Templates; install, verify, update, uninstall, publish, or sync skills.

相关技能