Skip to main content
skill CX Codex

code-simplify — Claude Code skill: what it does, install

The code-simplify skill simplifies existing code without changing its behavior. Use it for a focused cleanup when the user explicitly asks for less complexity.

no license 186 installs ★ 5 updated 2026-08-31

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add ulpi-io/skills --skill code-simplify -a claude-code
Open on GitHub

What code-simplify does

The skill reads the target, nearby callers, and relevant tests before editing. It establishes a useful check, then works through small readability changes: dead-code removal, boolean cleanup, flatter control flow, less duplication, local renames, and narrowly scoped helper extraction.

Checks run again after each edit. A change that affects observable behavior or causes a regression is reverted, while safe improvements remain. The skill is not for bug fixes, performance tuning, architecture redesign, or generated files. It runs only after an explicit request to simplify or clean up existing code.

What it helps with

  • flatten nested conditionals safely
  • remove dead branches and unused code
  • reduce duplication in local logic
  • rename unclear local symbols
  • verify cleanup without changing behavior

Example prompts for the agent

  • Simplify this file while preserving behavior and error handling.
  • Clean up auth.ts, then inspect its callers and tests.
  • Reduce complexity in this section with guard clauses, without changing the public contract.

How to install code-simplify

1Skills CLI (Vercel)

npx skills add ulpi-io/skills --skill code-simplify -a claude-code

2Manually: put the files in place

~/.claude/skills/code-simplify/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/code-simplify/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about code-simplify

How do I install code-simplify in Claude Code?

Run npx skills add ulpi-io/skills --skill code-simplify -a claude-code, then use ~/.claude/skills/code-simplify/SKILL.md.

What does code-simplify do?

It applies small readability-focused edits to existing code while preserving behavior. The skill checks the baseline before editing and verifies it again after each change.

Does code-simplify run during unrelated work?

No. It is intended for explicit requests to simplify or clean up code, not for fixing defects, tuning performance, redesigning architecture, or editing generated files.

Similar skills

All skills for Code review and refactoring →

From the same set49

The whole set →
frontend-design-ui-ux The frontend-design-ui-ux skill creates a locked design language and UX/UI specification for a feature or screen. Use it before handing the build to an engineering agent. CX Codex +1 2,500installs laravel-filament The laravel-filament skill guides Filament admin-panel work toward the v5 API and current namespaces. Use it for resources, forms, tables, widgets, and panels. CX Codex +1 451installs cost-estimate The cost-estimate skill prices a repository, branch diff, or commit from code and Git evidence. Use it when an estimate needs scope, assumptions, and confidence. CX Codex +1 300installs browse Controls a persistent Chromium instance and native apps via the browse CLI. Useful for testing UI workflows, verifying forms, and inspecting live pages. CX Codex +1 282installs nextjs Guides coding agents through Next.js App Router tasks while respecting the project's installed framework release and internal architecture. CX Codex +1 182installs git-merge-expert git-merge-expert handles branch and PR merges, conflict resolution and rollbacks, checking readiness and writing a backup tag before anything moves. CX Codex +1 182installs map-project map-project inspects a single-app repository to build a concise CLAUDE.md router alongside detailed reference guides. CX Codex +1 176installs bugfix bugfix fixes confirmed bugs through a strict loop: reproduces failures with isolated tests, pinpoints root causes, and applies minimal diffs without weakening tests. CX Codex +1 176installs

Project sponsors

Companies that keep this analytics open