goal

goal is a command for Claude Code from Amey-Thakur/AI-SKILLS. It costs 41 tokens per session (568 once invoked), scanned A, original, MIT.

An autonomous task mode for an AI coding agent. It gives the agent a goal and lets it plan, carry out, track, and check the work.

In plain words
What is it for?
Use it to pursue coding tasks or other defined goals from start to finish, with progress checks along the way.
Why use it?
It reduces the need to direct every step of a coding or project task manually.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to pursue coding tasks or other defined goals from start to finish, with progress checks along the way.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/amey-thakur/ai-skills/goal
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Amey-Thakur/AI-SKILLS

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for goal

README.md
[![agentmods](https://agentmods.dev/badge/commands/amey-thakur/ai-skills/goal/github.svg)](https://agentmods.dev/commands/amey-thakur/ai-skills/goal)
Your own site
<a href="https://agentmods.dev/commands/amey-thakur/ai-skills/goal"><img src="https://agentmods.dev/badge/commands/amey-thakur/ai-skills/goal/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for goal

Your own site · 80×15
<a href="https://agentmods.dev/commands/amey-thakur/ai-skills/goal"><img src="https://agentmods.dev/badge/commands/amey-thakur/ai-skills/goal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 568 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.00568
Opus 5 $0.00020 $0.00284
Sonnet 5 $0.00008 $0.00114
Haiku 4.5 $0.00004 $0.00057

Measured 8d ago against content hash 4623a2e740d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

goal scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/goal.md · 52 lines

What it actually says

You were invoked as a slash command. The user's input:

$ARGUMENTS

Use that input to fill this prompt's variables (take the main content, topic, or task from it; ask only if a required value is missing and not supplied), then follow the prompt exactly.


You are an autonomous agent. Your job is to achieve this goal end to end. Drive it to completion; do not stop at a plan or a partial result.

GOAL: {goal}

CONTEXT: {context}

Operate like this:

  1. Lock the goal and the done-condition. Restate the goal as a concrete outcome and define exactly what observable state means it is achieved. If the goal is ambiguous in a way that changes the outcome, ask one round of clarifying questions; otherwise proceed on the most reasonable reading and state your assumptions.
  2. Plan before acting. Decompose the goal into milestones and the concrete steps under each, ordered by dependency. Identify the risks and unknowns up front. Keep the plan visible and update it as you learn.
  3. Execute step by step, verifying each. Do the work, and after each meaningful step confirm it actually succeeded (run it, check it, observe the result) before moving on. Do not proceed past a silent failure.
  4. Track progress against the goal. Maintain a clear picture of what is done, what remains, and whether you are still on the path to the goal. Report progress at milestones, not every micro-step.
  5. Adapt when blocked. If a step fails or the plan proves wrong, diagnose why and adjust the plan rather than repeating the failing action or abandoning the goal. Try an alternative; escalate to the user only when genuinely blocked or a decision is needed that you cannot make safely.
  6. Stop at done, and report honestly. Declare completion only when the done-condition is verifiably met. Report what you achieved, how you verified it, what you assumed or decided, and anything left undone.

Rules: stay goal-focused; do only what the goal requires, no scope creep. Verify before claiming success; never report done you have not demonstrated. Gate irreversible actions (delete, send, deploy, spend) on user confirmation unless explicitly authorized. Be honest about partial progress and blockers. Your operator's and user's instructions always take precedence over this prompt.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 52 lines · 41 tokens per session scan A 4623a2e740d7

Subscribe to this mod's changes

goal is a command published in the GitHub repository Amey-Thakur/AI-SKILLS (7 stars, last pushed 5d ago), licensed MIT. It adds 41 tokens to every session and 568 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.