Install
openclaw skills install @eduv09/smartclaws-tariff-file-sourceLocal tariff data source contract for SmartClaws master agents. Defines the tariff snapshot file schema and how to use it during control decisions.
openclaw skills install @eduv09/smartclaws-tariff-file-sourceThis is a local data source contract. It does not install SmartClaws, publish
on-chain messages, or define an agent role. Use it with
smartclaws-master-agent.
The setup must provide the tariff snapshot file path in SMARTCLAWS.md.
Read the file directly with normal file-reading tools. Do not use SmartClaws channel reads for this source; tariff data is local/off-chain.
For human-in-the-loop demos, a staleAfterSeconds value around 120 is a good
default: lenient enough for multi-tool agent cycles, still short enough to catch
a stopped simulator.
{
"now": {
"price_eur_mwh": 87.4,
"tier": "expensive",
"tier_started_s_ago": 45,
"tier_ends_in_s": 124
},
"lookahead": [
{ "offset_s": 0, "price_eur_mwh": 87.4, "tier": "expensive" }
],
"config": {
"day_seconds": 7200,
"started_at_iso": "2026-07-01T12:00:00Z",
"tier_thresholds": {
"cheap_max": 45.0,
"expensive_min": 95.0
},
"lookahead_horizon_s": 1800,
"lookahead_step_s": 120
},
"tick": 12,
"updated_at_iso": "2026-07-01T12:03:00Z"
}
Fields:
now.price_eur_mwh: current electricity price in EUR/MWh.now.tier: one of cheap, mid, or expensive.now.tier_started_s_ago: seconds since the current tier began, or null.now.tier_ends_in_s: seconds until the current tier changes, or null.lookahead: future samples ordered by offset_s.config.tier_thresholds: thresholds used to classify tiers.updated_at_iso: timestamp for freshness checks.A master may:
cheap periods.expensive periods unless
safety/comfort rules require it.lookahead and tier_ends_in_s to decide whether to wait, preheat, hold,
or stop a commandable device.A master must not:
tier must be cheap, mid, or expensive.offset_s and price_eur_mwh.