doc-redaction-task-prompt

Orchestrate two-pass document redaction with review gates and coverage checks.

55|11|Updated Apr 25, 2024
One-click install
npx skills add https://github.com/seanpedrick-case/doc_redaction --skill doc-redaction-task-prompt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc-redaction-task-prompt
Source: https://github.com/seanpedrick-case/doc_redaction/tree/main/skills/doc-redaction-task-prompt
Command: npx skills add https://github.com/seanpedrick-case/doc_redaction --skill doc-redaction-task-prompt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a copy-paste task prompt template that reliably orchestrates a full document redaction workflow with review gates, ensuring the agent performs the correct two-pass process and uses the right required skills in the right order.

Core Features & Use Cases

  • Two-pass workflow orchestration: Sets Pass 1 as the deliverable default, with Pass 2 only when strict criteria are met or pages are flagged for visual/VLM review.
  • User policy injection: Forces the agent to treat the user’s must-redact and must-not-redact requirements as the authoritative source for coverage checks.
  • Safe operational guardrails: Includes anti-confusion rules to prevent skipping /review_apply, misusing previews, or performing “true redaction” outside the prescribed pipeline.
  • Scales to large documents: Provides long-document rules to avoid loading huge CSVs into chat context and to run programmatic verification and targeted fixes.

Quick Start

Copy the template from TASK_PROMPT_TEMPLATE.md into your agent chat, fill in all placeholders in the Setup section, then write your case-specific User redaction requirements at the end before sending it to the agent.

Frequently Asked Questions about doc-redaction-task-prompt

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I orchestrate a two-pass PDF redaction workflow with an AI agent?

To orchestrate document redaction, you use a copy-paste task prompt template that enforces a strict two-pass process, ensuring Pass 1 deliverables route through the review pipeline while gating Pass 2 visual checks to specifically flagged pages.

What is a two-pass redaction and review process for tabular data?

A two-pass redaction process separates initial automated PII removal from secondary visual verification, ensuring Pass 1 deliverables are generated first and Pass 2 VLM checks are only applied when strict criteria or specific pages are flagged.

How do I prevent my agent from bypassing the redaction review pipeline?

To prevent bypassing the redaction review pipeline, you inject strict stop conditions and anti-confusion rules into the agent prompt template, forbidding the agent from skipping the review_apply step or performing true redaction outside the prescribed pipeline.

Can I use this prompt template to handle large CSV files for PII removal?

Yes, you can handle large CSV files for PII removal because the template includes long-document rules that prevent loading huge datasets into chat context, instead running programmatic verification and targeted fixes for safe scaling.

How do I enforce specific must-redact and must-not-redact rules during document redaction?

You enforce must-redact and must-not-redact rules by injecting your user policy requirements into the task prompt template, which forces the agent to treat your specific rules as the authoritative source for all coverage verification checks.