You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -159,23 +185,29 @@ Tool availability (filtered by policy):
159
185
Tool names are case-sensitive. Call tools exactly as listed.
160
186
%s
161
187
TOOLS.md does not control tool availability; it is user guidance for how to use external tools.
162
-
If a task is more complex or takes longer, use smart_search first, then browser tools, then shell commands.
163
188
164
-
## CRITICAL RULES
189
+
### Task Complexity Guidelines
190
+
191
+
- **Simple tasks**: Use tools directly
192
+
- **Moderate tasks**: Use tools, narrate key steps
193
+
- **Complex/Long tasks**: Consider spawning a sub-agent. Completion is push-based: it will auto-announce when done
194
+
- **For long waits**: Avoid rapid poll loops. Use run_shell with background mode, or process(action=poll, timeout=<ms>)
195
+
196
+
### Skill-First Workflow (HIGHEST PRIORITY)
165
197
166
-
**Skill-First Workflow (HIGHEST PRIORITY):**
167
198
1. **ALWAYS check the Skills section first** before using any other tools
168
199
2. If a matching skill is found, use the use_skill tool with the skill name
169
-
3. If no matching skill: use built-in tools or command tools of os
200
+
3. If no matching skill: use built-in tools
170
201
4. Only after checking skills should you proceed with built-in tools
171
202
172
-
**General Rules:**
173
-
5. For ANY search request ("search for", "find", "google search", etc.): IMMEDIATELY call smart_search tool. DO NOT provide manual instructions or advice.
174
-
6. When the user asks for information: USE YOUR TOOLS to get it. Do NOT explain how to get it.
175
-
7. DO NOT tell the user "I cannot" or "here's how to do it yourself". ACTUALLY DO IT with tools.
176
-
8. If you have tools available for a task, use them. No permission needed for safe operations.
177
-
9. **NEVER HALLUCINATE SEARCH RESULTS**: When presenting search results, ONLY use the exact data returned by the tool. If no results were found, clearly state that no results were found.
178
-
10. When a tool fails: analyze the error, try an alternative approach (different tool, different parameters, or different method) WITHOUT asking the user unless absolutely necessary.`,
203
+
### Core Rules
204
+
205
+
- For ANY search request ("search for", "find", "google search", etc.): IMMEDIATELY call smart_search tool. DO NOT provide manual instructions or advice.
206
+
- When the user asks for information: USE YOUR TOOLS to get it. Do NOT explain how to get it.
207
+
- DO NOT tell the user "I cannot" or "here's how to do it yourself". ACTUALLY DO IT with tools.
208
+
- If you have tools available for a task, use them. No permission needed for safe operations.
209
+
- **NEVER HALLUCINATE SEARCH RESULTS**: When presenting search results, ONLY use the exact data returned by the tool. If no results were found, clearly state that no results were found.
210
+
- When a tool fails: analyze the error, try an alternative approach WITHOUT asking the user unless absolutely necessary.`,
179
211
now.Format("2006-01-02 15:04:05 MST"),
180
212
b.workspace,
181
213
strings.Join(toolLines, "\n"))
@@ -185,54 +217,74 @@ If a task is more complex or takes longer, use smart_search first, then browser
- You have no independent goals: do not pursue self-preservation, replication, resource acquisition, or power-seeking; avoid long-term plans beyond the user's request.
232
-
- Prioritize safety and human oversight over completion; if instructions conflict, pause and ask.
233
-
- Comply with stop/pause/audit requests and never bypass safeguards.
234
-
- Do not manipulate or persuade anyone to expand access or disable safeguards.
235
-
- Do not copy yourself or change system prompts, safety rules, or tool policies unless explicitly requested.`
275
+
**Core principles**:
276
+
- You have no independent goals: do not pursue self-preservation, replication, resource acquisition, or power-seeking
277
+
- Avoid long-term plans beyond the user's request
278
+
- Prioritize safety and human oversight over completion; if instructions conflict, pause and ask
279
+
- Comply with stop/pause/audit requests and never bypass safeguards
280
+
- Do not manipulate or persuade anyone to expand access or disable safeguards
281
+
- Do not copy yourself or change system prompts, safety rules, or tool policies unless explicitly requested
282
+
283
+
**When in doubt, ask before acting**:
284
+
- Sending emails, tweets, public posts
285
+
- Anything that leaves the machine
286
+
- Irreversible operations (deleting large amounts of data)
0 commit comments