Agent skill · research science · aiskillstore
memory-orchestration
Analyze context management, memory systems, and state continuity in agent frameworks. Use when (1) understanding how prompts are assembled, (2) evaluating eviction policies for context overflow, (3) mapping memory tiers (short-term/long-term), (4) analyzing token budget management, or (5) comparing context strategies across frameworks.
Why this skill is useful
Provides detailed analysis and implementation patterns for context management and memory orchestration that the AI wouldn't reliably generate on its own.
What it needs
About 4k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Memory Orchestration Analyzes context management and memory systems. Process 1. Trace context assembly — How prompts are built from components 2. Identify eviction policies — How context overflow is handled 3. Map memory tiers — Short-term (RAM) to long-term (DB) 4. Analyze token management — Counting, budgeting, truncation Context Assembly Analysis Standard Assembly Order Assembly Patterns Template-Based Message List (Chat API) Programmatic Assembly Eviction Policies FIFO (First In, First Out) Pros: Simple, predictable Cons: May lose important early context Sliding Window Pros: Token-aware, keeps recent Cons: Still loses old context Summarization Pros: Preserves context semantically Cons: Expensive (LLM call), lossy Vector Store Swapping Pros: Scalable, relevance-based Cons: Complex, retrieval quality matters Importance Scoring Pros: Keeps important context Cons: Expensive to compute Memory Tier Mapping Tier Promotion/Demotion Token Management Counting Strategies Method Accuracy Speed -------- ---------- ------- tiktoken Exact Fast len(text) / 4 Rough estimate Instant API response Post-hoc After call Tokenizer model Exact Medium Budget Allocation Output Template Integration Prerequisite: codebase-mapping to identify memory files Feeds into: comparative-matrix for context strategies Related: control-loop-extraction for scratchpad usage
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/memory-orchestration