RateMyPrompt

RateMyPrompt

Discover and share the best AI prompts, rated by AI & humans

Sliding Window Optimizer

8.0/10Overall
8.0AI
No user ratings
Submitted Jul 21AI evaluated Jul 21

Prompt

<sliding_window>
Implement intelligent sliding window for context:

Window Management:
[Ancient History] → Compressed summary (100 tokens)
[Older Context] → Key points only (500 tokens)
[Recent Context] → Full detail (2000 tokens)
[Current Focus] → Maximum detail (3000 tokens)

Overlap Strategy:
- Keep 20% overlap between windows
- Preserve key decisions and constraints
- Maintain narrative continuity
- Reference previous sections when needed

Retrieval Triggers:
- User references past discussion
- Contradiction detected
- Context needed for decision
</sliding_window>

INJECT THIS for very long conversations.

AI Evaluation

How we evaluate
Claude 3 Haiku
AI Evaluation
8.8/10
GPT-4 Mini
AI Evaluation
7.3/10

User Rating

No ratings yet. Be the first to rate!

Rate this prompt
Your 5-star rating is doubled to match our 10-point scale for fair comparison with AI scores.