← Back to Skills Marketplace
michealxie001

OpenClaw Refactoring

by michealxie001 · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ⚠ suspicious
94
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install oc-refactoring
Description
Automated refactoring assistant. Performs safe code transformations including rename, extract method, inline variable, and move code. Provides refactoring su...
Usage Guidance
This package appears to be a local refactoring tool for Python that creates backups and edits files. Before installing/using it: 1) Note that SKILL.md references files (extract.py, utils.py) that are missing — some advertised features may be unimplemented. 2) The suggestion engine will try to load a C parser from a sibling 'c-support/lib' directory on disk — check where that would point in your environment so it doesn't unexpectedly import unrelated code. 3) Always run with --dry-run first and use a Git repo (or a copy of your project) so you can inspect changes and backups under .refactoring/backup. 4) Inspect the actual scripts in this package before running them on important repositories. If you need the (claimed) C/C++ support, obtain and inspect the c-support dependency from a trusted source; do not rely on implicit imports from arbitrary sibling directories. If you want a cleaner install surface, prefer a packaged tool (pip/brew) from a trusted registry or run this in an isolated environment.
Capability Analysis
Type: OpenClaw Skill Name: oc-refactoring Version: 1.1.0 The skill bundle provides a legitimate automated refactoring tool for Python and C/C++ code. It includes functionality for renaming symbols, generating refactoring suggestions based on code smells (e.g., complexity, long methods), and managing backups for undoing changes. The code uses standard libraries like `ast` for parsing and `shutil` for file operations, with no evidence of malicious intent, data exfiltration, or unauthorized execution.
Capability Assessment
Purpose & Capability
The name/description match the shipped code for Python renames and suggestions. However SKILL.md lists additional modules (extract.py, utils.py) that are not present in the file manifest; the roadmap also marks many features unimplemented. This mismatch suggests the documentation overclaims features or files were omitted from the package.
Instruction Scope
Runtime instructions are primarily local CLI operations (preview, backup, undo) which is appropriate. However suggest.py attempts to import a C parser from a sibling 'c-support/lib' outside the skill directory (Path(__file__).parent.parent.parent / 'c-support' / 'lib'), which means the skill will try to load code from nearby filesystem locations not declared in the manifest. SKILL.md also instructs use of git stash/commit (which can modify the repo); while the tool itself doesn't appear to run git automatically, users following the instructions will alter their repositories. No network calls or credential access are present.
Install Mechanism
No install spec; this is instruction+script only and doesn't download or execute remote archives. That's low-risk from an installation perspective.
Credentials
The skill declares no required environment variables, no credentials, and no config paths. The code likewise does not request secrets or network credentials. It writes backups under the project (.refactoring/backup) which is proportionate to its function.
Persistence & Privilege
The skill is not force-enabled (always:false) and does not modify other skills or global agent settings. It creates local backups and can undo changes; those are normal for a refactoring tool.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install oc-refactoring
  3. After installation, invoke the skill by name or use /oc-refactoring
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
Added C/C++ support: refactoring suggestions, magic number detection, goto detection
Metadata
Slug oc-refactoring
Version 1.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is OpenClaw Refactoring?

Automated refactoring assistant. Performs safe code transformations including rename, extract method, inline variable, and move code. Provides refactoring su... It is an AI Agent Skill for Claude Code / OpenClaw, with 94 downloads so far.

How do I install OpenClaw Refactoring?

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

Is OpenClaw Refactoring free?

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

Which platforms does OpenClaw Refactoring support?

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

Who created OpenClaw Refactoring?

It is built and maintained by michealxie001 (@michealxie001); the current version is v1.1.0.

💬 Comments