Ponytail
DavidObando/gsharp
Forces the laziest solution that actually works, simplest, shortest, most minimal.
Safely identify and remove dead code with test verification at every step.
$ npx skills add julianromli/ai-skills --skill refactor-clean -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install julianromli/ai-skills refactor-clean --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/julianromli/ai-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/refactor-clean .claude/skills/refactor-clean && 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 "refactor-clean" agent skill from https://github.com/julianromli/ai-skills/tree/main/skills/refactor-clean into .claude/skills/refactor-clean/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactor-clean", 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/julianromli/ai-skills/tree/main/skills/refactor-cleanType 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 julianromli/ai-skills --skill refactor-clean -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install julianromli/ai-skills refactor-clean --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/julianromli/ai-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/refactor-clean .agents/skills/refactor-clean && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "refactor-clean" agent skill from https://github.com/julianromli/ai-skills/tree/main/skills/refactor-clean into .agents/skills/refactor-clean/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactor-clean", 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 julianromli/ai-skills --skill refactor-clean -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install julianromli/ai-skills refactor-clean --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/julianromli/ai-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/refactor-clean .cursor/skills/refactor-clean && 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 "refactor-clean" agent skill from https://github.com/julianromli/ai-skills/tree/main/skills/refactor-clean into .cursor/skills/refactor-clean/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactor-clean", 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/julianromli/ai-skills.git --path skills/refactor-clean--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 julianromli/ai-skills --skill refactor-clean -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install julianromli/ai-skills refactor-clean --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/julianromli/ai-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/refactor-clean .gemini/skills/refactor-clean && 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 "refactor-clean" agent skill from https://github.com/julianromli/ai-skills/tree/main/skills/refactor-clean into .gemini/skills/refactor-clean/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactor-clean", 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 julianromli/ai-skills refactor-cleanInstalls 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 julianromli/ai-skills --skill refactor-clean -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/julianromli/ai-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/refactor-clean .github/skills/refactor-clean && 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 "refactor-clean" agent skill from https://github.com/julianromli/ai-skills/tree/main/skills/refactor-clean into .github/skills/refactor-clean/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactor-clean", 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 julianromli/ai-skills --skill refactor-clean -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install julianromli/ai-skills refactor-clean --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/julianromli/ai-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/refactor-clean .opencode/skills/refactor-clean && 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 "refactor-clean" agent skill from https://github.com/julianromli/ai-skills/tree/main/skills/refactor-clean into .opencode/skills/refactor-clean/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactor-clean", 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.
refactor-cleanSafely identify and remove dead code with test verification at every step.
Refactor Clean is an agent skill from julianromli/ai-skills. Safely identify and remove dead code with test verification at every step. Use when Codex needs to clean unused exports, files, dependencies, helpers, wrappers, re-exports, or duplicate code without risking regressions. Trigger for dead-code cleanup, unused dependency audits, stale utility removal, cleanup refactors, or requests to reduce code safely before or alongside maintenance work.
Its SKILL.md is about 1.3k 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 Refactoring and Code simplification. The repository describes itself as: Claude Code, Droid, etc. Skills Ability.
8 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit cf41ea2. 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:
npxcargoFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npx, 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.
Refactor Clean loads about 1.3k tokens when it runs. Until then it costs about 101 tokens; SKILL.md has 639 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.
Without a licence we can't republish the file, so here is its outline and opening line. It has 639 words (~1,343 tokens).
“Use a conservative cleanup loop. Prefer keeping uncertain code over deleting something with hidden runtime or external consumers.”
SKILL.md and 1 other file in skills/refactor-clean of julianromli/ai-skills.
Open the folder on GitHubat commit cf41ea2
Refactor Clean 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 |
|---|---|---|---|---|---|---|
| Refactor Clean this skilljulianromli/ai-skills | 191 | — | ~1.3k | Automated safety check: Pass | None | |
| PonytailDavidObando/gsharp | 565 | 8 repos | ~1.7k | Automated safety check: Pass | MIT | |
| Ponytail Lazy Developer ModeDietrichGebert/ponytail | 158k | — | ~871 | Automated safety check: Pass | MIT | |
| Code Simplification for ego-litecitrolabs/ego-lite | 17k | — | ~1.2k | Automated safety check: Pass | MIT | |
| Refactor Pass for Simplicitystar-history/star-history | 9.6k | 1 repos | ~168 | Automated safety check: Pass | MIT | |
| Over-Engineering ReviewDietrichGebert/ponytail | 158k | — | ~1.3k | Automated safety check: Pass | MIT |
DavidObando/gsharp
Forces the laziest solution that actually works, simplest, shortest, most minimal.
DietrichGebert/ponytail
Makes the agent pick the laziest solution that works: skip unneeded work, reuse what exists, prefer the standard library and platform features, and keep diffs small.
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.
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…
DietrichGebert/ponytail
Reviews a diff only for unnecessary complexity and lists what to delete or shrink, one numbered line per finding with the location, the cut and its replacement.
rtk-ai/rtk
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.
julianromli/ai-skills
Write high-converting landing page copy using proven frameworks like PAS (Problem-Agitate-Solution), AIDA, and StoryBrand.
julianromli/ai-skills
Plug & play skill untuk membuat cronjob summary grup WhatsApp secara otomatis menggunakan Hermes WhatsApp Bridge.
julianromli/ai-skills
Reverse-engineer and clone one or more websites in one shot — extracts assets, CSS, and content section-by-section and proactively dispatches parallel builder agents in worktrees as it goes.
julianromli/ai-skills
Guidelines for building production-ready Convex apps covering function organization, query patterns, validation, TypeScript usage, error handling, and the Zen of Convex design philosophy
Categories
Safely identify and remove dead code with test verification at every step. Refactor Clean is an agent skill from julianromli/ai-skills. Safely identify and remove dead code with test verification at every step.
Refactor Clean fits situations like: Codex needs to clean unused exports; duplicate code without risking regressions; dead-code cleanup; unused dependency audits.
Run `npx skills add julianromli/ai-skills --skill refactor-clean -a claude-code`. Or copy the skill folder (skills/refactor-clean in julianromli/ai-skills) into .claude/skills/refactor-clean in your project. Claude Code loads it when a task matches its description.
Run `npx skills add julianromli/ai-skills --skill refactor-clean -a codex`. Or copy the skill folder (skills/refactor-clean in julianromli/ai-skills) into .agents/skills/refactor-clean 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 julianromli/ai-skills --skill refactor-clean -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/refactor-clean, .gemini/skills/refactor-clean, .github/skills/refactor-clean and .opencode/skills/refactor-clean in your project.
Going by SKILL.md and its folder, Refactor Clean needs the command-line tools its instructions call (npx and cargo). Our summary lists: Python 3; Node.js.
SKILL.md contains no URLs. Its commands use npx, 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.
No licence was found for Refactor Clean or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.
About 1.3k tokens (SKILL.md is roughly 5.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 Refactor Clean: Ponytail (DavidObando/gsharp, 565 stars), Ponytail Lazy Developer Mode (DietrichGebert/ponytail, 158k 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.
julianromli (a GitHub user) maintains it in julianromli/ai-skills, which has 191 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on June 9, 2026.
Source: julianromli/ai-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.