MCPcopy
hub / github.com/Doorman11991/smallcode / getClarificationInstruction

Function getClarificationInstruction

src/session/clarify.js:54–61  ·  view source on GitHub ↗

* Generate a clarification prompt to inject into the system message. * Tells the model to ask ONE question and then immediately start working * based on its best interpretation — do not wait for confirmation.

()

Source from the content-addressed store, hash-verified

52 * based on its best interpretation — do not wait for confirmation.
53 */
54function getClarificationInstruction() {
55 return `The user's message is vague or very short. Do the following in a SINGLE response:
561. State what you THINK they want (your best interpretation, one sentence)
572. Ask ONE specific clarifying question
583. IMMEDIATELY start executing based on your best interpretation — do not wait for confirmation. Use tools now.
59
60You get exactly one question. Then you work. The user can correct you mid-task if needed.`;
61}
62
63module.exports = { needsClarification, getClarificationInstruction };

Callers 1

runAgentLoopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected