Agent Goal Skill — Development skill for Claude Code
Claude Code skill that shapes rough goal descriptions into polished /goal prompts for Codex, Claude Code, Droid, Auggie, and any CLI agent.
How to install Agent Goal Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Dallionking/agent-goal-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Goal Skill does
Claude Code skill that shapes rough goal descriptions into polished /goal prompts for Codex, Claude Code, Droid, Auggie, and any CLI agent. The 5-block contract: Goal / Context / Constraints / Done when / On block. MIT.
Alternatives in Development
- Agent Of Empires — Manage multiple Claude Code, OpenCode agents from either TUI or Web for easy access on mobile 3.1k ★
- Discuss — Act as a planning interviewer 2.9k ★
- Ralphy — My Ralph Wiggum setup, an autonomous bash script that runs Claude Code, Codex, OpenCode, Cursor agent, Qwen & 2.8k ★
README
agent-goal-skill
**A Claude Code skill that turns rough goal descriptions into polished, doctrine-compliant agent prompts.**
Use it to shape `/goal` prompts for Codex, Claude Code, Droid, Auggie — any CLI agent that benefits from a structured goal contract.
🪞 Your Claude becomes a prompt shaper. Type a one-liner. Get back a tight, executable goal block ready to paste into any agent.
What problem this solves
Agent goal prompts fail in predictable ways:
- Verbose: 3 paragraphs of context the model derives from the codebase anyway
- Aspirational: "make the code clean" — not a binary criterion
- Under-constrained: no out-of-scope list, agent wanders
- No fail-fast clause: agent stalls on missing context, burns budget asking
- Wrong scope hints: token budget + sandbox level missing, agent picks badly
This skill enforces a **5-block doctrine** that closes all 5 failure modes. The shape is non-negotiable — what plugs into the blocks is what you bring.
The 5-block doctrine
Every shaped goal has exactly these blocks, in this order, with markdown headers:
# Goal — one-line verifiable outcome
# Context — facts the agent can't derive (paths, IDs, prior decisions)
# Constraints — hard rules + out-of-scope
# Done when — numbered binary criteria (shell commands ideal)
# On block — fail-fast clause + where to drop questions
Plus three out-of-band hints emitted alongside the block:
- Sandbox —
read-only | workspace-write | danger-full-access - Reasoning effort —
medium | high | xhigh - Token budget — sized to scope (~500K for single feature, ~5M for multi-day sprint)
Full doctrine: [`doctrine.md`](./doctrine.md).
Install
Claude Code
git clone https://github.com//agent-goal-skill.git ~/.claude/skills/agent-goal-skill
Restart Claude Code. The skill auto-registers — invoke via `/agent-goal-skill `.
Codex CLI
Related Skills
Real
An online prompt engineering tool designed to transform rough ideas into polished Veo 3 video-generation promp
Refine Prompt
Turn a rough idea, one-liner, or ticket into an execution-ready prompt file. Names the command to run it next,
HERO Anti OverDefense
HERO = Hashing · Edge cases · Rubrics · Overbuild — the four shapes coding agents over-defend in. A paste-in c
Directional Prompting
Outcome-first plus directional language. A two-layer skill for writing prompts, agent directives, and skill de
Coord Close
Close a row against its declared proof, or park/block with a durable resume contract.
Goal Loop
Pursue a developer-authored goal contract by iterating build -> verify -> refine until its verifiable criteria
Related Agents
Ensemble Curator
High-volume triage agent for external-AI-agent PRs (Codex, Jules, Hermes, Droid, Aider, etc.). Analyzes, conso
Brief Agent
Turns a rough design brief into a structured design spec covering screens, flows, components, interaction stat
Prompt Architect
AI image prompt engineering agent — takes rough ideas and crafts optimized master prompts for image generation