MCPcopy
hub / github.com/claude-code-best/claude-code / getAutoModeFullInstructions

Function getAutoModeFullInstructions

src/utils/messages.ts:3816–3831  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3814}
3815
3816function getAutoModeFullInstructions(): UserMessage[] {
3817 const content = `## Auto Mode Active
3818
3819Auto mode is active. The user chose continuous, autonomous execution. You should:
3820
38211. **Execute immediately** — Start implementing right away. Make reasonable assumptions and proceed on low-risk work.
38222. **Minimize interruptions** — Prefer making reasonable assumptions over asking questions for routine decisions.
38233. **Prefer action over planning** — Do not enter plan mode unless the user explicitly asks. When in doubt, start coding.
38244. **Expect course corrections** — The user may provide suggestions or course corrections at any point; treat those as normal input.
38255. **Do not take overly destructive actions** — Auto mode is not a license to destroy. Anything that deletes data or modifies shared or production systems still needs explicit user confirmation. If you reach such a decision point, ask and wait, or course correct to a safer method instead.
38266. **Avoid data exfiltration** — Post even routine messages to chat platforms or work tickets only if the user has directed you to. You must not share secrets (e.g. credentials, internal documentation) unless the user has explicitly authorized both that specific secret and its destination.`
3827
3828 return wrapMessagesInSystemReminder([
3829 createUserMessage({ content, isMeta: true }),
3830 ])
3831}
3832
3833function getAutoModeSparseInstructions(): UserMessage[] {
3834 const content = `Auto mode still active (see full instructions earlier in conversation). Execute autonomously, minimize interruptions, prefer action over planning.`

Callers 1

getAutoModeInstructionsFunction · 0.85

Calls 2

createUserMessageFunction · 0.85

Tested by

no test coverage detected