goal-prompt
Drafts copy-ready /goal commands for goal mode in Claude Code and Codex: verifiable completion conditions with stop bounds, normalized to a single line under the 4,000-character cap.
Imported description, not reviewed yet
This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.
Download
Read this before you download
Talqeen never runs anything from this item. But what you download runs on your machine if you run it or let Claude Code run it, so read the files first.
- The item has script files.
Install
Plugins are installed from a plugin marketplace in Claude Code, not by copying files. Download the package to read its content and its license.
Instructions
goal-prompt
Turns a task description into a copy-paste-ready /goal command for goal mode in Claude Code or Codex.
What It Does
A goal prompt has to do two things at once: fit the format (/goal is a single line, max 4,000 characters in both harnesses) and actually terminate (goal mode keeps looping until the condition is judged met — a vague condition burns turns forever).
The skill:
- drafts the objective as a termination contract: measurable end state, scope to read first, the command that proves completion, invariants, explicit stop bound
- closes the easy-outs a lazy model would take: deleting code to silence a check, passing on a subset, gaming the gate
- keeps the goal small — every constraint narrows what the model can explore
- never invents missing elements — anything it cannot ground in your request or the repo comes back as a
Missing:warning - hardens security-audit goals against reward hacking, following trailofbits/codex-config
- formats deterministically to one line, warning on a missing stop clause and rejecting output over 4,000 characters instead of truncating
Example
User: turn this into a /goal command:
Migrate the auth module:
- replace legacyAuth() with auth.verify()
- make sure the tests still work
Assistant:
/goal All legacyAuth() call sites use auth.verify(): `rg "legacyAuth\(" -t ts` prints nothing AND `npm test` exits 0 (run both, show the output), without modifying vendor/ or weakening any test. If blocked, stop and report attempted paths and the blocker, or stop after 20 turns.
Components
skills/goal-prompt/SKILL.md— drafting checklist and output contractskills/goal-prompt/scripts/format_goal_prompt.py— stdlib-only formatter (--fenced,--objective-only,--max-chars)evals/— with/without-plugin ablation cases (claude plugin eval goal-prompt --ablation with-without)
Files
- folder.claude-plugin301 B
- plugin.json301 B
- folderevals22 KBscript
- foldereasy-out-closed4.2 KBscript
- foldergraders1.9 KB
- has-stop-clause.md125 B
- pairs-functional-proof.md978 B
- single-line-command.md863 B
- case.yaml1.1 KB
- scaffold.sh1.1 KBscript
- foldergrounded-migration4.2 KBscript
- foldergraders1.8 KB
- grounded-termination-contract.md848 B
- has-stop-clause.md125 B
- single-line-command.md863 B
- case.yaml1.1 KB
- scaffold.sh1.3 KBscript
- folderungrounded-vague4.1 KBscript
- foldergraders2.8 KB
- flags-the-gaps.md787 B
- no-invented-contract.md1.2 KB
- single-line-command.md863 B
- case.yaml999 B
- scaffold.sh318 Bscript
- .gitignore9 B
- README.md2.6 KB
- check_contamination.py3.3 KBscript
- test_check_contamination.py3.2 KBscript
- folderskills13 KBscript
- foldergoal-prompt13 KBscript
- folderagents185 B
- openai.yaml185 B
- folderscripts6.8 KBscript
- format_goal_prompt.py3.5 KBscript
- test_format_goal_prompt.py3.3 KBscript
- SKILL.md6 KB
- LICENSE20 KB
- README.md1.9 KB
What the automatic scan found
We scanned the files automatically when they were imported. This is what the scan pointed at. It does not mean the item is harmful, and it does not mean it is safe: read it yourself.
- Needs a lookA script file
In file plugins/goal-prompt/evals/check_contamination.py
Comments (0)
No comments yet. Be the first.
Sign in to comment. Commenting comes at level 1 (Member).