write-a-goal

write-a-goal is a skill for Claude Code, Codex from hamza-ali-shahjahan/hamzaish. It costs 72 tokens per session (1,263 once invoked), scanned A, original, MIT.

A goal-writing guide that turns a vague ambition into a measurable target with tests, limits, and a feasibility check.

In plain words
What is it for?
Use it to define a capability, choose a metric, set numeric evaluations, state acceptance rules, and record what is out of scope.
Why use it?
It helps expose goals that are impossible, unclear, or easy to game before work begins.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is Companion: [`meta/learning-loop-rubric.md`](../../../meta/learning-loop-rubric.md) (scoring what to.

Good fit Use it to define a capability, choose a metric, set numeric evaluations, state acceptance rules, and record what is out of scope.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/hamza-ali-shahjahan/hamzaish
agentmods
npx agentmods add skills/hamza-ali-shahjahan/hamzaish/write-a-goal

Made for: Claude Code, Codex.

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 write-a-goal

README.md
[![agentmods](https://agentmods.dev/badge/skills/hamza-ali-shahjahan/hamzaish/write-a-goal/github.svg)](https://agentmods.dev/skills/hamza-ali-shahjahan/hamzaish/write-a-goal)
Your own site
<a href="https://agentmods.dev/skills/hamza-ali-shahjahan/hamzaish/write-a-goal"><img src="https://agentmods.dev/badge/skills/hamza-ali-shahjahan/hamzaish/write-a-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 write-a-goal

Your own site · 80×15
<a href="https://agentmods.dev/skills/hamza-ali-shahjahan/hamzaish/write-a-goal"><img src="https://agentmods.dev/badge/skills/hamza-ali-shahjahan/hamzaish/write-a-goal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,263 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.00072 $0.01263
Opus 5.5 $0.00029 $0.00505
Sonnet 5.5 $0.00014 $0.00253
Haiku 4.5 $0.00007 $0.00126

Measured 3mo ago against content hash 67b9f9f437ba, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

write-a-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 3mo 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.

factory/skills/write-a-goal/SKILL.md · 78 lines

How it starts

The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/write-a-goal

Usage: /write-a-goal <the ambition, or what "good" looks like>

A goal you can't measure is a wish. A goal you can't reach is a trap. A goal a degenerate output can fake is a lie. This skill turns an ambition into a goal that /goal can autonomously pursue and a fresh-eyes agent can actually certify — and it refuses to hand you a target that's impossible or game-able.

The shape a good goal must clear

  1. Capability statement — one sentence: "Given X, the system does Y." Concrete, observable.
  2. The exact metric — the single thing measured, named precisely enough that two people would compute the same number (see Check A).
  3. ≥2 numeric evals — real test cases, each with a target number and how it's scored. One eval is an anecdote; two+ is a bar.
  4. Acceptance rule — when is it done? (e.g. "every eval ≥ target on a fresh run, confirmed by a fresh-eyes agent.")
  5. Non-goals — what this explicitly is not, so the loop doesn't gold-plate the wrong thing.

The two checks that make or break it (hard-won)

Check A — Pin the exact metric (kill vague percentages)

"Make it 99% similar" is meaningless until you answer similar HOW. The same artifact can score 20% or 95% depending on the measure. Force the choice:

  • Name the measure (e.g. visual SSIM on edge maps, not "looks the same"; structural token overlap, not "matches the design"; p95 latency, not "fast").
  • State how it's computed and what tool reports it.
  • If one number hides several things, split it (e.g. "fidelity" → visual + structural + copy).
  • Robustness clause: require the metric to resist gaming. Ask "what's the dumbest output that could score high?" — if a blank/empty/degenerate result can fake the target, the metric is broken; add a guard before you trust it.

Check B — Feasibility / ceiling check (don't set a trap)

Before committing the target, pressure-test it against what the architecture can actually reach:

  • What's the theoretical ceiling for this approach? (e.g. a small local model reconstructing from a text description can't pixel-match a real site — the inputs it's missing cap it far below 100%.)
  • Is the target inside that ceiling, with headroom? If not, say so plainly and propose a reachable target instead — never accept an impossible number silently.
  • Name the lever that would raise the ceiling (a different input, a different model class) vs. the levers that just optimize within it — so effort goes where it pays.

Read the full file on GitHub · 78 lines

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. 3mo ago First seen · 78 lines · 72 tokens per session scan A 67b9f9f437ba

Subscribe to this mod's changes

write-a-goal is a skill published in the GitHub repository hamza-ali-shahjahan/hamzaish (11 stars, last pushed 1mo ago), licensed MIT. It adds 72 tokens to every session and 1,263 once invoked, about $0.0003 per session on Opus 5.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.

Related

write-a-goal compared with skills from other repositories

write-a-goal next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
write-a-goalhamza-ali-shahjahan/hamzaishSkill111mo agoMITA72Claude Code, Codex
gingiris-launchGingiris/gingiris-launchSkill2157mo agoMITA326Claude Code, Codex
payments-polaralifanov/ai-garage-launchSkill23mo agoMITA53Claude Code
stack-referencealifanov/ai-garage-launchSkill23mo agoMITA67Claude Code
unit-economicsalifanov/ai-garage-launchSkill23mo agoMITA73Claude Code
make-playbooktamdogood/make-playbookSkill55mo agoMITA97Claude Code
traffic-channelsalifanov/ai-garage-launchSkill23mo agoMITA59Claude Code