A powerful automation skill for converting legacy Python 2 source code to modern Python 3 syntax with built-in test generation.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install neo-py2py3-converter
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 neo-py2py3-converter using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The py2py3-converter is an essential Openclaw Skills extension designed to bridge the gap between legacy environments and modern development standards. Since Python 2 reached its official end-of-life, developers often face the daunting task of manual refactoring. This skill automates the most tedious aspects of migration, ensuring that syntax, type handling, and standard library imports are updated correctly to Python 3 standards.
By integrating this tool into your workflow, you can handle complex transformations such as print function conversions, integer division adjustments, and the removal of deprecated imports. It provides a robust framework for modernization, making it a cornerstone for teams maintaining long-term projects within the Openclaw Skills marketplace.
To get started with this skill, ensure you have the necessary environment configured and run the following commands:
# Install the necessary dependencies
npm install
# Convert a specific file from Python 2 to Python 3
node scripts/cli.js convert --input path/to/legacy.py --output path/to/modern.py
# Run the converter with automated test generation
node scripts/cli.js convert --input file.py --output converted.py --generate-tests
The skill manages data through a structured pipeline that outputs both code and metadata. The following table describes the primary data components:
| Component | Description |
|---|---|
| convertedCode | The final Python 3 compatible source code string. |
| issues | A collection of objects detailing conversion info, warnings, and errors. |
| testFiles | Automatically generated pytest files used for functional validation. |
| exitCodes | Standardized return values (0 for success, 1 for warnings, 2 for errors). |
Loading
Automatically generate comprehensive pytest unit test templates from Python function signatures and docstrings.

A static analysis tool for Python that identifies memory-intensive patterns and suggests actionable performance optimizations.

Effortlessly convert GraphQL schemas into type-safe TypeScript interfaces and enums for seamless frontend and backend integration.

Automates Google AI Pro and Ultra access through advanced proxy and session rotation for Openclaw agents.

A high-performance conversion engine that transforms Python source code into idiomatic, compilable Go for performance-intensive applications.

An automated utility that scans live cloud environments to generate optimized, best-practice Terraform modules across AWS, Azure, and GCP.








































