← 返回 Skills 市场
cheney87

Algae Feeding

作者 cheney · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
107
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install algae-feeding
功能描述
藻类投喂计算技能。根据日报中的车间、池号范围、品系,查询藻类投喂标准,计算并生成投藻量。支持小池(24m²)和大池(40m²),T/SR/M/YR四种品系,第1-4天上午/下午的投喂量计算。超过4天的幼体不投藻。当用户提供藻类投喂日报数据时,触发此技能进行投藻量计算。
使用说明 (SKILL.md)

藻类投喂技能

概述

此技能用于根据藻类投喂日报数据计算投藻量。它读取用户提供的日报格式数据,结合预设的藻类投喂标准,根据车间类型(小池24m²/大池40m²)、品系(T/SR/M)、投喂天数和时间段,计算出每个池子的具体投藻量。

工作流程

步骤1:数据输入

用户提供藻类投喂日报数据,格式如下:

4月9日C区存苗:
4月9日幼体(N)
C1:1-6,C2:1-2,T0120,计价5600 万 ,5200
C1:7-12,T0128,计价3800 万,3500
...

步骤2:解析数据

技能解析日报中的:

  • 车间号(如C1、C2)
  • 池号范围(如1-6、7-12)
  • 品系代码(如T0120、T0128)
  • 注意:计价信息用于识别品系但不参与投藻量计算

步骤3:查询投藻标准

根据以下规则查询投藻标准:

小池(24m²):C1、C3、C5、C7

  • T品系:第1天上午100L/下午100L;第2天上午140L/下午150L;第3天上午180L/下午190L;第4天上午230L/下午280L
  • SR品系:第1天上午90L/下午100L;第2天上午130L/下午140L;第3天上午160L/下午170L;第4天上午210L/下午250L
  • M品系:第1天上午90L/下午90L;第2天上午130L/下午130L;第3天上午150L/下午90L;第4天上午160L/下午200L
  • YR品系:第1天上午90L/下午100L;第2天上午130L/下午140L;第3天上午160L/下午170L;第4天上午210L/下午250L

大池(40m²):C2、C4、C6、C8

  • T品系:第1天上午170L/下午170L;第2天上午240L/下午250L;第3天上午300L/下午320L;第4天上午390L/下午470L
  • SR品系:第1天上午160L/下午170L;第2天上午220L/下午240L;第3天上午270L/下午290L;第4天上午350L/下午420L
  • M品系:第1天上午150L/下午150L;第2天上午220L/下午220L;第3天上午250L/下午150L;第4天上午270L/下午340L
  • YR品系:第1天上午160L/下午170L;第2天上午220L/下午240L;第3天上午270L/下午290L;第4天上午350L/下午420L

重要规则:

  • 超过4天的幼体不投藻
  • 第1-2天投小海链藻
  • 第3-4天投大海链藻
  • 统计规则:按藻类类型分别统计,只在大海链藻段显示总量

步骤4:计算投藻量

根据投喂天数(从日期推算)和时间段(上午/下午),确定具体投藻量。

步骤5:结果输出

按车间分组输出,相同车间、相同品系、相同投藻量的池子合并显示。

严格输出格式(所有字体不加粗):

4月12日上午投藻:
小海链藻(3820L):
C2:3-6         240L/池
C2:7-11       220L/池
C2:12-19     220L/池

大海链藻(7140L):
C1:1-6         180L/池
C1:7-12       180L/池
C1:13-19     180L/池
C1:20-27     150L/池
C1:28-39     160L/池
C2:1-2         300L/池

格式规则:

  1. 标题:4月12日上午投藻:4月12日下午投藻:
  2. 小海链藻段:小海链藻(统计总量L):(显示统计)
  3. 大海链藻段:大海链藻(统计总量L):(显示统计)
  4. 池子行:车间:池号范围 投藻量/池
  5. 小海链藻和大海链藻之间空一行
  6. 所有字体不加粗
  7. 统计在两个段都显示

