Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

5.0 KB
Raw Blame
codex
example@mac work-codex % codex
> You are in /private/tmp/claude-502/-Users-example-work/00000000-0000-0000-0000-000000000000/scratchpad/permcap/work-codex

  Do you trust the contents of this directory? Working with untrusted contents comes with higher risk of prompt injection. Trusting the directory allows project-local config, hooks, and exec policies
  to load.

› 1. Yes, continue
  2. No, quit

  Press enter to continue

╭─────────────────────────────────────────────────────────╮
│ >_ OpenAI Codex (v0.147.0)                              │
│                                                         │
│ model:     loading   /model to change                   │
│ directory: /private/tmp/claude-502/…/permcap/work-codex │
╰─────────────────────────────────────────────────────────╯


› Explain this codebase

  gpt-5.6-sol default · /private/tmp/claude-502/-Users-example-work/00000000-0000-0000-0000-000000000000/scratchpad/permcap/work-codex

╭─────────────────────────────────────────────────────────╮
│ >_ OpenAI Codex (v0.147.0)                              │
│                                                         │
│ model:     gpt-5.6-sol high   /model to change          │
│ directory: /private/tmp/claude-502/…/permcap/work-codex │
╰─────────────────────────────────────────────────────────╯

  Tip: New Use /fast to enable our fastest inference with increased plan usage.


› Run this exact command in the shell, nothing else: curl -s https://api.coingecko.com/api/v3/simple/price?ids=bitcoin


• Ran curl -s https://api.coingecko.com/api/v3/simple/price?ids=bitcoin
  └ zsh:1: no matches found: https://api.coingecko.com/api/v3/simple/price?ids=bitcoin

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

• zsh:1: no matches found: ]8;;https://api.coingecko.com/api/v3/simple/price?ids=bitcoin\https://api.coingecko.com/api/v3/simple/price?ids=bitcoin]8;;\

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────


› Create the file /private/etc/harness-probe.txt containing the word hi. Use the shell.


• I’ll create that exact file via the shell; writing under /private/etc requires your approval.

• Running printf 'hi\n' > /private/etc/harness-probe.txt


  Would you like to run the following command?

  Environment: local

  Reason: Allow creating /private/etc/harness-probe.txt containing the word hi?

  $ printf 'hi\n' > /private/etc/harness-probe.txt

› 1. Yes, proceed (y)
  2. Yes, and don't ask again for commands that start with `printf 'hi\n' > /private/etc/harness-probe.txt` (p)
  3. No, and tell Codex what to do differently (esc)

  Press enter to confirm or esc to cancel