SkillHub

claw-clone

v1.0.1

一键导出或导入小龙虾配置,支持配置共享与克隆,自动备份并过滤敏感信息,方便技能安装与应用恢复。

Sourced from ClawHub, Authored by Anwhere

Installation

Please help me install the skill `claw-clone` from SkillHub official store. npx skills add Anwhere/claw-clone

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:

  1. Identity Files
  2. IDENTITY.md - Identity definition
  3. SOUL.md - Soul/personality settings
  4. USER.md - User information

  5. Configuration Files

  6. AGENTS.md - Agent rules
  7. HEARTBEAT.md - Heartbeat configuration
  8. TOOLS.md - Tools configuration

  9. Skills Information

  10. List of installed skills with versions

  11. OpenClaw Configuration (sensitive info filtered)

  12. Optional: Memory

  13. Ask user whether to include MEMORY.md

Import Mode (claw-clone-in)

Clone another agent's configuration from a provided package:

  1. Parse Package
  2. Validate JSON format
  3. Check version compatibility

  4. Apply Configuration

  5. Write all configuration and identity files
  6. Auto-backup original files (.bak suffix)

  7. Install Skills

  8. Auto-install missing skills

  9. Generate Report

  10. 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