Skip to content
Skill

Go back

Rewinds a git project to an earlier save point, keeping a rescue copy first

Go back is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
7
Last commit
License
MIT
Listing updated

Similar skills

About Go back

This skill lets an agent roll a git project back to one of its recent commits. It lists the latest save points in plain language with how long ago each was made, so the user can pick one by description rather than by hash.

Before anything is changed, the skill checks for uncommitted edits and offers to save them first. It then creates a rescue branch pointing at the current state, so the rewind itself can be reversed later. Only after that backup exists and the user confirms the target does it restore the working tree, and it finishes by reporting where the project now sits and how to get back.

It expects a git repository with commit history and is written for Claude Code, where it is invoked by the user rather than triggered automatically. If the project has already been pushed and the rewind would rewrite shared history, the skill flags that and asks for approval first.

When your agent uses it

Return the project to an earlier save point — safely. Shows recent save points in plain English, keeps a rescue copy of the current state, then restores the chosen one. Use when something went wrong and the user wants to rewind.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (2 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

/plugin marketplace add drbojlergyula/BuildWithAI
/plugin install buildwithai-team@buildwithai

Or copy only this skill to ~/.claude/skills/go-back:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/drbojlergyula/BuildWithAI.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/go-back &&
cp -R "$tmp/.claude/skills/go-back" ~/.claude/skills/go-back &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/go-back inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/go-back to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/drbojlergyula/BuildWithAI.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/go-back &&
cp -R "$tmp/.claude/skills/go-back" ~/.agents/skills/go-back &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/go-back inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/go-back to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/drbojlergyula/BuildWithAI.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/go-back &&
cp -R "$tmp/.claude/skills/go-back" ~/.cursor/skills/go-back &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/go-back inside it instead.

Cursor docs on skills

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

gemini skills install https://github.com/drbojlergyula/BuildWithAI.git --path .claude/skills/go-back

Or copy the folder to ~/.gemini/skills/go-back yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/go-back:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/drbojlergyula/BuildWithAI.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/go-back &&
cp -R "$tmp/.claude/skills/go-back" ~/.copilot/skills/go-back &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/go-back inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/drbojlergyula/BuildWithAI.git

Then copy BuildWithAI/.claude/skills/go-back into your agent's skills folder as go-back. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Plain-language save points
Shows recent commits as a numbered list with descriptions and relative dates.
Automatic rescue branch
Preserves the current state on a rescue branch before any rewind happens.
Uncommitted work check
Detects unsaved changes and offers to save them before proceeding.
Confirmed restore step
Restores the chosen commit only after the user explicitly confirms the target.
Shared history warning
Warns and requires approval when a rewind would rewrite already pushed history.
Reversible rewind
Gives a path back to the rescue copy if the rewind turns out to be a mistake.

Good for

  • Undo a change that broke the project and return to the previous working state
  • Go back to the save point from before a specific edit, such as a payment change
  • Return the repo to an earlier commit while keeping the abandoned work on a branch
  • Recover from a bad refactor without losing the work done since

Go back FAQ

Does Go back delete my current work?

No. Before rewinding, it creates a rescue branch on the current commit, so the state can be restored later. It also offers to commit uncommitted changes first.

When does Go back run?

Only when the user invokes it. The skill is marked so the agent never triggers it on its own initiative.

Which git commands can Go back use?

Its allowed tools cover git log, status, branch, add, commit and reset, plus echo. It has no scripts or additional files.

How do I install Go back in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/go-back to use it in all your projects, or to .claude/skills/go-back in one project. Or install the buildwithai-team plugin, which includes it: /plugin marketplace add drbojlergyula/BuildWithAI, then /plugin install buildwithai-team@buildwithai.

Does Go back 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 Go back?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Go back?

The closest alternatives to Go back are Take over resume, Conductor:revert, Save point, Recall and Make PR easy to review.

Where this comes from

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

More from drbojlergyula/BuildWithAI

  1. Turns a single-project repo into a multi-project portfolio and scaffolds new projects

    • Open source
    • 7 GitHub stars
    • Developer tools
  2. Brings an existing codebase into a docs-based project memory by reverse-engineering it

    • Open source
    • 7 GitHub stars
    • Documentation review
  3. Builds the next planned feature from a project status doc, then verifies and records it

    • Open source
    • 7 GitHub stars
    • Developer tools
  4. Audits project docs for stale status, contradictions and leftover placeholder text

    • Open source
    • 7 GitHub stars
    • Documentation review
  5. Guides the agent through reproducing, diagnosing, fixing and verifying a bug

    • Open source
    • 7 GitHub stars
    • Developer tools
  6. Runs a pre-launch readiness check and reports whether a project is fit to ship

    • Open source
    • 7 GitHub stars
    • Developer tools