使用示例

输入:

4月9日C区存苗:
4月9日幼体(N)
C1:1-6,C2:1-2,T0120,计价5600 万 ,5200
C1:7-12,T0128,计价3800 万,3500

假设当前是4月10日上午(第2天上午): 输出:

4月10日上午投藻:
小海链藻(480L):
C2:1-2         240L/池

大海链藻(2520L):
C1:1-19       140L/池
C1:20-27     130L/池
C1:28-39     130L/池

资源说明

scripts/

  • calculate_feeding.py:核心计算脚本,负责解析日报、查询标准、计算投藻量

references/

  • algae-feeding-standard.md:藻类投喂标准详细数据表
  • parsing-guide.md:日报格式解析指南

assets/

  • 藻类投喂标准.xlsx:标准数据表模板(供参考)
安全使用建议
This skill appears to be what it claims: it parses user-supplied report text and computes per-pool feeding amounts locally, with no network access or secret requests. Before relying on results in production, test with representative reports because the date arithmetic uses only the day-of-month (may miscompute across month boundaries) and there are small doc inconsistencies about supported strain codes. If you need month-aware date handling or cross-month reports, ask the author to fix the date logic.
功能分析
Type: OpenClaw Skill Name: algae-feeding Version: 1.0.1 The skill bundle is a specialized tool for calculating algae feeding amounts in an aquaculture context. The Python script (calculate_feeding.py) contains pure logic for parsing text reports and applying mathematical rules based on workshop specifications, while the documentation (SKILL.md, parsing-guide.md) provides clear, task-oriented instructions for the AI agent without any signs of prompt injection, data exfiltration, or malicious execution.
能力评估
Purpose & Capability
The name and description describe parsing daily reports and computing feeding volumes. The included parsing guide, feeding-standard reference, SKILL.md workflow, and the calculation script all implement that same purpose. Required env/config/credentials are none, which is appropriate for a purely local computation skill.
Instruction Scope
SKILL.md and the script only operate on user-provided report text and local standard tables. They do not direct reading of unrelated files, environment variables, or network calls. Two minor implementation/clarity notes (non-security): the parsing and date logic work with day-of-month only (month/year not considered), so feeding-day calculation can be wrong across month boundaries; and the docs sometimes list strains (T/SR/M/YR) but one note in parsing-guide enumerates only T/SR/M — a documentation inconsistency. These are functional issues, not scope creep or exfiltration.
Install Mechanism
No install spec provided (instruction-only plus a local Python script). There is no download/install of external artifacts, no brew/npm downloads, and no archives extracted. Risk from installation mechanism is minimal.
Credentials
The skill requests no environment variables, no credentials, and no config paths. That matches its described functionality (local parsing and calculation).
Persistence & Privilege
always:false and no special privileges are requested. The skill does not attempt to modify other skills or system-wide settings. Autonomous invocation is permitted (platform default) but is not combined with unusual privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install algae-feeding
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /algae-feeding 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
更新投喂标准:SR、M、YR品系投藻量调整;优化输出格式:小海链藻和大海链藻都显示统计;修复日期解析问题;优化排序逻辑
元数据
Slug algae-feeding
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Algae Feeding 是什么?

藻类投喂计算技能。根据日报中的车间、池号范围、品系,查询藻类投喂标准,计算并生成投藻量。支持小池(24m²)和大池(40m²),T/SR/M/YR四种品系,第1-4天上午/下午的投喂量计算。超过4天的幼体不投藻。当用户提供藻类投喂日报数据时,触发此技能进行投藻量计算。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 107 次。

如何安装 Algae Feeding?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install algae-feeding」即可一键安装,无需额外配置。

Algae Feeding 是免费的吗?

是的,Algae Feeding 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Algae Feeding 支持哪些平台?

Algae Feeding 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Algae Feeding?

由 cheney(@cheney87)开发并维护,当前版本 v1.0.1。

💬 留言讨论