moai-workflow-design-context

Load design briefs from .moai/design into MoAI workflow context with priority truncation.

4|4|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/modu-ai/moai-studio --skill moai-workflow-design-context
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-workflow-design-context
Source: https://github.com/modu-ai/moai-studio/tree/main/.claude/skills/moai-workflow-design-context
Command: npx skills add https://github.com/modu-ai/moai-studio --skill moai-workflow-design-context

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Loads human-authored design briefs from .moai/design/ (research, system, spec, pencil-plan) and injects them into /moai design workflow context with priority truncation when token budget is exceeded.

Core Features & Use Cases

  • Consolidates multiple design sources into a single, token-budget-aware context.
  • Applies priority-based truncation to preserve critical spec content while discarding less essential notes.
  • Triggers automatically during the /moai design workflow or can be invoked standalone with a directory override.

Quick Start

Load content from a specified .moai/design directory and inject it into the MoAI workflow design context.

Frequently Asked Questions about moai-workflow-design-context

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

FAQPage Schema
How do I inject design briefs into a workflow context without exceeding token limits?

Inject design briefs into a workflow context by loading files from a design directory and applying priority-based truncation. This approach preserves critical spec content while discarding less essential notes to stay within token budget limits.

How does priority-based truncation work when loading design context?

Priority-based truncation evaluates design sources like spec, system, and research files, preserving high-priority content while discarding less essential notes. This deterministic process ensures critical information remains available when the token budget is exceeded.

Can I load design briefs from a custom directory instead of the default path?

Yes, you can load design briefs from a custom directory by invoking the context loader standalone with a directory override. This bypasses the automatic workflow trigger, allowing targeted content assembly.

Do I need to manually configure token budgeting for design context assembly?

Manual token budget configuration is unnecessary because the context assembly implements config-driven token budgeting. It automatically applies truncation rules during batched parallel reads of design files to ensure deterministic operation.

What is the best way to consolidate research and spec files for downstream agents?

The best way to consolidate research and spec files is through batched parallel reads that assemble content into a single context. This method injects structured pencil-plan and system data into prompts for downstream agents.

Why does my design workflow context drop important spec details during injection?

Spec details drop during injection when token budgets are exceeded and truncation rules prioritize other content. Adjust the configuration to assign higher priority to spec files to prevent losing critical information.