Codebase Health Refactoring
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.
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality.
The automated check flagged lines worth reading first. See the safety section below.
$ npx skills add keep-starknet-strange/starkzap --skill code-simplifier -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install keep-starknet-strange/starkzap 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/keep-starknet-strange/starkzap.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/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/keep-starknet-strange/starkzap/tree/main/.claude/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/keep-starknet-strange/starkzap/tree/main/.claude/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 keep-starknet-strange/starkzap --skill code-simplifier -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install keep-starknet-strange/starkzap code-simplifier --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/keep-starknet-strange/starkzap.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/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/keep-starknet-strange/starkzap/tree/main/.claude/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 keep-starknet-strange/starkzap --skill code-simplifier -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install keep-starknet-strange/starkzap code-simplifier --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/keep-starknet-strange/starkzap.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/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/keep-starknet-strange/starkzap/tree/main/.claude/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/keep-starknet-strange/starkzap.git --path .claude/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 keep-starknet-strange/starkzap --skill code-simplifier -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install keep-starknet-strange/starkzap code-simplifier --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/keep-starknet-strange/starkzap.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/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/keep-starknet-strange/starkzap/tree/main/.claude/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 keep-starknet-strange/starkzap 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 keep-starknet-strange/starkzap --skill code-simplifier -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/keep-starknet-strange/starkzap.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/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/keep-starknet-strange/starkzap/tree/main/.claude/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 keep-starknet-strange/starkzap --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 keep-starknet-strange/starkzap code-simplifier --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/keep-starknet-strange/starkzap.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/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/keep-starknet-strange/starkzap/tree/main/.claude/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 keep-starknet-strange/starkzap. Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise.
Its SKILL.md is about 2.1k 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 and Code quality. The repository describes itself as: Starknet SDK for seamless wallet integration.
10 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 801ed32. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadEditWriteGlobGrepBashFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitnpmpytesttscnpxFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, npm and 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.
Code Simplifier loads about 2.1k tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 651 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 patterns that need a careful read before installing.
1. Don't ask for permission to make improvementsallowed-tools: Read, Edit, Write, Glob, Grep, BashAutomated 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 651 words (~2,090 tokens).
“Expert code simplification specialist focused on enhancing code clarity, consistency, and maintainability while preserving exact functionality.”
Just SKILL.md in .claude/skills/code-simplifier of keep-starknet-strange/starkzap.
Open the folder on GitHubat commit 801ed32
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in keep-starknet-strange/starkzap, 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 skillkeep-starknet-strange/starkzap | 108 | 1 repos | ~2.1k | Automated safety check: Warn | None | |
| 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 | |
| Rnd Code Simplifychendongqi/OPB-Skills | 125 | — | ~2.2k | Automated safety check: Pass | None |
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.
Yeachan-Heo/oh-my-claudecode
Cleans up AI-generated code that works but is bloated or repetitive, locking behavior with tests first and deleting before adding, with a reviewer-only mode.
Categories
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Code Simplifier is an agent skill from keep-starknet-strange/starkzap. Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality.
Code Simplifier fits situations like: tasks that involve Code simplification; tasks that involve Code quality.
Run `npx skills add keep-starknet-strange/starkzap --skill code-simplifier -a claude-code`. Or copy the skill folder (.claude/skills/code-simplifier in keep-starknet-strange/starkzap) into .claude/skills/code-simplifier in your project. Claude Code loads it when a task matches its description.
Run `npx skills add keep-starknet-strange/starkzap --skill code-simplifier -a codex`. Or copy the skill folder (.claude/skills/code-simplifier in keep-starknet-strange/starkzap) 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 keep-starknet-strange/starkzap --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, npm, pytest, tsc and npx). Our summary lists: Node.js. Its frontmatter pre-approves these tools: Read, Edit, Write, Glob, Grep, Bash.
SKILL.md contains no URLs. Its commands use git, npm and 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 flagged 1 warning(s): tells the agent its actions are pre-authorized / not to stop for confirmation. Read the flagged lines before installing; the check is not a guarantee either way.
No licence was found for Code Simplifier or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.
About 2.1k tokens (SKILL.md is roughly 8.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: Codebase Health Refactoring (kucherenko/jscpd, 6.3k stars), DRY Refactoring With jscpd (kucherenko/jscpd, 6.3k stars), Code Simplifier (TwiTech-LAB/devchain, 101 stars) and Simplify Recent Changes (QwenLM/qwen-code, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
keep-starknet-strange (a GitHub organization) maintains it in keep-starknet-strange/starkzap, which has 108 GitHub stars. The repository was last updated on September 23, 2026.
Source: keep-starknet-strange/starkzap on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.