moai-foundation-context

Manage 200K token budgets and persistent session state for Claude Code.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/tjdwls101010/seongjin_extension_youtube-summarize --skill moai-foundation-context-tjdwls101010
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-foundation-context
Source: https://github.com/tjdwls101010/seongjin_extension_youtube-summarize/tree/main/.claude/skills/moai-foundation-context
Command: npx skills add https://github.com/tjdwls101010/seongjin_extension_youtube-summarize --skill moai-foundation-context-tjdwls101010

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unified context optimization and session state management for Claude Code with 200K token budget management, session persistence, and multi-agent handoff protocols.

Core Features & Use Cases

  • 200K token budget allocation and monitoring
  • Session state tracking with persistence
  • Context-aware token optimization
  • Multi-agent handoff protocols
  • Progressive disclosure and memory management
  • Session forking for parallel exploration

Quick Start

Example: initialize a Claude Code session with a 200K token budget and enable persistent context.

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 token budgets for long-running Claude Code sessions?

Token budget management tracks and optimizes your 200K token allocation across development sessions. The Skill monitors consumption in real time, triggers alerts as you approach limits, and applies aggressive clearing strategies to preserve context while staying within budget constraints for extended workflows.

Can I maintain session state and context across multiple Claude Code handoffs?

Session persistence enables state tracking and context continuity across multi-agent handoffs. The Skill checkpoints session data, selectively preserves relevant context, and coordinates context-aware handoffs so parallel agents access consistent session information without restarting or losing prior work.

What's the best way to optimize context in multi-agent orchestrations?

Context-aware token optimization applies progressive disclosure and layered reference strategies within a 200K token budget. The Skill allocates tokens selectively, maintains MCP context continuity, and enables session forking so multiple agents can explore parallel paths without exhausting your token allocation.

How does session forking help with parallel exploration in development workflows?

Session forking creates independent context branches from a checkpoint, allowing parallel exploration of different solutions within a shared token budget. Each fork maintains its own state and can be merged or discarded, enabling experimentation without losing the parent session's progress.

Do I need additional setup to persist context across Claude Code restarts?

Session checkpointing and persistence require no external dependencies. The Skill stores session state locally, restores context on restart, and resumes token budget tracking from the checkpoint so long-running development sessions survive interruptions without losing progress or budget accounting.