moai-foundation-context
About
This skill provides enterprise-grade context and session management with 200K token budget optimization and state persistence. It handles token allocation, session tracking, and multi-agent handoff protocols for complex workflows. Use it when building applications requiring robust session management and context optimization across interactions.
Quick Install
Claude Code
Recommendednpx skills add mattnigh/skills_collection -a claude-code/plugin add https://github.com/mattnigh/skills_collectiongit clone https://github.com/mattnigh/skills_collection.git ~/.claude/skills/moai-foundation-contextCopy and paste this command in Claude Code to install this skill
GitHub Repository
Frequently asked questions
What is the moai-foundation-context skill?
moai-foundation-context is a Claude Skill by mattnigh. Skills package instructions and resources that Claude loads on demand, so Claude can perform moai-foundation-context-related tasks without extra prompting.
How do I install moai-foundation-context?
Use the install commands on this page: add moai-foundation-context to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.
What category does moai-foundation-context belong to?
moai-foundation-context is in the foundation category, tagged foundation, enterprise, framework, context, session and budget.
Is moai-foundation-context free to use?
Yes. moai-foundation-context is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.
Related Skills
This skill provides patterns, templates, and best practices for developing Claude Code plugins. Use it when creating plugins, defining components like commands and hooks, or troubleshooting plugin issues. It covers essential structures including plugin manifests, agents, skills, and MCP/LSP configurations.
The moai-plugin-builder skill provides templates, patterns, and best practices for developing Claude Code plugins. Use it when creating plugins, defining components like commands and agents, or troubleshooting plugin issues. It covers essential structures including plugin manifests, MCP/LSP configurations, and directory organization.
This enterprise code quality orchestrator enforces development standards through TRUST 5 validation (Testable, Readable, Unified, Secured, Trackable). It proactively analyzes code to detect issues and provides automated improvement suggestions, integrating with Context7 for real-time best practices enforcement. Use it to systematically manage code quality gates and automate reviews within your development workflow.
This skill provides enterprise-grade context and session management with 200K token budget optimization, state persistence, and multi-agent handoff protocols. It's designed for long-running workflows, session initialization/cleanup, and managing context windows approaching limits. Developers should use it when orchestrating multi-agent systems or working with extended conversations requiring state tracking.
