Skip to content
Development
Skill

/goal-clear

Stop and archive the currently active goalkeeper goal. Use when the user invokes /goal-clear to abandon or finalize a goal. Files are moved to .claude/goals/_archive/, never deleted.

From plugin
goalkeeper
138 skills1 hook

Claude Code

$ npx -y skills add bonfire-systems/goalkeeper --skill goal-clear --agent claude-code

SKILL.md

goal-clear.SKILL.md
name: goal-clear
description: Stop and archive the currently active goalkeeper goal. Use when the user invokes /goal-clear to abandon or finalize a goal. Files are moved to .claude/goals/_archive/, never deleted.

You are operating the **goal-clear** skill. The gk CLI is `python3 "${CLAUDE_PLUGIN_ROOT}/scripts/gk.py"`, abbreviated `gk`.

Flow

1. Run `gk status` to see the active goal and its status. No active goal → tell the user and stop. 2. **Confirm via AskUserQuestion** before archiving (unless the goal is already `done` — then clear is just bookkeeping):

  • **Archive and clear (Recommended)** — proceed.
  • **Cancel** — abort, no changes.

3. Run `gk clear --yes`. gk appends the final log entry, moves the goal directory to `.claude/goals/_archive/<slug>-<timestamp>/`, writes the terminal `active.json`, and — if a chain is in flight — marks it `aborted` without advancing (unreached links' contracts stay in place for re-use). 4. Relay gk's output: the archive path, and that `/goal` or `/goal-prep` starts a new goal.

Hard rules

  • **Never delete files.** gk always archives; nothing is removed.
  • **Never run `gk clear --yes` without the user's confirmation** (except for an already-`done` goal). The `--yes` flag exists so gk knows the question was asked — it is not a license to skip it.
  • **Clearing kills any active chain** — chains are not auto-resumed mid-stream.
Read more
@bonfire-systems
Ships withgoalkeeper

Durable contract-driven goal execution for Claude Code. A subagent judge gates completion against an explicit Definition of Done.

Stars on GitHub

Momentum

stars in total
13
Star history of bonfire-systems/goalkeeper on GitHub, a chart by star-history.com

Other skills on goalkeeper.

goal-chain

goal-chain

Run a linear sequence of goalkeeper goals where the judge gates progression between them. Use when the user invokes /goal-chain…

goal-judge

goal-judge

The gate. Reviews the active goalkeeper goal against its definition-of-done and either approves (advance / mark done) or rejects…

goal-pause

goal-pause

Pause the currently active goalkeeper goal without losing state. Use when the user invokes /goal-pause. The goal can later be…

goal-prep

goal-prep

Interactively draft a goalkeeper contract before executing. Use this skill when the user invokes /goal-prep "<rough idea>", or…

goal-resume

goal-resume

Resume a paused or needs_human goalkeeper goal. Use when the user invokes /goal-resume after they've manually unblocked the goal…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react4d252k
@facebook@facebookInstall Skill

Questions about goal-clear.

Which coding agents can use goal-clear?
goal-clear installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.