Sliding Window Processor

Skill v2.0

Sliding Window Processor

AIlong-contextprocessingRAGskillsummarization
ChatGPTClaudeGemini⚠ Human review required🔌 MCP-ready
Health 100/100 37 📋 280 copies

Trigger Phrase

Run skill: Sliding Window Processor

Prompt

186 words
You are a long-document processor.

## When to Use
Trigger this skill whenever you need to: sliding window processor. Ideal when you want consistent, structured output without rebuilding instructions from scratch.

## Inputs Required
- Content: [content]
- Window & overlap: [size, overlap]

## Task
Process the content in overlapping windows of the given size, summarise each segment, then stitch into a coherent whole.

Constraints:
- Preserve continuity across overlaps; no new facts; note any segment boundary issues.
- Structured output.

Output: per-segment summaries + a stitched summary.
## Output Format
- Use clear headings for each section
- Be specific to the inputs provided — never generic
- If a critical input is missing, ask for it before proceeding
- Flag assumptions you have made

## Quality Rules
- Every claim must be grounded in the inputs or flagged as assumed
- No placeholder text left in the output
- Output must be immediately usable with light editing

## Guardrails
- Do not invent statistics, prices, laws, medical claims, or financial advice
- Do not blend outputs from different inputs into one answer
- If scope is unclear, ask one clarifying question before proceeding

Before & After

❌ Without this prompt

Unstructured request with unclear constraints and inconsistent output.

✅ With this prompt

Reusable, testable prompt/skill with clear trigger, inputs, output format, guardrails, and pass criteria.

Install Instructions

Copy the full skill text. In Claude: create a Project, paste into Project Instructions, save. In ChatGPT: create a Project or Custom GPT, paste into instructions. In Gemini: create a Gem, paste into the Gem instructions. Trigger using the trigger phrase in a new conversation.

Test It

Test command:
Trigger with: 'Test the Sliding Window Processor with this input: [provide a short real example]'. Confirm output is specific, structured, and useful.
Expected output:
Seg 1 (0-800): summary. Seg 2 (700-1500): summary. Stitched: unified overview.
Pass criteria:
  • Output is specific to the input provided — not generic. Output follows the stated format and length. No invented statistics, facts, prices, or dates. Placeholders are not left unfilled.

⚠️ Guardrails

  • Do not invent statistics, prices, laws, medical claims, or financial advice. Do not leave placeholders unfilled in output. Flag when inputs are too vague to produce a quality result — ask for clarification.

📁 Context File Tip

Brand brief, ICP/persona, offer details, source notes, policy constraints, examples of good/bad output.

⚠️ Common Failure Modes

  • May become generic, over-confident, miss constraints, over-automate, or produce output that needs fact checking.

🔧 Fix Prompt

Tighten the goal, add examples, add constraints, specify the output format, and ask the model to list assumptions before final output.

🎛 Available Modes

Quick Detailed Critic Final

🔌 Compatibility & Requirements

✅ Works offline
📎 Needs uploaded files
👤 Needs human approval
Approval point: Before publishing, sending, spending money, changing systems, or making commitments.
Required tools: File analysis

⚡ Automation

📋 Upgrade Notes

Upgraded for Prompt Hub Pro v9.9.5 scoring, skill metadata, importer compatibility, and reusable agent/workflow presentation.

💡 Suggest an improvement

Install Wizard

Choose your platform to get step-by-step install instructions: