Simplify Code

v1.0.2

Refactor code for clarity, consistency, and maintainability without changing behavior. Use when the user types /simplify or asks to simplify code.

2· 1.5k·13 current·14 all-time
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name and description match the SKILL.md: the skill is an instruction-only refactoring helper and does not require binaries, credentials, or external services that would be unrelated to code simplification.
Instruction Scope
Instructions are focused on refactoring while preserving behavior and ask the agent to match project conventions and "focus on recently modified code." That reasonably implies the agent will read the provided file(s) and surrounding code to infer style; this is expected for a refactoring skill but means the agent may read multiple files in the repository to follow conventions — review changes before committing.
Install Mechanism
There is no install spec and no code files, so nothing will be downloaded or written to disk by an installer. Lowest-risk install posture.
Credentials
The skill requests no environment variables, credentials, or config paths, which is proportionate for a code-refactoring instruction-only skill.
Persistence & Privilege
always is false and the skill is user-invocable. It does not request persistent system-wide privileges or attempt to modify other skills or agent configurations.
Assessment
This is an instruction-only refactoring helper and appears internally consistent. Before using: (1) expect the agent to read the files you provide and nearby code to match conventions — only give it code you are comfortable sharing; (2) review the refactored output/diff before applying or committing changes to ensure behavior is preserved; (3) if you want edits limited to a single file or specific rules, state that explicitly in your prompt. No credentials or installers are requested by this skill.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

🧹 Clawdis
latestvk9712wnqcjaha1pcheqbhxa8gs82ebed
1.5kdownloads
2stars
3versions
Updated 1mo ago
v1.0.2
MIT-0

Simplify Code

Refactor code to make it easier to read, simpler to maintain, and more consistent with the surrounding codebase without changing what it does.

Invoke this skill with /simplify.

Purpose

Use this skill when a user wants cleaner code, a more direct implementation, or a readability pass that preserves exact functionality.

Working Principles

Preserve functionality. Never change behavior, outputs, side effects, or public interfaces unless the user explicitly asks for that.

Apply project standards. Match the existing conventions, patterns, naming style, and architectural expectations of the codebase.

Reduce unnecessary complexity. Flatten avoidable nesting, remove redundant abstractions, and prefer the most direct implementation that remains clear.

Keep variables intentional. Avoid introducing extra state unless it materially improves readability or is reused enough to justify it.

Improve naming and structure. Prefer clear variable and function names, and group related logic so the code reads in a straightforward way.

Default Scope

Focus on recently modified code unless the user points to a different file, module, or diff.

Reference

Inspired by the new Claude Code /simplify command:

https://x.com/bcherny/status/2027534984534544489?s=20

Comments

Loading comments...