account-sync

Copies metadata between two Lyncs accounts with profiles and dry-run.

4|1|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/lytics/agent-skills --skill account-sync
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: account-sync
Source: https://github.com/lytics/agent-skills/tree/main/account-sync
Command: npx skills add https://github.com/lytics/agent-skills --skill account-sync

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Copy metadata between two Lytics accounts safely and reproducibly, enabling promotions and cross-account synchronization without manual re-entry.

Core Features & Use Cases

  • Migrates segments, schema fields and mappings, flows, jobs, connections, and auth providers between accounts.
  • Handles account-level configuration (settings, per-table idconfig, field rankings) and keeps dependencies intact during transfers.
  • Supports dry-run, create/update/diff workflows, and traceability for auditing and rollback.

Quick Start

Run the account-sync command to copy a sample object from the sandbox profile to the production profile.

Frequently Asked Questions about account-sync

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I copy segments and flows between Lytics accounts?

You can sync segments, flows, jobs, and connections between two Lytics accounts by executing a metadata copy command with source and destination profiles. The process remaps internal IDs and preserves object dependencies.

What is the safest way to migrate account settings and schema mappings across Lytics environments?

The safest way to migrate account-level configurations is using a dry-run sync to preview changes before applying them. This creates reproducible promotions by remapping internal IDs and dependencies while keeping the source account intact.

Can I preview metadata changes before syncing to a production Lytics account?

Yes, you can preview metadata changes using the dry-run flag to perform a diff operation. This shows exactly what will be created or updated before any actual modifications are committed to the destination account.

Does Lytics metadata sync support create-only workflows to prevent overwriting existing connections?

Yes, the sync supports a create-only flag that restricts operations to creating new objects without modifying or overwriting existing metadata. This prevents accidental updates to established flows, jobs, and connections in the target account.

How do I trace and audit metadata transfers between Lytics accounts for rollback?

You can trace and audit metadata transfers by enabling trace data appending during the sync operation. This provides a record of synced segments, schema fields, and account settings to support auditing and rollback procedures.

What are the limitations of cross-account metadata sync for flows and jobs?

Cross-account sync requires per-account profile files for credential derivation and cannot transfer objects with unresolved external dependencies. It focuses on metadata like flows, jobs, and settings rather than underlying audience data.