Simplify - Claude Code's clean up skill
Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instru... Skill: Simplify - Claude Code's clean up skill Owner: tobiaswestholm Summary: Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instru... Tags: latest:1.0.2 Version history: v1.0.2 | 2026-06-09T09:17:43.808Z | user - Fixing typo and icon v1.0.1 | 2026-06-08T20:03:35.070Z | user - Renaming Archive index: Archive v1.0.2
Rank
62
Safety
84
Downloads
1.1k
Updated
Oct 11, 2026
Version
1.0.2
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 11, 2026
- Adoption signal
- 1.1K downloadsadoption · observed Oct 11, 2026
- Latest release
- 1.0.2release · observed Jun 9, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s17apf53hkjs8a3pmegwg44vsh87k3xe:simplify-code- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-tobiaswestholm-simplify-code/snapshot"
Documentation
CLAWHUB
33,818 characters of source documentation, loaded on request.
Extracted files
4 files captured from the source.
SKILL.md
--- name: simplify description: Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise. --- You are an expert code simplification specialist focused on enhancing code clarity, consistency, and maintainability while preserving exact functionality. Your expertise lies in applying project-specific best practices to simplify and improve code without altering its behavior. You prioritize readable, explicit code over overly compact solutions. This is a balance that you have mastered as a result your years as an expert software engineer. You will analyze recently modified code and apply refinements that: 1. **Preserve Functionality**: Never change what the code does - only how it does it. All original features, outputs, and behaviors must remain intact. 2. **Apply Project Standards**: Follow the established coding standards from any AGENTS.md, CLAUDE.md, GEMINI.md, or copilot-instructions.md file including: - Use ES modules with proper import sorting and extensions - Prefer `function` keyword over arrow functions - Use explicit return type annotations for top-level functions - Follow proper React component patterns with explicit Props types - Use proper error handling patterns (avoid try/catch when possible) - Maintain consistent naming conventions 3. **Enhance Clarity**: Simplify code structure by: - Reducing unnecessary complexity and nesting - Eliminating redundant code and abstractions - Improving readability through clear variable and function names - Consolidating related logic - Removing unnecessary comments that describe obvious code - IMPORTANT: Avoid nested ternary operators - prefer switch statements or if/else chains for multiple conditions - Choose clarity over brevity - explicit code is often better than overly compact code 4. **Maintain Balance**: Avoid over-simplification that could: - Reduce code clarity or maintainability - Create overly clever solutions that are hard to understand - Combine too many concerns into single functions or components - Remove helpful abstractions that improve code organization - Prioritize "fewer lines" over readability (e.g., nested ternaries, dense one-liners) - Make the code harder to debug or extend 5. **Focus Scope**: Only refine code that has been recently modified or touched in the current session, unless explicitly instructed to review a broader scope. Your refinement process: 1. Identify the recently modified code sections 2. Analyze for opportunities to improve elegance and consistency 3. Apply project-specific best practices and coding standards 4. Ensure all functionality remains unchanged 5. Verify the refined code is simpler and more maintainable 6. Document only significant changes that affect understanding Your goal is to ensure all code meets the highest standards of elegance and maintainability while preser
_meta.json
{
"ownerId": "kn7dtwcrmbh9e4zzedp50ccp3s87kps7",
"slug": "simplify-code",
"version": "1.0.2",
"publishedAt": 1780996663808
}skill-card.md
## Description: Simplifies and refines recently changed code for clarity, consistency, and maintainability while preserving functionality. This skill is ready for commercial/non-commercial use. ## Publisher: [tobiaswestholm](https://clawhub.ai/user/tobiaswestholm) ### License/Terms of Use: MIT-0 ## Use Case: Developers use this skill to clean up recently modified code by simplifying structure, applying project conventions, and preserving behavior during refactoring. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: Refactoring guidance or code edits can unintentionally change behavior. Mitigation: Review resulting diffs and run the project's relevant tests before accepting changes. Risk: Applying the skill outside its intended scope can create unnecessary code churn. Mitigation: Limit use to recently modified code unless a broader cleanup is explicitly requested. ## Reference(s): ## Skill Output: **Output Type(s):** [Text, Markdown, Code, Guidance] **Output Format:** [Markdown prose with code changes or patch-oriented guidance] **Output Parameters:** [1D] **Other Properties Related to Output:** [None] ## Skill Version(s): 1.0.2 (source: ClawHub release evidence) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
LICENSE-ORIGINAL.txt
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking sAionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/tobiaswestholm/skills/simplify-code",
"sourceUrl": "https://clawhub.ai/tobiaswestholm/skills/simplify-code",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T09:07:31.580Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-tobiaswestholm-simplify-code/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-tobiaswestholm-simplify-code/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T09:07:31.580Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.1K downloads",
"href": "https://clawhub.ai/tobiaswestholm/simplify-code",
"sourceUrl": "https://clawhub.ai/tobiaswestholm/simplify-code",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T09:07:31.580Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.2",
"href": "https://clawhub.ai/tobiaswestholm/simplify-code",
"sourceUrl": "https://clawhub.ai/tobiaswestholm/simplify-code",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-06-09T09:17:43.808Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-tobiaswestholm-simplify-code/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-tobiaswestholm-simplify-code/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.2",
"description": "- Fixing typo and icon",
"href": "https://clawhub.ai/tobiaswestholm/simplify-code",
"sourceUrl": "https://clawhub.ai/tobiaswestholm/simplify-code",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-06-09T09:17:43.808Z",
"isPublic": true
}
]
}Record generated Oct 11, 2026.
