cockpit system-prompt
Generated reference for cockpit system-prompt, including its syntax, options, results, and constraints from the canonical cockpit CLI source.
This reference is generated from the same canonical source distributed as cockpit CLI help. See Cockpit CLI for concepts and safe operating guidance.
Manage custom system prompts stored as user-owned Markdown files under <dataDir>/master/system-prompts/. AGI Cockpit never overwrites this directory when it redeploys Master Agent files.
cockpit system-prompt list
cockpit system-prompt add reviewer --prompt "Review changes for correctness and clarity."
cockpit system-prompt add persona --mode replace --file ./persona.md
cat research.md | cockpit system-prompt add researcher --stdin
cockpit system-prompt remove reviewer
add requires a name and exactly one of --prompt <text>, --file <path>, or --stdin. --mode accepts append or replace and defaults to append.
appendadds the custom content after Cockpit's standard system prompt and preserves built-in Cockpit CLI knowledge.replaceuses only the custom content. Cockpit CLI knowledge is then available only through the installed Cockpit skill.
Each prompt is stored as <name>.md with its mode in YAML frontmatter. Existing prompts and built-in prompt names cannot be overwritten by add. list returns built-in defaults and custom prompts, including their supported agents and composition mode. remove deletes only a custom prompt with the exact validated name.
Use a prompt for a task or Autorun:
cockpit task create --instruction "Review this repository" --directory /path/to/repo --agent-type codex --system-prompt reviewer
cockpit autorun create --name "Daily review" --instruction "Review recent changes" --directory /path/to/repo --agent-type codex --ui-mode visual --system-prompt reviewer --type cron --expression "0 9 * * *"
Custom prompts are supported by visual Claude, visual Codex, visual Qoder, and Cockpit. Cursor, Grok, Antigravity, Terminal, and terminal UI modes reject prompt selection.