ollie/tools/reasoning_think

25 lines
858 B
Bash
Executable File

#!/usr/bin/env bash
# ollie:parallel read
# ollie:prompt
# ## reasoning_think
#
# Scratchpad for externalizing reasoning. Recorded in history but not shown to the user.
#
# **Trigger condition**: before acting on non-trivial tasks — complex problems, multi-step logic, decisions with trade-offs. Skip for simple single-step tasks.
#
# **Calling convention**:
# ```
# call_tool: calls=[{tool: "reasoning_think", args: ["your reasoning here"]}]
# ```
#
# **Returns**: nothing. The value is in writing the thought.
#
# **Constraints**:
# - One call per decision point.
# - Never call reasoning_think more than once before taking an action (tool call or response). Think, then act.
# - Keep under 200 words. State the decision and key tradeoffs, not stream-of-consciousness.
# ollie:end
[ -z "$*" ] && echo "usage: reasoning_think <thought>" && exit 1
exit 0