Price a Clay table before it runs and find the columns that are burning credits for no return...
Most Clay overspend comes from one pattern: an expensive column running on every row when it only needed to run on the rows that passed a cheap filter. This skill prices the table column by column, finds the columns with no run condition, and rewrites the run order so the expensive work sits behind the cheap work.
Check these before you run the skill. Nothing outside this table is needed.
| Requirement | Needed | Used for | What it costs you |
|---|---|---|---|
| A Clay workspace | Required | The table being priced | Billed by Clay in credits on your own plan. |
Missing a required item? Stop before the live steps and tell the user which item is missing and what it is for. Do not run the step without it and do not present an empty result as an answer. Keys are read from the environment at run time and are never written into a file, a prompt or the output.
Before doing anything else, read whichever of these exist at the project root and use them instead of asking the user to repeat themselves:
ICP.mdIf none exist, do the work from what the user gives you, then offer to write the missing file so the next skill in the pack starts warmer.
This skill needs no live data tool. It works from the files, exports and answers you give it, so it runs the same in any agent with no setup.
scripts/check-output.py before you return it.This skill does not send email or write to a CRM. If the user asks it to, stop first: show what would be sent or written and wait for an explicit yes.
A two column table, before and after, priced at three volumes, plus the list of run conditions to add in the order that saves the most first.
Save the output to a file and run python3 scripts/check-output.py <file>. The
contract it checks is scripts/output-contract.json.
COMPLETE: return the output.INCOMPLETE: do not present the output as finished. Fill what you can, run
the check again, and if parts stay missing, return the output under the heading
Incomplete with every reason the check printed.clay-build-gateclay-conditional-gatesclay-waterfall-designerShips in the clay-operator pack.