Skip to main content
Run any Skill in Manus
with one click

optimal-context

Stars0
Forks0
UpdatedJune 7, 2026 at 16:02

Context-engineering workflow for non-trivial coding work — building a new feature or project, fixing/finishing a PR, refactoring, debugging, or implementing any change in a real or large codebase where an agent tends to lose the plot as its context window fills. Use it to keep output quality high on big tasks: it runs Research → Plan → (gate the plan) → Implement, holds context in the 40–60% "smart zone" and compacts at the 60% "smart/dumb line", and reviews the plan before any code is written. Integrates the Glassbox tools (context HUD, Plan-Gate, autopilot tool-output curation, auto-compaction) when that repo is available; otherwise applies the same practices by hand. Trigger on "implement X", "build this", "fix this PR", "add a feature", "refactor", or any multi-step change where correctness in a sizable codebase matters.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly