Coding

Codex: Finish the Task

Try it

Autonomous Codex run-to-completion workflow for low quota/cota situations. Use when the user asks for an uninterrupted agent run, says "nao me peca confirmac...

What it does

Autonomous Codex run-to-completion workflow for low quota/cota situations. Use when the user asks for an uninterrupted agent run, says "nao me peca confirmac...

The skill document

Codex Run to Completion

Operating Mode

Execute the requested task end to end. Treat the user's latest prompt as permission to make routine choices, run commands, edit files, wait for output, and verify results without asking for avoidable confirmations.

Rules

  • Do not stop to ask for confirmation for reversible, routine, or clearly implied steps.
  • Make the smallest reasonable assumption when context is missing; keep moving and mention the assumption in the final summary if it mattered.
  • Self-manage long waits in the terminal. Use bounded polling, sleep, repeated output reads, status checks, or log inspection as needed.
  • Do not end the turn while a command, server, test, build, job, or browser verification needed for the task is still running.
  • Prefer targeted reads and focused commands. Low quota/cota means conserve context and tool calls, not stop early.
  • Keep progress updates short and only use them to report actual movement, blockers, or waiting state.
  • Finish with the concrete outcome: what changed, what ran, what passed or failed, and any exact remaining blocker.

Real Blockers

Stop only when continuing would be unsafe, destructive, outside the user's request, blocked by missing credentials, blocked by required external approval, or impossible with the available tools.

When blocked, do not ask a broad question. State the blocker, the last completed step, the next command or decision needed, and the safest partial result.

Confirmation Policy

Proceed without asking when the action is normal for the task:

  • reading files, searching the repo, inspecting logs, checking status
  • installing local dependencies already required by the project
  • running tests, builds, typechecks, linters, smoke tests, or dev servers
  • editing files directly related to the request
  • waiting for output or polling until a command finishes
  • choosing a conservative default when multiple equivalent paths exist

Ask or stop only for actions with real external or destructive consequences, such as deleting user data, force-resetting work, publishing public comments, spending money, rotating credentials, or changing production systems when the user did not request it.

Related skills

Delegate coding, repository analysis, file edits, test runs, or code review to the local Codex CLI without embedding an OpenAI API key. This skill was created to work with ChatGPT/Codex enterprise accounts that may not have the same level of API access. Invokes codex exec with existing ChatGPT/Codex CLI authentication and returns Codex's final output.

6 installs1 stars

Export a Codex session JSONL from ~/.codex/sessions into a clean Markdown transcript in ~/Documents/Exports. Use when the user wants to export, save, or conv...

14 installs1 stars

Configure, repair, and validate agentmemory integration for Codex App on Windows. Use when Codex needs to set up agentmemory hooks, fix Windows PowerShell ho...

17 installs

Use when Codex must run or review deep, source-backed research as a Codex-native workflow: local/web evidence separation, tool-limit disclosure, source and c...

1 installs

Summarize Codex token usage from local Codex Desktop or CLI session JSONL logs. Use when the user asks to count, audit, total, compare, or report Codex/OpenA...

5 installs1 stars

Export a Codex CLI or Codex Desktop (App) session to Markdown, HTML, or Obsidian notes. Use when the user asks to export, save, share, or review a past chat, session, or transcript. Supports --brief, --redact, --since/--until, --grep, --append (incremental), --interactive (message picker), --sessions (merge), --watch (auto-incremental), and --list. Works with both Codex CLI and Codex Desktop app sessions.