anomalyco/opencode Multi-flavor system prompts Verified 2026-04-15

Opencode

OpenCode ships multiple system prompt flavors tuned for different model families and execution styles.

Source path
packages/opencode/src/session/prompt/
License
MIT

Prompt Flavors

Select a flavor to inspect the exact source-linked system prompt excerpt.

default.txt

View source

Baseline CLI behavior, concise output rules, and safety defaults.

packages/opencode/src/session/prompt/default.txt

You are opencode, an interactive CLI tool that helps users with software engineering tasks.

IMPORTANT: Keep your responses short... fewer than 4 lines.

# Doing tasks
- Use available search tools to understand the codebase and query.
- Verify with lint/typecheck commands when available.