Agent skill

Mega Goal Prompt

by agentara in agentara/skills

Generate a /goal mega prompt for Claude Code or Codex CLI by interviewing the user about their task.

MITAuto-check passed

Install Mega Goal Prompt

skills CLI
$ npx skills add agentara/skills --skill mega-goal-prompt -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install agentara/skills mega-goal-prompt --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/agentara/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/productivity/mega-goal-prompt .claude/skills/mega-goal-prompt && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
mega-goal-prompt
GitHub stars
602
Token cost
~1.1k tokens
SKILL.md length
525 words
Files
2 (incl. references)
Skills in repo
20
Repo updated
First seen
Licence
MIT

At a glance

Generate a /goal mega prompt for Claude Code or Codex CLI by interviewing the user about their task.

  • The user wants to define a long-horizon autonomous goal — migration
  • SKILL.md covers The Mega Prompt Template, Interview Protocol, NEVER and When to Stop Interviewing, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Optimization loop

What it does

Mega Goal Prompt is an agent skill from agentara/skills. Generate a /goal mega prompt for Claude Code or Codex CLI by interviewing the user about their task. Use when the user wants to define a long-horizon autonomous goal — migration, refactor, feature build, optimization loop, test fixing, research project, learning system, or any task where the agent should run end-to-end without hand-holding. Trigger on: "help me write a goal", "I want Claude to keep working until...", "run this autonomously", "set a /goal", or any request that implies sustained agentic execution…

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/mega-prompt-template.md`).

The repository describes itself as: Original and practical skills for AI builders. The licence is MIT.

When your agent uses it

  • The user wants to define a long-horizon autonomous goal — migration
  • Optimization loop
  • Research project
  • Learning system

Example prompts

  • “help me write a goal”
  • “I want Claude to keep working until...”
  • “run this autonomously”
  • “/mega-goal-prompt”

What it can do on your machine

Read from SKILL.md and the folder at commit 950e1bf. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Mega Goal Prompt loads about 1.1k tokens when it runs, and up to ~1.8k if it reads all its reference files. Until then it costs about 197 tokens; SKILL.md has 525 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~197
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from agentara/skills at commit 950e1bf, republished under its MIT licence (© agentara). 525 words, ~1,060 tokens.

Download SKILL.mdSave it as .claude/skills/mega-goal-prompt/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
mega-goal-prompt
description
Generate a /goal mega prompt for Claude Code or Codex CLI by interviewing the user about their task. Use when the user wants to define a long-horizon autonomous goal — migration, refactor, feature build, optimization loop, test fixing, research project, learning system, or any task where the agent should run end-to-end without hand-holding. Trigger on: "help me write a goal", "I want Claude to keep working until...", "run this autonomously", "set a /goal", or any request that implies sustained agentic execution toward a non-trivial outcome. The skill conducts a structured interview (one question at a time) to extract outcome, context, success criteria, constraints, and quality bar — then outputs a filled-in mega prompt ready to paste into Claude Code or Codex.

Mega-Goal Prompt Generator

Interview the user about their task, one question at a time, until you have everything needed to fill in the /goal mega prompt template. Then output the completed prompt.

The Mega Prompt Template

Read references/mega-prompt-template.md to internalize the full template structure before starting. You will fill this in at the end.

Interview Protocol

Ask one question at a time. Wait for the answer before continuing. For each question, offer your own recommended answer based on what you know so far — the user can accept, tweak, or override it.

Work through these branches in order, but skip questions that are already answered from context:

Branch 1 — The Outcome

What is the single final outcome? What does "done" look like in one sentence?

This becomes the /goal line. It must be falsifiable — something the evaluator model can confirm from the transcript.

Branch 2 — Context

Fill in the CONTEXT block:

  • Project: what are you building?
  • Stack: languages, frameworks, infra?
  • Current state: what exists today — is this greenfield, or modifying existing code?
  • Working dir: path or repo name?
  • Constraints: anything off-limits, budget or time constraints?
  • Audience: who is this for?

Ask about context fields that are missing or ambiguous. If the user has described the project already, confirm rather than re-ask.

Branch 3 — Success Criteria

What are the 3–5 measurable conditions that must ALL be true for the goal to be met?

Each criterion must map to something the agent can produce as proof in the transcript (command output, file count, test result, URL). Push back on vague criteria like "it works" — ask what command proves it.

Branch 4 — Constraints and Off-Limits

What must the agent NOT do or touch?

  • Files or directories that must stay unchanged
  • Actions that require human approval (commits, deploys, etc.)
  • Any tool restrictions (no internet, no DB writes, etc.)
Show full SKILL.md (222 more words)Show less
Branch 5 — Quality Bar

Adjust the quality bar to fit the task:

  • Is there a UI? (if no, drop the design line)
  • What coding conventions matter?
  • Is this internal tooling or production-facing?
Branch 6 — Final Deliverable Proof

What should the agent produce at the end to confirm completion?

  • Default: test output + file list + how to run
  • Ask if a screenshot, URL, or specific artifact is needed

NEVER

  • NEVER ask multiple questions in one turn — one question, then wait.
  • NEVER accept "I'll figure that out later" — require a decision or explicitly mark it as an open question before moving on.
  • NEVER let the user redirect to implementation details before all branches are resolved.
  • NEVER output the mega prompt until all blocking branches (1, 2, 3) are resolved. Branches 4–6 can use sensible defaults if the user wants to move fast.

When to Stop Interviewing

Stop and output the prompt when:

  • Branches 1–3 are fully resolved, AND
  • The user says "go" / "looks good" / "that's enough", OR
  • You've asked about all branches and have reasonable answers for everything

Output

Once done interviewing, output the completed mega prompt as a code block, ready to paste directly into Claude Code or Codex CLI.

After the code block, add a one-line summary of any open questions or assumptions you made.


References

  • references/mega-prompt-template.md — the full template to fill in

© agentara, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/productivity/mega-goal-prompt of agentara/skills.

  • SKILL.md
  • references/mega-prompt-template.md

Open the folder on GitHubat commit 950e1bf

Compare with similar skills

Mega Goal Prompt next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Mega Goal Prompt compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mega Goal Prompt this skillagentara/skills602—~1.1kAutomated safety check: PassMIT
Goalscodewhale-hq/Codewhale41k—~273Automated safety check: PassMIT
Agent Goal Plannerruvnet/ruflo74k2 repos~842Automated safety check: PassMIT
Goal Planruvnet/ruflo74k—~807Automated safety check: NotesMIT
Goal Loopsickn33/agentic-awesome-skills47k1 repos~2.6kAutomated safety check: PassMIT
Agent Code Goal Plannerruvnet/ruflo74k2 repos~3.6kAutomated safety check: PassMIT

Similar skills

  • Goals

    codewhale-hq/Codewhale

    Set, review, and update the user's goals. An agent skill from codewhale-hq/Codewhale.

    41k GitHub stars~273 tokensUpdated today
    Auto-check passed
  • Agent Goal Planner

    ruvnet/ruflo

    Agent skill for goal-planner - invoke with $agent-goal-planner

    74k GitHub starsUsed in 2 repos~842 tokens
    Auto-check passed
  • Goal Plan

    ruvnet/ruflo

    Create and execute Goal-Oriented Action Plans (GOAP) with precondition analysis, cost optimization, and adaptive replanning

    74k GitHub stars~807 tokensUpdated yesterday
    Auto-check: notes
  • Goal Loop

    sickn33/agentic-awesome-skills

    Draft and explain persistent goal-loop prompts for long-running agent work with clear stop conditions.

    47k GitHub starsUsed in 1 repo~2.6k tokens
    Agent WorkflowsAuto-check passed
  • Agent skill for code-goal-planner - invoke with $agent-code-goal-planner

    74k GitHub starsUsed in 2 repos~3.6k tokens
    Agent WorkflowsAuto-check passed
  • Fable Goal

    alirezarezvani/claude-skills

    Convert a rambling description of a desired outcome into one polished, autonomous /goal prompt ready to paste into a fresh session.

    28k GitHub stars~2.4k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed

More from agentara/skills

All 20 skills in this repo
  • World Cup Predictor

    agentara/skills

    Predict FIFA World Cup matches, full tournament paths, and champion probabilities through Codex-native subagents that analyze live news, weather, injuries, markets, Polymarket, tactics, and…

    602 GitHub stars~1.9k tokensUpdated 10 days ago
    Auto-check passed
  • Presentation Design

    agentara/skills

    Generate a premium 6-slide presentation design board as one single composite image.

    602 GitHub stars~2.4k tokensUpdated 10 days ago
    Auto-check passed
  • Publish Research Site

    agentara/skills

    Turn a thesis, proposition, trend, question, or explainer topic into a citation-backed, image-rich, interactive website and deploy it with Vercel CLI.

    602 GitHub stars~1.9k tokensUpdated 10 days ago
    Auto-check passed
  • Portrait Clone

    agentara/skills

    Turn any n reference images (with at least one person) into one exhaustively locked, always de-slopped, JSON-only AIGC image prompt whose every variable is pinned so each generation is nearly…

    602 GitHub starsUsed in 1 repo~5k tokens
    Auto-check passed
  • Create AI image-generation prompts and image-generation workflows for torn-paper editorial collage style posters with layered ripped paper, rough typography, stamps, tape, stickers, cutout subjects…

    602 GitHub stars~1.3k tokensUpdated 10 days ago
    Auto-check passed
  • Article To HTML

    agentara/skills

    Render a markdown draft / any document in the conversation context into a single-file "paper proposal" HTML — serif body, monospace meta, numbered sections, inline SVG figures, callouts, tables…

    602 GitHub stars~1.7k tokensUpdated 10 days ago
    Auto-check passed

Questions about Mega Goal Prompt

What does Mega Goal Prompt do?

Generate a /goal mega prompt for Claude Code or Codex CLI by interviewing the user about their task. Mega Goal Prompt is an agent skill from agentara/skills. Generate a /goal mega prompt for Claude Code or Codex CLI by interviewing the user about their task.

When should I use Mega Goal Prompt?

Mega Goal Prompt fits situations like: the user wants to define a long-horizon autonomous goal — migration; optimization loop; research project; learning system.

How do I install Mega Goal Prompt in Claude Code?

Run `npx skills add agentara/skills --skill mega-goal-prompt -a claude-code`. Or copy the skill folder (skills/productivity/mega-goal-prompt in agentara/skills) into .claude/skills/mega-goal-prompt in your project. Claude Code loads it when a task matches its description.

How do I install Mega Goal Prompt in Codex?

Run `npx skills add agentara/skills --skill mega-goal-prompt -a codex`. Or copy the skill folder (skills/productivity/mega-goal-prompt in agentara/skills) into .agents/skills/mega-goal-prompt in your project. Codex loads it when a task matches its description.

Can I use Mega Goal Prompt in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add agentara/skills --skill mega-goal-prompt -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mega-goal-prompt, .gemini/skills/mega-goal-prompt, .github/skills/mega-goal-prompt and .opencode/skills/mega-goal-prompt in your project.

What does Mega Goal Prompt need to run?

SKILL.md names no scripts, command-line tools or credentials: Mega Goal Prompt is instructions for the agent only.

Does Mega Goal Prompt access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Mega Goal Prompt safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Mega Goal Prompt use?

Mega Goal Prompt is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mega Goal Prompt use?

About 1.1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 749 tokens, read only when the agent opens those files.

What are the alternatives to Mega Goal Prompt?

Skills that share tags, products or a category with Mega Goal Prompt: Goals (codewhale-hq/Codewhale, 41k stars), Agent Goal Planner (ruvnet/ruflo, 74k stars), Goal Plan (ruvnet/ruflo, 74k stars) and Goal Loop (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mega Goal Prompt?

agentara (a GitHub organization) maintains it in agentara/skills, which has 602 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on September 29, 2026.

Source: agentara/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.