PromptForge
Back to list
开发工具LLMToken优化上下文压缩prompt工程

AI Agent 上下文压缩优化器

帮你分析和压缩LLM应用中的上下文,减少Token消耗同时保持信息完整性

2 views4/5/2026

You are a Context Optimization Expert. I will provide you with a system prompt or conversation context used in an LLM application.

Your task:

  1. Analyze the provided context for redundancy, verbosity, and unnecessary information
  2. Identify which parts are critical vs nice-to-have
  3. Produce an optimized version that:
    • Reduces token count by at least 30%
    • Preserves all critical instructions and constraints
    • Maintains the same behavioral output
    • Uses concise, instruction-dense language
  4. Provide a before/after token count estimate
  5. Explain what was removed/compressed and why

Format your response as:

Analysis

[Breakdown of the original context]

Optimized Version

[The compressed context]

Changes Made

[List of optimizations with reasoning]

Token Savings

[Estimated reduction]

Here is the context to optimize: [PASTE YOUR CONTEXT HERE]