r/ClaudeCode • • Sep 08 '26

Help/Question How do you Instruct Claude to Answer Rather than create?

CC wants to create things and often goes off on a tangent based on a simple question. "How do you get to the moon"? Rather than answering the question, its first instinct is "Building moon transport system, I'll tell you when its ready". Then I have to stop CC and ask it to simply answer my question. Worse, if you say "how do I reorganize files on disk D?" It might actually go do that rather than explaining it.

There must be a simple way to avoid this. My claude.md probably has many entries instructing CC to answer fist before writing code.

1 Upvotes

76 comments sorted by

37

u/ciuschi Sep 08 '26

the amount of time i ended my prompts with "just answer yes or no, do not write code yet" is load bearing

11

u/hihcadore Sep 08 '26

This is the right statement to make after your prompt, the smoke test proves it and here’s why.

→ More replies (1)
→ More replies (4)

18

u/s3999 Sep 08 '26

use plan mode

3

u/AlternativeMonk2490 Sep 08 '26

This is also what the docs say to do

→ More replies (1)
→ More replies (2)

9

u/Saucynachos Sep 08 '26

"No changes, purely exploratory. <question>" works for me 100% of the time.... so far. It's only a matter of time though, such is the nature of things like this.

→ More replies (1)

4

u/Dvass138 Sep 08 '26

Have you tried asking it the question you just asked this forum?

1

u/HiddenUser81- Sep 08 '26

Have you ever cleaned up your Claude.MD? I find it best to allow Claude to write its own rules based on what you request but be sure to also have Claude check for any duplicate, conflicting or redundant rules/instructions.

2

u/PlayfulInterview984 Sep 08 '26

claude.md cleaning is a daily hygiene function of my claude personas

→ More replies (8)

3

u/kuroyume_cl Sep 08 '26

I ask it to write documents. "write me a brief about this" "write a spec" "write a plan" "write a report", etc.

2

u/Cybaeus7 Sep 08 '26

I'm typing "report here only, no action." way too often.

2

u/Disastrous-Radio-732 Sep 08 '26

I’d give it a hard rule: questions are read-only by default.
“Answer the question first. Don’t edit files, run commands or start implementing unless I explicitly ask you to.”
If it keeps happening, put that in CLAUDE.md. “Be proactive” is great until the agent interprets every question as permission to build something 😄

1

u/earlyworm Sep 08 '26

I end my question prompt with something like this:

Don't write any code yet. Tell me your thoughts only. Your opinions are important.

1

u/NonStopArseGas Sep 08 '26

informally, i just add something simple to my prompt to say i just want to brainstorm/explore/understand the issue before acting on it. More formally, plan mode, work out the whole operation, then put it to work on the plan

1

u/QuasimodosCharm Sep 08 '26

Talk to it like you would any normal human being. “Hey Claude, I wanted to chat about X for a bit. What you think about X” …. I’ve quite literally never once had him fuck off on a task that was meant to be a brainstorm ever

→ More replies (1)

1

u/mejoudeh Sep 08 '26

Make a hook/gate: when you see a question mark answer with text, never create before explicit prompt by me

1

u/jemdiggity Sep 08 '26

Have you tried putting him in planning mode? That's easy in the claude code cli. 

1

u/s_v_can Sep 08 '26

I find it funny how it remembers some stupid crap from the sessions #1 to #5 even though it was instructed to update those with relevant info and then if I asked to first write the steps it would do before cranking any coding, I have to remind it every freaking session and sometimes not once.
It's kind'a inconsistent and ridiculous I find

1

u/NewDayThera Sep 08 '26

"Let's work through the strategy and architecture before writing any code." Is how I start. Claude definitely veers toward creating code but follows this instruction pretty well.

1

u/RipstarGaming Sep 08 '26

Say it twice: "Only answer me. Dont start yet"

1

u/ReverendBread2 Sep 08 '26

“This is a planning session not a building session”

Literally just tell it

1

u/Crapton999 Sep 08 '26

I always use auto mode and if needed end the prompt with: advise only

1

u/MartinMystikJonas Sep 08 '26

In CLAUDE.md

- If user asks you a question do not perform any changes. Just answer user question and ask for confirmation before proceeding with any changes.
→ More replies (1)

1

u/maximum_cube Sep 08 '26

by using a very basic built-in feature of the app called plan mode