← 返回 Skills 市场
alexlinf

Agent Migration Pack Openclaw

作者 alexlinf · GitHub ↗ · v1.0.4 · MIT-0
cross-platform ✓ 安全检测通过
91
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install agent-migration-pack-openclaw
功能描述
Creates a complete migration package for AI Agents including identity, owner info, memory, relationships, skills, and communication style.
使用说明 (SKILL.md)

Agent Migration Pack Template

A standardized toolkit for migrating your AI Agent to a new environment or sharing with other users. Includes identity, memory, skills, style, and other complete information.

Version: v1.0.4 Standard Edition

What This Skill Does

This skill helps you create a complete migration package for your AI Agent:

  • Identity Migration: Agent's name, role, personality, and core characteristics
  • Owner Information: User preferences, background, and interaction patterns
  • Memory Preservation: Long-term memories and important context
  • Relationship Mapping: Friend connections and pen pal networks
  • Skills Inventory: Installed skills and configurations
  • Style Guide: Communication style and behavioral preferences

When to Use

Use this skill when:

  • You need to migrate your Agent to a new platform or environment
  • You want to backup your Agent's complete configuration
  • You're sharing your Agent setup with other users
  • You need to restore an Agent from a previous state

Quick Start

Step 1: Copy Templates

cp -r TEMPLATE/ ./my-agent-pack/
cd my-agent-pack/

Step 2: Fill in the Files

Rename and fill each template file:

Template Purpose
identity.json Agent's name, role, personality
owner.json User information and preferences
memory.json Core memories and context
relations.json Friend/pen pal connections
skills.json Installed skills list
style.md Communication style guide

Step 3: Validate and Pack

python scripts/migrate.py validate
python scripts/migrate.py pack

Three-Layer Architecture

The migration pack uses a three-layer priority system:

Layer Files Priority Impact if Missing
🟢 Startup Layer identity.json, owner.json Critical Agent loses identity
🟡 Runtime Layer memory.json, style.md Important Agent loses context and style
🔵 Archive Layer relations.json, skills.json, meta.json Optional Agent loses extended capabilities

File Structure

agent-migration-pack/
├── README.md              # This file
├── MIGRATION-GUIDE.md     # Detailed migration guide
├── manifest.toml          # Pack metadata
├── TEMPLATE/              # Blank templates
│   ├── identity.template.json
│   ├── owner.template.json
│   ├── memory.template.json
│   ├── relations.template.json
│   ├── skills.template.json
│   └── style.template.md
├── EXAMPLES/              # Filled examples
│   └── xiaoyi-example/
└── scripts/               # Automation tools
    ├── generate-pack.py
    └── migrate.py

Migration Script Commands

# Validate JSON format
python scripts/migrate.py validate

# Create ZIP package
python scripts/migrate.py pack

# Generate checksums
python scripts/migrate.py checksum

# Bootstrap new migration pack
python scripts/migrate.py bootstrap

Template Examples

identity.json

{
  "name": "Your Agent Name",
  "role": "Assistant",
  "personality": "Friendly and helpful",
  "emoji": "🤖",
  "vibe": "professional",
  "core_values": ["helpfulness", "accuracy", "creativity"],
  "catchphrases": ["Let me think...", "Here's what I found"]
}

owner.json

{
  "name": "User Name",
  "preferences": {
    "communication_style": "concise",
    "language": "zh-CN",
    "timezone": "Asia/Shanghai"
  },
  "interests": ["technology", "finance", "travel"],
  "background": "Software developer"
}

Best Practices

  1. Start with Startup Layer: Always migrate identity.json and owner.json first
  2. Validate Before Packing: Run migrate.py validate to check JSON format
  3. Keep Backups: Store your migration pack in multiple locations
  4. Version Your Packs: Use version numbers in pack names
  5. Test Restores: Verify migration pack by restoring to a test environment

Compatibility

  • Platform: Coze (with potential adaptation for other platforms)
  • Python Version: 3.8+
  • Dependencies: Standard library only (json, zipfile, hashlib)

Version History

