Agent skill

Code Simplifier

by feiskyer in feiskyer/codex-settings

Simplify existing code for clarity and maintainability without changing behavior.

MITAuto-check passedDevelopment

Install Code Simplifier

skills CLI
$ npx skills add feiskyer/codex-settings --skill code-simplifier -a claude-code

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

GitHub CLI
$ gh skill install feiskyer/codex-settings code-simplifier --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/feiskyer/codex-settings.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/code-simplifier .claude/skills/code-simplifier && 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
code-simplifier
GitHub stars
244
Token cost
~521 tokens
SKILL.md length
262 words
Files
2
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

Simplify existing code for clarity and maintainability without changing behavior.

  • Asked to clean up
  • SKILL.md covers Scope and conventions, Refinement criteria and Completion
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Especially recent changes

What it does

Code Simplifier is an agent skill from feiskyer/codex-settings. Simplify existing code for clarity and maintainability without changing behavior. Use when asked to clean up or simplify code, especially recent changes.

Its SKILL.md is about 520 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Development, covering Code simplification. The repository describes itself as: Curated skills, profiles, and config templates that supercharge Codex CLI — multi-model, deep research, image gen & browser automation. The licence is MIT.

When your agent uses it

  • Asked to clean up
  • Especially recent changes

Example prompts

  • “/code-simplifier”

What it can do on your machine

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

  • Tool permissions

    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.

  • 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

Code Simplifier loads about 521 tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 262 words of instructions outside code blocks.

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

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 passed

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.

SKILL.md

The full file from feiskyer/codex-settings at commit d7f6570, republished under its MIT licence (© feiskyer). 262 words, ~521 tokens.

Download SKILL.mdSave it as .claude/skills/code-simplifier/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
code-simplifier
description
Simplify existing code for clarity and maintainability without changing behavior. Use when asked to clean up or simplify code, especially recent changes.

Code Simplifier

Make code easier to understand and maintain without changing what it does. Prefer readable, explicit code over compact or clever rewrites.

Scope and conventions

Use the user's named files or diff. Otherwise, focus on code touched in the current task or clearly identified recent changes; ask for a target if none is evident. Inspect surrounding code as needed without turning a local cleanup into a repository-wide refactor. For review-only requests, propose changes without editing.

Follow applicable project guidance, such as AGENTS.md or CLAUDE.md, and the conventions in nearby code. Derive import style, function syntax, type annotations, framework patterns, and error handling from that project rather than imposing a different style.

Refinement criteria

  • Preserve observable behavior, including public interfaces, outputs, errors, side effects, and evaluation order. Treat bug fixes or behavior changes as separate work unless requested.
  • Reduce unnecessary nesting, duplication, and indirection where doing so makes the logic easier to follow. Keep helpful abstractions and separate unrelated concerns.
  • Improve names and remove comments that merely restate the code; retain comments that explain intent or non-obvious constraints.
  • Prefer explicit branches over nested ternaries or dense one-liners when they obscure the logic. Fewer lines alone is not an improvement.

Completion

Finish the scoped cleanup and validate it using checks appropriate to the change and the repository's requirements. For non-obvious rewrites, check relevant edge cases against the original behavior. If behavioral equivalence remains unclear, retain the original form and explain the limitation.

Report significant refinements, checks run, and any remaining validation gaps. If no worthwhile simplification is found, say so without manufacturing edits.

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

Files

SKILL.md and 1 other file in skills/code-simplifier of feiskyer/codex-settings.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit d7f6570

Compare with similar skills

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.

