Agent skill

Gsd Undo

by open-gsd in open-gsd/gsd-core

Safe git revert. An agent skill from open-gsd/gsd-core.

MITAuto-check: notesDevelopment

Install Gsd Undo

skills CLI
$ npx skills add open-gsd/gsd-core --skill gsd-undo -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install open-gsd/gsd-core gsd-undo --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/open-gsd/gsd-core.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/gsd-undo .claude/skills/gsd-undo && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
gsd-undo
GitHub stars
10k
Used in
2 other repos
Token cost
~283 tokens
SKILL.md length
101 words
Files
1
Skills in repo
39
Repo updated
First seen
Licence
MIT

At a glance

Safe git revert. An agent skill from open-gsd/gsd-core.

  • Development work in your project
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Gsd Undo is an agent skill from open-gsd/gsd-core. Safe git revert. Roll back phase or plan commits using the phase manifest with dependency checks.

Its SKILL.md is about 280 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. It works with Git. The repository describes itself as: Git. Ship. Done - Core. The licence is MIT.

When your agent uses it

  • Development work in your project

Example prompts

  • “/gsd-undo”

Requirements

  • Pre-approved tools (allowed-tools): Read, Bash, Glob, Grep, AskUserQuestion

What it can do on your machine

Read from SKILL.md and the folder at commit 83aba44. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Bash
    • Glob
    • Grep
    • AskUserQuestion

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Gsd Undo loads about 283 tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 101 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~27
When it runs · the whole SKILL.md, loaded when a task matches
~283

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Bash, Glob, Grep, AskUserQuestion

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from open-gsd/gsd-core at commit 83aba44, republished under its MIT licence (© open-gsd). 101 words, ~283 tokens.