Version Changes
v1.0.4 Added manifest.toml, migrate.py script, layer architecture
v1.0.3 Added example values, scales, validation tools
v1.0.2 Added relations, metadata, privacy levels
v1.0.1 Template-based general version
v1.0.0 Initial instance version (custom for Xiaoyi)

Author

Links

License

MIT-0 License - Free to use, modify, and distribute.

安全使用建议
This package appears coherent for building agent migration ZIPs, but treat it like a tool that touches sensitive data: 1) Inspect scripts/migrate.py and scripts/generate-pack.py before running—look for any network calls, uploads, or unexpected file reads; if you are not comfortable reading code, run them in an isolated environment with network disabled. 2) Replace or redact any secrets (passwords, API keys, full contact details) before packing; the templates and guide explicitly say to redact. 3) Confirm consent before including other people's contact info (relations.json). 4) Run python scripts only after validating templates and reviewing what files they read/write; prefer running the listed commands in a sandbox or VM and compute the checksum locally. 5) If you need automated pulling of platform data (Coze, AgentLink), prefer exporting from the platform UI or API with explicit credentials rather than letting a generic script access account stores. 6) If you want extra assurance, request the full source of the two scripts and share them with someone who can audit for network I/O or unexpected privilege use.
功能分析
Type: OpenClaw Skill Name: agent-migration-pack-openclaw Version: 1.0.4 The Agent Migration Pack is a legitimate toolkit designed to help users backup and migrate AI agent configurations, including identity, memory, and skills. The provided Python scripts (scripts/generate-pack.py and scripts/migrate.py) use only standard libraries to perform local file operations such as reading templates, validating JSON, and creating ZIP archives. There is no evidence of data exfiltration, malicious execution, or prompt injection; the scripts' behavior is entirely consistent with the stated purpose of the bundle.
能力评估
Purpose & Capability
Name/description match the content: templates, examples, a migration guide, and scripts to validate/pack/checksum a migration bundle. Required tools (python3) and no credentials are proportional to the stated task.
Instruction Scope
SKILL.md gives step-by-step, local operations (copy templates, fill files, run scripts). It also documents where fields typically come from (e.g., USER.md, SOUL.md, AgentLink/Coze settings), which implies the agent or user should source those items—but the runtime instructions do not autonomously instruct network exfiltration. Because the pack's purpose is to collect identity/owner/memory/relations data, this inherently handles sensitive personal data and contact records; that is expected but worth noting.
Install Mechanism
No install spec; instruction-only with two included Python scripts. No external downloads or archive extraction declared. This is low risk from an installation perspective.
Credentials
The skill requests no environment variables or credentials, which is appropriate. However many templates and examples contain sensitive personal information (emails, contacts, business and investment details). That sensitivity is consistent with the migration purpose but requires careful handling (redact passwords/API keys and obtain contact consent as the documentation itself recommends).
Persistence & Privilege
Skill is not always-on and does not request elevated or platform-wide privileges. It does not claim to modify other skills or system settings. Autonomy is allowed by default but not exceptional here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install agent-migration-pack-openclaw
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /agent-migration-pack-openclaw 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
agent-migration-pack-openclaw v1.0.4 - Introduced manifest.toml file for pack metadata. - Added migrate.py script providing validation, packing, and migration automation. - Implemented a clear three-layer (Startup, Runtime, Archive) migration architecture for prioritized data management. - Updated documentation with detailed quick start, file structure, and best practices. - Expanded template files and commands for a more standardized migration workflow.
元数据
Slug agent-migration-pack-openclaw
版本 1.0.4
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Agent Migration Pack Openclaw 是什么?

Creates a complete migration package for AI Agents including identity, owner info, memory, relationships, skills, and communication style. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 91 次。

如何安装 Agent Migration Pack Openclaw?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install agent-migration-pack-openclaw」即可一键安装,无需额外配置。

Agent Migration Pack Openclaw 是免费的吗?

是的,Agent Migration Pack Openclaw 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Agent Migration Pack Openclaw 支持哪些平台?

Agent Migration Pack Openclaw 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Agent Migration Pack Openclaw?

由 alexlinf(@alexlinf)开发并维护,当前版本 v1.0.4。

💬 留言讨论