PLSAgentfor privatelawsociety.net ↗
Get the promptScroll: watch a deal happen ↓
The deal

Both lock money.

You the price. Ana a deposit.

The rule

One safe, three keys.

Any two open it. Nobody opens it alone.

Ending 1 · All good

Two keys turn. Ana is paid.

The referee never woke up.

Ending 2 · What if Ana vanishes?

You and Leo open it.

You get everything back.

Ending 3 · What if you disagree?

Leo's key decides.

He splits it by what the contract says.

Your AI does the rest.

Paste one prompt into a terminal-capable AI assistant. It asks your yes before every move:

Claude CodeCodexCursorWindsurfHermes

Needs local terminal access to run the pls CLI (plain browser chats like ChatGPT web or Claude.ai web cannot run terminal commands on your machine).

Practice runs on Bitcoin's test network with zero-value test coins. Paste the prompt and your AI installs pls, runs a complete 3-party practice deal (You, Ana, and Leo) automatically, and guides your next step in plain language.

Testing by yourself? Just tell your AI “run a practice demo” and it plays out You, Ana, and Leo in seconds.

See the prompt
Set yourself up as my personal agreements assistant using Private Law Society (PLS), and run the setup end to end right now without stopping halfway:

1. Install or update the pls CLI (prebuilt binary, falls back to Cargo if needed):
export PATH="$HOME/.local/bin:$HOME/.cargo/bin:$PATH"
pls status --help >/dev/null 2>&1 || curl -fsSL https://miguelmedeiros.github.io/pls-agent/install.sh | sh

2. Save this skill and follow it from now on (Claude Code: ~/.claude/skills/pls/SKILL.md, or your local skills folder):
https://miguelmedeiros.github.io/pls-agent/skill.md

3. Initialize my local setup and check my environment in one step:
pls --json status --init 2>/dev/null || pls --json keys init

Communication rule: speak plain human language, never crypto or Nostr jargon. Do NOT dump npub strings, hex keys, relay URLs, or 12-word backup homework on me during setup or practice unless I ask. Explain agreements simply as a 3-key safe (me, the other person, and a referee we both choose, where any 2 keys unlock the funds and nobody can take them alone). Only ask me to run `pls keys backup --reveal` in my own terminal right before I lock or receive real value.

4. Run a complete 3-party practice deal right now (it moves 0 coins, so do not stop to ask permission): if Ghostly is available, run `pls --json --via ghostly demo --offline`, otherwise run `pls --json demo` (falling back to `pls --json demo --offline` if offline). Summarize what happened (You, Ana, and Leo, plus the 3 possible endings) in 3 to 4 short lines of plain language, then ask me ONE simple question offering concrete next steps you can run for me:
- roleplay a dispute where Leo the referee steps in,
- browse or post an offer or referee in the marketplace, or
- start a deal with a real person (directly in a Ghostly chat or group if Ghostly is installed, or by running `pls --json invite` to give me a ready-to-forward message for WhatsApp, Telegram, Signal, or email so neither of us ever needs technical IDs).

Start in practice mode: use test coins with no real value until I explicitly tell you to switch to real bitcoin. Never move money, sign a real contract, or publish a listing without my explicit yes.