Skip to content
Skill

Simplify

Reviews a code diff for ways to make the implementation simpler and clearer

Simplify is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
39
Last commit
License
MIT
Listing updated

Similar skills

About Simplify

This skill asks the agent to review the current implementation for simplification opportunities. It starts by running a helper script from the author's personal setup, git-pr-diff, to pull in the pull request diff for review.

The review targets readability and clarity. The agent is steered away from unnecessary indirection that makes code harder to follow, and from backwards-compatibility code that adds complexity without need. When a simplification would change behaviour, the agent is told to ask the user before proceeding with it.

The skill is a single SKILL.md file with no bundled scripts or reference files. It depends on the git-pr-diff script existing at the path it names, which is specific to the author's machine, so it may need that script adjusted or replaced to run elsewhere.

When your agent uses it

Review implementation for simplification opportunities

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 (527 bytes) on GitHub on 5 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

Copy the skill folder to ~/.claude/skills/simplify to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/richardgill/nix.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/simplify &&
cp -R "$tmp/built/ai-agents/ampcode/skills/simplify" ~/.claude/skills/simplify &&
rm -rf "$tmp"

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

Claude Code docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/richardgill/nix.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/simplify &&
cp -R "$tmp/built/ai-agents/ampcode/skills/simplify" ~/.agents/skills/simplify &&
rm -rf "$tmp"

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

Codex docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/richardgill/nix.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/simplify &&
cp -R "$tmp/built/ai-agents/ampcode/skills/simplify" ~/.cursor/skills/simplify &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/simplify 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/richardgill/nix.git --path built/ai-agents/ampcode/skills/simplify

Or copy the folder to ~/.gemini/skills/simplify yourself.

Gemini CLI docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/richardgill/nix.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/simplify &&
cp -R "$tmp/built/ai-agents/ampcode/skills/simplify" ~/.copilot/skills/simplify &&
rm -rf "$tmp"

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

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/richardgill/nix.git

Then copy nix/built/ai-agents/ampcode/skills/simplify into your agent's skills folder as simplify. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Diff-based review
Pulls the pull request diff in as the basis for the simplification review.
Indirection check
Looks for abstraction layers that make the code harder to follow than necessary.
Compatibility cleanup
Flags backwards-compatibility code that is no longer needed and adds complexity.
Behaviour change prompts
Asks the user before applying simplifications that alter functional behaviour.

Good for

  • Review my pull request for code that could be simpler
  • Find unnecessary indirection in this implementation
  • Point out backwards-compatibility code I can remove
  • Suggest a cleaner, more readable version of this change

Simplify FAQ

What does Simplify need to run?

It runs a script named git-pr-diff at ~/Scripts/git-pr-diff, so that script must exist on your machine for the first step to work.

Does Simplify bundle any scripts or files?

No. The skill folder contains one SKILL.md file and no scripts or reference files.

Will Simplify change code on its own?

The instructions ask for a review and tell the agent to ask before making any simplification that changes functionality.

How do I install Simplify in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/simplify to use it in all your projects, or to .claude/skills/simplify in one project.

Does Simplify 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 Simplify?

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 Simplify?

The closest alternatives to Simplify are Make PR easy to review, Code simplifier, Code review, Code simplification and Deslop.

Where this comes from

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

More from richardgill/nix

  1. Lets your agent manage Todoist tasks through the todoist command-line tool

    • Open source
    • 39 GitHub stars
    • Productivity
  2. Creates git worktrees in tmux sessions and starts an AI agent on a prompt

    • Open source
    • 39 GitHub stars
    • Developer tools
  3. Plans a clean-room rewrite of existing behavior, from requirements through phased

    • Open source
    • 39 GitHub stars
    • Developer tools
  4. Delegates work to supervised Pi agents running in tmux sessions and worktrees

    • Open source
    • 39 GitHub stars
    • Developer tools
  5. Lets your agent run web searches, fetch page content and quick answers via Kagi CLI

    • Open source
    • 39 GitHub stars
    • Web search and scraping
  6. Lets an agent handle Gmail tasks through the gws command-line tool

    • Open source
    • 39 GitHub stars
    • Communication