← Back to Skills Marketplace
wimi321

Code Simplifier

by wimi321 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
188
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install claude-code-code-simplifier
Description
Use when changed code should be reviewed for reuse, code quality, and efficiency, then cleaned up before finalizing.
README (SKILL.md)

Code Simplifier

Use this skill after making changes and before wrapping up.

Workflow

  1. Inspect the relevant diff or latest modified files.
  2. Review for existing utilities that should be reused.
  3. Review for code smell: parameter sprawl, copy-paste, leaky abstractions, or unnecessary comments.
  4. Review for efficiency problems: repeated work, unnecessary reads, event churn, and hot-path bloat.
  5. Fix confirmed issues and summarize what changed.

Guardrails

  • Prefer concrete fixes over broad stylistic churn.
  • Keep attention on changed code, not the whole codebase.
  • If no issue exists, say so explicitly.

Example Requests

  • Review my diff for duplicate logic and unnecessary complexity.
  • Clean up this changed code before I ship it.

Inputs

  • Relevant diff or changed files
  • Optional focus area

Outputs

  • Concrete cleanup changes
  • Short summary of improvements

Success Criteria

  • Duplication or awkward abstractions were reduced.
  • Performance regressions were checked.
  • No unnecessary churn was introduced.

Non-Goals

  • Massive style-only rewrites
  • Review of untouched code with no link to the change

Source Provenance

Derived from src/skills/bundled/simplify.ts.

Usage Guidance
This skill appears low-risk and does what it claims: review and simplify changed code. Before using it, provide only the diffs or changed files you want analyzed (avoid handing the agent an entire repository containing secrets). Because it's instruction-only, it won't install software or ask for credentials. If you are concerned about autonomous invocation, ensure your agent's skill invocation policies are configured to require approval before the agent runs skills autonomously. Also note source/homepage metadata are minimal—if provenance matters to you, prefer skills with verifiable upstream sources or a published homepage.
Capability Analysis
Type: OpenClaw Skill Name: claude-code-code-simplifier Version: 1.0.0 The 'code-simplifier' skill is a standard utility designed to review and refactor code changes for efficiency and quality. The instructions in SKILL.md and agents/openai.yaml are well-scoped, focusing on reducing duplication and technical debt within modified files, and include explicit guardrails to prevent unnecessary churn or broad codebase modifications.
Capability Assessment
Purpose & Capability
Name/description match the runtime instructions: the skill asks to inspect a diff or changed files and produce focused cleanup changes and a summary. No unrelated capabilities or credentials are requested.
Instruction Scope
SKILL.md confines work to the relevant diff/changed files and explicitly discourages whole-repo sweeping changes. It does not instruct the agent to read system files, environment variables, or transmit data to external endpoints. The instructions ask for user-supplied diffs/changed files as inputs.
Install Mechanism
There is no install spec and no code files to write or execute. Being instruction-only reduces the attack surface because nothing is downloaded or installed by the skill itself.
Credentials
The skill declares no required environment variables, credentials, or config paths. That matches the described purpose of local code review and cleanup.
Persistence & Privilege
The skill does not request permanent presence (always is false) and does not modify other skills or system-wide configs. Note: disable-model-invocation is false (the platform default), so the agent could invoke it autonomously if the platform allows; this is normal but worth awareness.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install claude-code-code-simplifier
  3. After installation, invoke the skill by name or use /claude-code-code-simplifier
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial extraction from local Claude Code source
Metadata
Slug claude-code-code-simplifier
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Code Simplifier?

Use when changed code should be reviewed for reuse, code quality, and efficiency, then cleaned up before finalizing. It is an AI Agent Skill for Claude Code / OpenClaw, with 188 downloads so far.

How do I install Code Simplifier?

Run "/install claude-code-code-simplifier" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Code Simplifier free?

Yes, Code Simplifier is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Code Simplifier support?

Code Simplifier is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Code Simplifier?

It is built and maintained by wimi321 (@wimi321); the current version is v1.0.0.

💬 Comments