claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Ask Claude a Question Without Generating Code?

Open nullbio opened this issue 5 months ago • 2 comments

Is there a shortcut key to ask Claude a question without it generating code? It's a bit laboursome to have to type: "don't write code, just answer the question". Something like /ask perhaps? (Since /q is taken by "quit" already).

Or is there a way to set up my own macros like this, that can do something like:

Macro: "%s.\nPlease only answer as a question, don't write code." -> bind to: "ask" /ask "My question here."

nullbio avatar Jun 11 '25 12:06 nullbio

Try this:

Non-interactive: claude -p "question"

Reached avatar Jun 11 '25 12:06 Reached

I was primarily looking for interactive, but noted on the -p.

nullbio avatar Jun 11 '25 13:06 nullbio

Shift-tab to go into planning mode!

igorkofman avatar Jun 11 '25 20:06 igorkofman

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Aug 10 '25 14:08 github-actions[bot]