---
title: "Site Migration Module"
module_id: "siteMigration"
version: "1.0.0"
category: "content"
autonomy: "agent-capable"
generated: true
generated_at: "2026-05-04"
---

# Site Migration

> Clone and migrate external websites into FlowWink. Discovers pages, extracts branding, and creates blocks that match the source site\

Ships with **1 agent skill**.

## Quick Facts

| Property | Value |
|----------|-------|
| **Module ID** | `siteMigration` |
| **Version** | 1.0.0 |
| **Category** | content |
| **Autonomy** | agent-capable |
| **Core** | No |
| **Capabilities** | `data:read`, `data:write`, `content:receive` |
| **MCP-exposed skills** | 1 |
| **Owns tables** | — |

## Integrations

**Required:** `firecrawl`
**Optional:** `jina`

## Skills

These skills are seeded into `agent_skills` when the module is enabled and exposed via MCP.
External operators (FlowPilot, OpenClaw, Claude Desktop, custom MCP clients) can call them directly.

| Skill | Scope | Description |
|-------|-------|-------------|
| `migrate_url` | internal | Migrate an external webpage into FlowWink-ready blocks with brand extraction and page discovery. Use when: user pastes a URL to migrate, importing content from an external website, rebuilding an ex… |

## Module API Contract

**Actions:** `discover`, `migrate_page`, `analyze_brand`

**Input fields:** `action`, `url`, `search`, `pageType`, `slug`, `title`

**Output fields:** `success`, `data`, `branding`, `error`, `providers`, `scraper`, `ai`

## File Map

| Purpose | Path |
|---------|------|
| Module definition | `src/lib/modules/site-migration-module.ts` |

## Contributing

To enhance this module, see [Contributing Guide](../contributing/contributing.md).

Key rules:
- Follow `ModuleDefinition<I, O>` contract pattern
- All schema changes require idempotent migrations
- Skills must be self-describing ([Law 2](../concepts/openclaw-law.md))
- Blocks are interfaces, not pipelines ([Law 3](../concepts/openclaw-law.md))
- New skills must pass the [Agent Contract Integrity](../architecture/agent-contract-integrity.md) checklist (`bun run lint:skills`)

---

*This file is auto-generated by `scripts/generate-module-docs.ts`. Do not edit manually — re-run the script after changing the module definition.*