Loading
A prompt mirrored from kekmodel/codex-system-prompts.
Recommended by author
This prompt takes no variables — just pick a model and run.
---
name: 'Tool: shell'
category: tool
codex_version: rust-v0.128.0-alpha.1
codex_commit: 8148b7b1f8660e464661743587f754471ae60868
source:
path: codex-rs/tools/src/local_tool.rs
kind: rust_toolspec_inline
reached_from:
- tools/src/local_tool.rs:185
tool_name: shell
cfg_branch: unix
extraction:
pass: 1.7
method: rust_toolspec_inline
variables: []
tokens:
o200k_base: 179
description: '`shell` ToolSpec.'
---
```json
{
"type": "function",
"name": "shell",
"description": "Runs a shell command and returns its output.\n- The arguments to `shell` will be passed to execvp(). Most terminal commands should be prefixed with [\"bash\", \"-lc\"].\n- Always set the `workdir` param when using the shell function. Do not use `cd` unless absolutely necessary.",
"parameters": {
"type": "object",
"properties": {
"workdir": {
"type": "string",
"description": "The working directory to execute the command in"
},
"timeout_ms": {
"type": "number",
"description": "The timeout for the command in milliseconds"
}
},
"additionalProperties": false
}
}
```Running prompts needs a free account.
Sign in and we'll stream the response from Claude Sonnet 4.6 right here — no config needed for the platform models.
A prompt mirrored from kekmodel/codex-system-prompts.
---
name: 'Tool: shell'
category: tool
codex_version: rust-v0.128.0-alpha.1
codex_commit: 8148b7b1f8660e464661743587f754471ae60868
source:
path: codex-rs/tools/src/local_tool.rs
kind: rust_toolspec_inline
reached_from:
- tools/src/local_tool.rs:185
tool_name: shell
cfg_branch: unix
extraction:
pass: 1.7
method: rust_toolspec_inline
variables: []
tokens:
o200k_base: 179
description: '`shell` ToolSpec.'
---
```json
{
"type": "function",
"name": "shell",
"description": "Runs a shell command and returns its output.\n- The arguments to `shell` will be passed to execvp(). Most terminal commands should be prefixed with [\"bash\", \"-lc\"].\n- Always set the `workdir` param when using the shell function. Do not use `cd` unless absolutely necessary.",
"parameters": {
"type": "object",
"properties": {
"workdir": {
"type": "string",
"description": "The working directory to execute the command in"
},
"timeout_ms": {
"type": "number",
"description": "The timeout for the command in milliseconds"
}
},
"additionalProperties": false
}
}
```