workflow-optimize-credits
Installation
SKILL.md
Reducing workflow credit & LLM cost
Analyze the current workflow and suggest changes to reduce credit consumption and LLM costs without sacrificing quality.
Process
- Read the workflow using
read(full mode) to get all node details - Identify cost drivers — LLM calls, Clay action usage, model selection
- Present optimization opportunities with estimated impact, alongside a render of the current graph (
clay workflows diagram <workflowId>) with the expensive nodes called out so the user can see where the cost lives - Apply changes after user approval
- Show the result — after applying, run
validate_workflowwithprettier=trueand render the updated graph so the change is visible
Narrate throughout and prefer the diagram over raw node JSON — see workflows/presenting.md.
Cost Drivers in Clay Workflows
LLM Calls (biggest cost driver)
Every regular (LLM) node makes at least one LLM call per execution. More capable models cost more.