/probitas:probitasfrom Probitas
Builds a sourced counterparty-diligence dossier from declared wallet addresses, covering borrowing history, repayment record, and delinquency across lending venues. Use for underwriting writeups, re-diligence, or comparing evidence runs.
Ships in Probitas. 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.
Read when SKILL.md points to them.
Probitas owns its own counterparty-diligence frontier, not Hexaemeron's delivery or Solidity frontier. Its version, held target, next job, and maturity state live in EVOLUTION.md. Do not recommend or run another frontier pass after that ledger becomes mature.
Probitas builds a sourced dossier of borrowing and repayment across lending venues from addresses the counterparty declared, without identifying a person or issuing a Wildcat verdict.
Current frontier. Morpho Midnight fixed-maturity coverage now ships API-scoped on Base; secondary-market borrow exits stay refused as unattributable and Morpho curation remains uncollected.
Wildcat lends without collateral. Nothing stands between a lender and a total loss except a judgement about the borrower, so the counterparty record is the whole of the security. This assembles that record from public sources and hands it over without a verdict attached.
Alexandria preserves venue captures and Tabularium maps supported records into rebuildable credit events. Probitas consumes that evidence at the counterparty level. It keeps gaps visible and never infers undeclared identity, blesses a borrower, sets terms, or replaces the lender's judgement.
Synkrisis does not compare counterparties or dossiers. Its subject is validated agent-run observations, its delivered operations build a checked cohort and infer bounded findings over one, and neither skill can make an underwriting decision.
$SKILL_DIR is the directory holding this file. The tool lives at
$SKILL_DIR/../../scripts/probitas.py; resolve it from where you loaded this
skill.
Business development. A counterparty asks for a market and someone has to decide whether their word is worth anything. Give this the addresses they declared and it comes back with what they borrowed elsewhere, whether they gave it back, and a list of the venues nobody could check, so the thin parts of the record are visible rather than absent. On a repeat review, compare the two evidence files instead of rebuilding that change account by hand.
Finance. Exposure to a name that also borrows in three other places. The dossier states each position's venue, the amounts as exact on-chain integers, and whether anything was left unpaid after a liquidation, which is the number that ends up mattering.
Security and audit. A document arrives asserting things about a
counterparty and you have to decide whether to believe it. Run verify against
the evidence file it came with: every figure in the document has to trace back
to a record with a transaction hash, and one that does not fails the check by
arithmetic rather than by your reading it closely.
Four commands produce an initial dossier. Do not skip verify.
python3 scripts/probitas.py venues
python3 scripts/probitas.py collect \
--entity "<name>" --address 0x... [--address 0x...] \
[--inferred 0x...] --out evidence.json
python3 scripts/probitas.py render evidence.json --out dossier.md
python3 scripts/probitas.py verify dossier.md evidence.json \
--statement-out statement.json
collect runs every venue adapter over the declared addresses and writes the
evidence file. A record cannot enter that file without a transaction hash, a
URL or a document reference, because the schema will not represent one.
collect gathers from two routes. The adapter route queries the venues that
ship an adapter, backed by the network or by a fixture directory. The archive
route reads verified Alexandria releases through an explicit disposable index.
Ask for both in one run:
python3 scripts/probitas.py collect \
--entity "<name>" --address 0x... \
--live --alexandria-index alexandria.sqlite --out evidence.json
| Flags | Adapter route | Archive route |
|---|---|---|
| none | live network | not run |
--fixtures DIR | fixture directory | not run |
--alexandria-index X | not run | archive |
--fixtures DIR --alexandria-index X | fixture directory | archive |
--live --alexandria-index X | live network | archive |
--live | live network | not run |
--live --fixtures DIR | refused, exit 2 | refused, exit 2 |
An index on its own still suppresses the adapter route and reaches no network,
so no invocation that worked before starts making requests. --live is how a
run asks for the network beside an index, and it contradicts --fixtures.
Every coverage row names the route that produced it: live, fixtures,
archive, or none for a venue nobody reached. An archive row also names the
Alexandria releases behind it. A venue some route answered for is not reported
as a gap because another route had nothing to say about it; a route that failed
still leaves one.
The archive route keeps Aave v4 and Clearpool as venue IDs and records Alexandria's release, component, capture, row and evidence identities. It combines per-chain coverage conservatively and leaves every unharvested registry venue visible as a gap. A zero-row venue is empty only when complete archive coverage includes every requested address, venue, chain and time boundary and the mapping has no unsupported records. It does not infer a person, default, full repayment or current balance.
The checked-in Alexandria credit-history-v0 example exercises this explicit
index path offline and checks the resulting evidence and dossier against fixed
receipts. It does not alter the normal live and fixture routes.
For Wildcat V1/V2, pass --wildcat-release DIR, once per generation. The
sibling Tabularium mapper verifies each Alexandria interval release and
rebuilds historical terms, native borrow and repayment amounts, closure
events, and borrower bindings from the recorded deployment evidence. Read
the field mapping for commands,
source pins and unsupported fields.
This flag alone reaches no network. Beside --live or --fixtures, it
suppresses Wildcat's subgraph adapter. Mixing Wildcat index coverage with a
Wildcat release is refused. Missing state remains a gap; initial APR is
labelled as a deployment term, and amounts remain raw units. An archive row
with zero attributable records is still a checked partial selection, never
complete empty history. A repayment sender is retained separately from the
derived borrower. No current-standing or delinquency conclusion follows.
Morpho Midnight coverage is Base chain id 8453 through its own keyless REST API alone. Every cursor page is exhausted once, the coverage row states the observation time and the returned index bound, and the API's history lower bound is unpublished, so the claim is API-scoped history rather than archive-chain completeness. An incomplete, ambiguous or out-of-bounds response returns no records and a named gap instead of a partial answer, and a secondary-market borrow exit is refused because its account-attributed debt units are unproved. An overdue maturity closed by liquidation reads as settled late through liquidation, never as voluntary repayment.
render builds the document in the order the specification sets: coverage and
what could not be established stand ahead of anything that reads like a
conclusion, and findings against addresses the counterparty did not declare sit
in their own section at the end.
verify reads both together and checks the five gates, printing one line each.
Exit 0 means the dossier may ship. Exit 1 names the gate that stopped it.
--statement-out writes a canonical unsigned in-toto Statement v1 only after
all five gates pass. Its statement-level subject array binds the exact checked
dossier bytes and evidence bytes by SHA-256. The five claims record the gate
results against the dossier digest; they do not each carry the pair binding.
Ariadne can inspect and verify the statement. Its five core gates pass, while gates 2 and 5 remain unchecked because the Probitas predicate is deliberately unregistered. The statement does not prove who produced it. Sign it downstream with cosign when publisher identity is required.
python3 scripts/probitas.py diff prior-evidence.json current-evidence.json \
--out borrower-change-report.md
python3 scripts/probitas.py diff prior-evidence.json current-evidence.json \
--json --out borrower-change.json
prior and current are roles the operator assigns. diff reads both files
once, binds their exact bytes by SHA-256, requires schema 2, checks that the
entity and address-to-provenance map match, regenerates a dossier from each,
and requires all five gates to pass. It then reports coverage rows added,
removed or changed; gaps opened, closed, reworded or still open; and complete
sourced records newly present, no longer reproduced, revised or refreshed only
in observation time. Findings against inferred addresses remain in a final,
separate section.
The command is offline. Exit 0 means it wrote a valid report, including one with no changes. Exit 1 means an input failed a dossier gate. Exit 2 means an input was malformed, unsafe or non-comparable, or an input or output file could not be read or written. An existing report is replaced atomically only after the comparison succeeds.
The evidence schema does not prove collection order. A newly present record may be a backfill or wider coverage rather than new activity. A record no longer reproduced may be a source regression rather than a reversed event. A closed gap means only that the current evidence no longer reports it. Unchanged records are omitted, so the comparison does not replace the current dossier.
Write the narrative sections from the evidence file and nothing else. The summary, and any commentary on a venue, are yours. Everything above them is rendered from records.
You may not introduce a figure the evidence does not contain. Gate 3 rebuilds, from the evidence alone, every number and hash a truthful dossier could carry, and fails the document on any it finds that is not in that set. An invented transaction hash, a rounded amount, a market that was never there: each of those fails the run rather than shipping in it. This is not a formality to work around. It is the reason a lender who did not run the tool can trust the output.
If the evidence is thin, say it is thin. A borrower who used a fresh address for every market has a short record, and a short record is not a bad one. The dossier has to say which of those it is looking at.
See the gates for what each one does mechanically, and venue coverage for what is checked and what is not.
If someone asks you to work out who is behind an address, say plainly that probitas covers entities and addresses and that a dossier which starts profiling people is a different product and a worse one. Then carry on with the part you can do.
Fix the document, not the gate. A gate 3 failure naming a figure means the
narrative asserts something the evidence does not support: cut the sentence or
find the record. A gate 2 failure means coverage is incomplete, which is a
collection problem rather than a writing one. Never edit verify to make a
dossier pass.
collect writes evidence only for declared entity addresses and separately labelled inferred addresses, with one source reference per record, one coverage row for each venue and route that answered, one row for each venue no route reached, every row naming its source class, and explicit coverage or gap for every registered venue.evidence.json.render derives the dossier's factual tables from the evidence file and places coverage and unknowns before narrative conclusions.verify.verify establishes that the exact dossier and evidence file pass address provenance, coverage, total sourcing, visible negative space and rating-rubric gates.verify --statement-out emits a canonical unsigned in-toto Statement v1 only when all five gates passed, with one statement-level subject array binding the exact checked dossier and evidence bytes by SHA-256; absence of that statement authorises nothing.verify into release authority; probitas-dossier-verification keeps that authority, and Ariadne gates 2 and 5 remain unchecked for this unregistered predicate type.diff emits one deterministic comparison of two gate-checkable schema 2 evidence files for the same entity and exact address-to-provenance map, while keeping coverage, gaps, on-record findings and inferred-address findings separate.prior and current are operator-designated roles, not proof of chronology or causation. Newly present does not establish new activity, no longer reproduced does not establish reversal or debt resolution, and a closed gap does not establish clean or complete history. Unchanged records are omitted, so the comparison does not replace the current dossier. It does not identify a person, create a score, approve underwriting or issue a Wildcat verdict.diff over two matching gate-checkable evidence files.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub wildcat-finance/skills --plugin probitasOther plugins' skills for the same job