skills/high-confidence-changes/SKILL.md
Drive work end-to-end only when the required decisions are high confidence or very high confidence. Investigate deeply first, act autonomously on high-confidence changes or no-change conclusions, and defer medium/low-confidence decisions to the user.
npx skillsauth add olliecrow/codex high-confidence-changesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
rg -> find/grep, python -> python3, alternate repo-native scripts).plan/, ensure required plan directories exist before reading/writing them (create when edits are allowed; otherwise use an in-memory fallback and call it out).investigate -> confidence gate -> plan -> implement -> verify -> battletest -> organise-docs -> git-commit -> re-review.organise-docs frequently during execution to capture durable decisions and learnings, not only at the end.git-commit when changes are commit-eligible, checks are green, and repo policy permits commits.docs/ accurate and up to date, and promote durable learnings and decisions from work into docs.git-commit to create a small logical checkpoint commit once relevant checks are green and repo policy permits commits.organise-docs whenever durable learnings/decisions appear, and prune stale plan/ scratch artifacts.The skill is complete only when all of the following are true:
blocked with concrete blocker evidence.very-high-confidence, high-confidence, medium-confidence, low-confidence, or not-applicable, with brief evidence.done, blocked, or not-applicable, with brief evidence before advancing.high-confidence or very-high-confidence action in scope is executed end-to-end, or explicitly marked blocked with evidence.medium-confidence or low-confidence item is either investigated further until confidence improves or deferred to the user with the exact blocker.high-confidence next step remains under the current objective.Stop only after this terminal contract is satisfied; otherwise continue iterating.
done: all material decisions are confidence-rated, all high-confidence actions are completed and verified, and all sub-high-confidence items are explicitly deferred or closed.blocked: progress cannot continue after bounded retries because required confidence cannot be established or a dependency/access issue prevents verification; blocker evidence and exact unblock action are reported.not-applicable: a possible change path is explicitly ruled out because high-confidence review showed no change is warranted.Use this skill when the user wants Codex to act only on changes that are justified with high confidence. The skill is not "make more changes"; it is "make only the right changes when confidence is strong enough, and otherwise keep investigating or defer."
This includes the possibility that the highest-confidence outcome is to make no change at all. Treat a confident no-op as a valid successful result, not as an incomplete attempt.
Prefer empirical investigation, real data, real runs, and realistic user-perspective battle testing whenever feasible. Avoid mock or stub data unless there is no practical alternative; if you must use non-real data, explain why and what risk it introduces.
Before acting on any material decision, evaluate all of these gates:
Assign confidence using this rubric:
very-high-confidence: all six gates pass strongly, evidence is direct, contradictions are absent or resolved, and the verification path is concrete.high-confidence: all six gates pass, with only minor non-material uncertainty remaining.medium-confidence: one or more gates are only partially satisfied, evidence is indirect/conflicting, or material uncertainty remains.low-confidence: multiple gates fail, the change is speculative, or the consequences of being wrong are not understood.Action rule:
high-confidence or very-high-confidence decisions.medium-confidence or low-confidence decisions.high-confidence, investigate further first.high-confidence, stop and defer that decision to the user.cwd, verify required tools with command -v, and verify referenced files/directories exist before reading or searching them.When a decision is required, always provide:
If no decision is required, say so explicitly and continue.
When you make or reject a change, capture the "why" in a durable place (code comments, docs, ADR, or tests) when the reasoning is non-obvious. Do not rely only on plan/ scratch notes. In your report, mention where the rationale was recorded.
plan/ as short-term scratch and never commit it.plan/ is missing, create it (and any needed subdirs) only when edits are permitted; otherwise keep a lightweight in-memory log and state in the report that plan logging was not persisted.docs/ as long-lived, evergreen guidance; prefer updating existing docs when they have a clear home, but create new focused docs/subdirectories when it improves navigability (and link them from related docs or indexes).docs/decisions.md is missing, prefer using the setup skill to create it when allowed. If you cannot create docs, capture rationale in the smallest durable local place (code comments or tests) and call out the missing decision doc in the report.Use this skill when the user asks for:
high confidence changesonly make high-confidence changesinvestigate until confident, then actdo it only if confidence is highkeep going until you are highly confidentmake the changes you are very confident aboutUse these copy-paste templates:
[$high-confidence-changes] investigate deeply, act only on high-confidence decisions, and defer anything below high confidence.[$high-confidence-changes] treat no-change as a valid outcome, but fully execute and verify any high-confidence change end-to-end.[$high-confidence-changes] build confidence with real evidence, then plan, implement, verify, validate, and battle-test any high-confidence action.Preflight and framing:
cwd, available tools, relevant paths, and execution constraints.plan/current/ when useful; keep it untracked.Build the decision register:
Investigate until confidence is earned:
high-confidence/very-high-confidence or clearly blocked below that threshold.high-confidence and stop work on that branch.Act only on high-confidence decisions:
high-confidence or very-high-confidence decision, make the smallest correct plan and execute it fully.plan -> implement -> verify -> battletest sequencing instead of ad-hoc edits.Verify, validate, and battle-test:
high-confidence, treat that as an active signal to re-open investigation rather than forcing the change through.Close the loop:
high-confidence actions and execute them.high-confidence after reasonable investigation.Report:
medium-confidence and low-confidence decisions with the exact missing evidence or blocking tradeoff.When this skill is triggered, compose other skills as needed:
investigate to build confidence when the current state is unclear.plan when substantial work needs an execution-ready spec.execute to carry an approved high-confidence plan through completion.verify for targeted correctness checks.battletest for broader user-perspective and edge-case validation.organise-docs and git-commit at meaningful milestones.If there is a conflict, the confidence gate in this skill wins: do not act on sub-high-confidence decisions just because another skill would normally continue.
data-ai
Use automatically for Sentinel repo sessions, trading research questions, market/company/ticker/source questions, or any request that should use Sentinel's read-only data sources and reference context. Enforces Sentinel's high-confidence, read-only, no-local-query-trace research posture.
documentation
Compact the current conversation into a handoff document for another agent to pick up.
tools
Run the Codex custom review feature from the CLI for arbitrary review instructions. Use when the user asks to use /review, custom review, or Codex review without tying the review to commits, uncommitted changes, or a base branch; prefer multicodex exec review with no explicit account and fall back to codex exec review only when multicodex is unavailable.
tools
Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).