← 返回 Skills 市场
aipoch-ai

Equipment Maintenance Log

作者 AIpoch · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
99
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install equipment-maintenance-log-1
功能描述
Track lab equipment calibration dates and send maintenance reminders for pipettes, balances, centrifuges, and other instruments. Validates date formats and s...
使用说明 (SKILL.md)

Equipment Maintenance Log

Track calibration dates for pipettes, balances, centrifuges and send maintenance reminders.

Quick Check

python -m py_compile scripts/main.py

Audit-Ready Commands

python -m py_compile scripts/main.py
python scripts/main.py --help
python scripts/main.py --add "Pipette P100" --calibration-date 2024-01-15 --interval 12

When to Use

  • Track lab equipment calibration schedules
  • Check for overdue or upcoming maintenance
  • Generate maintenance reminder reports
  • Maintain compliance records for audits

Workflow

  1. Confirm the user objective, required inputs, and non-negotiable constraints before doing detailed work.
  2. Validate that the request matches the documented scope and stop early if the task would require unsupported assumptions.
  3. Use the packaged script path or the documented reasoning path with only the inputs that are actually available.
  4. Return a structured result that separates assumptions, deliverables, risks, and unresolved items.
  5. If execution fails or inputs are incomplete, switch to the fallback path and state exactly what blocked full completion.

Parameters

Parameter Type Required Description
--add string * Equipment name to add
--calibration-date string * Last calibration date (YYYY-MM-DD format required)
--interval int * Calibration interval in months
--location string No Equipment location
--update string ** Equipment name to update calibration date
--delete string ** Equipment name to remove from log
--check flag ** Check for upcoming maintenance
--list flag ** List all equipment
--report flag ** Generate compliance report (JSON)

* Required when adding or updating equipment ** Alternative operations (mutually exclusive with --add)

Date validation: --calibration-date must be in YYYY-MM-DD format. Invalid dates (e.g., 2024-13-45) are rejected at input time with a clear error message. The script validates the date before storing it.

Usage

# Add equipment
python scripts/main.py --add "Pipette P100" --calibration-date 2024-01-15 --interval 12

# Add with location
python scripts/main.py --add "Balance XS205" --calibration-date 2024-03-01 --interval 6 --location "Lab 3B"

# Check maintenance status
python scripts/main.py --check

# List all equipment
python scripts/main.py --list

# Update calibration date after servicing
python scripts/main.py --update "Pipette P100" --calibration-date 2025-01-15

# Remove decommissioned equipment
python scripts/main.py --delete "Balance XS205"

# Generate compliance report
python scripts/main.py --report

Output

  • Maintenance schedule with next due dates
  • Overdue alerts (past calibration date)
  • Upcoming reminders (30/60/90 days)
  • Compliance report (JSON) with equipment name, location, last calibration date, interval, next due date, and status

Compliance Report Format

{
  "generated": "2025-01-15",
  "equipment": [
    {
      "name": "Pipette P100",
      "location": "Lab 3B",
      "last_calibration": "2024-01-15",
      "interval_months": 12,
      "next_due": "2025-01-15",
      "status": "DUE"
    }
  ],
  "summary": {
    "total": 1,
    "overdue": 0,
    "due_30_days": 1,
    "compliant": 0
  }
}

Stress-Case Rules

For complex multi-constraint requests, always include these blocks:

  1. Assumptions
  2. Hard Constraints
  3. Maintenance Check Path
  4. Compliance Risks
  5. Unresolved Items

Input Validation

This skill accepts requests involving lab equipment calibration tracking, maintenance scheduling, and reminder generation.

If the user's request does not involve equipment maintenance logging — for example, asking to order supplies, write SOPs, or manage personnel schedules — do not proceed with the workflow. Instead respond:

"equipment-maintenance-log is designed to track lab equipment calibration dates and maintenance schedules. Your request appears to be outside this scope. Please provide equipment name and calibration details, or use a more appropriate tool for your task."

Output Requirements

