Install
$ agentstack add skill-waitdeadai-minmaxing-goal-mode ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
/goal-mode
Diagnose native Claude Code /goal readiness and safe harness usage for:
$ARGUMENTS
Claude Code /goal is a native session-scoped continuation command. In this harness, /goal-mode is a readiness, troubleshooting, and effectiveness route only. It does not set a live goal, does not run claude -p, does not start Remote Control, does not open Agent View, and does not dispatch claude --bg.
Use the native command manually inside Claude Code:
/goal
/goal
/goal clear
Do not create .claude/skills/goal/SKILL.md: that would risk shadowing or confusing the native Claude Code /goal command.
Native Boundary
Native /goal is separate from:
/opusworkflow: the governed mutating workflow./goalmay continue a
bounded session, but it does not replace research, code audit, SPEC.md, /specqa, /introspect, /verify, or release gates.
/workflow: the underlying lifecycle and explicit fallback./goalis not a
lifecycle, artifact format, or closeout policy.
/parallel: packet orchestration./goalcan be used inside an already-owned
packet, but it does not satisfy packet DAG, ownership matrix, sidecar, aggregation, parent verification, or sync-barrier requirements.
/hive: role coordination./goaldoes not provide queen/supervisor,
blackboard, dissent log, synthesis, or hive aggregation.
/agent-view: an operator TUI for background sessions. Agent View can monitor
independent sessions where the operator manually uses /goal, but Agent View plus /goal is still not /parallel.
/remote-control: a web/mobile access surface for a local session. Remote
Control plus /goal is not cloud durability or CI.
- Subagents and Agent View background sessions: subagents report back to a
parent conversation; Agent View sessions report to the operator. /goal changes neither reporting path.
- Stop hooks: official docs describe
/goalas a wrapper around a
session-scoped prompt-based Stop hook. Harness command hooks and release gates remain the deterministic enforcement layer.
Effectiveness Yield Policy
/goal increases persistence, not correctness. It can keep Claude working across turns, but the goal evaluator is not an independent verifier. Parent verification and command evidence still decide whether the work is done.
High-yield pattern:
main harness session = planner, supervisor, verifier
native /goal = bounded continuation inside one Claude Code session
existing scripts = real pass/fail evidence
parent closeout = command evidence plus repo-state verification
Use /goal only when the harness already knows the acceptance checks and wants Claude Code to keep iterating until those checks are shown in the transcript.
Safe template:
/goal bash scripts/release-check.sh --static-only exits 0 and git diff --check exits 0, or stop after 6 turns with a blocker summary
Goal Assist Prompt Pattern
Goal Assist is the harness pattern for composing copy-paste native /goal conditions after /opusworkflow has already reached a concrete, repairable gate. It is not a runner. It must not set /goal, run claude -p, open Remote Control, open Agent View, dispatch claude --bg, read transcripts, or claim runtime proof.
Goal Assist may only produce native /goal text when the failed gate is deterministic and already known. Required fields:
- failed gate or exact command
- owned scope
- forbidden paths/actions
- transcript evidence required
- stop bound
- blocker-summary fallback
- parent verification command
Canonical shape:
Goal Assist:
Status: suggest_only
Failed gate:
Owned scope:
Forbidden: .env, .env.*, .claude/*.local.json, secrets/**, deploy/push/ship, unrelated files
Evidence required: command output and exit status shown in transcript
Stop bound: stop after turns with blocker summary
Parent verification: rerun before closeout
/goal exit 0 and is shown, without touching , or stop after turns with a blocker summary
Eligibility states:
not_eligible: missing research/audit/spec/estimate, missing or failed
/specqa, missing /introspect, provider identity proof, secrets/customer data, deploy/push/ship, approval waits, security-policy failures, shared-file parallel edits, or broad "production ready" goals.
suggest_only: a deterministic gate exists but runtime is unproven, the CLI
is below the observed launch baseline, bypassPermissions risk exists, or operator approval is needed. This is the default local state until runtime is manually proven.
eligible_bounded: exact failed command, owned scope, forbidden paths, stop
bound, transcript evidence, and parent verification are all present. The harness still emits only a copy-paste template.
Other good uses:
- keep repairing until
bash scripts/hook-smoke.sh,
bash scripts/security-smoke.sh, and git diff --check pass, or stop after a named turn limit
- keep a single isolated packet focused until its required artifact and tests
exist
- use inside an Agent View background session only when the packet has owned
files/worktree, forbidden paths, expected artifact, stop bound, and parent verification
Bad uses:
- broad product building with no
SPEC.md - "make it production ready" or "fix everything" without measurable checks,
stop bounds, forbidden files, and evidence requirements
- shared-file parallel edits
- secrets or customer data work
- deploy, push, or ship decisions
- replacing
/specqa,/introspect,/verify, release checks, provider
identity proof, or CI
- unattended trusted-local
bypassPermissionsloops against the real repo
Prerequisites
- Official
/goaldocs do not state a/goal-specific minimum version. - The observed launch evidence and Agent View minimum point to Claude Code
2.1.139+; until this machine is updated and manually proven, runtime /goal remains local-runtime-unproven.
- Runtime
/goalneeds hooks available and workspace trust accepted. disableAllHooksblocks the native hook mechanism that/goalrelies on.claude -p "/goal ..."works according to official docs, but the harness
treats it as manual/authenticated runtime only, never static CI proof.
--max-turnsand--no-session-persistenceare required for any later
disposable runtime smoke.
- This repo defaults to trusted-local
bypassPermissions; unattended/goal
loops in the real repo are high-risk unless the operator explicitly accepts that authority.
Checks
Run the static doctor:
bash scripts/goal-mode-doctor.sh --static --json
Run the fixture gate:
bash scripts/goal-mode-smoke.sh --fixtures
These checks do not set /goal, do not run claude -p, do not start Remote Control, do not open Agent View, do not dispatch background sessions, do not read ~/.claude/jobs, do not inspect transcripts, and do not prove paid-account runtime availability. They only prove that the committed harness documents and validates native /goal safely.
Manual Runtime Evidence
After updating Claude Code, use only a disposable temp workspace with no secrets for runtime smoke:
claude --version
claude -p --max-turns 2 --no-session-persistence "/goal "
Do not run runtime smoke in the real repo, with Remote Control, with Agent View, with --bg, or with bypassPermissions. Report the result as manual runtime evidence, never as CI/static proof.
Static Artifact
scripts/goal-mode-doctor.sh --static --json emits:
{
"artifact_type": "goal-mode-readiness",
"native_claude_code_goal": true,
"runtime_goal_started": false,
"runtime_goal_proof_status": "blocked_by_cli_version",
"official_minimum_required_version": null,
"minimum_observed_launch_version": "2.1.139",
"operator_boundary": "manual_or_bounded_runtime_only"
}
Allowed runtime_goal_proof_status values:
blocked_by_cli_versionnot_run_static_onlyready_static_onlylocal_runtime_unproven
Static artifacts must not claim that /goal was set, that claude -p ran, that Remote Control or Agent View opened, that a paid Claude account connected, or that a goal evaluator verified repo state.
Anti-Patterns
- Creating
.claude/skills/goal/SKILL.md. - Treating
/goalas/opusworkflow,/workflow,/parallel,/hive, or
/verify.
- Claiming the evaluator ran tests, read files, inspected diffs, or proved CI.
- Claiming
claude -p "/goal ..."is CI-safe by default. - Running a real-repo
/goalloop with no stop bound, no command evidence, and
bypassPermissions.
- Claiming Goal Assist passed, verified repo state, or satisfied
/verify
without parent command evidence.
- Treating Agent View rows or a
/goalsuccess message as parent-verified
worker results.
- Reading
.env, local Claude settings,~/.claude/jobs, transcripts, or
private session state for static readiness.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: waitdeadai
- Source: waitdeadai/minmaxing
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.