- Home
- Skills
- Legal & Compliance
- Canary Copies: Traceable Copies of Long Documents
More screenshots
Works with the AI Agents you already use
Canary Copies: Traceable Copies of Long Documents
by Louis Philip
Most watermarking for text relies on invisible characters or spacing.
$15
Canary Copies: Traceable Copies of Long Documents
Example session with this skill installed
playbook.txt is a paid guide I'm about to send to two outside reviewers, Ana and Ben, before launch. I want to be able to tell whose copy it was if it leaks. Set that up.
- Read your context and instructions
- Compiled the canary copies
Before I start
Your guide is 3,497 words, just over the roughly 3,000-word minimum. The mark survives retyping, reformatting and light edits. It does not survive a thorough rewrite or an AI paraphrase, and one leaked chapter is usually too little to trace. A match is statistical evidence that a text derives from a copy, not proof of who leaked it. Whether to tell Ana and Ben the copies are marked is your call.
Result
Both copies are signed and each one traces only to its own recipient. They are
pending your review: please read the changed sentences before sending.
| Recipient | Score | Verdict | Words changed | Identicon cells | Numbers or dates changed |
|---|---|---|---|---|---|
| Ana | 7.1 | SIGNED (strong) | 3.1% (80 sentences) | 15/15 | none |
| Ben | 6.6 | SIGNED (strong) | 3.1% (83 sentences) | 15/15 | none |
Trace check
Ana.txt -> Ana 7.1 Ben 0.3 RESULT: matches Ana
Ben.txt -> Ben 6.6 Ana 1.2 RESULT: matches Ben
draft -> no reliable match (0.9 and 0.2)
Examples of what changed in Ana's copy
- "this ritual consumes somewhere between five and eleven hours a week" became "this ritual absorbs ..."
- "notice that the Leeds depot's on-time rate slipped from 96.1 percent to 91.4 percent" became "spot that ..."
The review also flagged one article error I introduced ("a intentional"), which I fixed.
Files
Ana.txt,Ben.txt: the copies to sendAna.review.txt,Ben.review.txt: every changed sentence, before and after, for you to approve or revertAna.cert.json,Ben.cert.json: certificates (date, text hash, score; no key inside)keys.json,exempt.txt,draft.txt: keep these private and backed up; all three are needed to trace a leak later
What you still need to do
- Read the two review files and tell me which changes to revert.
- Convert each copy back to your format without editing the wording.
- Never share
keys.json.
Later, if a text turns up
$ canary.py trace found_online.txt keys.json exempt.txt
text: 2482 words, 633 distinct carriers
Ana score 5.3 SIGNED (strong)
Ben score 0.4 no signature found
RESULT: matches Ana (score 5.3; next best 0.4).
That found text held 70% of the guide with 20% of its words replaced.
Connects securely to your tools. The creator never sees your data.
About this skill
The problem
You send a report, a manuscript, a paid guide or a due-diligence pack to a few people. Later it turns up somewhere it should not. Whose copy was it?
Most watermarking for text relies on invisible characters or spacing. Those disappear the moment someone pastes the text through a sanitiser, prints it, or retypes it.
What this skill does
It makes one copy per recipient, signed in the wording itself. A few percent of ordinary words are swapped for true synonyms chosen by that recipient's secret key. Later, one command scores a found text against every recipient and tells you which copy it most likely came from.
- No invisible characters, nothing for recipients to install, works in any format
- Numbers, dates, names, trade terms and quoted text are never touched; the script checks
- You read and approve every changed sentence before a copy is sent
- Keys stay in a local file and are never printed
- Each key defines a small identicon that decodes from the text alone
What was measured
On a 3,497-word guide signed for two recipients: 3.1% of words changed; each copy scored 7.1 and 6.6 with its own key and 0.3 and 1.2 with the other key. Unsigned text or a wrong key stayed under 3.5 in 9,000 trials. A found text holding 70% of the guide with 20% of its words replaced still matched the right recipient (5.3 against 0.4).
In wider tests the right recipient was identified in every trial with up to 20% of words replaced or half the document leaked, and in 88-100% of trials with 30% replaced.
What it does not do
- It does not survive a thorough rewrite or an AI paraphrase.
- A single leaked chapter (under about 1,500 words) is usually too little to trace.
- It needs long documents: about 3,000 words or more, in English. The skill stops and says so on shorter texts.
- A match is statistical evidence that a text derives from one recipient's copy. It is not proof of who leaked it and not proof of copyright.
- Not for contracts, specifications or code, where an exact word matters.
- The test set is small (a handful of documents, one signing model). Treat the percentages as indications.
Who it is for
Consultants and analysts who sell reports, authors sending manuscripts to early readers, founders sharing long documents with a few outside parties, and anyone who wants recipients to know that copies are traceable.
What is in the package
SKILL.md (workflow, quality rules, how to report a match responsibly), scripts/canary.py (Python standard library only), and references/evidence-and-limits.md with the measurements.
English only; documents of about 3,000 words or more. Does not survive a thorough rewrite or AI paraphrase; a single leaked chapter is usually too little to trace. Not for contracts, specs or code. A match is statistical evidence, not proof of who leaked. Each copy takes several minutes and needs your review. Tested with Claude on a small set of documents.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 6 days ago
- Software
Python 3
Permissions
What's inside
Frequently Asked Questions
New in Legal & Compliance
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Legal & Compliance.