moai-foundation-context

Manage enterprise session state and token budgets for MoAI-ADK workflows.

1|Updated Dec 3, 2025
One-click install
npx skills add https://github.com/rdmptv/AdbAutoPlayer --skill moai-foundation-context-rdmptv
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-foundation-context
Source: https://github.com/rdmptv/AdbAutoPlayer/tree/main/.moai/backups/.claude.backup.1764591304/skills/moai-foundation-context
Command: npx skills add https://github.com/rdmptv/AdbAutoPlayer --skill moai-foundation-context-rdmptv

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill handles enterprise context management and session persistence with token budget awareness for MoAI-ADK workflows.

Core Features & Use Cases

  • 200K+-token budget planning and monitoring
  • Session state tracking and persistence
  • Context-aware memory management and forking
  • Multi-agent handoff protocols and continuity
  • Progressive memory management for long-running workflows

Quick Start

Use moai-foundation-context to initialize and manage a long-running session with context-aware persistence.

Frequently Asked Questions about moai-foundation-context

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage context and token budget in long-running development workflows?

Context management tracks token consumption across extended sessions, enabling progressive memory disclosure and session state persistence to prevent budget overflow. The Skill monitors 200K+ token allocations, implements forking for memory branching, and maintains continuity across multi-agent handoffs without losing state.

What's the best way to handle session persistence when approaching token limits?

Progressive memory management optimizes context by deferring non-critical file loading and compacting history as token budget approaches capacity. Session state persists across interruptions, allowing workflows to resume from checkpoints without replaying prior context or losing agent coordination state.

Can I use context management for multi-agent orchestration and handoffs?

Yes. The Skill supports multi-agent handoff protocols that maintain coherent context across agent transitions, preserving session state and memory forks so downstream agents resume work without context loss or redundant initialization.

How does context-aware optimization prevent token overflow in enterprise workflows?

Context-aware optimization monitors token expenditure in real time, applies selective file loading based on task relevance, compacts accumulated history, and triggers memory management actions before budget exhaustion, ensuring continuous operation within 200K token constraints.

What preparation is needed before initializing a session with context management?

Establish token budget allocation limits, define session checkpoints for persistence, and configure MCP integration for continuity. The Skill then tracks state from initialization through completion, automatically managing memory and detecting handoff triggers.

Does context management work with existing MoAI-ADK workflows?

Yes. The Skill integrates with MoAI-ADK workflows through MCP-integrated continuity, enabling progressive disclosure, cross-agent handoffs, and token-aware memory management without requiring workflow restructuring.