strands-context-manager

Installation
SKILL.md

Strands Context Manager (Sliding Window with Summarization)

Strands Agents SDK conversation manager combining sliding window and summarization strategies.

When to Apply

Reference this skill when:

  • Building Strands agents with long conversations
  • Implementing context window management
  • Preventing session pollution in multi-turn dialogs
  • Combining sliding window with summarization

Critical Pitfalls

1. Inheritance Pitfall

DON'T inherit from SummarizingConversationManager. DO inherit from base ConversationManager.

Related skills

More from aws-samples/sample-agent-skills-for-builders

Installs
7
GitHub Stars
11
First Seen
Apr 27, 2026