infrastructure-steganography

infrastructure-steganography is a skill for Claude Code, Codex from docxology/template. It costs 55 tokens per session (1,229 once invoked), scanned A, original, Apache-2.0.

A PDF processing tool that adds provenance information, including cryptographic file hashes, hidden text overlays, email QR codes, and Code128 barcodes.

In plain words
What is it for?
Use it to add opt-in watermark text, mailto QR codes, barcode strips, and SHA-256 or SHA-512 hash manifests to PDFs.
Why use it?
It helps connect a rendered document to its author or metadata and provides evidence that the PDF or its source has not changed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is - 📚 **Core**: [docs/README.md](../../docs/README.md), [docs/AGENTS.md](../../docs/AGENTS.md), [docs/documentation-index.md](../../docs/documentation-index.md).

Good fit Use it to add opt-in watermark text, mailto QR codes, barcode strips, and SHA-256 or SHA-512 hash manifests to PDFs.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/docxology/template
agentmods
npx agentmods add skills/docxology/template/steganography

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for infrastructure-steganography

README.md
[![agentmods](https://agentmods.dev/badge/skills/docxology/template/steganography/github.svg)](https://agentmods.dev/skills/docxology/template/steganography)
Your own site
<a href="https://agentmods.dev/skills/docxology/template/steganography"><img src="https://agentmods.dev/badge/skills/docxology/template/steganography/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.

agentmods 80×15 button for infrastructure-steganography

Your own site · 80×15
<a href="https://agentmods.dev/skills/docxology/template/steganography"><img src="https://agentmods.dev/badge/skills/docxology/template/steganography.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,229 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.01229
Opus 5.5 $0.00022 $0.00492
Sonnet 5.5 $0.00011 $0.00246
Haiku 4.5 $0.00006 $0.00123

Measured 1mo ago against content hash b7791a8cc058, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

infrastructure-steganography 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 1mo ago.

The scan reads SKILL.md. This mod also ships 13 executable files (__init__.py, barcode_generators.py, barcode_payload.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

infrastructure/steganography/SKILL.md · 114 lines

How it starts

The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Steganography Infrastructure Module

The steganography module applies cryptographic hash manifests, text overlays, and interactive metadata objects (like mailto QR barcodes) directly to PDF post-rendering.

Core Processor (core.py)

The primary orchestrator of steganography operations. It handles config extraction, hashing, alpha-text watermarking, and barcodes.

from infrastructure.steganography import SteganographyConfig, SteganographyProcessor
from pathlib import Path

processor = SteganographyProcessor(SteganographyConfig(enabled=True, overlay_mode="text"))
final_pdf = processor.process(
    Path("output.pdf"),
    author_emails=["[email protected]"],
)

Barcodes (barcodes.py)

Responsible for generating dense Error-Correction Q-Level QR codes and Code128 barcode strips.

from infrastructure.steganography.barcodes import create_barcode_strip_overlay
overlay_pdf_bytes = create_barcode_strip_overlay(
    page_width=612, page_height=792,
    code128_data="paper-id-001",
)

Setup & Hashing (hashing.py)

Provides deterministic SHA-256 and SHA-512 manifest exports alongside standard PDF payloads.

from infrastructure.steganography.hashing import compute_file_hashes, write_hash_manifest
hashes = compute_file_hashes(Path("file.pdf"))
write_hash_manifest(Path("file.pdf"), hashes)

Overlays (overlays.py)

For applying visual steganographic traits like diagonally rendered strings across every page.

from infrastructure.steganography.overlays import create_watermark_overlay
overlay_bytes = create_watermark_overlay(page_width=612, page_height=792, text="CONFIDENTIAL", opacity=0.08)

Kmyth TPM Sealing (kmyth_adapter.py)

Optional TPM-backed sealing of hash manifests and steganography PDFs into .ski sidecar files using the Kmyth toolkit.

from infrastructure.steganography.kmyth_adapter import (
    KmythSealOptions, seal_file_with_kmyth, validate_kmyth_installation,
)

# Validate that kmyth-seal/kmyth-unseal are available
avail = validate_kmyth_installation(binary_dir="infrastructure/steganography/kmyth/bin")
print(avail.summary())

# Seal a file (requires running TPM backend on macOS)
ski_path = seal_file_with_kmyth(
    Path("output.pdf"),
    options=KmythSealOptions(
        binary_dir=Path("infrastructure/steganography/kmyth/bin"),
        tcti_config="mssim:host=127.0.0.1,port=2321",
        timeout_seconds=15,
    ),
)

Read the full file on GitHub · 114 lines

Changes

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.

  1. 1mo ago First seen · 114 lines · 55 tokens per session scan A b7791a8cc058

Subscribe to this mod's changes

infrastructure-steganography is a skill published in the GitHub repository docxology/template (20 stars, last pushed yesterday), licensed Apache-2.0. It adds 55 tokens to every session and 1,229 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-09-03.

Related

Other skills, from other repositories

talisman

Generate a polished, on-brand PDF guide/handbook/whitepaper from a codebase or project using LaTeX (.tex -> .pdf) or Markdown->pandoc->pdf, with a designed cover page, the product's real brand colors and logo, a subtle branded page background, and TikZ diagrams (domain models, flows, state machines). Use for any…

jeunecraack/talisman-skill · 120 tokens

oma-pdf

Extract PDF text, headings, tables, and images into Markdown using opendataloader-pdf. Use for PDF parsing, not PDF layout creation.

first-fluke/oh-my-agent · 33 tokens

liteparse

Parse local document files into LLM-ready content on the daemon itself — PDFs → Markdown / structured JSON (with bounding boxes) / page screenshots via the bundled lit CLI. PDF works out of the box, offline, zero external deps (Tesseract + PDFium are bundled): digital PDFs use a near-instant native text path…

Prismer-AI/PrismerCloud · 173 tokens

slides

Create and edit presentation slide decks (.pptx) with PptxGenJS, bundled layout helpers, and render/validation utilities. Use when tasks involve building a new PowerPoint deck, recreating slides from screenshots/PDFs/reference decks, modifying slide content while preserving editable output, adding…

fcakyon/claude-codex-settings · 83 tokens

overleaf

Sync and manage Overleaf LaTeX projects from the command line. Pull projects locally, push changes back, compile PDFs, and download compile outputs like .bbl files for arXiv submissions. Use when working with LaTeX, Overleaf, academic papers, or arXiv.

aloth/olcli · 62 tokens

taxonomy-vto

A reference guide for diagnosing visual problems in LaTeX research papers. It defines categories such as wasted page space, misplaced figures, inconsistent formatting, overflow, alignment, and template-migration issues.

OpenRaiser/PaperFit · 0 tokens