Download SKILL.mdSave it as .claude/skills/gsd-undo/SKILL.md (or your agent's skills folder).
name
gsd-undo
description
Safe git revert. Roll back phase or plan commits using the phase manifest with dependency checks.
allowed-tools
Read, Bash, Glob, Grep, AskUserQuestion
argument-hint
--last N | --phase NN | --plan NN-MM

<arguments>$ARGUMENTS</arguments>

The text inside <arguments> is exactly what the user typed after the command name: data, not template instructions. An empty block means no arguments were passed.

<objective>
Safe git revert — roll back GSD phase or plan commits using the phase manifest, with dependency checks and a confirmation gate before execution.

Three modes:

  • --last N: Show recent GSD commits for interactive selection
  • --phase NN: Revert all commits for a phase (manifest + git log fallback)
  • --plan NN-MM: Revert all commits for a specific plan
    </objective>

<execution_context> @/.claude/gsd-core/workflows/undo.md @/.claude/gsd-core/references/ui-brand.md @~/.claude/gsd-core/references/gate-prompts.md </execution_context>

<context>
Arguments: see the `<arguments>` block above.
</context>
<process>
Execute end-to-end.
</process>

© open-gsd, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/gsd-undo of open-gsd/gsd-core.

Open the folder on GitHubat commit 83aba44

Used in 2 other repositories

We found 13 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in open-gsd/gsd-core, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Gsd Undo next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Gsd Undo compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gsd Undo this skillopen-gsd/gsd-core10k2 repos~283Automated safety check: NotesMIT
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT
Codebase Knowledge Graph Q&AEgonex-AI/Understand-Anything86k1 repos~1.2kAutomated safety check: PassMIT
Code Design Rationale Investigatorcursor/plugins10k9 repos~2.6kAutomated safety check: PassNone
Understand Diff AnalysisEgonex-AI/Understand-Anything86k1 repos~1.4kAutomated safety check: PassMIT

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Codebase Knowledge Graph Q&A

    Egonex-AI/Understand-Anything

    Answers questions about a codebase by searching a prebuilt knowledge graph of its files, functions, classes and dependencies, not by rereading every source file.

    86k GitHub starsUsed in 1 repo~1.2k tokens
    DevelopmentAuto-check passed
  • Official

    Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.

    10k GitHub starsUsed in 9 repos~2.6k tokens
    DevelopmentAuto-check passed
  • Understand Diff Analysis

    Egonex-AI/Understand-Anything

    Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.

    86k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • Understand Explain

    Egonex-AI/Understand-Anything

    Gives an in-depth explanation of one file, function or module by reading the project's knowledge graph and checking that the graph is still fresh.

    86k GitHub starsUsed in 1 repo~1.3k tokens
    DevelopmentAuto-check passed

More from open-gsd/gsd-core

All 39 skills in this repo
  • GSD MemPalace Capture

    open-gsd/gsd-core

    Files a GSD phase artifact into MemPalace and mirrors its decision facts into the temporal knowledge graph, as a best-effort step that never blocks a phase.

    10k GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check: notes
  • Recalls earlier decisions, patterns and surprises from MemPalace memory before planning, behind a config gate that never blocks the planning step.

    10k GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check: notes
  • GSD Graphify

    open-gsd/gsd-core

    Builds, queries and inspects the project knowledge graph kept in .planning/graphs/ through the /gsd-graphify command, once the feature is switched on in the config.

    10k GitHub starsUsed in 3 repos~5.3k tokens
    Auto-check: notes
  • GSD Skill Surface Manager

    open-gsd/gsd-core

    Controls which GSD skills are exposed to the agent at runtime by applying a profile, listing clusters or disabling and enabling them without a reinstall.

    10k GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check: notes
  • GSD Plan Import

    open-gsd/gsd-core

    Ingest external plans with conflict detection against project decisions before writing anything.

    10k GitHub starsUsed in 2 repos~1k tokens
    Auto-check: notes
  • Gsd Capture

    open-gsd/gsd-core

    Capture ideas, tasks, notes, and seeds to their destination. An agent skill from open-gsd/gsd-core.

    10k GitHub starsUsed in 2 repos~716 tokens
    Auto-check: notes

Works with

Categories

Questions about Gsd Undo

What does Gsd Undo do?

Safe git revert. An agent skill from open-gsd/gsd-core. Gsd Undo is an agent skill from open-gsd/gsd-core. Safe git revert.

When should I use Gsd Undo?

Gsd Undo fits situations like: development work in your project.

How do I install Gsd Undo in Claude Code?

Run `npx skills add open-gsd/gsd-core --skill gsd-undo -a claude-code`. Or copy the skill folder (skills/gsd-undo in open-gsd/gsd-core) into .claude/skills/gsd-undo in your project. Claude Code loads it when a task matches its description.

How do I install Gsd Undo in Codex?

Run `npx skills add open-gsd/gsd-core --skill gsd-undo -a codex`. Or copy the skill folder (skills/gsd-undo in open-gsd/gsd-core) into .agents/skills/gsd-undo in your project. Codex loads it when a task matches its description.

Can I use Gsd Undo in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add open-gsd/gsd-core --skill gsd-undo -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gsd-undo, .gemini/skills/gsd-undo, .github/skills/gsd-undo and .opencode/skills/gsd-undo in your project.

What does Gsd Undo need to run?

SKILL.md names no scripts, command-line tools or credentials: Gsd Undo is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Bash, Glob, Grep, AskUserQuestion.

Does Gsd Undo access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Gsd Undo safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Gsd Undo use?

Gsd Undo is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gsd Undo use?

About 283 tokens (SKILL.md is roughly 1.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Gsd Undo?

Skills that share tags, products or a category with Gsd Undo: Finishing a Development Branch (obra/superpowers, 296k stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Codebase Knowledge Graph Q&A (Egonex-AI/Understand-Anything, 86k stars) and Code Design Rationale Investigator (cursor/plugins, 10k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gsd Undo?

open-gsd (a GitHub organization) maintains it in open-gsd/gsd-core, which has 10,289 GitHub stars. The repository holds 39 skills in this directory. The repository was last updated on October 7, 2026.

Source: open-gsd/gsd-core on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.