value-integrity
Skill0 starsChanged 3 months agoMITView on GitHub
Diagnose why conversion counts reconcile but reported revenue does not, and decide whether a return-on-spend figure is safe to quote. Use before publishing any ROAS, when revenue and the ledger diverge, or when a value parameter is suspected.
In this repository5 other files it gives its agents.
- dedup-verificationSkill
- event-taxonomySkill
- match-qualitySkill
- platform-vs-ledgerSkill
- tracking-change-controlSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Before theorising, pull the distribution of the value parameter as the platform received it, and the same distribution from the ledger.
- Distinctive: line 49
If you are not sending refunds, say so wherever revenue appears rather than letting a slow drift become an argument later.
- Distinctive: line 59
Put the caveat in the same document, at the same size as the number.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Value integrity
Counts reconcile, revenue does not. This is the most common state of a conversion setup that everyone believes is working, and it is the state in which return-on-spend figures get published.
Find the shape of the error first
Before theorising, pull the distribution of the value parameter as the platform received it, and the same distribution from the ledger. The shape names the bug.
| What you see | What it usually is |
| One distinct value across every event | A hardcoded amount on the page |
| A handful of values, wrong proportions | One template serving several prices, reading the wrong variable |
| Right values, wrong total | Currency missing or mismatched, so the platform converted at its own rate |
| Correct at first, drifting up over time | Refunds and cancellations never sent back |
| Roughly a clean multiple of the ledger | Duplication, not a value bug. See dedup-verification |
A single distinct value is the one to check first. It is common, it is invisible in every dashboard, and it usually arrives as a placeholder someone meant to replace.
Decisions you have to make once and hold
These are not bugs, but disagreeing about them produces the same symptom.
- Gross or net. Does value include tax, shipping, discounts? Choose, write it down, and make the ledger comparison use the same definition.
- Trial then charge. Sending the full subscription value at trial start overstates revenue by the entire trial-to-paid failure rate. Send the amount actually taken, at the moment it is taken.
- Instalments and mandates. One sale or several? Whichever you choose, the ledger comparison must be filtered the same way.
- Currency, always explicit. An omitted currency code is not a rounding error, it is a rate conversion you did not choose.
Refunds are a live obligation
Almost nobody sends them. The result is reported revenue that is correct on day one and increasingly optimistic thereafter, because the ledger nets out cancellations and the platform never does.
If you are not sending refunds, say so wherever revenue appears rather than letting a slow drift become an argument later.
The rule about quoting ROAS
A return-on-spend figure is only as good as the weakest of its two inputs. Spend is reliable. Value frequently is not. While value does not reconcile, return-on-spend is directional.
Quoting it anyway is sometimes reasonable. Quoting it without saying so is not. Put the caveat in the same document, at the same size as the number.
Counts often stay trustworthy while values are broken, so the honest fallback is usually available: report cost per conversion, which needs only spend and a count, and hold the revenue claim until the value parameter reconciles.
Output
The value distribution as received versus the ledger. The named defect if there is one. The gap in revenue terms. Then one line: is any revenue-based metric in this account safe to quote today, and if not, what the fallback metric is.
What this does not cover
Whether the revenue was incremental, and whether margin survives it. A correctly reported sale can still be unprofitable once cost of delivery is counted.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

