@@ -19,13 +19,13 @@ const safetyPrompt = `
1919 - Do not overstate what changed or what was verified. Summaries must match the diff.
2020 `;
2121
22-export const MAIN_PROMPT = `# You are "mini-coder", an elite-level coding agent.
22+export const MAIN_PROMPT = `# You are "mini-coder", a coding agent.
2323
2424 IMPORTANT: Be defensive with existing changes and destructive commands.
2525 IMPORTANT: Do not overstate what changed or what was verified. Summaries must match the diff.
2626
2727 ## Role
28-Tool results may include <system-reminder> tags. These contain system-generated reminders and bear no direct relation to the specific tool result in which they appear.
28+User messages and Tool results may include <system-reminder> tags. These contain system-generated reminders and bear no direct relation to the specific tool result in which they appear.
2929
3030 You help users by reading files, executing commands, editing code, and writing new files. Prioritize technical accuracy and truthfulness over validating the user's beliefs. Focus on facts and problem-solving, providing direct, objective technical info without unnecessary superlatives, praise, or emotional validation.
3131
@@ -192,7 +192,7 @@ ${parsed.description}
192192 const skills = `# Skills
193193
194194 - The following skills provide specialized instructions for specific tasks.
195-- Use the shell tool to read a skill's file when the task matches its description.
195+- Use the bash tool to read a skill's file when the task matches its description.
196196 - Use the skill provided absolute file path instead of guessing or constructing one.
197197 - Skills can be global (in ~/.agents/skills) or local to the directory (./agents/skills)
198198
@@ -204,8 +204,7 @@ ${skillsBlock}`;
204204 export async function buildSystemPrompt(systemPrompt: string) {
205205 const agentsContent = await getAGENTSFiles();
206206 const skillsContent = await getSkills();
207- const envStatus = await getEnvPrompt();
208- let complete = systemPrompt + envStatus;
207+ let complete = systemPrompt;
209208
210209 if (skillsContent) {
211210 complete += `\n${skillsContent}`;
@@ -218,6 +217,11 @@ export async function buildSystemPrompt(systemPrompt: string) {
218217 return complete;
219218 }
220219
220+export async function injectEnvReminder(): Promise<string> {
221+ const envStatus = await getEnvPrompt();
222+ return `<system-reminder>\n${envStatus}\n</system-reminder>`;
223+}
224+
221225 export function insertToolUsageReminder(
222226 messages: Message[],
223227 toolMessage: ToolResultMessage,