Claude Workflow¶
This guide focuses on reliable tool-driven sessions in Claude clients.
Session Contract¶
Use this instruction style in Claude projects:
When editing EnergyPlus models, use idfkit-mcp tools instead of raw file edits.
Before writing: describe_object_type.
After writing: validate_model.
For simulation: ensure weather source first, then run_simulation.
Suggested Conversation Pattern¶
- Intent framing
- "Target: reduce heating loads in perimeter zones"
- Model context pull
- Read
idfkit://model/summaryresource list_objects(object_type="Zone")- Schema-first changes
describe_object_typefor edited types- Implementation
batch_add_objectsandupdate_object- Safety checks
validate_model- Simulation + analysis
download_weather_filerun_simulation- Read
idfkit://simulation/resultsresource
Failure Recovery Pattern¶
When a call returns {"error": ...}:
- Keep prior successful steps unchanged.
- Read error details and adjust arguments.
- Re-run only failed step.
- Re-run validation after any fix.