Clones a repository, checks out a specific branch (optional), navigates to a specific folder (optional), and runs Codex with the given request.
clone_and_write_prompt
Clones a repository, reads the system prompt from .agent/system.md, parses modelId from .agent/agent.json, writes the request to a .prompt file, and invokes the Codex CLI with the extracted model.