Community程式設計與開發github.com

Lobster

執行可重複的多步驟工作流程,支援型別化管道與審核檢查點。

Lobster 是什麼?

Lobster 是一個專為 AI Agent 設計的工作流程執行工具,能夠將多步驟自動化任務轉化為可重複的管道(pipeline)。它支援型別化資料傳遞與審核檢查點(approval checkpoints),讓使用者可以在執行前暫停工作流程並請求人工確認,特別適合用於電子郵件分類、監控 PR、同步資料等需要狀態管理與人類監督的情境。Lobster 在 Claude Code、Cursor 等主流開發者平台上皆可整合使用。其核心行為保證確定性(相同輸入產生相同輸出),並以標準 JSON 封裝結構化結果,方便程式化處理。當工作流程需要審核時,系統會回傳提示訊息與恢復令牌(resume token),使用者可透過 resume 動作繼續執行。Lobster 不適合用於單一操作、需要 LLM 即時解讀的中間查詢或一次性任務。

相容平台~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

取得近期電子郵件,分類至不同桶(needs_reply、needs_action、fyi)。

電子郵件分類(含審核關卡)

gog.gmail.search --query 'newer_than:1d' | email.triage | approve --prompt '處理這些?'

同上,但在回傳前暫停以等待審核。

關鍵行為

  • 確定性:相同輸入 → 相同輸出(管道執行中無 LLM 變異)
  • 審核關卡:approve 命令暫停執行,回傳令牌
  • 可恢復:使用 resume 動作搭配令牌繼續執行
  • 結構化輸出:一律回傳 JSON 封裝,內含 protocolVersion

不要使用 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.

相關技能