An automated refactoring assistant designed to perform safe code transformations and detect technical debt within your project.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install openclaw-refactoring
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install openclaw-refactoring using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Refactoring Assistant is a specialized tool within the Openclaw Skills ecosystem that automates the tedious and often risky process of code restructuring. It enables developers to execute complex operations—such as renaming symbols, extracting methods, and moving code blocks—with confidence by handling scope resolution and reference updates automatically. By integrating this skill into your workflow, you can maintain a cleaner codebase and adhere to best practices without the manual overhead typically associated with structural changes.
To begin using this skill within your development environment, follow these steps:
# Navigate to your project directory
cd your-project-path
# Run the tool to see suggested improvements
python3 scripts/main.py suggest src/
# Configure custom rules by creating a .refactoring.json file
The Refactoring Assistant organizes its operations through configuration files and safety backups as detailed below:
| Item | Description |
|---|---|
.refactoring.json |
Main configuration file for setting ignore patterns, backup toggles, and complexity rules. |
.refactoring/backup/ |
Directory containing timestamped subfolders with original file states (e.g., .bak files). |
scripts/ |
Contains the core engines for renaming, extraction, and code smell analysis. |
SKILL.md |
The definition file used by Openclaw Skills to manage the tool's capabilities. |
Loading
A biologically-inspired memory consolidation system that distills daily fragments of AI interactions into structured long-term knowledge.

A sophisticated framework for parameterizing and executing Chinese mutual fund strategies based on price drawdown, DCA, and cash-pool management.

A sophisticated Playwright-based scraping engine for Openclaw Skills that bypasses Cloudflare and anti-bot security.

Clawrma is a versatile utility for web fetching, search, and inference that serves as a reliable fallback for agentic workflows.

A secure bridge for AI agents to interact with Home Assistant devices using a human-in-the-loop approval workflow.

A high-performance FFmpeg integration for merging multiple video clips into a single seamless file without the GUI overhead.








