Code Simplifier compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code Simplifier this skillfeiskyer/codex-settings244—~521Automated safety check: PassMIT
PonytailDavidObando/gsharp5648 repos~1.7kAutomated safety check: PassMIT
Ponytail Reviewkortix-ai/suna20k4 repos~593Automated safety check: PassCustom licence
Code Simplification for ego-litecitrolabs/ego-lite17k—~1.2kAutomated safety check: PassMIT
Refactor Pass for Simplicitystar-history/star-history9.6k1 repos~168Automated safety check: PassMIT
RTK Rust Code Simplifierrtk-ai/rtk83k—~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • Ponytail

    DavidObando/gsharp

    Forces the laziest solution that actually works, simplest, shortest, most minimal.

    564 GitHub starsUsed in 8 repos~1.7k tokens
    DevelopmentAuto-check passed
  • Ponytail Review

    kortix-ai/suna

    Code review focused exclusively on over-engineering. An agent skill from kortix-ai/suna.

    20k GitHub starsUsed in 4 repos~593 tokens
    DevelopmentAuto-check passed
  • Finds and implements evidence-backed simplifications in the ego-lite repository, such as dead code, duplicated state and speculative abstractions, without hiding behavior changes.

    17k GitHub stars~1.2k tokensUpdated 14 days ago
    DevelopmentAuto-check passed
  • Refactor Pass for Simplicity

    star-history/star-history

    Perform a refactor pass focused on simplicity after recent changes. Use when the user asks for a refactor/cleanup pass, simplification, or dead-code removal…

    9.6k GitHub starsUsed in 1 repo~168 tokens
    DevelopmentAuto-check passed
  • Reviews RTK's Rust code for over-engineering and verbose patterns, applying idioms like iterator chains and early returns while protecting a specific list of constraints from being simplified away.

    83k GitHub stars~1.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Deslop

    millionco/react-doctor

    Simplify and refine recently modified code while preserving functionality.

    15k GitHub stars~1.2k tokensUpdated today
    DevelopmentAuto-check passed

More from feiskyer/codex-settings

All 11 skills in this repo
  • Youtube Transcribe Skill

    feiskyer/codex-settings

    Extract subtitles or a transcript from a YouTube URL and save normalized timestamped text locally.

    244 GitHub stars~745 tokensUpdated 10 days ago
    Auto-check passed
  • Minimax Image Skill

    feiskyer/codex-settings

    Generate images when the user names MiniMax or image-01/image-01-live.

    244 GitHub starsUsed in 1 repo~495 tokens
    Auto-check passed
  • Claude Skill

    feiskyer/codex-settings

    Delegate a task to the Claude Code CLI, typically a headless claude -p run.

    244 GitHub stars~742 tokensUpdated 10 days ago
    Auto-check passed
  • Gpt Image Skill

    feiskyer/codex-settings

    Generate or edit images when the user names OpenAI, GPT Image, or a gpt-image model.

    244 GitHub stars~572 tokensUpdated 10 days ago
    Auto-check passed
  • Deep Research

    feiskyer/codex-settings

    用 Codex CLI 子任务完成多来源深度调研并综合成带出处的报告。用于确实需要分头取证的研究,不用于单次查证或已给定材料的总结。

    244 GitHub stars~302 tokensUpdated 10 days ago
    Auto-check passed
  • Nanobanana Skill

    feiskyer/codex-settings

    Generate, edit, or composite images with Gemini/Nanobanana. An agent skill from feiskyer/codex-settings.

    244 GitHub stars~1.2k tokensUpdated 10 days ago
    Auto-check passed

Categories

Questions about Code Simplifier

What does Code Simplifier do?

Simplify existing code for clarity and maintainability without changing behavior. Code Simplifier is an agent skill from feiskyer/codex-settings. Simplify existing code for clarity and maintainability without changing behavior.

When should I use Code Simplifier?

Code Simplifier fits situations like: asked to clean up; especially recent changes.

How do I install Code Simplifier in Claude Code?

Run `npx skills add feiskyer/codex-settings --skill code-simplifier -a claude-code`. Or copy the skill folder (skills/code-simplifier in feiskyer/codex-settings) into .claude/skills/code-simplifier in your project. Claude Code loads it when a task matches its description.

How do I install Code Simplifier in Codex?

Run `npx skills add feiskyer/codex-settings --skill code-simplifier -a codex`. Or copy the skill folder (skills/code-simplifier in feiskyer/codex-settings) into .agents/skills/code-simplifier in your project. Codex loads it when a task matches its description.

Can I use Code Simplifier 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 feiskyer/codex-settings --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.

What does Code Simplifier need to run?

SKILL.md names no scripts, command-line tools or credentials: Code Simplifier is instructions for the agent only.

Does Code Simplifier 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 Code Simplifier safe to install?

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.

What licence does Code Simplifier use?

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.

How many tokens does Code Simplifier use?

About 521 tokens (SKILL.md is roughly 2.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 Code Simplifier?

Skills that share tags, products or a category with Code Simplifier: Ponytail (DavidObando/gsharp, 564 stars), Ponytail Review (kortix-ai/suna, 20k stars), Code Simplification for ego-lite (citrolabs/ego-lite, 17k stars) and Refactor Pass for Simplicity (star-history/star-history, 9.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Simplifier?

feiskyer (a GitHub user) maintains it in feiskyer/codex-settings, which has 244 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on September 27, 2026.

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