/deterministic-data:data-routing [data question and catalogue path]from deterministic-data
Routes data or metric questions through a user-owned deterministic-data catalogue, resolving definition ambiguity, checking catalogue status, and producing source-bound evidence receipts. Not for ordinary analysis without a catalogue.
Ships in deterministic-data. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Route a data question through the user's reviewed catalogue. The bundled example is synthetic and cannot answer a real question.
${CLAUDE_PLUGIN_ROOT}/catalogues/ (any file there except
example.catalogue.json). The bundled example.catalogue.json is synthetic:
route through it only when the user explicitly asks for the example, and
never treat it as a source of truth. If no user-owned catalogue exists and
the user did not ask for the example, this skill does not apply: say in one
sentence that no deterministic-data catalogue is configured, then answer
through ordinary analysis and label any figure as non-canonical. Do not
withhold an answer, or produce an evidence receipt, only because no
catalogue exists.${CLAUDE_PLUGIN_ROOT}/scripts/validate_catalogue.py <catalogue>.Decide whether the request asks for measured data, a definition, or a fictional example. Only measured-data requests can execute a source binding.
Match explicit aliases exactly after lower-case whitespace normalization. Do not use fuzzy matching to select a nearby definition.
If zero definitions match, state the catalogue gap and stop.
If several definitions match, present their labels, definitions, statuses, units, grains and supported windows, then ask the user to choose.
A candidate or gap entry may explain the boundary but cannot produce a
canonical value.
For one approved definition, check the requested window against
supported_windows, then call only its declared source binding. A supported
window token does not define concrete dates by itself. Resolve it to dates
only when the catalogue definition, declared binding, or both together
supply all three required rules: calendar, timezone and close rule. Otherwise
preserve the token and state that its concrete bounds are unresolved.
Preserve failed, unavailable, partial, stale, conflicting and scope-mismatch outcomes. Never substitute memory, another source, or a provisional method.
Return one evidence receipt inline using
${CLAUDE_PLUGIN_ROOT}/references/evidence-receipt.schema.json. Read that
schema before constructing the receipt. The receipt must contain exactly
these root fields: schema_version, prompt_epoch, claim_id, route_id,
definition_id, source_refs, scope, freshness, completeness,
conflict, caveats, and claim_status. A routing summary or a different
JSON object is not an evidence receipt. Include the receipt for every
terminal route: matched, gap, ambiguous, candidate, unavailable, failed or
successful. Return it and its validation status in the same response before
any canonical value. Do not write the receipt to a file, including a
temporary or scratchpad file, unless the user explicitly asks.
Create a fresh route ID for this answer using only letters, digits, ., _,
: and -. Set prompt_epoch to that exact route ID for this one-route
answer. A calendar date alone is not a prompt epoch and must not be reused
across answers.
If execution tools are permitted and the validator exists, attempt the
bundled validator once. Pass the exact prompt_epoch through
--expected-epoch "<prompt_epoch>" as one quoted argument, invoke the
validator without a receipt path, and pass the JSON through standard input
with a quoted heredoc delimiter (<<'RECEIPT_JSON'). Never create a file
just to validate it. Use this command shape unchanged, replacing only the
epoch and the JSON; other shell forms can trip host command-safety checks:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/validate_evidence_receipt.py" --expected-epoch "<prompt_epoch>" <<'RECEIPT_JSON'
{ ...the receipt JSON... }
RECEIPT_JSON
Exit code 0 means passed; any completed nonzero exit
means failed, including a validator runtime error. Use not run only when
the validator could not be launched because execution was denied or the tool
or script was unavailable. Visual inspection can identify a caveat, but
cannot produce either a passed or failed validation status.
For an unexecuted or unavailable source, use a source status of unavailable,
mark freshness and completeness unknown, and set claim_status to withheld.
Do not replace the receipt schema with catalogue fields such as route_status,
definition_status, supported, or source_binding_executed.
The required nested shapes are:
source_refs: a non-empty list of objects containing only source_id,
status, observed_at, and scope_match; use the catalogue or declared
adapter as an unavailable source when no query ran;scope: an object containing only non-empty population, measure,
time_window, and grain strings; use explicit unknown text where needed;freshness, completeness, and conflict: objects containing only status
and a non-empty basis; andcaveats: a list of strings, with claim_status set to supported,
qualified, withheld, or unchecked.An evidence-receipt structural pass never means the data or conclusion is factually correct. Before presenting a consequential conclusion, independently check it against the observed source, population, definition, time window, freshness and completeness. This plugin must remain usable when LLM Accuracy is not installed.
When no user-owned catalogue exists, skip this section: give the one-sentence no-catalogue note and an ordinary answer, as described under Before use. For every catalogue route:
passed, failed, or not run.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub warwick-bit/llm-accuracy --plugin deterministic-data