context-minimizer

Assemble an inline Markdown dispatch bundle with governance and artifact inputs.

Updated Apr 17, 2026
One-click install
npx skills add https://github.com/KingSharkG/ai-agents-workflow --skill context-minimizer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-minimizer
Source: https://github.com/KingSharkG/ai-agents-workflow/tree/main/skills/context-minimizer
Command: npx skills add https://github.com/KingSharkG/ai-agents-workflow --skill context-minimizer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Automatically generate a single inline dispatch bundle that contains governance, domain context, and artifact inputs for the target agent.

Core Features & Use Cases

This skill assembles a per-dispatch, inline Markdown bundle that includes the Role Contract block, project context sections, governance excerpts, and artifact inputs, delivering a self-contained payload for the task prompt. It ensures the bundle respects token ceilings and is embedded directly in the Task prompt, eliminating the need for pre-dispatch file reads. It supports per-role bundle assembly using the project context cache when available and gracefully falls back to live extraction from PROJECT_CONFIG.md when necessary.

Quick Start

Generate an inline dispatch bundle for the next subtask and attach it to the Task prompt.

Frequently Asked Questions about context-minimizer

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

FAQPage Schema
How do I generate an inline dispatch bundle for agent prompts?

To generate an inline dispatch bundle, assemble a self-contained Markdown payload containing role contracts, governance excerpts, and artifact inputs directly into the task prompt. This eliminates pre-dispatch file reads by embedding all necessary context inline.

What is the best way to pass project context to a target agent without exceeding token ceilings?

Passing project context safely requires assembling a per-dispatch bundle that respects token ceilings and embeds directly into the task prompt. It uses the project context cache and falls back to live extraction from PROJECT_CONFIG.md as needed.

How does project context cache work during task dispatch across roles?

Project context cache works during task dispatch by providing pre-assembled domain context for per-role bundle assembly. When the cache is unavailable, the system gracefully falls back to live extraction from PROJECT_CONFIG.md to ensure the target agent receives context.

Do I need a PROJECT_CONFIG.md file to assemble governance and domain context for task prompts?

You need a PROJECT_CONFIG.md file to assemble governance and domain context when the project context cache is unavailable. The system uses this live extraction fallback mechanism to read role contracts and ensure the inline dispatch bundle contains required artifacts.

Can I include role contracts and governance excerpts in a single inline Markdown payload?

Yes, you can include role contracts and governance excerpts in a single inline Markdown payload. The dispatch bundle assembles these components alongside project context sections and artifact inputs, creating a self-contained payload embedded directly in the task prompt.

Why use inline dispatch bundles instead of pre-dispatch file reads for AI workflow orchestration?

Inline dispatch bundles replace pre-dispatch file reads by embedding governance, domain context, and artifact inputs directly into the task prompt. This ensures the target agent receives a self-contained payload that fits within token ceilings during AI workflow orchestration.