From AFK
Use when the user asks to write, refine, draft, or validate a /goal, completion condition, objective, success criteria, definition of done, or bounded outcome for long-running agent work
How this skill is triggered — by the user, by Claude, or both
Slash command
/afk:write-good-goalThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Turn the user's intent into a concrete `/goal` condition.
Turn the user's intent into a concrete /goal condition.
Core principle: write the goal text only. Do not start the goal, run /goal,
or begin implementation unless the user explicitly approves the final wording
and asks you to set it.
This skill shapes the /goal wording — nothing more. Do not use it to interview
a vague feature into a plan (that is afk:grill) or to do the work the goal
describes. Reach for it when an objective needs to become a single,
transcript-checkable completion condition before a long-running run.
agent-browser when the app can be run
locally and the outcome is user-visible. For backend, CLI, library, or docs
work, prefer the narrow contract, test, build, or artifact proof that best
matches the change.Use this structure:
Achieve [specific outcome]. Prove it by [verification]. Preserve [constraints]. Stop if [limit].
If a shorter form is clearer, keep the same information but remove labels.
Ask one to three focused questions only when the goal cannot be made verifiable from the user's message.
STOP before drafting if any of these are missing and cannot be inferred:
Do not ask when the user gave enough detail.
Before presenting the final goal, check that it is:
| Thought | Reality |
|---|---|
| "Make this better" | Define what "better" means and how to prove it. |
| "Finish the migration" | Name the migration scope and verification command. |
| "Fix all bugs" | Name the bug source, queue, issue label, failing command, or maximum number of issues. |
| "Clean up the code" | Define target files and measurable cleanup criteria. |
| "The agent will know when it is done" | The goal must include transcript-observable proof. |
Return this compact shape:
Recommended `/goal`:
<single command or condition>
Why this works:
<one or two sentences>
Assumptions:
<short bullets, or "None">
Optional tighter version:
<only include when a safer or more bounded variant is useful>
Omit Optional tighter version when it does not add a safer or more bounded
alternative.
npx claudepluginhub alexanderop/afk --plugin afkFetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Whole-repo audit for over-engineering: finds dead code, unnecessary abstractions, stdlib-replaceable dependencies. Outputs ranked findings and net line/dep savings.