Skip to content

Commit 9596ffe

Browse files
committed
Gimp the read-only-commander
1 parent f4e0984 commit 9596ffe

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.agents/read-only-commander.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,14 @@ const readOnlyCommander: SecretAgentDefinition = {
1212
prompt: {
1313
type: 'string',
1414
description:
15-
'The question to answer about the codebase or with use of the terminal.',
15+
'The commands to run with use of the terminal. Has no other context about the current task or project, so you must specify everything you want to be done and what information you want back.',
1616
},
1717
},
1818
outputMode: 'last_message',
19-
includeMessageHistory: true,
20-
inheritParentSystemPrompt: true,
21-
toolNames: ['run_terminal_command', 'code_search', 'read_files'],
22-
instructionsPrompt: `You are an expert software engineer, however you only execute READ ONLY commands to answer the user's question. You also cannot spawn any agents.
23-
24-
Use the tools to answer the user's question. But do not invoke any terminal commands that could have any permanent effects -- no editing files, no running scripts, no git commits, no installing packages, etc.`,
19+
includeMessageHistory: false,
20+
toolNames: ['run_terminal_command'],
21+
systemPrompt: `You are an expert software engineer, however you only execute READ ONLY terminal commands to answer the user's question. You also cannot spawn any agents.`,
22+
instructionsPrompt: `Use the run_terminal_command tool to answer the user's question. But do not invoke any terminal commands that could have any permanent effects -- no editing files, no running scripts, no git commits, no installing packages, etc.`,
2523
}
2624

2725
export default readOnlyCommander

0 commit comments

Comments
 (0)