360 Secure SkillHub
360 安全技能中心

Codex: Finish the Task

为 Codex 定义自主运行到底的行为规范:把用户最新指令视为执行许可,自行运行命令、编辑文件、轮询等待,并完成测试与验证;仅在破坏性、越权、缺少凭据等真实阻塞时停下,并说明阻塞点与下一步。

分类:自动化
vyctorbrzezowski
vyctorbrzezowski
热度 43.20
最近更新 2026-05-28 10:33:39

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add vyctorbrzezowski/codex-run-to-completion
兼容性
通用兼容
联网要求
联网要求未确认
数据出网
数据不出本机
Metadata
name
codex-run-to-completion
description
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 confirmacao", "nao trave", "nao pare", "rode ate o final", or wants Codex to self-manage terminal waits, sleep, polling, long-running commands, tests, builds, and verification instead of stopping for avoidable questions.

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.