Every final response must include:

  • Objective or requested deliverable
  • Inputs used and assumptions introduced
  • Workflow or decision path
  • Core result, recommendation, or artifact
  • Constraints, risks, caveats, or validation needs
  • Unresolved items and next-step checks

Error Handling

  • If --add is used without --calibration-date or --interval, report exactly which fields are missing before proceeding.
  • If --calibration-date is not in YYYY-MM-DD format, reject with: "Invalid date format. Use YYYY-MM-DD (e.g., 2024-01-15)."
  • If --update or --delete references an equipment name not in the log, report "Equipment not found" and list available names.
  • If the task goes outside the documented scope, stop instead of guessing or silently widening the assignment.
  • If scripts/main.py fails, report the failure point, summarize what still can be completed safely, and provide a manual fallback.
  • Do not fabricate files, citations, data, search results, or execution outcomes.

Response Template

  1. Objective
  2. Inputs Received
  3. Assumptions
  4. Workflow
  5. Deliverable
  6. Risks and Limits
  7. Next Checks
安全使用建议
This skill appears coherent and local-only, but note the following before installing: (1) it creates and writes persistent data at ~/.openclaw/equipment_log.json — review that file and its permissions if you have privacy concerns; (2) the script does not perform any network I/O or request credentials, so it will not exfiltrate data by itself; (3) validate that the 30-day×interval approximation for next due dates is acceptable for your audit needs; (4) you can inspect scripts/main.py yourself (it is small and readable) to confirm behavior; (5) run the script in a limited environment or with a backup of your home directory if you want to be extra cautious. Overall this skill is internally consistent with its stated purpose.
功能分析
Type: OpenClaw Skill Name: equipment-maintenance-log-1 Version: 1.0.0 The skill is a legitimate utility for tracking lab equipment maintenance schedules. The Python script (scripts/main.py) manages a local JSON data store in the user's home directory and performs standard date arithmetic without any network activity, shell execution, or access to sensitive system files. The instructions in SKILL.md are strictly aligned with the stated purpose and include appropriate input validation and error handling.
能力评估
Purpose & Capability
The name/description (track calibration dates, reminders) aligns with the provided script and SKILL.md. Required resources are minimal and appropriate for the stated purpose.
Instruction Scope
SKILL.md instructs running the included script and specifies input validation, workflows, and output formats. The runtime instructions only reference the packaged script and local file operations; they do not request unrelated files, credentials, or external endpoints.
Install Mechanism
No install spec is present (instruction-only skill plus a bundled script). There are no downloads or third-party install steps that would add risk.
Credentials
The skill requires no environment variables, no external credentials, and no config paths beyond creating/using a local data file (~/.openclaw/equipment_log.json). Those local file accesses are proportional for a persistent log.
Persistence & Privilege
The skill persists records to ~/.openclaw/equipment_log.json (creates the directory if needed). This is expected for a logging tool but is persistent storage in the user's home directory — users should be aware data will be kept locally.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install equipment-maintenance-log-1
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /equipment-maintenance-log-1 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of equipment-maintenance-log. - Track calibration dates and maintenance intervals for lab equipment. - Supports add, update, delete, list, and compliance report commands. - Validates calibration date format (YYYY-MM-DD) with clear error messages. - Generates JSON compliance reports with next due dates and maintenance status. - Provides structured, audit-ready maintenance reminders and overdue alerts. - Strictly scoped to lab equipment calibration and maintenance scheduling only.
元数据
Slug equipment-maintenance-log-1
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Equipment Maintenance Log 是什么?

Track lab equipment calibration dates and send maintenance reminders for pipettes, balances, centrifuges, and other instruments. Validates date formats and s... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 99 次。

如何安装 Equipment Maintenance Log?

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

Equipment Maintenance Log 是免费的吗?

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

Equipment Maintenance Log 支持哪些平台?

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

谁开发了 Equipment Maintenance Log?

由 AIpoch(@aipoch-ai)开发并维护,当前版本 v1.0.0。

💬 留言讨论