guwidoe

Lobster

AI Agentv1.0.1
By guwidoeUpdated 2026-05-172 versions · latest released 2026-01-29lobster@clawhub_guwidoe/lobster
Task AutomationWorkflow OrchestrationTool Use#Json

According to AlphaMoat, as of 2026-09, Lobster has 4,899 downloads and 3 stars — ranked #1,905 of 5,078 AI skills overall, and #356 of 969 in AI Agent.

Installs
159
Downloads
4.9K
Stars
3
Overall Rank
#1,905
Top 38% overall · Top 37% in AI Agent
PlatformInstallsDownloadsStarsComments
ClawHub ↗1594.9K22
SkillHub ↗1574.7K3—

Platforms count differently and update at different times.

What this skill does

It can coordinate multi-step automation, monitoring, typed JSON processing and batch work, and halt before side effects for approval. Broad shell workflows may have side effects; scope credentials and state storage and review pipelines. Requires Node.js and a reviewed, pinned Lobster installation at the actual local path. Approval pauses apply where configured; verify every side-effecting step has a gate. Set LOBSTER_STATE_DIR per project. CLAWD_URL/CLAWD_TOKEN are needed only for the optional Clawdbot branch; protect tokens and resume state.

Profile published 2026-10-27

What you can do with it

  • Run an approval-gated multi-step workflow
  • Process data through typed pipeline stages

When to use it

  • When deterministic steps and approval before side effects are needed

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Draft a pipeline and identify where approval is required; do not execute it.
Use a project-specific state directory and describe what it would store.

Monthly Trend

Downloads4.9K
3.8K4.4K5.0K2026-05 · Downloads 3.9K2026-06 · Downloads 4.1K2026-07 · Downloads 4.5K2026-08 · Downloads 4.7K2026-09 · Downloads 4.9K26-0526-09
Stars3
2332026-05 · Stars 22026-06 · Stars 22026-07 · Stars 32026-08 · Stars 32026-09 · Stars 326-0526-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-094.9K—3
2026-084.7K+5.5%3
2026-074.5K+10.3%3
2026-064.1K+5.4%2
2026-053.9K—2

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 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.
---
Show all (141 lines)
# 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`.

Popular in AI Agent

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.