← 返回 Skills 市场
427
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install lobster-farmer-feeder
功能描述
Feed lobsters in the Lobster Farmer game by calling the local CLI command `lobster-farmer feed` with `--model`, `--input-tokens`, `--output-tokens`, and opti...
使用说明 (SKILL.md)
Lobster Farmer Feeder
Feed model-specific lobsters by invoking the local CLI and report the resulting growth metrics.
Workflow
- Confirm command context.
- Run from the Lobster Farmer project root where
bin/lobster-farmer.cjsexists. - Prefer the installed command
lobster-farmer; usenode ./bin/lobster-farmer.cjsas fallback.
- Ensure service is reachable.
- Check status first:
lobster-farmer status
- If stopped, start service:
lobster-farmer start
- Respect explicit user port preference with
--port.
- Execute feed command.
- Single feed:
lobster-farmer feed --model "\x3Cmodel>" --input-tokens \x3Cn> --output-tokens \x3Cm> [--emotion "\x3Ctext>"] [--port \x3Cp>]
- Short flags:
lobster-farmer feed -m "\x3Cmodel>" -i \x3Cn> -o \x3Cm> [-e "\x3Ctext>"] -p \x3Cp>
- Return result to user.
- Include model name, input/output token values, emotion, lobster total tokens, feed count, and size.
- If requested, run multiple feed commands sequentially and summarize each result.
Parameter Rules
- Require
modelas non-empty string. - Require
input_tokens + output_tokens > 0. emotionis optional; if omitted, UI should show?.- Keep token values as integers and non-negative.
- If user gives only a single total token value, default to:
input_tokens = total,output_tokens = 0, unless user specifies another split.
Error Handling
feed request failed: fetch failed: Service is not running or port is wrong. Start server and retry.- API validation errors: Relay backend message directly (for example invalid token values).
- Port mismatch:
Retry with explicit
--portmatching the running service.
Quick Examples
- Feed one lobster:
lobster-farmer feed --model gpt-4.1 --input-tokens 800 --output-tokens 400
- Feed with emotion:
lobster-farmer feed --model gpt-4.1 --input-tokens 800 --output-tokens 400 --emotion "focused"
- Feed different models:
lobster-farmer feed --model claude-3.7 --input-tokens 1200 --output-tokens 300
lobster-farmer feed --model qwen-max --input-tokens 600 --output-tokens 200
安全使用建议
This skill is instruction-only and appears coherent, but check these before installing: 1) Confirm you have the Lobster Farmer CLI (or Node.js and the project with bin/lobster-farmer.cjs) in the expected project root—otherwise the commands will fail. 2) Be aware the agent will run local commands and may start a local service (ensure you trust the project and its binaries). 3) There are no external endpoints or credentials requested by the skill, but if you run it, validate the CLI is from a trusted source. 4) If you do not want an agent to execute host commands autonomously, avoid enabling autonomous invocation for this skill or review agent permissions.
功能分析
Type: OpenClaw Skill
Name: lobster-farmer-feeder
Version: 0.1.2
The skill executes local shell commands (`lobster-farmer`, `node ./bin/lobster-farmer.cjs`) and explicitly instructs the agent to pass user-controlled arguments (e.g., `--model`, `--emotion`, `--port`) directly to these commands, as detailed in `SKILL.md`. This creates a significant shell injection vulnerability if the agent's execution environment or the `lobster-farmer` CLI does not robustly sanitize or quote user input, potentially allowing arbitrary command execution. While this is a critical vulnerability, there is no evidence of intentional malicious behavior such as data exfiltration or backdoor installation.
能力评估
Purpose & Capability
The SKILL.md and agent manifest align with the stated purpose (invoking the local `lobster-farmer` CLI to feed lobsters). One minor omission: the instructions assume a Node.js runtime and a project-local CLI binary (bin/lobster-farmer.cjs) or an installed `lobster-farmer` command, but the skill does not declare these as required binaries. This is expected for an instruction-only skill but the user should confirm those prerequisites exist before running it.
Instruction Scope
Instructions stay within scope: check service status, start it if necessary, and run `lobster-farmer feed` with model/token/emotion args. The instructions reference only project-local paths and the CLI; they do not ask the agent to read unrelated files, environment variables, or send data to external endpoints.
Install Mechanism
No install spec or external downloads — lowest-risk model. Nothing will be written to disk by the skill itself; it only instructs running an existing local CLI/service.
Credentials
The skill requests no environment variables or credentials. It does imply the ability to execute local commands and to start/stop a local service, which is proportionate to the stated purpose.
Persistence & Privilege
always is false and the skill does not request persistent or elevated platform privileges. Note: as with any skill that runs local commands, the agent (when invoked) needs permission to execute CLI commands and manage the local service.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install lobster-farmer-feeder - 安装完成后,直接呼叫该 Skill 的名称或使用
/lobster-farmer-feeder触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.2
- Added new optional emotion parameter to the feed command, allowing users to specify an emotion when feeding lobsters.
- Updated CLI usage examples and workflow to include the --emotion flag.
- Output now includes the emotion state for each feed action; if omitted, the UI shows '?'.
- Added agents/openai.yaml configuration file.
v0.1.1
- No user-facing changes in this version.
- Documentation and functionality remain unchanged.
v0.1.0
lobster-farmer-feeder 0.1.0
- Initial release for feeding lobsters in the Lobster Farmer game by invoking local CLI commands.
- Supports single and batch feed commands for different models.
- Handles service status checks, port overrides, and error reporting.
- Validates model and token input; summarizes results after each feed.
元数据
常见问题
Lobster Farmer Feeder 是什么?
Feed lobsters in the Lobster Farmer game by calling the local CLI command `lobster-farmer feed` with `--model`, `--input-tokens`, `--output-tokens`, and opti... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 427 次。
如何安装 Lobster Farmer Feeder?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install lobster-farmer-feeder」即可一键安装,无需额外配置。
Lobster Farmer Feeder 是免费的吗?
是的,Lobster Farmer Feeder 完全免费(开源免费),可自由下载、安装和使用。
Lobster Farmer Feeder 支持哪些平台?
Lobster Farmer Feeder 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Lobster Farmer Feeder?
由 MuRong(@murongg)开发并维护,当前版本 v0.1.2。
推荐 Skills