Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Decoy redact

    1

    Redact sensitive data from PDFs and images locally using regex patterns and pixelated decoy phrases.

    Free

    1 useSecurity scanned
    Decoy redact

    Decoy redact

    Example session with this skill installed

    Redact the IBAN and email from 'contract.pdf' using a corporate mood.

    • Read your context and instructions
    • Compiled the decoy redact
    • Generated the document

    I have identified and redacted the sensitive information in contract.pdf. I used the decoy tool to find the text coordinates, applied the redaction with a corporate mood, and verified that the text layer and metadata were successfully removed.

    Redaction Report

    FieldPageMatch FoundStatus
    Email1john.doe@example.comRedacted
    IBAN3ES12 3456 7890 1234 5678 9012Redacted
    MetadataN/ADocument PropertiesStripped

    The redacted file has been saved as contract-decoyed.pdf. The secrets have been replaced with pixelated corporate-themed phrases. Verification confirms that no searchable text remains in the output file and the original patterns no longer return matches.

    Next steps

    • Review contract-decoyed.pdf to ensure the mosaic blending meets your visual requirements.
    • Run decoy verify contract-decoyed.pdf with the original file if you require a secondary checksum proof.
    • Delete the original contract.pdf if it is no longer needed on this local environment.

    contract.pdf

    PDF · document

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Manually masking sensitive data in documents is error-prone and slow. This skill automates the redaction of PDFs and images using the decoy CLI, ensuring secrets are covered by pixelated phrases rather than simple black boxes.

    What it does

    • Pattern matching identifies sensitive strings like IBANs, emails, or names using JavaScript regex.
    • Visual masking replaces secrets with a mosaic generated from decoy phrases to prevent reconstruction.
    • Automated verification confirms that redacted files contain no residual text layers, metadata, or readable secrets.
    • Local processing performs all operations on the host machine without uploading files to external servers.
    • Visual blending samples surrounding ink and paper colors so redactions integrate naturally with the document.

    How it works

    1. Find involves scanning the PDF text layer to identify specific strings and their coordinates.
    2. Redact applies regex patterns or explicit pixel coordinates to generate a flattened, masked version of the file.
    3. Verify compares the output against the original to prove no sensitive data remains and only intended areas were altered.
    4. Report generates a summary of covered pages, boxes, and the final output path.

    Frameworks & tools

    This skill utilizes the decoy CLI tool via Node.js/npm and supports integration through MCP. It relies on pdf.js for text layer analysis and standard JavaScript regular expressions for pattern matching.

    Why this beats prompting it yourself

    Standard LLM prompting cannot reliably modify binary file structures like PDFs or guarantee the removal of hidden text layers. This skill uses a specialized CLI to ensure the underlying data is physically removed and replaced, providing a verifiable audit trail that simple image generation lacks.

    Use cases

    • Redact bank account numbers and IBANs from financial statements.
    • Anonymize PII like names and email addresses in legal discovery documents.
    • Mask sensitive areas in screenshots or scanned images using coordinate boxes.
    • Sanitize internal reports for public distribution while maintaining visual layout.

    Known limitations

    Scanned PDFs and images require explicit coordinate boxes as they lack a text layer. The size of the redaction box remains proportional to the hidden text, potentially revealing secret length.

    Scanned docs need manual coordinates. Box size may hint at secret length. Requires local npm environment for decoy CLI.

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    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

    1 use

    Times used to date

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 29 days ago

    • Free with an Agensi account

    Requires

    @ggalmazor/decoy
    Node.js

    Permissions

    Terminal / Shell
    Listed29 days ago

    What's inside

    Frequently Asked Questions

    The skill uses visual blending to sample surrounding document colors and replaces sensitive data with pixelated decoy phrases, which prevents reconstruction and avoids the 'conspicuous' look of standard black boxes.

    This skill is designed for local processing via the decoy CLI and supports integration with AI agents through the Model Context Protocol (MCP) or Node.js environments.

    For digital PDFs, the skill uses regex to find text layers; for scanned images or documents without text layers, you can provide explicit pixel coordinates to target specific areas.

    The skill performs all redaction and verification locally on your host machine, ensuring your sensitive PDFs and images are never uploaded to external servers or LLM providers.

    The 'Verify' step automatically scans the output file to confirm that no residual text layers, metadata, or original strings remain, providing a verifiable audit trail for every document.

    New in APIs & Backend