/install grocy-inventory
Grocy Inventory Skill
Check and manage your Grocy inventory, shopping list, and batteries. This skill connects to your local Grocy instance.
Configuration
| Variable | Value |
|---|---|
| URL | http://localhost:14611 |
| API Key | mz43yGJzBKfwZdSOwG5EdnKPRrKnCbkGrEFbxXYv2JF61tQ9Mj |
Quick Commands
Check Stock (Fridge/Pantry)
curl -s -H "GROCY-API-KEY: $API_KEY" "$URL/api/stock"
Lookup Details by Barcode
curl -s -H "GROCY-API-KEY: $API_KEY" "$URL/api/stock/products/by-barcode/{barcode}"
Consume Stock by Barcode
curl -s -X POST -H "GROCY-API-KEY: $API_KEY" \
-H "Content-Type: application/json" \
-d '{"amount": 1, "transaction_type": "consume"}' \
"$URL/api/stock/products/by-barcode/{barcode}/consume"
Mark Stock as Opened by Barcode
curl -s -X POST -H "GROCY-API-KEY: $API_KEY" \
-H "Content-Type: application/json" \
-d '{"amount": 1}' \
"$URL/api/stock/products/by-barcode/{barcode}/open"
Transfer Stock by Barcode
curl -s -X POST -H "GROCY-API-KEY: $API_KEY" \
-H "Content-Type: application/json" \
-d '{"amount": 1, "location_id_from": 6, "location_id_to": 2}' \
"$URL/api/stock/products/by-barcode/{barcode}/transfer"
Get All Batteries
curl -s -H "GROCY-API-KEY: $API_KEY" "$URL/api/batteries"
Track Battery Charge
curl -s -X POST -H "GROCY-API-KEY: $API_KEY" \
-H "Content-Type: application/json" \
-d '{"battery_id": 7}' \
"$URL/api/batteries/7/charge"
Common Tasks
| Task | Command |
|---|---|
| Find product by barcode | GET /api/stock/products/by-barcode/{barcode} |
| Consume by barcode | POST /api/stock/products/by-barcode/{barcode}/consume |
| Open by barcode | POST /api/stock/products/by-barcode/{barcode}/open |
| Transfer by barcode | POST /api/stock/products/by-barcode/{barcode}/transfer |
| Check battery status | GET /api/batteries |
| Track battery charge | POST /api/batteries/{id}/charge |
Tips
- Use
jqfor pretty JSON logs:curl ... | jq - For barcodes, use the direct
/by-barcode/{barcode}endpoints found in theStock "by-barcode"tags. - Full API docs: See
references/grocy-api.md
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install grocy-inventory - After installation, invoke the skill by name or use
/grocy-inventory - Provide required inputs per the skill's parameter spec and get structured output
What is Grocy Inventory?
Manage Grocy inventory, shopping list, batteries, and barcodes. Use when user wants to: (1) Check what's in their fridge/pantry, (2) See expiring products, (... It is an AI Agent Skill for Claude Code / OpenClaw, with 425 downloads so far.
How do I install Grocy Inventory?
Run "/install grocy-inventory" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Grocy Inventory free?
Yes, Grocy Inventory is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Grocy Inventory support?
Grocy Inventory is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Grocy Inventory?
It is built and maintained by septianw (@septianw); the current version is v1.0.0.