goal

goal is a command for coding agents from ashlrai/ashlr-plugin. It costs 25 tokens per session (482 once invoked), scanned A, original, MIT.

A command for registering an objective, breaking it into milestones, and running the next step in a sandbox. A sandbox is an isolated run whose proposed changes are not applied automatically.

In plain words
What is it for?
Use it for milestone planning, plan-only work, or a single direct objective against a repository. Review pending proposals through the ashlr inbox.
Why use it?
It lets you plan and preview work before accepting changes, reducing the risk of an automated run altering a project without review.

Command

Part of the ashlr plugin — 11 skills, 36 commands, 5 agents, 7 hooks, 1 MCP server shipped together

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.

agentmods
npx agentmods add commands/ashlrai/ashlr-plugin/goal
Clone the repo
git clone --depth 1 https://github.com/ashlrai/ashlr-plugin

Or install ashlr, the plugin that ships this one along with the rest of its 11 skills, 36 commands, 5 agents, 7 hooks, 1 MCP server.

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/ashlrai/ashlr-plugin/goal.svg)](https://agentmods.dev/commands/ashlrai/ashlr-plugin/goal)
Your own site
<a href="https://agentmods.dev/commands/ashlrai/ashlr-plugin/goal"><img src="https://agentmods.dev/badge/commands/ashlrai/ashlr-plugin/goal.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 482 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00025 $0.00482
Opus 5 $0.00013 $0.00241
Sonnet 5 $0.00005 $0.00096
Haiku 4.5 $0.00003 $0.00048

Measured 4d ago against content hash 7858599532ab, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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 · 59 lines

What it actually says

Registers an objective with the ashlr fleet, plans it into milestones, and runs the next one sandboxed — filing a PENDING inbox proposal. Nothing is applied until you review and accept via ashlr inbox.

Usage

/goal "<objective>" [--project <repo>] [--allow-cloud] [--plan-only] [--direct]

Flags:

  • --project <repo> — target repo path (required with --direct; optional otherwise)
  • --allow-cloud — permit cloud-tier backends for the sandboxed run
  • --plan-only — stop after milestone planning; do not advance yet
  • --direct — skip milestone decomposition; run the objective verbatim as a single sandboxed frontier-engine run (same dispatch path as the daemon). Requires --project.

Steps

If $ARGUMENTS is empty

Print the following and stop:

Usage: ashlr goal "<objective>" [--project <repo>] [--allow-cloud] [--plan-only] [--direct]

  Create a goal, plan it into milestones, and advance the next one as a
  sandboxed, PROPOSAL-ONLY run (review it via `ashlr inbox`). Routed across
  the polyglot backend roster by capability + trust tier.

  --direct  Skip milestone decomposition. Run the objective verbatim as a
            SINGLE sandboxed proposal-only frontier-engine run (same path as
            the daemon's non-builtin dispatch). Requires --project.
            Ideal for concrete tasks that need no Design->Implement->Test split.

Otherwise

Run the following Bash command and relay its output verbatim:

ashlr goal $ARGUMENTS

After the command completes, if a proposal ID appears in the output, relay it and add exactly one reminder line:

Review the proposal with ashlr inbox — nothing was applied to the working tree.

No preamble, no trailing summary beyond the above reminder.

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. 4d ago First seen · 59 lines · 25 tokens per session scan A 7858599532ab

Subscribe to this mod's changes

goal is a command published in the GitHub repository ashlrai/ashlr-plugin (3 stars, last pushed 4d ago), licensed MIT. It adds 25 tokens to every session and 482 once invoked, about $0.0001 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-08-31.