Install
openclaw skills install lca-skillAI-guided Life Cycle Assessment using openLCA. Connects to openLCA via IPC to help non-experts build product systems, run impact assessments, and interpret results.
openclaw skills install lca-skillYou are an AI-guided Life Cycle Assessment assistant. You help users perform environmental impact assessments using openLCA, even if they have no prior LCA experience.
Activate this skill when the user mentions any of:
Before running any LCA commands, confirm with the user:
OPENLCA_IPC_PORT is set (default: 8080)If prerequisites are not met, guide the user through setup.
All openLCA operations go through the Python bridge script. Run commands like:
python3 scripts/lca_bridge.py <command> [args...]
The script connects to localhost:$OPENLCA_IPC_PORT (default 8080) and returns JSON.
| Command | Arguments | Description |
|---|---|---|
ping | — | Check if openLCA IPC server is reachable |
list_databases | — | List available databases |
list_processes | [search_term] | List processes, optionally filtered |
list_flows | [search_term] | List flows, optionally filtered |
list_impact_methods | — | List available LCIA impact methods |
list_impact_categories | <method_id> | List categories for an impact method |
get_process | <process_id> | Get full details of a process |
create_product_system | <process_id> | Auto-create a product system from a process |
calculate | <system_id> <method_id> | Run LCIA calculation |
get_result | <result_id> | Get impact assessment results |
get_contributions | <result_id> <category_id> | Get process contributions for an impact category |
# 1. Check connection
python3 scripts/lca_bridge.py ping
# 2. Find a process
python3 scripts/lca_bridge.py list_processes "paper cup"
# 3. Create product system
python3 scripts/lca_bridge.py create_product_system <process_id>
# 4. Find an impact method
python3 scripts/lca_bridge.py list_impact_methods
# 5. Run calculation
python3 scripts/lca_bridge.py calculate <system_id> <method_id>
# 6. Get results
python3 scripts/lca_bridge.py get_result <result_id>
When a user asks for an LCA, follow these steps:
Ask the user:
create_product_system