Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add cafe3310/public-agent-skills --skill text-watermark-fountaingit clone --depth 1 https://github.com/cafe3310/public-agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/cafe3310/public-agent-skills/text-watermark-fountain)<a href="https://agentmods.dev/skills/cafe3310/public-agent-skills/text-watermark-fountain"><img src="https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/text-watermark-fountain/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/cafe3310/public-agent-skills/text-watermark-fountain"><img src="https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/text-watermark-fountain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00048 | $0.00894 |
| Opus 5.5 | $0.00019 | $0.00358 |
| Sonnet 5.5 | $0.00010 | $0.00179 |
| Haiku 4.5 | $0.00005 | $0.00089 |
Grade A, and why
text-watermark-fountain scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Text Watermark Fountain (Robust Sync-Frame Version)
This skill enables the Agent to embed a string watermark into a text such that it can be recovered even if the text is partially modified, segments are deleted, or new sentences are inserted. It uses a custom Luby Transform (LT) Fountain Code combined with Sync Frames to map the watermark into a sequence of target lengths.
How it works (Robustness Mechanism)
- Sync Markers: The encoding script periodically inserts a unique length pattern
[19, 4, 19](Sync Marker) followed by a Frame ID. - Self-Synchronization: The decoder searches the entire text for these markers using a sliding window. Even if middle segments are removed, the decoder can resynchronize using the next Sync Marker and know exactly which symbols it is looking at.
- Redundancy: By repeating these frames throughout a long text, the watermark becomes extremely difficult to destroy.
Workflow: Embedding a Watermark
When a user asks to embed a watermark (e.g., "name_1") into a text:
-
Generate Length Sequence:
- Run the encoding script:
python3 scripts/encode.py --mark "name_1" --count [TOTAL_DATA_SYMBOLS] - Note the
Lengthsoutput. It will contain periodic19 4 19 [ID]headers.
- Run the encoding script:
-
Precise Text Fine-tuning (Batch Processing): To ensure 100% accuracy, you MUST use a multi-stage approach:
- Step 2.1: Redundancy & Looping: If the original text is significantly longer than the required length sequence, the script handles the symbol indexing. Just ensure you cover all target lengths.
- Step 2.2: Segmentation: Split the source text into segments using allowed punctuation (
,。!?;:、, . ! ? ; :). - Step 2.3: Batch Delegation: Use a subagent to rewrite segments in batches of 5-10.
- Prompt for Subagent: "Rewrite these segments to match EXACT character lengths: [L1, L2, ...]. Maintain meaning. NO internal punctuation allowed within a segment. Count every character (Chinese, English, digits) as 1."
- Step 2.4: Verification: After each batch, run a Python one-liner to verify:
python3 -c "print([len(s.strip()) for s in [SEG1, SEG2, ...]])"
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 64 lines · 48 tokens per session scan A aa46a56fd7e4
text-watermark-fountain is a skill published in the GitHub repository cafe3310/public-agent-skills (260 stars, last pushed 14d ago), licensed Apache-2.0. It adds 48 tokens to every session and 894 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
text-watermark-fountain compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| text-watermark-fountaincafe3310/public-agent-skills | Skill | 260 | 14d ago | Apache-2.0 | A | 48 | Claude Code, Codex |
| expertsflc1125/skills | Skill | 39 | today | MIT | A | 62 | Claude Code, Codex |
| asyncflc1125/skills | Skill | 39 | today | MIT | A | 52 | Claude Code, Codex |
| github-release-pr-writerflc1125/skills | Skill | 39 | today | MIT | A | 80 | Claude Code, Codex |
| yuqueflc1125/skills | Skill | 39 | today | MIT | A | 72 | Claude Code, Codex |
| getnoteflc1125/skills | Skill | 39 | today | MIT | A | 83 | Claude Code, Codex |
| opentelemetry-go-reviewerflc1125/skills | Skill | 39 | today | MIT | A | 34 | Claude Code, Codex |