Review And Simplify Changes
Dimillian/Skills
Review a git diff or explicit file scope for reuse, code quality, efficiency, clarity, and standards issues, then optionally apply safe Codex-driven fixes.
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality.
$ npx skills add OpenHands/extensions --skill code-simplifier -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install OpenHands/extensions code-simplifier --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/OpenHands/extensions.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/code-simplifier .claude/skills/code-simplifier && rm -rf skills-srcUse ~/.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/
Install the "code-simplifier" agent skill from https://github.com/OpenHands/extensions/tree/main/skills/code-simplifier into .claude/skills/code-simplifier/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-simplifier", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/OpenHands/extensions/tree/main/skills/code-simplifierType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add OpenHands/extensions --skill code-simplifier -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install OpenHands/extensions code-simplifier --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/OpenHands/extensions.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/code-simplifier .agents/skills/code-simplifier && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "code-simplifier" agent skill from https://github.com/OpenHands/extensions/tree/main/skills/code-simplifier into .agents/skills/code-simplifier/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-simplifier", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add OpenHands/extensions --skill code-simplifier -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install OpenHands/extensions code-simplifier --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/OpenHands/extensions.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/code-simplifier .cursor/skills/code-simplifier && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "code-simplifier" agent skill from https://github.com/OpenHands/extensions/tree/main/skills/code-simplifier into .cursor/skills/code-simplifier/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-simplifier", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/OpenHands/extensions.git --path skills/code-simplifier--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add OpenHands/extensions --skill code-simplifier -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install OpenHands/extensions code-simplifier --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/OpenHands/extensions.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/code-simplifier .gemini/skills/code-simplifier && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "code-simplifier" agent skill from https://github.com/OpenHands/extensions/tree/main/skills/code-simplifier into .gemini/skills/code-simplifier/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-simplifier", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install OpenHands/extensions code-simplifierInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add OpenHands/extensions --skill code-simplifier -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/OpenHands/extensions.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/code-simplifier .github/skills/code-simplifier && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "code-simplifier" agent skill from https://github.com/OpenHands/extensions/tree/main/skills/code-simplifier into .github/skills/code-simplifier/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-simplifier", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add OpenHands/extensions --skill code-simplifier -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install OpenHands/extensions code-simplifier --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/OpenHands/extensions.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/code-simplifier .opencode/skills/code-simplifier && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "code-simplifier" agent skill from https://github.com/OpenHands/extensions/tree/main/skills/code-simplifier into .opencode/skills/code-simplifier/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-simplifier", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
code-simplifierSimplifies and refines code for clarity, consistency, and maintainability while preserving all functionality.
Code Simplifier is an agent skill from OpenHands/extensions. Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Analyzes recently modified code across three dimensions - code reuse, code quality, and efficiency - and provides actionable improvement suggestions. This skill should be used when the user asks to "simplify code", "refine code", "clean up code", "improve code quality", or requests a simplification review of recent changes.
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including reference files (for example `.plugin/plugin.json`, `README.md` and `commands/simplify.md`).
It sits in Development, covering Code simplification, Code quality and Refactoring. The repository describes itself as: Public registry for OpenHands extensions. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit d008b81. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Code Simplifier loads about 1.3k tokens when it runs, and up to ~4.2k if it reads all its reference files. Until then it costs about 113 tokens; SKILL.md has 495 words of instructions outside code blocks.
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.
The automated check found no risky patterns in SKILL.md.
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.
The full file from OpenHands/extensions at commit d008b81, republished under its MIT licence (© OpenHands). 495 words, ~1,259 tokens.
.claude/skills/code-simplifier/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.Analyze recently modified code and suggest refinements that improve clarity, consistency, and maintainability - without changing what the code does. The review covers three complementary aspects:
AGENTS.md.By default, focus on recently modified code. Use git diff or the file list from the current PR/MR to determine the changed files. When the user specifies a different scope, follow their instruction:
src/auth.py" - review only the named filesutils/ folder" - review all files in that directoryWhen sub-agent capability is available, delegate each review aspect to a separate sub-agent for parallel, focused analysis:
references/code-reuse-review.md and analyze the changed files for duplication and consolidation opportunities.references/code-quality-review.md and analyze the changed files for clarity, naming, complexity, and standards compliance.references/efficiency-review.md and analyze the changed files for performance and resource usage issues.Each sub-agent should:
AGENTS.md at the repository root for project-specific coding conventionsAfter all sub-agents complete, synthesize their findings into a single consolidated report.
When sub-agents are not available, perform all three reviews sequentially:
references/code-reuse-review.md - review for duplication and reusereferences/code-quality-review.md - review for clarity and standardsreferences/efficiency-review.md - review for performance and resourcesApply the criteria and output format from each reference document.
AGENTS.md at the repository root (import ordering, naming, module structure, error handling, component patterns).if/else or switch for multiple conditions.Present the combined results from all three review aspects:
## Code Simplification Review
### Scope
[List of files reviewed and how scope was determined]
### Code Reuse
[Findings from the reuse review, using **[REUSE]** tags]
### Code Quality
[Findings from the quality review, using **[QUALITY]** tags]
### Efficiency
[Findings from the efficiency review, using **[EFFICIENCY]** tags]
### Summary
[Overall assessment: is the code in good shape, or does it need significant refinement?]
[Prioritized list of the most impactful changes to make first]When a review aspect has no findings, include it with an explicit "no issues found" statement rather than omitting the section.
references/code-reuse-review.md - Detailed criteria for detecting duplication, consolidation opportunities, and over-abstractionreferences/code-quality-review.md - Detailed criteria for naming, complexity, error handling, and project standards compliancereferences/efficiency-review.md - Detailed criteria for algorithmic complexity, unnecessary work, resource usage, and I/O patterns© OpenHands, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 8 other files (references) in skills/code-simplifier of OpenHands/extensions.
Open the folder on GitHubat commit d008b81
Code Simplifier 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Code Simplifier this skillOpenHands/extensions | 157 | — | ~1.3k | Automated safety check: Pass | MIT | |
| Review And Simplify ChangesDimillian/Skills | 4k | — | ~2k | Automated safety check: Pass | MIT | |
| Codebase Health Refactoringkucherenko/jscpd | 6.3k | — | ~2.5k | Automated safety check: Pass | MIT | |
| DRY Refactoring With jscpdkucherenko/jscpd | 6.3k | — | ~2.1k | Automated safety check: Pass | MIT | |
| Code SimplifierTwiTech-LAB/devchain | 101 | — | ~2k | Automated safety check: Pass | Custom licence | |
| Simplify Recent ChangesQwenLM/qwen-code | 28k | — | ~1.3k | Automated safety check: Pass | Apache-2.0 |
Dimillian/Skills
Review a git diff or explicit file scope for reuse, code quality, efficiency, clarity, and standards issues, then optionally apply safe Codex-driven fixes.
kucherenko/jscpd
A three-part cleanup guided by jscpd: measure health, then fix duplicated code, remove dead code and simplify the most complex files, finishing by re-measuring the score.
kucherenko/jscpd
Removes copy-paste duplication found by jscpd, starting with exact clones and hotspots, then renamed and near-miss copies, using proven refactoring strategies.
TwiTech-LAB/devchain
Review a change set for reuse, simplification, efficiency, and altitude problems, then apply the fixes while preserving exact behavior.
QwenLM/qwen-code
Reviews your uncommitted diff with three parallel passes for reuse, quality and efficiency, then applies the straightforward cleanups before a pull request.
chendongqi/OPB-Skills
Expert code simplification and refactoring specialist that autonomously enhances code clarity, consistency, and maintainability while preserving exact functionality.
OpenHands/extensions
Evaluate how well a codebase supports autonomous AI-assisted development.
OpenHands/extensions
Build and automate Discord integrations (bots, webhooks, slash commands, and REST API workflows).
OpenHands/extensions
Interact with GitHub repositories, pull requests, issues, and workflows using the GITHUBTOKEN environment variable and GitHub CLI.
OpenHands/extensions
Create an automation that implements GitHub issues when a configurable trigger label is applied.
OpenHands/extensions
This skill should be used when the user asks to "monitor a GitHub repository", "watch GitHub for issues or PRs", "respond to @OpenHands mentions on GitHub", "set up an OpenHands GitHub integration"…
OpenHands/extensions
Create an automation that implements GitLab issues when a configurable trigger label is applied.
Categories
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Code Simplifier is an agent skill from OpenHands/extensions. Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality.
Code Simplifier fits situations like: asks to simplify code; improve code quality; requests a simplification review of recent changes.
Run `npx skills add OpenHands/extensions --skill code-simplifier -a claude-code`. Or copy the skill folder (skills/code-simplifier in OpenHands/extensions) into .claude/skills/code-simplifier in your project. Claude Code loads it when a task matches its description.
Run `npx skills add OpenHands/extensions --skill code-simplifier -a codex`. Or copy the skill folder (skills/code-simplifier in OpenHands/extensions) into .agents/skills/code-simplifier in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OpenHands/extensions --skill code-simplifier -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-simplifier, .gemini/skills/code-simplifier, .github/skills/code-simplifier and .opencode/skills/code-simplifier in your project.
Going by SKILL.md and its folder, Code Simplifier needs the command-line tools its instructions call (git).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Code Simplifier is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.9k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Code Simplifier: Review And Simplify Changes (Dimillian/Skills, 4k stars), Codebase Health Refactoring (kucherenko/jscpd, 6.3k stars), DRY Refactoring With jscpd (kucherenko/jscpd, 6.3k stars) and Code Simplifier (TwiTech-LAB/devchain, 101 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
OpenHands (a GitHub organization) maintains it in OpenHands/extensions, which has 157 GitHub stars. The repository holds 78 skills in this directory. The repository was last updated on October 6, 2026.
Source: OpenHands/extensions on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.