goal-ledger-abandon

goal-ledger-abandon is a skill for Claude Code, Codex from jpbaking/goal-ledger. It costs 70 tokens per session (764 once invoked), scanned A, original, 0BSD.

A procedure for marking an active Goal Ledger abandoned while keeping its files, Git history, and code changes. A Goal Ledger is a durable record of a software goal and its phased work.

In plain words
What is it for?
Use it when the user explicitly wants to cancel a goal, preserve its ledger and work for later review, and record the reason and final handoff state.
Why use it?
It records cancellation without erasing evidence or making recovery impossible. It also ensures abandonment is intentional and distinguishes it from a goal that is merely blocked.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when the user explicitly wants to cancel a goal, preserve its ledger and work for later review, and record the reason and final handoff state.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jpbaking/goal-ledger/goal-ledger-abandon
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jpbaking/goal-ledger --skill goal-ledger-abandon
Clone the repo
git clone --depth 1 https://github.com/jpbaking/goal-ledger

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 goal-ledger-abandon

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jpbaking/goal-ledger/goal-ledger-abandon"><img src="https://agentmods.dev/badge/skills/jpbaking/goal-ledger/goal-ledger-abandon.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 764 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.00070 $0.00764
Opus 5 $0.00035 $0.00382
Sonnet 5 $0.00014 $0.00153
Haiku 4.5 $0.00007 $0.00076

Measured 10d ago against content hash b47bda1e7d3c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

goal-ledger-abandon 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 10d 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.

.agents/skills/goal-ledger-abandon/SKILL.md · 53 lines

How it starts

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

Goal Ledger — abandon without erasing history

Abandonment is a durable terminal state, not deletion. Preserve the ledger and work so the decision can be understood or reversed later.

Abandonment is planner-only. If you were handed a single phase to execute, you cannot abandon the goal: set that phase to needs-human — reason: and stop.

1. Load and summarize

Read sections 1–4 of the sibling goal-ledger skill. If there is no ledger, say so and stop. If status is already completed or abandoned, report it and stop.

Show the Goal ID, Outcome, strategy and work branch, phase counts, blockers, matching goal commits, and dirty worktree state. Explain that abandonment will keep the ledger, commits, and code changes.

If a phase is ongoing, an executor may still be holding it. Say so and confirm that work has actually stopped before abandoning.

2. Confirm abandonment

Ask explicitly: "Mark this goal abandoned while preserving its ledger and work?" Anything short of a clear yes changes nothing.

On confirmation:

  1. Set Goal status abandoned.
  2. Update Handoff: current position abandoned, next action none, and blockers with the user's reason when provided.
  3. Append an abandonment log entry. Do not change phase statuses merely to make them terminal.
  4. Run the validator bundled with the sibling goal-ledger skill as scripts/validate_goal_ledger.py --root <project root>. Repair ledger-format errors before preserving the state; warnings do not prevent abandonment. If Python 3 is unavailable, check the format manually.

3. Preserve Git state

When Repository: yes:

  • If Git preparation never completed (Strategy: none, missing baseline, or no approval commit), do not create or switch branches merely to abandon a draft. Save the abandoned ledger locally; commit it only if the user separately asks to record it on the current branch.
  • After Git preparation, if the worktree contains partial goal work, ask separately whether to checkpoint those goal-owned changes in the abandonment commit. Default No. Never stage unrelated files.
  • After Git preparation, whether or not partial code is included, stage .goal-ledger/GOAL.md and create goal-ledger(abandon): <title> with the matching Goal ID trailer. If partial work is not included, leave it untouched and report it as uncommitted.
  • Never reset, revert, delete the work branch, or rewrite history.
  • For an isolated branch with a clean tree, offer to switch back to Starting branch; require explicit permission and keep the goal branch intact.
  • If partial work remains dirty because checkpointing was declined, stay on the goal branch. Offer a separately authorized checkpoint or recoverable stash, or leave it in place; never carry it onto the starting branch or discard it automatically.
  • On current-branch, remain on that branch and warn that goal commits are part of its history.

Read the full file on GitHub · 53 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. 10d ago First seen · 53 lines · 70 tokens per session scan A b47bda1e7d3c

Subscribe to this mod's changes

goal-ledger-abandon is a skill published in the GitHub repository jpbaking/goal-ledger (1 stars, last pushed 1mo ago), licensed 0BSD. It adds 70 tokens to every session and 764 once invoked, about $0.0003 per session on Opus 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-08-31.