goal-driven-execution
Transforms imperative instructions into declarative goals with verifiable success criteria. Enables autonomous looping until verified completion.
pinned to #f47f948updated 2 weeks ago
Ask your AI client: “install skills/goal-driven-execution”.
Requires the metahub MCP server installed in your client. Set up MCP.
mh install skills/goal-driven-executionmetahub onboarded this repo on the author's behalf.
If you own github.com/DevelopersGlobal/ai-agent-skills on GitHub, claim the listing to take over publishing. Your claim preserves the existing eval history and badges; only the curator label is replaced with verified-publisher on your next publish.
Stars
64
Last commit
2 weeks ago
Latest release
published
- #ai
- #ai-agents
- #antigravity
- #artificial-intelligence
- #claude
- #claude-code-plugin
- #claude-skills
- #codex
- #cursor
- #skills
Evaluation report
WarningsAutomated checks the publisher passed at publish time — structure, docs, safety, and whether the artifact behaves as claimed.f47f948· 2 weeks ago
Kind-specific
31Skill: SKILL.md present
found at skills/goal-driven-execution/SKILL.md · frontmatter source: SKILL.md
Skill: body content present
594 words · 3,572 chars · 11 sections
Skill: triggers declaredwarn
No `trigger` phrases in SKILL.md frontmatter
Add `trigger:` lines so Claude knows when to activate this skill — e.g. `when building MCP servers` or `for diagram creation`.
Skill: allowed-tools scope
no allowed-tools restriction (Claude may use anything)
Release history
1- releasecurrentf47f948warn2 weeks ago
Contents
Overview
Andrej Karpathy's key insight: "LLMs are exceptionally good at looping until they meet specific goals. Don't tell it what to do — give it success criteria and watch it go."
This skill converts vague imperative instructions ("make the login work") into declarative goals with concrete, testable success criteria. Agents with clear goals self-correct autonomously. Agents with vague goals produce vague results and require constant intervention.
When to Use
- Before starting any multi-step task
- When a task has been described imperatively ("do X, then Y, then Z")
- When you're unsure how you'll know when you're "done"
- For long-running or complex implementations
Process
Step 1: Extract the Underlying Goal
- Read the full request.
- Ask: What is the user trying to achieve, not just what they asked for?
- Write the goal as: "The task is complete when [observable, verifiable outcome]."
Example transformation:
- ❌ Imperative: "Add error handling to the API."
- ✅ Goal: "The task is complete when: all API endpoints return structured error responses for 4xx/5xx cases, error responses include a
code,message, andrequestId, and the existing tests pass."
Verify: The goal statement is observable and testable by a third party.
Step 2: Define Success Criteria
- List 3–7 specific, binary success criteria:
Success when: - [ ] All existing tests pass - [ ] New behavior X is demonstrated by test Y - [ ] No regressions in file Z - [ ] Manual check: [describe what to look for] - Each criterion must be falsifiable — you can clearly state when it passes or fails.
Verify: Every criterion can be checked without the original author.
Step 3: Define the Execution Plan
- Break the goal into ordered steps, each with its own verify check:
1. [Step] → verify: [command or check] 2. [Step] → verify: [command or check] 3. [Step] → verify: [command or check] - Identify the first failure mode — what's most likely to go wrong? Plan for it.
Verify: The plan is readable and each step is independently verifiable.
Step 4: Execute and Loop
- Follow the plan step-by-step.
- At each verify checkpoint — actually run the check. Do not skip.
- If a check fails: diagnose, fix, re-verify. Do not proceed past a failing check.
- When all checks pass: report completion with evidence.
Common Rationalizations (and Rebuttals)
| Excuse | Rebuttal |
|---|---|
| "The goal is obvious" | Obvious goals still need explicit success criteria. What's obvious to you is ambiguous to an agent. |
| "I'll know when it's done" | That's not a verifiable criterion. Write it down. |
| "The tests will tell me" | Which tests? What do they cover? What don't they cover? |
| "It's too simple for a plan" | Simple tasks rarely fail. Complex tasks without a plan always do. |
Red Flags
- The task is described as a to-do list, not a goal
- You don't know how you'll verify completion
- You're 80% through and realize the original framing was wrong
- "It seems to work" is your verification strategy
Verification
- Goal is stated as an observable, testable outcome
- Success criteria are listed and binary (pass/fail)
- Execution plan has verify steps for each phase
- All verify checks have been run (not just assumed passing)
- Evidence of completion is documented
References
Reviews
No reviews yet. Be the first.
Related
Planning With Files
Claude Code skill implementing Manus-style persistent markdown planning — the workflow pattern behind the $2B acquisition.
Guizang Ppt Skill
AI-agent Skill for generating polished HTML slide decks: editorial magazine and Swiss layouts, image prompts, social covers, and a WebGL/low-power presentation runtime.
orchestration-patterns
>
mh install skills/goal-driven-execution