agentsclimarketplace

Case memory

Skill yogeshg665/sleuth-fraud-investigator/skills/case-memory

Recalls prior investigations for the same account or tokenized card from collective memory and emits a contextual risk signal when adverse history exists. WHEN: "repeat offender", "prior fraud history", "seen this account before", "recall past cases", "account has chargebacks", "card previously declined", "collective memory".From its SKILL.md

Install
npx -y skills add yogeshg665/sleuth-fraud-investigator --skill case-memory

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.9 KB, 582 tokens by cl100k_base, as published. Nobody here has run it

Case Memory

Overview

Reads a memory_recall summary injected during enrichment from the collective memory store and converts adverse prior history into a corroborating risk signal. Memory is contextual, not definitive: the signal is never marked critical and never sets a score floor. Recall is exact-match on the pseudonymous account identifier and the tokenized card reference, so it stays deterministic and privacy-preserving.

When to Use

  • During the detection phase, when collective memory is enabled and the engine has injected a memory_recall summary for the case.

Inputs

InputRequiredDescription
enrichment.memory_recall.total_prior_casesnoCount of prior cases for this account or card.
enrichment.memory_recall.confirmed_fraud_countnoPrior cases analysts labeled as fraud.
enrichment.memory_recall.prior_decline_countnoPrior cases that were declined.
enrichment.memory_recall.prior_escalation_countnoPrior cases that were escalated.
enrichment.memory_recall.matched_onnoWhich keys matched: account, card, or both.

Process

  1. Return nothing when no recall summary or no prior cases are present.
  2. If there is confirmed-fraud history, emit a high-severity signal.
  3. Otherwise, if there are prior declines, emit a moderate signal.
  4. Otherwise, if there are prior escalations, emit a low-moderate signal.
  5. Attach the matched keys and counts as evidence.

Outputs

Zero or one RiskSignal named adverse_history. The signal is never critical.

Reference Implementation

src/fraud_investigator/skills/case_memory.py. The store and recall logic live in src/fraud_investigator/memory/.

Rationalizations

ExcuseRebuttal
"Past fraud proves this transaction is fraud."History is corroborating context only; it informs, it does not decide.
"Store the raw card number to match better."Only tokenized card references and pseudonymous accounts are ever persisted.
"Let memory override the score."Memory contributes a weighted signal; it never floors or overrides the score.

Red Flags

  • The skill marks the memory signal as critical.
  • Raw cardholder data is written to the store.
  • Recall is non-deterministic or depends on wall-clock time.

Verification

  • With no prior history, the skill returns no signal.
  • With a confirmed-fraud prior case on the same account, the skill emits an adverse_history signal with elevated severity and the matched keys as evidence.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.