Agent Preset Modes in AI Coding Tools: A Practical Guide
This guide explains how Agent Preset modes solve context and capability orchestration challenges in AI coding tools. It covers four preset modes—minimal, standard, code, and cordis—along with their capability boundaries, slash command usage, task-based mode selection, team adoption as versioned engineering assets, and common pitfalls with tuning advice.
1. Why Agent Presets Are Needed
Once AI coding tools become part of daily development workflows, a common pattern emerges: with the same model and the same repository, results vary widely between users. The reason is usually not model capability but how context is organized and how capabilities are orchestrated. Enabling every capability at once leads to context bloat, noise, and slower responses; disabling everything makes multi-step tasks difficult to complete. The Agent Preset is a product-level answer to this tension: it packages a set of capability switches, instruction sets, and execution policies into a switchable operating profile.
A preset can be understood as a runtime configuration profile, similar to a build configuration at compile time: debug and release builds use the same source code, but optimization levels, assertions, and logging differ completely. The value of presets lies in making capability boundaries explicit, predictable, and reusable.
2. Four Preset Modes and Their Capability Boundaries
A cloud vendor’s AI coding tool ships with four presets that cover the full spectrum from minimal verification to complex engineering.
Minimal mode
Aimed at lightweight tasks such as single-line fixes, formatting, and minimal runnable verification, it is also suitable for checking whether a new Agent is usable. It deliberately does not enable context compression, retrieval augmentation, Skill extensions, task planning, or sub-Agent orchestration, retaining only the core goal declaration capability. Its design philosophy is to “reduce variables to the minimum,” making problem localization easier: when results are unexpected, you can be sure the deviation was not introduced by the compression strategy or subtask scheduling.Standard mode
The default profile, suitable for everyday coding, bug fixes, and understanding project structure. Compared with minimal mode, it adds instructions such as conversation compression, goals, and plans, maintains usable context in longer sessions, and breaks complex requirements into trackable steps.Code mode
Designed for large-scale retrieval, parallel reading, and multi-step automated processing, such as cross-module refactoring, batch migration, and repository-wide style unification. It emphasizes parallelism and throughput, making it suitable for scenarios that “read a lot and change broadly.”Cordis mode
Used to develop new presets or plugins, treating “capability orchestration” itself as the deliverable. It suits toolchain builders and platform engineering teams, turning team conventions into distributable configurations.
It is important to note that different presets support different commands. Standard, code, and cordis modes all support commands such as compression, goals, and plans; minimal mode retains only the goal command. This difference is not feature removal but intentional constraint design.
3. Slash Commands: Turning Capability Scheduling into Explicit Actions
Typing “/“ in the input box quickly selects a command or Skill. Its engineering significance is turning “implicit inference” into “explicit declaration,” reducing ambiguity. Example usage:
/goal Unify log field naming and add unit tests/plan/compact/skill code review checklist
Practical advice:
- Set the goal before the plan: the goal describes an “acceptable end state,” while the plan describes the “path.”
- Use compression for long sessions: when context approaches the window limit and answers start to lose focus, compress proactively, keeping conclusions and constraints while discarding process noise.
- Load Skills on demand: introduce only checklists relevant to the current task to avoid conflicting rules.
4. Selection Decisions: Matching the Profile to Task Complexity
A simple decision flow:
- Is the change smaller than a single file and requires no retrieval? Yes → minimal.
- Does it require cross-file understanding or bug localization? Yes → standard.
- Does it involve repository-wide retrieval, parallel processing, or batch changes? Yes → code.
- Is the goal to produce a new preset or plugin? Yes → cordis.
A common misconception is “always use the strongest profile.” More capabilities mean higher context usage and greater uncertainty; using minimal mode during minimal verification actually yields trustworthy conclusions faster.
5. Team Adoption: Treating Presets as Engineering Assets
Mature teams bring presets under version control and review and evolve them alongside the codebase. A team convention can be maintained (example):
preset: standardallow:- goal- plan- compactskills:- review-checklist- security-baseline
Key adoption points:
- Unify naming conventions to avoid a proliferation of personalized configurations;
- Route changes through review and record “why the capability boundary was adjusted”;
- Integrate with pipelines, fixing the same preset in continuous integration to ensure reproducible results;
- For cloud capabilities, use generic category expressions and integration methods, such as log services, monitoring and alerting, object storage, message queues, and container platforms, avoiding coupling to vendor-specific proprietary interfaces.
6. Common Pitfalls and a Tuning Checklist
- Context pollution: failure to compress long sessions in time causes the model to repeat old conclusions. Fix: compress periodically and restate constraints.
- Capability overload: enabling retrieval and sub-Agents for simple tasks increases latency and deviation. Fix: downgrade to minimal.
- Non-verifiable goals: writing a goal as “optimize it a bit.” Fix: change it to a measurable end state, such as “average API response time drops and all tests pass.”
- Skill conflicts: contradictory rules across multiple checklists. Fix: clarify priority and scope of applicability.
7. Conclusion
The essence of Agent Presets is turning the “complexity of human-AI collaboration” into a configurable, observable, and reusable engineering object. Understanding the boundaries of the four profiles—minimal, standard, code, and cordis—using slash commands for explicit scheduling, and bringing configurations into team assets is how to achieve a stable balance between efficiency and control. For teams looking to build a unified development process in cloud environments such as Baidu AI Cloud, this methodology applies equally: use generic capability categories as interfaces and presets as the orchestration layer, gradually accumulating your own efficient collaboration paradigm.
