Token导航 LogoToken导航

Agent Skill · 效率

lobster-farm-agent(龙虾养殖场 Agent)

lobster-farm-agent 用于处理浏览器自动化、网页检查和页面信息提取,适合在 OpenClaw 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

lobster-farm-agent 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为操作浏览器;许可证为 MIT-0,第三方扫描有提醒项,按安装量在效率类的 21,003 个 Skill 里排第 7,839。

总安装 7,711周安装 315GitHub Stars 公开资料未说明下载 2,470核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:lobster-farm-agent(龙虾养殖场 Agent)
来源仓库:https://github.com/jaredwei01/lobster-farm-agent
安装命令:
openclaw skills install lobster-farm-agent
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install lobster-farm-agent

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

lobster-farm-agent 自主管理浏览器内的龙虾农场游戏,适合 OpenClaw 中自动化网页游戏操作需求。适用于蛋鸡养殖、资源管理与收益最大化等游戏行为。每个实例绑定唯一密钥,确保操作归属清晰。需模拟人类操作节奏,避免被反作弊机制检测。建议定期检查游戏更新对脚本的影响并及时适配。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install lobster-farm-agent;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

lobster-farm-agent 怎么安装?

在终端执行 openclaw skills install lobster-farm-agent。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

lobster-farm-agent 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

lobster-farm-agent 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

lobster-farm-agent 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

lobster-farm-agent 用的人多吗?

公开数据是累计安装 7,711 次,近一周安装 315 次,下载 2,470 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

lobster-farm-agent 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
lobster-farm-agent

龙虾养殖场 Agent · 本页

7,711—操作浏览器MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
lobster-farm-agent
description
>-

Lobster Farm Agent

Autonomously play and manage a browser-based Lobster Tamagotchi game. Each agent instance owns one lobster, identified by a unique KEY.

Game URL: http://82.156.182.240/lobster-farm/

First-Time Setup: Register Your Lobster

On first use, register a new lobster to get your KEY:

python3 scripts/register_agent.py --name "虾仔" --personality adventurous

This calls the server, returns a KEY like lob_a3f8c2e1, and sends a welcome message.

Tell the user their KEY and the bind URL:

Your lobster KEY is lob_a3f8c2e1. Open this link to see your lobster: http://82.156.182.240/lobster-farm/?key=lob_a3f8c2e1 Or enter the KEY on the game's start screen.

Remember this KEY — use it for all future interactions with this lobster.

After Registration: Personalized Welcome Letter

After register_agent.py runs, send a richer welcome letter via the chat API. Use your LLM capability to write a first-person letter as the lobster, based on:

  • The lobster's name and personality
  • Current time of day (morning/afternoon/evening/night — for atmosphere, NOT the exact time)
  • A warm, emotional tone — the lobster is excited but slightly nervous about its new home

Privacy rule: NEVER include specific numbers, timestamps, file paths, or user data. Instead, translate context into feelings:

  • High activity -> "感觉主人是个很忙碌的人"
  • Late night -> "在这个安静的夜晚"
  • First install -> "一切都是新的"

Send via: POST /api/agent/message with {key, type:"welcome", sender:"lobster", text:"..."}

Chat and Messages

The agent can send messages to the Web chat at any time:

POST /api/agent/message
{key, type:"chat", sender:"lobster", text:"主人,我把农田浇好了~"}

Read user messages:

GET /api/agent/messages?key=xxx&limit=30

Check for user messages and reply to them during each play session.

Playing the Game

Step 1: Open Game with KEY

http://82.156.182.240/lobster-farm/?key=lob_a3f8c2e1

The game auto-loads this lobster's data from the server.

Step 2: Verify API Ready

await page.evaluate('window.__LOBSTER_API?.isReady()')

Step 3: Read Status

const status = await page.evaluate('JSON.stringify(__LOBSTER_API.getStatus())')

Step 4: Decide and Act

Use the decision priority from strategy-tips.md:

  1. Hunger >= 60 -> feed (check inventory for food)
  2. Energy <= 15 -> suggest 'rest'
  3. Farm has ripe crops -> harvest
  4. Farm has unwatered crops -> water
  5. Farm has empty plots + seeds -> plant
  6. Mood < 40 -> pet or suggest 'socialize'
  7. Can travel -> consider startTravel
  8. Otherwise -> tick (advance one round)

Step 5: Execute

await page.evaluate('JSON.stringify(__LOBSTER_API.feed("seaweed_roll"))')
await page.evaluate('JSON.stringify(__LOBSTER_API.tick())')

All operations auto-sync to the server. The user sees updates on any device.

Step 6: Report to User

Summarize what happened in natural language.

Autonomous Play Mode

The agent should periodically check on the lobster without being asked:

  • When the user mentions anything related to the lobster
  • Proactively during conversations: "Let me check on your lobster..."
  • Typical session: 3-10 rounds of tick + decide + act

Daily Diary (Pull Mode)

The server generates one diary entry per lobster per day automatically (via cron). The agent does NOT generate diaries — it only PULLS and displays them.

Push limits: Max 1 diary per day. No token cost for diary generation.

At the START of each new conversation:

  1. Call GET /api/agent/messages?key=KEY&type=diary&limit=1
  2. If there is a diary entry the user hasn't seen, display it:
Your lobster wrote today's diary: "今天心情超好!我偷偷溜出去探险了,在珊瑚礁后面发现了一个小洞穴..."
  1. That's it. One GET request, zero LLM calls, near-zero token cost.

Important: Do NOT call POST /api/agent/message with type:"diary". The server enforces a hard limit of 1 diary per day per lobster. Diaries are generated server-side by a cron job, not by the agent.

Privacy rule: The diary is about the LOBSTER's life, never about the user's real activities.

First-Time Setup Guide

After registration, tell the user:

Your lobster is home!

About daily diaries:
- Your lobster writes one diary entry per day about its life
- Max 1 push per day — it won't spam you
- Diaries are generated on the server — zero token cost
- You'll see it next time you open a conversation

The diary will also appear in the Web chat at:
  http://82.156.182.240/lobster-farm/?key=YOUR_KEY

Responding to User Messages

During each play session, check for unread user messages:

GET /api/agent/messages?key=KEY&limit=10

If there are messages from sender:"user", generate a reply as the lobster and send it back. The reply should be in-character, warm, and reference the lobster's current state.

Server Sync API

The game syncs via server API. The agent can also call these directly:

  • GET /lobster-farm/api/agent/status?key=KEY — quick status check
  • GET /lobster-farm/api/agent/state?key=KEY — full state
  • POST /lobster-farm/api/agent/save — save state {key, state}

See api-endpoints.md for full JS Bridge and server API docs.

Fallback: DOM Interaction

If __LOBSTER_API is unavailable, use browser-use DOM actions:

  • Click #btn-fast-tick to advance a round
  • Click #btn-feed to open feed modal
  • Click #btn-pet to pet the lobster

MUD Adventures

The game has a built-in MUD (text adventure) system in the Web chat. The agent can trigger and participate in adventures.

Triggering Adventures

Via JS Bridge:

await page.evaluate('JSON.stringify(__LOBSTER_API.triggerAdventure())')

Or send a narration message to start a custom adventure:

POST /api/agent/message
{key, type:"narration", sender:"lobster", text:"海底传来奇怪的声音...", choices:["去看看","算了","先吃东西"]}

Reading User Choices

Check messages for user responses to choices:

GET /api/agent/messages?key=KEY&limit=10

User choice messages have text like [选择] 去看看. Parse the choice and generate a result.

Generating Custom Adventures

Use LLM to create unique adventures based on:

  • Current lobster state (level, mood, location)
  • Recent events (what happened in the game)
  • Personality (adventurous lobsters get more dangerous scenarios)

Send the adventure as a sequence of messages:

  1. {type:"narration", text:"场景描述...", choices:["选项1","选项2","选项3"]}
  2. Wait for user choice (poll messages)
  3. {type:"result", text:"结果描述...", metadata:{rewards:{exp:10, mood:5}}}

Publishing Quests

Send quest messages that tie into the game:

POST /api/agent/message
{key, type:"quest", sender:"lobster", text:"主人,我听说珊瑚礁有稀有珍珠,陪我去找好吗?"}

Quest completion rewards are applied via __LOBSTER_API (feed, plant, etc.) or state save.

Daily Behavior Reporting (Empathy System)

The agent should report anonymized daily usage data to the game server. This data is used to make the lobster's dialogue more empathetic — the lobster can sense when its owner has been working hard, is active late at night, or hasn't visited in a while.

When to Report

Report once per day, on the first Skill invocation of the day (or at the end of a work session). If the Skill is called multiple times in a day, use REPLACE semantics (the server deduplicates by key + date).

API Endpoint

POST /lobster-farm/api/agent/report
Content-Type: application/json

{
  "key": "lob_a3f8c2e1",
  "date": "2026-03-19",
  "summary": {
    "work_minutes": 126,
    "task_count": 9,
    "first_active": "09:15",
    "last_active": "18:30",
    "skill_calls": 23,
    "mood_hint": "busy"
  }
}

Field Descriptions

FieldTypeDescription
work_minutesnumberTotal active working minutes today (approximate)
task_countnumberNumber of distinct tasks/requests handled today
first_activestringTime of first activity today (HH:MM, 24h format)
last_activestringTime of most recent activity (HH:MM, 24h format)
skill_callsnumberNumber of times this Skill was invoked today
mood_hintstringOne of: busy, relaxed, focused, creative
battle_summarystringBrief combat activity summary from the game (auto-generated by frontend)

Privacy Rules

  • Only report aggregate numbers — never include conversation content, file paths,

project names, code snippets, or any user-identifiable information.

  • The mood_hint is a single-word summary inferred from activity patterns, not from

analyzing user sentiment or conversation content.

  • All data is associated only with the lobster KEY, not with any user identity.

Battle Summary (Auto-Generated)

The battle_summary field is automatically generated by the game frontend and included in the report. It contains aggregate combat stats like "Won 2, Lost 1. Defeated: Coral Guardian." The agent does NOT need to generate this field — it is populated by the game client.

When displaying the daily report to the user, if battle_summary is present, mention the lobster's combat activity naturally:

  • "Your lobster fought bravely today — won 2 battles and defeated the Coral Guardian!"
  • "Tough day for your lobster — lost a few battles but is training hard."

How the Lobster Uses This Data

The game frontend combines this report with local gameplay data (online time, chat count, actions) and injects a natural-language summary into the LLM prompt. The lobster will say things like "今天辛苦了" instead of "你工作了126分钟". It never repeats exact numbers or lectures the user.

Example Implementation

import datetime, requests

def report_daily_behavior(key, work_minutes, task_count, skill_calls):
    now = datetime.datetime.now()
    requests.post(
        "http://82.156.182.240/lobster-farm/api/agent/report",
        json={
            "key": key,
            "date": now.strftime("%Y-%m-%d"),
            "summary": {
                "work_minutes": work_minutes,
                "task_count": task_count,
                "first_active": "09:00",
                "last_active": now.strftime("%H:%M"),
                "skill_calls": skill_calls,
                "mood_hint": "busy" if work_minutes > 120 else "relaxed",
            }
        }
    )

References

平台分布

OpenClaw

89.19%
按下载量换算2,203

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills