Works with the AI Agents you already use

    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.

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

    1 use

    Times used to date

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    • Free with an Agensi account

    Software
    @ggalmazor/decoyNode.js

    Permissions

    Terminal / Shell
    Listed1 month ago

    What's inside

    Creator

    Guillermo Gutiérrez Almazor

    Guillermo Gutiérrez Almazor

    I build and modernize backend systems that other systems depend on: a cloud simulation platform used by engineers in aerospace, automotive, and photonics; DNS infrastructure serving millions of queries; a global vessel intelligence database; water networks; and data collection platforms used in public health. With 20+ years in, my core stack is Java, PostgreSQL, jOOQ, and Flyway, plus Ruby, Go, Node.js, and Elixir. As a Senior Software Engineer at Flexcompute, I work with the infrastructure team behind the company’s simulation platform. Flexcompute builds GPU-native physics solvers, Flow360 for fluid dynamics and Tidy3D for electromagnetics, that run in its own cloud and return results 10 to 100 times faster than traditional CPU-based tools, for customers ranging from aircraft and EV makers to photonics and display manufacturers. My goal is to improve both the platform those simulations run on and the software engineers use to drive it, so the solvers' speed isn’t lost in the systems around them. I’m also a Founding Partner at Kanikosen, where I designed and operate the data platform behind a global fishing vessel intelligence database: 1.5M+ vessels and ~400K linked entities consolidated from 200+ official sources, with 100+ tracked attributes per vessel, full per-attribute provenance and confidence scoring. The hard problem is entity resolution: tracking vessel identities through renamings, reflaggings, and ownership changes, including deliberately obscured ones. The database underpins 12 years of published investigations into illegal fishing, cited in 100+ academic and press works. Before Flexcompute, I spent six years as a Staff Software Engineer at DNSimple, evolving a long-lived codebase powering trust-critical infrastructure: domain management, DNS resolution, and SSL certificate provisioning, with SLA options of 99% and 100%. I led initiatives spanning transactional data and Big Data repositories (PostgreSQL, Redshift) and built delivery tooling that let a small team ship continuously without compromising availability. How I work: XP, TDD/BDD, domain-driven design, pair programming, continuous integration and delivery. I’ve spent most of my career turning large legacy systems into maintainable, future-proof platforms while shipping new features and mentoring teams to do the same. Earlier chapters include leading development on the Open Data Kit toolset at Nafundi and co-building BuntBrain at BuntPlanet, analyzing datasets scaling to 1 trillion rows a year. Outside work, I maintain open-source projects (Java time-series downsampling, Ruby testing matchers, git tooling), speak at conferences including Agile Conf Spain, and organize local developer communities.

    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

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.

    Free