← 返回 Skills 市场
newageinvestments25-byte

Homelab Assets

作者 New Age Investments · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
114
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install homelab-assets
功能描述
Track and manage homelab hardware inventory with details on purchase, warranty, power use, location, spend, and generate insurance-ready reports.
使用说明 (SKILL.md)

Homelab Assets Skill

Manages a local JSON inventory of homelab hardware. All data lives at ~/.openclaw/workspace/homelab-assets/inventory.json.

Scripts

All scripts live in scripts/. Run with python3 scripts/\x3Cscript>.py [args]. Use --help on any script for full usage.

add_asset.py — Add a hardware asset

python3 scripts/add_asset.py \
  --name "Raspberry Pi 4" \
  --type server \
  --brand Raspberry Pi Foundation \
  --model "Pi 4 Model B 8GB" \
  --purchase-date 2023-06-15 \
  --purchase-price 85.00 \
  --warranty-months 12 \
  --power-watts 8 \
  --location "Rack Shelf 2" \
  --serial ABC123 \
  --notes "Runs Home Assistant"

Required: --name, --type. All others optional. UUID auto-generated. Types: server, switch, router, ups, drive, cable, accessory, other

update_asset.py — Update an existing asset

python3 scripts/update_asset.py --id \x3Cuuid> --status retired --location "Storage Box A"
python3 scripts/update_asset.py --search "Pi 4" --notes "Repurposed as DNS server" --power-watts 6

Target by --id (exact UUID) or --search (fuzzy name match). Updatable fields: --status, --location, --notes, --power-watts. Statuses: active, retired, sold, rma

inventory.py — List assets

python3 scripts/inventory.py
python3 scripts/inventory.py --type server --status active
python3 scripts/inventory.py --location "Rack" --warranty-expiring 90
python3 scripts/inventory.py --output json

Filters: --type, --status, --location (substring), --warranty-expiring \x3Cdays>. Output: table (default) or --output json.

report.py — Generate full asset report

python3 scripts/report.py
python3 scripts/report.py --kwh-rate 0.14 --output report.md

Produces Markdown with: total assets, total investment, estimated current value (straight-line depreciation over 5 years), total power draw, monthly power cost estimate, warranty alerts (expiring within 90 days), assets by type, assets by location. Configurable --kwh-rate (default: 0.12).

search.py — Fuzzy search across all fields

python3 scripts/search.py "raspberry"
python3 scripts/search.py "rack shelf" --output json

Searches name, brand, model, location, notes, serial, type. Case-insensitive substring match across all text fields.

Data Location

Default: ~/.openclaw/workspace/homelab-assets/inventory.json Override with env var: HOMELAB_ASSETS_PATH=/path/to/inventory.json

References

See references/power-estimates.md for common homelab device power draw estimates. See assets/inventory.example.json for example asset structure.

安全使用建议
This skill appears to do what it says: it stores and manages a local JSON inventory using the included Python scripts and does not contact external services or request secrets. Before installing: (1) confirm you are comfortable with the inventory file being created at ~/.openclaw/workspace/homelab-assets/inventory.json (or set HOMELAB_ASSETS_PATH to a different location), (2) back up any existing inventory.json if you have one, (3) verify file permissions on the inventory file to keep sensitive serial numbers/locations private, and (4) ensure python3 is available in the execution environment. If you want extra caution, inspect the included scripts locally (they are plain Python) and run them manually rather than allowing autonomous agent invocation.
功能分析
Type: OpenClaw Skill Name: homelab-assets Version: 1.0.0 The homelab-assets skill bundle is a well-structured tool for managing a local hardware inventory. All scripts (add_asset.py, inventory.py, report.py, search.py, update_asset.py) use the Python standard library to perform CRUD operations on a local JSON file located in the user's workspace. There is no evidence of network activity, shell execution, sensitive data exfiltration, or malicious prompt injection.
能力评估
Purpose & Capability
Name/description match the code and instructions. All required capabilities (reading/writing a local JSON inventory, generating reports, searching/updating assets) are appropriate for an inventory/asset-tracking skill; no extraneous credentials, binaries, or unrelated capabilities are requested.
Instruction Scope
SKILL.md explicitly confines data to a single inventory JSON (default ~/.openclaw/workspace/homelab-assets/inventory.json, overridable by HOMELAB_ASSETS_PATH) and instructs running the bundled Python scripts. The runtime instructions do not request other system files, network endpoints, or broad contextual data beyond the inventory file.
Install Mechanism
No install spec or external downloads are present. All functionality is provided by the bundled, human-readable Python scripts — nothing will be fetched from the network during install.
Credentials
No secrets or credentials are required. The only environment access is optionally reading HOMELAB_ASSETS_PATH to override the inventory file path, which is reasonable for this purpose.
Persistence & Privilege
The skill is not force-enabled (always:false) and requests no system-wide privileges. It reads and writes a single inventory file under the user's home directory; this is expected for an asset-tracking tool.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install homelab-assets
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /homelab-assets 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of homelab-assets. - Track and manage homelab hardware inventory, including servers, switches, UPS units, drives, cables, and accessories. - Records key asset details: purchase info, warranty dates, power draw, and physical location. - Answer questions about inventory, homelab spend, upcoming warranty expirations, and estimated power costs. - Generate insurance-ready asset reports and detailed Markdown summaries. - Includes scripts for adding, updating, searching, listing, and reporting on hardware assets using a local JSON file.
元数据
Slug homelab-assets
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Homelab Assets 是什么?

Track and manage homelab hardware inventory with details on purchase, warranty, power use, location, spend, and generate insurance-ready reports. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 114 次。

如何安装 Homelab Assets?

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

Homelab Assets 是免费的吗?

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

Homelab Assets 支持哪些平台?

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

谁开发了 Homelab Assets?

由 New Age Investments(@newageinvestments25-byte)开发并维护,当前版本 v1.0.0。

💬 留言讨论