guwidoe
作者:guwidoe更新日 2026-05-17全 2 バージョン · 最新版の公開日 2026-01-29lobster@clawhub_guwidoe/lobster
タスク自動化ワークフロー編成ツール呼び出し#Json

AlphaMoatによると、2026-09時点でLobsterのダウンロード数は4,899、スター数は3で、AIスキル全体5,078件中1,905位、AIエージェントでは969件中356位です。

インストール数
159
ダウンロード数
4899
スター数
3
総合順位
#1,905
全体の上位 38% · AIエージェントの上位 37%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗159489922
SkillHub ↗15747263—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

多段階自動化、監視、型付き JSON 処理、バッチ作業を扱い、副作用の前に停止して承認を求められます。広範なシェル実行は副作用を起こす可能性があるため、資格情報と状態保存先を限定し、実行前に内容を確認してください。 Node.js と実際の場所にある確認・固定済み Lobster が必要です。承認は設定した箇所でのみ停止するため、副作用の各段階にゲートがあるか確認します。LOBSTER_STATE_DIR をプロジェクト専用にし、任意の Clawdbot 連携のみで CLAWD_URL/CLAWD_TOKEN を使い、トークンと再開状態を保護します。

資料公開日 2026-10-27

できること

  • 承認付きワークフローを実行する
  • 型付きパイプラインでデータを処理する

使う場面

  • 副作用前の承認が必要な決定的処理に使うとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

実行せずにパイプライン案と承認箇所を示して。
専用状態ディレクトリと保存内容を説明して。

月次の推移

ダウンロード数4899
3781438249822026-05 · ダウンロード数 38642026-06 · ダウンロード数 40742026-07 · ダウンロード数 44932026-08 · ダウンロード数 47402026-09 · ダウンロード数 489926-0526-09
スター数3
2332026-05 · スター数 22026-06 · スター数 22026-07 · スター数 32026-08 · スター数 32026-09 · スター数 326-0526-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-094899—3
2026-084740+5.5%3
2026-074493+10.3%3
2026-064074+5.4%2
2026-053864—2

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

4.0 KB・ClawHub v1.0.1
---
name: lobster
description: >
  Lobster workflow runtime for deterministic pipelines with approval gates.
  Use when: (1) Running multi-step automations that need human approval before side effects,
  (2) Monitoring PRs/issues for changes, (3) Processing data through typed JSON pipelines,
  (4) Email triage or batch operations, (5) Any workflow that should halt and ask before acting.
  Lobster saves tokens by running deterministic pipelines instead of re-planning each step.
---
すべて表示(全 141 行)
# Lobster

> **Contribute:** Source code & PRs welcome at [github.com/guwidoe/lobster-skill](https://github.com/guwidoe/lobster-skill)

Workflow runtime for AI agents — typed pipelines with approval gates.

## CLI Location

```bash
# Set alias (adjust path to your install location)
LOBSTER="node /home/molt/clawd/tools/lobster/bin/lobster.js"

# Or install globally: npm install -g @clawdbot/lobster
# Then use: lobster '<pipeline>'
```

## Quick Reference

```bash
# Run pipeline (human mode - pretty output)
$LOBSTER '<pipeline>'

# Run pipeline (tool mode - JSON envelope for integration)
$LOBSTER run --mode tool '<pipeline>'

# Run workflow file
$LOBSTER run path/to/workflow.lobster

# Resume after approval
$LOBSTER resume --token "<token>" --approve yes|no

# List commands/workflows
$LOBSTER commands.list
$LOBSTER workflows.list
```

## Core Commands

| Command | Purpose |
|---------|---------|
| `exec --json --shell "cmd"` | Run shell, parse stdout as JSON |
| `where 'field=value'` | Filter objects |
| `pick field1,field2` | Project fields |
| `head --n 5` | Take first N items |
| `sort --key field --desc` | Sort items |
| `groupBy --key field` | Group by key |
| `dedupe --key field` | Remove duplicates |
| `map --wrap key` | Transform items |
| `template --text "{{field}}"` | Render templates |
| `approve --prompt "ok?"` | **Halt for approval** |
| `diff.last --key "mykey"` | Compare to last run (stateful) |
| `state.get key` / `state.set key` | Read/write persistent state |
| `json` / `table` | Render output |

## Built-in Workflows

```bash
# Monitor PR for changes (stateful - remembers last state)
$LOBSTER "workflows.run --name github.pr.monitor --args-json '{\"repo\":\"owner/repo\",\"pr\":123}'"

# Monitor PR and emit message only on change
$LOBSTER "workflows.run --name github.pr.monitor.notify --args-json '{\"repo\":\"owner/repo\",\"pr\":123}'"
```

## Approval Flow (Tool Mode)

When a pipeline hits `approve`, it returns:

```json
{
  "status": "needs_approval",
  "requiresApproval": {
    "prompt": "Send 3 emails?",
    "items": [...],
    "resumeToken": "eyJ..."
  }
}
```

To continue:
```bash
$LOBSTER resume --token "eyJ..." --approve yes
```

## Example Pipelines

```bash
# List recent PRs, filter merged, show as table
$LOBSTER 'exec --json --shell "gh pr list --repo owner/repo --json number,title,state --limit 20" | where "state=MERGED" | table'

# Get data, require approval, then process
$LOBSTER run --mode tool 'exec --json --shell "echo [{\"id\":1},{\"id\":2}]" | approve --prompt "Process these?" | pick id | json'

# Diff against last run (only emit on change)
$LOBSTER 'exec --json --shell "gh pr view 123 --repo o/r --json state,title" | diff.last --key "pr:o/r#123" | json'
```

## Workflow Files (.lobster)

YAML/JSON files with steps, conditions, and approval gates:

```yaml
name: pr-review-reminder
steps:
  - id: fetch
    command: gh pr list --repo ${repo} --json number,title,reviewDecision
  - id: filter
    command: jq '[.[] | select(.reviewDecision == "")]'
    stdin: $fetch.stdout
  - id: notify
    command: echo "PRs needing review:" && cat
    stdin: $filter.stdout
    approval: required
```

Run: `$LOBSTER run workflow.lobster --args-json '{"repo":"owner/repo"}'`

## Clawdbot Integration

Lobster can call Clawdbot tools via `clawd.invoke`:

```bash
$LOBSTER 'clawd.invoke --tool message --action send --args-json "{\"target\":\"123\",\"message\":\"hello\"}"'
```

Requires `CLAWD_URL` and `CLAWD_TOKEN` environment variables.

## State Directory

Lobster stores state in `~/.lobster/state/` by default. Override with `LOBSTER_STATE_DIR`.

AIエージェントの人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。