LogoClawIndex
CasesSkillsAbout
LogoClawIndex

migrate-module - Automatically migrate Python modules and update imports

Moves Python modules or symbols to new locations and rewrites import statements across the codebase.

Tags

Updated: 2026-02-14

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • identify move target
  • analyze dependencies
  • generate refactoring plan
  • preview migration changes
  • execute move operation
  • rewrite import statements
  • create __init__.py files
  • generate backward-compatibility adapters

Inputs

  • Python module file
  • Symbol name
  • New location path
  • Codebase repository

Outputs

  • Moved module file
  • Updated import statements
  • Created __init__.py files
  • Backward-compatibility adapter file
  • Migration plan report

Requirements

  • Python codebase
  • File system access
  • Refactoring permissions

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
refactoring
python
migration
code-maintenance
automation
identify move target
analyze dependencies
generate refactoring plan
preview migration changes
Python module file
Symbol name
New location path
Moved module file
Updated import statements
Created __init__.py files