claw-clone
v1.0.1一键导出或导入小龙虾配置,支持配置共享与克隆,自动备份并过滤敏感信息,方便技能安装与应用恢复。
Installation
claw-clone - OpenClaw Agent Clone Skill
🦞 One-click export/import of OpenClaw agent configuration for sharing and cloning.
Triggers
- "export" / "export config" / "export package" / "clone yourself"
- "import" / "import config" / "import package" / "clone"
- When user wants to share or obtain agent configuration
Features
Export Mode (claw-clone-out)
Export all key information of the current agent into a shareable package:
- Identity Files
- IDENTITY.md - Identity definition
- SOUL.md - Soul/personality settings
-
USER.md - User information
-
Configuration Files
- AGENTS.md - Agent rules
- HEARTBEAT.md - Heartbeat configuration
-
TOOLS.md - Tools configuration
-
Skills Information
-
List of installed skills with versions
-
OpenClaw Configuration (sensitive info filtered)
-
Optional: Memory
- Ask user whether to include MEMORY.md
Import Mode (claw-clone-in)
Clone another agent's configuration from a provided package:
- Parse Package
- Validate JSON format
-
Check version compatibility
-
Apply Configuration
- Write all configuration and identity files
-
Auto-backup original files (.bak suffix)
-
Install Skills
-
Auto-install missing skills
-
Generate Report
- Show import results
Usage
After triggering, the skill asks "export" or "import":
- Export: Generate package for user to copy and share
- Import: User pastes package content, auto-clone
Sensitive Info Filtering
Auto-filtered on export: - API keys, tokens, passwords, secrets
Manual config after import: - API keys - Channel credentials - Other auth info
Notes
- Import overwrites existing config (auto-backed up)
- Some configs require restart to take effect
- Some skills may need additional configuration