Skip to content
Back to skills

Goal Clear

ASecurity

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.

  • 13 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added August 30, 2026
ai-agentspythongo

Works with

  • terminal
  • cli

Security analysis

A100/100

Scanned August 30, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Goal Clear?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Goal Clear
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bonfire-systems-goal-clear/badge)](https://www.skillsdirectory.com/skills/bonfire-systems-goal-clear)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.