Adjust the tone, verbosity, and structure of responses; styles only stack instructions on top of the system prompt and do not change Qoder's core identity or safety constraints
Output styles adjust the tone, verbosity, and organization of Qoder CLI CN's responses. For example, you might want responses to be more concise, more instructional, or follow a particular structure. By selecting or customizing an output style, you can make Qoder's expression match personal or team habits without restating it in every conversation.
Output styles affect only "how things are expressed" — they do not change Qoder's core identity or safety constraints. A style can only stack additional instructions on top of the system prompt; it cannot replace or bypass the built-in behavioral guidelines.
The output style is specified with the
Writing it under
The flag applies to the current session only, takes precedence over the setting, and needs no restart. For all flags, see CLI Commands and Flags.
If the setting is unset, or set to the default style, Qoder uses its built-in default expression without stacking any style.
Output styles can come from multiple sources. When styles with the same name appear in multiple sources, they merge in this precedence, with later overriding earlier:
Beyond built-in and plugin-provided styles, you can define your own, solidifying frequently used expression preferences for reuse.
A custom style is a Markdown file (
After creating it, enable it by referencing its name via
Tips for writing custom styles:
How to set it
The output style is specified with the outputStyle setting (a top-level key), whose value is the style name:
general.outputStyle is also accepted; when both are set, the top-level key wins.
After changing outputStyle, Qoder CLI CN must be restarted for it to take effect.
To use a style temporarily, specify it at startup with the --output-style flag:
Style sources and precedence
Output styles can come from multiple sources. When styles with the same name appear in multiple sources, they merge in this precedence, with later overriding earlier:
- Built-in styles: preset styles shipped with Qoder CLI CN.
- Plugin-provided styles: styles declared by enabled plugins.
- User-level styles: styles from the user-level configuration.
- Project-level styles: styles from the project-level configuration.
outputStyle; if multiple forced styles exist, the first one takes effect and a notice is recorded.
Custom output styles
Beyond built-in and plugin-provided styles, you can define your own, solidifying frequently used expression preferences for reuse.
How to define
A custom style is a Markdown file (.md) placed in a designated directory, one style per file:
- User level:
~/.qoder-cn/output-styles/, effective for all projects. - Project level:
<project>/.qoder/output-styles/, effective for the current project only.
| Frontmatter field | Required | Description |
|---|---|---|
name | No | Style name; defaults to the file name (without .md). |
description | No | Style description; defaults to the first non-heading line of the body. |
outputStyle in settings (restart required). Plugin-provided styles are referenced with a plugin prefix, like plugin-name:style-name.
Writing advice
Tips for writing custom styles:
- Focus on expression: describe expression-level preferences like tone, verbosity, and structure — not task logic.
- Keep it lean: the style instruction is stacked onto the system prompt, and overly long ones consume context.
- Don't try to override safety constraints: styles can only extend expression; they cannot change Qoder's identity or safety guidelines.
Relationship to other mechanisms
- Versus the language setting:
languagecontrols the language of responses,outputStylecontrols how they are expressed; the two can be combined. - Versus project instructions: project instruction files (
AGENTS.md) describe "how to do things in this project" — project conventions; output styles describe "how to express things" — expression preferences. They serve different roles; see Memory. - Versus interface settings: output styles affect the response text itself, while interface themes and the status line affect the display layer; see Interface and Shortcuts.
Next steps
- Settings files and precedence: Settings Files and Precedence.
- Customize the interface and shortcuts: Interface and Shortcuts.
- Extend capabilities with plugins: Plugins.