← Back to Skills Marketplace
110
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install code-simplify
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
- Inspect the relevant diff or latest modified files.
- Review for existing utilities that should be reused.
- Review for code smell: parameter sprawl, copy-paste, leaky abstractions, or unnecessary comments.
- Review for efficiency problems: repeated work, unnecessary reads, event churn, and hot-path bloat.
- 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 is coherent and low-risk: it only needs the diff or changed files you provide to produce cleanup suggestions. Before using it, avoid including secrets or private credentials in the diffs you submit (the model will see file contents). Review and approve any automated code changes the skill proposes, especially for security-sensitive code or build/deploy scripts. If you want stronger assurance, request the exact diff/edits the skill will apply before committing them.
Capability Analysis
Type: OpenClaw Skill
Name: code-simplify
Version: 1.0.0
The code-simplify skill bundle is a standard utility designed for code review and refactoring. The instructions in SKILL.md and agents/openai.yaml are strictly aligned with its stated purpose of identifying code smells, duplication, and inefficiencies in modified files, with no evidence of malicious intent, data exfiltration, or prompt injection attacks.
Capability Assessment
Purpose & Capability
Name and description match the actual contents: the skill is an instruction-only code-review/cleanup helper. It does not request binaries, env vars, or access that would be unrelated to reviewing diffs/changed files.
Instruction Scope
SKILL.md directs the agent to inspect the relevant diff or changed files, focus on changed code, and apply concrete fixes. It does not instruct reading unrelated system files, environment variables, nor sending data to external endpoints. Guardrails explicitly limit scope to changed code.
Install Mechanism
No install spec and no code files to execute. This is the lowest-risk model for a skill of this type.
Credentials
No environment variables, credentials, or config paths are required. The lack of requested secrets is proportionate to the skill's stated purpose.
Persistence & Privilege
always is false and the skill is user-invocable. It does not request permanent presence or modifications to other skills or system-wide settings.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install code-simplify - After installation, invoke the skill by name or use
/code-simplify - 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
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 110 downloads so far.
How do I install Code Simplifier?
Run "/install code-simplify" 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.
More Skills