Skip to content

Getting Started

m4bwav edited this page Dec 6, 2026 · 2 revisions

What you need

  • An agent that can read a skill file and run a shell command.
  • Python 3.10 or later for the checker. It uses the standard library only, so there is nothing to pip install.

Install

Claude Code

claude plugin marketplace add m4bwav/scamwright
claude plugin install scamwright@scamwright

Other agents (Copilot, Codex, Cursor, Gemini CLI)

Clone the repository and point the agent at the skill file:

git clone https://github.com/m4bwav/scamwright

Tell the agent to follow skills/scamwright/SKILL.md when you ask whether something is a scam. The checker runs from the clone:

python skills/scamwright/scripts/sw.py scan --text "paste the message here"

First check

Ask in plain words. Any of these start the skill:

  • "Is this legit?" followed by the pasted text
  • "Someone called saying they were from my bank"
  • "I got a letter from a debt collector I don't recognise"
  • "I think I got scammed, I already paid"

The agent writes the pasted text to a scratch file, runs sw.py scan on it, searches for the sender and the domain, and answers with a verdict. See How verdicts are reached.

You can run the checker yourself too. From the repository root:

python skills/scamwright/scripts/sw.py scan --text "TxTag: You have an unpaid toll balance of $4.35. Pay now: https://txtag-pay.top/pay"
risk: high  score: 6  hard red flag: yes
  [2] small unpaid toll, fee or delivery charge   "unpaid toll"
  https://txtag-pay.top/pay  host=txtag-pay.top  domain=txtag-pay.top  score=4
    [3] names 'txtag' but the domain is txtag-pay.top, not txtag.org
    [1] .top is a cheap TLD often used in scams (many legit sites use it too)
Heuristic hint only. Verify the sender and domain before giving a verdict.

More examples on Checker commands.

Check the install

python -m unittest discover -s tests

On 0.2.1 this runs 9 tests.

Clone this wiki locally