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.
git clone --depth 1 https://github.com/hamza-ali-shahjahan/hamzaishnpx agentmods add skills/hamza-ali-shahjahan/hamzaish/write-a-goalWrote 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.
[](https://agentmods.dev/skills/hamza-ali-shahjahan/hamzaish/write-a-goal)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
- Capability statement — one sentence: "Given X, the system does Y." Concrete, observable.
- The exact metric — the single thing measured, named precisely enough that two people would compute the same number (see Check A).
- ≥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.
- Acceptance rule — when is it done? (e.g. "every eval ≥ target on a fresh run, confirmed by a fresh-eyes agent.")
- 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.
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.
- 3mo ago First seen · 78 lines · 72 tokens per session scan A 67b9f9f437ba
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.
write-a-goal compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| write-a-goalhamza-ali-shahjahan/hamzaish | Skill | 11 | 1mo ago | MIT | A | 72 | Claude Code, Codex |
| gingiris-launchGingiris/gingiris-launch | Skill | 215 | 7mo ago | MIT | A | 326 | Claude Code, Codex |
| payments-polaralifanov/ai-garage-launch | Skill | 2 | 3mo ago | MIT | A | 53 | Claude Code |
| stack-referencealifanov/ai-garage-launch | Skill | 2 | 3mo ago | MIT | A | 67 | Claude Code |
| unit-economicsalifanov/ai-garage-launch | Skill | 2 | 3mo ago | MIT | A | 73 | Claude Code |
| make-playbooktamdogood/make-playbook | Skill | 5 | 5mo ago | MIT | A | 97 | Claude Code |
| traffic-channelsalifanov/ai-garage-launch | Skill | 2 | 3mo ago | MIT | A | 59 | Claude Code |