Skip to content

Development

m4bwav edited this page Dec 6, 2026 · 2 revisions

Layout

Path What it is
skills/scamwright/SKILL.md the skill: the steps the agent follows
skills/scamwright/scripts/sw.py the checker, standard library only
skills/scamwright/references/ channels.md (tells per channel), patterns.md (scam families and their scripts), recovery.md (steps if you already acted)
skills/scamwright/RESEARCH.md, LEARNINGS.md, CHANGELOG.md, TESTS.md, evergreen.json, evals/ the self-maintaining layer
tests/test_sw.py unit tests for sw.py
.claude-plugin/ plugin and marketplace manifests

Tests

python -m unittest discover -s tests
Ran 9 tests in 0.004s

OK

The tests cover free-host and tracking-ID detection, brand mismatch, the rental flags and a real rental listing that must not trigger them, and sample poll, petition, toll and gift-card messages.

Changing the checker

  • Keep it standard library only, and keep it offline: no request to any URL.
  • A new message flag is one line in FLAGS: weight, code, label, regular expression. A new link check goes in check_url.
  • Add a test with a message that must fire the flag and one that must not.
  • Weights of 3 are kept for the signs that settle a case. A code added to the hard set makes the risk high on its own; add one only for something no real organisation asks for.

Keeping current

The skill is an evergreen unit, tier fast. evergreen.json holds the next check date. A refresh re-reads FTC, FBI IC3 and national fraud agency guidance, records what changed in RESEARCH.md, updates references/, and logs it in the changelogs. Version 0.2.1 (2026-12-05) was the first web-verified refresh: UK reporting moved to Report Fraud, plus an IC3 recovery-scam warning and the elder fraud hotline.

Versions

Version Date Change
0.2.2 2026-12-05 sw.py fixes found while writing this wiki (tracking ID, raw IP, urgency, wire)
0.2.1 2026-12-05 first research refresh (reporting routes, recovery-scam warning)
0.2.0 2026-12-04 rental flags owner-away, sight-unseen, rental-combo
0.1.0 2026-11-18 first version: skill, references, sw.py scan and url

Security

Report a problem with the plugin as described in SECURITY.md.

Clone this wiki locally