agentleFS
MadalaVijayMadalaVijay/meta-capi-skills/skills/match-quality/SKILL.md

match-quality

Skill0 starsChanged 3 months agoMITView on GitHub

Diagnose a low event match quality score on server-side conversion events, decide which customer parameters are worth adding, and judge when the score is not worth chasing. Use when match quality is flagged, after adding CAPI, or before spending engineering time on identity parameters.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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
  1. Distinctive:

    Not the count of parameters.

    line 16

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Match quality

The platform scores how well it can tie each server event to a person. A low score means fewer of your conversions are attributed, which understates the channel and starves optimisation.

It also means almost nothing at low volume. Both halves matter.

What actually moves the score

Not the count of parameters. Their determinism.

SignalWhy it ranks where it does
Click identifier from the ad clickDeterministic. One parameter, and the strongest one you can send
Browser identifier cookieDeterministic within the browser
Your own stable customer IDStrong, and it costs you nothing you do not already hold
Email, phoneStrong when normalised correctly, useless when not
Name, city, postcode, date of birthProbabilistic. Fills gaps, rarely rescues a score
IP address and user agentWeakest. Present by default, do not count on them

Adding three weak parameters rarely beats fixing one strong one. If the click identifier is missing from server events, that is the whole task.

The bugs that produce a populated field matching nobody

These all pass inspection. The field is there, it has a value, it never matches.

  • Double hashing. A value hashed on the client and hashed again on the server produces a valid-looking digest of a digest.
  • Hashing an empty string. A missing field sent as a hash of "" looks populated in every debugger and matches nobody. Omit the field instead.
  • Normalising after hashing. Order is fixed: trim, lowercase, canonicalise, then hash. Anything else and you hashed a different string than everyone else did.
  • Phones without a country code. Store and send a canonical international format, digits only, no punctuation.
  • Hashing the identifiers that are not meant to be hashed. The click and browser identifiers are sent raw. Hashing them destroys them.
  • A click identifier the server never received. It arrives as a URL parameter on the landing page. If checkout happens three pages later, someone has to carry it — a cookie or the session — or it is gone by the time the server event fires.

When a low score is not the problem

The score is a means. Ask what it is worth before funding it.

At low conversion volume the difference between a mediocre and a good score moves attributed conversions by less than ordinary week-to-week variance. Chasing it then is engineering spend against noise. Estimate the conversions you would recover before opening a ticket, not after.

Do not read a score change for at least a week after a deploy. It is computed over a trailing window, so the days immediately after a change are a blend of old and new behaviour.

Consent comes first

Send only what you were permitted to collect, for the purpose you stated. Hashing is not consent, and a hashed identifier you had no basis to collect is still an identifier you had no basis to collect. A score improvement obtained by sending more than you were allowed is a liability, not a win.

Where consent is absent, the honest position is a lower score and a documented reason for it.

Output

State the current score per event, the parameters actually present versus available, the single highest-value missing parameter, and an estimate of the conversions recovering it would attribute. Then say whether that is worth the work. Sometimes it is not, and saying so is the useful answer.

What this does not cover

Whether the events themselves are correct, deduplicated or correctly valued. A perfectly matched event carrying the wrong value is still wrong. See dedup-verification and value-integrity.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.