AI AGENT ADDONS

When an AI agent needs to stop working on a task, it must clean up carefully. This skill helps the agent bail out of a job the right way. It first reflects on what was tried and what was learned. Then it updates the GitHub issue and closes any open pull request.

The skill also cleans up the worktree and branch if needed. It saves all learnings into a central memory file called MEMORY.md. This way the next task can build on what was already discovered. The agent always asks for a reason before bailing out.

Users benefit because the agent leaves no mess behind. Work is tracked on GitHub and important insights are kept for later. The skill handles edge cases like missing worktrees or no GitHub access. Everything is done with clear steps and safe commands.

Add Bail skill to your workflow

Global

mkdir -p ~/.claude/skills/bail

Project

mkdir -p .claude/skills/bail

Source Repository

Stars
1
Forks
0
Watchers
1
Last Push
1 month ago
Created
4 months ago