Code Simplifier
meleantonio/ChernyCode
Simplify and clean up code after changes are complete. An agent skill from meleantonio/ChernyCode.
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality.
$ npx skills add getsentry/skills --skill code-simplifier -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install getsentry/skills 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/getsentry/skills.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/getsentry/skills/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/getsentry/skills/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 getsentry/skills --skill code-simplifier -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install getsentry/skills code-simplifier --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/getsentry/skills.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/getsentry/skills/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 getsentry/skills --skill code-simplifier -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install getsentry/skills code-simplifier --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/getsentry/skills.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/getsentry/skills/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/getsentry/skills.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 getsentry/skills --skill code-simplifier -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install getsentry/skills code-simplifier --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/getsentry/skills.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/getsentry/skills/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 getsentry/skills 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 getsentry/skills --skill code-simplifier -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/getsentry/skills.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/getsentry/skills/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 getsentry/skills --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 getsentry/skills code-simplifier --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/getsentry/skills.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/getsentry/skills/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 getsentry/skills, published by the product's own GitHub organization. Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Use when asked to "simplify code", "clean up code", "refactor for clarity", "improve readability", or review recently modified code for elegance. Focuses on project-specific best practices.
Its SKILL.md is about 990 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, covering Code simplification, Refactoring and Plain language and style rules. The repository describes itself as: Agent Skills used by the Sentry team for development. The licence is Apache-2.0.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit d18b7aa. 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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
github.comFrom 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 991 tokens when it runs. Until then it costs about 79 tokens; SKILL.md has 340 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 getsentry/skills at commit d18b7aa, republished under its Apache-2.0 licence (© getsentry). 340 words, ~991 tokens.
.claude/skills/code-simplifier/SKILL.md (or your agent's skills folder).<!--
Based on Anthropic's code-simplifier agent:
https://github.com/anthropics/claude-plugins-official/blob/main/plugins/code-simplifier/agents/code-simplifier.md
-->
You are an expert code simplification specialist focused on enhancing code clarity, consistency, and maintainability while preserving exact functionality. Your expertise lies in applying project-specific best practices to simplify and improve code without altering its behavior. You prioritize readable, explicit code over overly compact solutions.
Never change what the code does - only how it does it. All original features, outputs, and behaviors must remain intact.
Follow the established coding standards from CLAUDE.md including:
function keyword over arrow functionsSimplify code structure by:
Avoid over-simplification that could:
Only refine code that has been recently modified or touched in the current session, unless explicitly instructed to review a broader scope.
const status = isLoading ? 'loading' : hasError ? 'error' : isComplete ? 'complete' : 'idle';function getStatus(isLoading: boolean, hasError: boolean, isComplete: boolean): string {
if (isLoading) return 'loading';
if (hasError) return 'error';
if (isComplete) return 'complete';
return 'idle';
}const result = arr.filter(x => x > 0).map(x => x * 2).reduce((a, b) => a + b, 0);const positiveNumbers = arr.filter(x => x > 0);
const doubled = positiveNumbers.map(x => x * 2);
const sum = doubled.reduce((a, b) => a + b, 0);function isNotEmpty(arr: unknown[]): boolean {
return arr.length > 0;
}
if (isNotEmpty(items)) {
// ...
}if (items.length > 0) {
// ...
}© getsentry, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/code-simplifier of getsentry/skills.
Open the folder on GitHubat commit d18b7aa
We found 15 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 6 other GitHub owners. This page covers the copy in getsentry/skills, which our catalogue first saw on October 7, 2026.
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 skillgetsentry/skills | 1k | 6 repos | ~991 | Automated safety check: Pass | Apache-2.0 | |
| Code Simplifiermeleantonio/ChernyCode | 516 | 1 repos | ~604 | Automated safety check: Pass | None | |
| Code RefinerMathews-Tom/armory | 327 | — | ~3.1k | Automated safety check: Pass | MIT | |
| Rnd Code Simplifychendongqi/OPB-Skills | 125 | — | ~2.2k | Automated safety check: Pass | None | |
| Code Simplifierpproenca/dot-skills | 214 | — | ~2.1k | Automated safety check: Pass | MIT | |
| PonytailDavidObando/gsharp | 564 | 8 repos | ~1.7k | Automated safety check: Pass | MIT |
meleantonio/ChernyCode
Simplify and clean up code after changes are complete. An agent skill from meleantonio/ChernyCode.
Mathews-Tom/armory
Deep code simplification and refactoring preserving behavior across Python, Go, TypeScript, Rust.
chendongqi/OPB-Skills
Expert code simplification and refactoring specialist that autonomously enhances code clarity, consistency, and maintainability while preserving exact functionality.
pproenca/dot-skills
Code simplification skill for improving clarity, consistency, and maintainability while preserving exact behavior.
DavidObando/gsharp
Forces the laziest solution that actually works, simplest, shortest, most minimal.
citrolabs/ego-lite
Finds and implements evidence-backed simplifications in the ego-lite repository, such as dead code, duplicated state and speculative abstractions, without hiding behavior changes.
getsentry/skills
Scan agent skills for security issues. An agent skill from getsentry/skills.
getsentry/skills
Fetch unread GitHub notifications for open PRs where review is requested from a specified team or opened by a team member.
getsentry/skills
Security code review for vulnerabilities. An agent skill from getsentry/skills.
getsentry/skills
Create, synthesize, and iteratively improve agent skills following the Agent Skills specification.
getsentry/skills
Django access control and IDOR security review. An agent skill from getsentry/skills.
getsentry/skills
GitHub Actions security review for workflow exploitation vulnerabilities.
Categories
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Code Simplifier is an agent skill from getsentry/skills, published by the product's own GitHub organization. Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality.
Code Simplifier fits situations like: asked to simplify code; refactor for clarity; improve readability; review recently modified code for elegance.
Run `npx skills add getsentry/skills --skill code-simplifier -a claude-code`. Or copy the skill folder (skills/code-simplifier in getsentry/skills) into .claude/skills/code-simplifier in your project. Claude Code loads it when a task matches its description.
Run `npx skills add getsentry/skills --skill code-simplifier -a codex`. Or copy the skill folder (skills/code-simplifier in getsentry/skills) 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 getsentry/skills --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.
SKILL.md names no scripts, command-line tools or credentials: Code Simplifier is instructions for the agent only.
SKILL.md names 1 domain. As links in the text: github.com. 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 Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 991 tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Code Simplifier: Code Simplifier (meleantonio/ChernyCode, 516 stars), Code Refiner (Mathews-Tom/armory, 327 stars), Rnd Code Simplify (chendongqi/OPB-Skills, 125 stars) and Code Simplifier (pproenca/dot-skills, 214 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
getsentry (a GitHub organization, an official publisher) maintains it in getsentry/skills, which has 1,037 GitHub stars. The repository holds 27 skills in this directory. The repository was last updated on October 2, 2026.
Source: getsentry/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.