# Ckit command abort

> Ckit command abort is an open-source agent skill for developer tools. Aborts an in-progress SDLC pipeline run and cleans up only its own git worktrees. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ajyadav013/claude-kit/tree/main/providers/codex/claude-kit/skills/ckit-command-abort
- **Repository:** https://github.com/ajyadav013/claude-kit
- **GitHub stars:** 13
- **License:** MIT
- **Skill name:** ckit-command-abort
- **Collection:** https://github.com/ajyadav013/claude-kit
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill cancels a running autonomous software delivery pipeline mid-stream instead of letting it finish to a pull request. It first checks the pipeline status and the project's continuity notes to confirm a run is active, then lists the git worktrees and identifies only those created for the run's lanes.

The pipeline snapshot is treated as the authoritative record of which worktrees the run created, with the continuity notes used as a fallback. Worktrees the run did not create, the primary checkout, and the user's branches and commits are left alone. Removing a worktree that still holds uncommitted lane work requires the user to be told what would be lost and to confirm first.

The skill then runs the pipeline's abort command to mark the snapshot as aborted, and records the abort in the continuity file. It expects the ckit command-line tool and a git repository with the ckit pipeline set up.

## When your agent uses it

> Abort the in-progress SDLC run, terminate its authoritative snapshot, and clean only its worktrees

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ajyadav013/claude-kit/tree/HEAD/providers/codex/claude-kit/skills/ckit-command-abort)
- [License: MIT](https://github.com/ajyadav013/claude-kit/tree/HEAD/providers/codex/claude-kit/skills/ckit-command-abort)

## Features

- **Confirms active run:** Checks pipeline status and continuity notes, and stops if no run is in progress.
- **Scoped worktree cleanup:** Removes only the git worktrees that the run itself created for its lanes.
- **Safe forced removal:** Requires explicit user confirmation before discarding any uncommitted lane work.
- **Terminal run abort:** Marks the pipeline snapshot as aborted so the run cannot continue.
- **Continuity record update:** Logs the abort reason in the project continuity file and resets active tasks.

## Good for

- Cancel a running autonomous pipeline before it reaches a pull request
- Clean up leftover git worktrees from an abandoned development run
- Stop a mid-pipeline SDLC run and record why it was aborted
- Reset project continuity notes after a cancelled pipeline

## Install

### Claude Code

This skill ships in the `claude-kit` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ajyadav013/claude-kit
/plugin install claude-kit@claude-kit
```

Or copy only this skill to `~/.claude/skills/ckit-command-abort`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ckit-command-abort &&
cp -R "$tmp/providers/codex/claude-kit/skills/ckit-command-abort" ~/.claude/skills/ckit-command-abort &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/ckit-command-abort` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/ckit-command-abort` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ckit-command-abort &&
cp -R "$tmp/providers/codex/claude-kit/skills/ckit-command-abort" ~/.agents/skills/ckit-command-abort &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/ckit-command-abort` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/ckit-command-abort` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ckit-command-abort &&
cp -R "$tmp/providers/codex/claude-kit/skills/ckit-command-abort" ~/.cursor/skills/ckit-command-abort &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/ckit-command-abort` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ajyadav013/claude-kit.git --path providers/codex/claude-kit/skills/ckit-command-abort
```

Or copy the folder to `~/.gemini/skills/ckit-command-abort` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/ckit-command-abort`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ckit-command-abort &&
cp -R "$tmp/providers/codex/claude-kit/skills/ckit-command-abort" ~/.copilot/skills/ckit-command-abort &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/ckit-command-abort` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git
```

Then copy `claude-kit/providers/codex/claude-kit/skills/ckit-command-abort` into your agent's skills folder as `ckit-command-abort`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Ckit command abort trigger?

It is meant for cases where an SDLC run must be cancelled mid-pipeline rather than completed to a PR. If no run is active, it reports that and stops.

### Will Ckit command abort delete my branches or other worktrees?

No. It only removes worktrees the run created and does not touch the user's branches, commits or other worktrees.

### How do I pause a run instead of aborting Ckit command abort?

Do not abort. Leave the PIPELINE line intact so the sdlc skill can offer to resume the run.

### What happens if the abort command fails?

The failure is reported as BLOCKED with the path and error, and the snapshot JSON is not hand-edited.

### How do I install Ckit command abort in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ckit-command-abort to use it in all your projects, or to .claude/skills/ckit-command-abort in one project. Or install the claude-kit plugin, which includes it: /plugin marketplace add ajyadav013/claude-kit, then /plugin install claude-kit@claude-kit.

### Does Ckit command abort run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Ckit command abort?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Ckit command abort?

The closest alternatives to Ckit command abort are Ckit command sdlc, Ckit command status, Sdlc, Ci and Ckit command init.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Ckit command sdlc](https://ai-powered.com/skills/ckit-command-sdlc): Ckit command sdlc is an open-source agent skill for developer tools.
- [Ckit command status](https://ai-powered.com/skills/ckit-command-status): Ckit command status is an open-source agent skill for developer tools.
- [Sdlc](https://ai-powered.com/skills/sdlc-ajyadav013): Sdlc is an open-source agent skill for developer tools.
- [Ci](https://ai-powered.com/skills/ci-chachamaru127): Ci is an open-source agent skill for developer tools.
- [Ckit command init](https://ai-powered.com/skills/ckit-command-init): Ckit command init is an open-source agent skill for developer tools.
- [Ci cd](https://ai-powered.com/skills/ci-cd): Ci cd is an open-source agent skill for developer tools.
- [Git clean worktrees](https://ai-powered.com/skills/git-clean-worktrees): Git clean worktrees is an open-source agent skill for developer tools.
- [Ci](https://ai-powered.com/skills/ci-maxwell2732): Ci is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/ckit-command-abort
