integration-setup
Skill4 starsChanged 7 months agoMITView on GitHub
Guided setup for data integrations -- connection, auth, and job creation. Use when the user wants to set up, configure, or connect a new data integration end-to-end.
In this repository22 other files it gives its agents.
- account-syncSkill
- audience-advisorSkill
- audience-builderSkill
- audience-snapshotSkill
- campaign-flow-builderSkill
- connection-managerSkill
- data-health-monitorSkill
- entity-lookupSkill
- export-debuggerSkill
- filterql-builderSkill
- flow-managerSkill
- integration-advisorSkill
- job-managerSkill
- lytics-agentSkill
- profile-explorerSkill
- profile-investigatorSkill
- schema-discoverySkill
- schema-managerSkill
- schema-optimizerSkill
- segment-managerSkill
- stream-inspectorSkill
- webhook-template-builderSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
If the user's request involves choosing a workflow, mapping fields, or setting up a new integration from scratch, suggest starting with the …
- Distinctive: line 26
If the user has a specific, well-defined setup request (e.g., "create a job with workflow X and auth Y"), proceed directly.
- Distinctive: line 31
Direction: Import (into Lytics) or Export (from Lytics)
- Distinctive: line 46
Check if valid auth already exists for the target platform.
- Very specific: line 49
Use connection-manager skill to create auth credentials.
- Distinctive: line 57
Use existing connection if available, or create new one.
- Very specific: line 60
Use job-manager skill to create the job with:
- Distinctive: line 74
Create resources in order:
- Distinctive: line 91
Create import job with field mappings
- Distinctive: line 95
Create conversion export job
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Integration Setup
Purpose
Guide users through setting up a complete data integration -- from creating auth credentials to configuring connections and creating jobs. Handles both imports (data flowing into Lytics) and exports (data flowing out to external platforms).
Environment
Requires authenticated API access. See ../references/auth.md for credential resolution.
Inputs
- Description of the desired integration (platform, direction, data type)
- Optional: credentials, segment to export, schedule preferences
Setup Flow
Step 0: Consider Using the Integration Advisor
If the user's request involves choosing a workflow, mapping fields, or setting up a new integration from scratch, suggest starting with the integration-advisor skill:
"For new integrations, I can help you choose the right workflow, map fields, and configure everything optimally. Would you like strategic guidance first?"
If the user has a specific, well-defined setup request (e.g., "create a job with workflow X and auth Y"), proceed directly.
Step 1: Identify Integration Type
Parse the user's description to determine:
- Platform: Facebook, Google, Salesforce, Klaviyo, etc.
- Direction: Import (into Lytics) or Export (from Lytics)
- Data type: Audiences, events, profiles, conversions
Step 2: Check Available Providers
curl -s "${LYTICS_API_URL:-https://api.lytics.io}/v2/provider" \
-H "Authorization: ${LYTICS_API_TOKEN}"Find the matching provider for the target platform.
Step 3: Check Existing Auth
curl -s "${LYTICS_API_URL:-https://api.lytics.io}/v2/auth" \
-H "Authorization: ${LYTICS_API_TOKEN}"Check if valid auth already exists for the target platform.
Step 4: Create Auth (if needed)
Use connection-manager skill to create auth credentials. Guide the user on what credentials are needed for their platform.
Step 5: Create or Select Connection
# Check existing connections
curl -s "${LYTICS_API_URL:-https://api.lytics.io}/v2/connection" \
-H "Authorization: ${LYTICS_API_TOKEN}"Use existing connection if available, or create new one.
Step 6: Configure Job
Use job-manager skill to create the job with:
- Workflow matching the integration type
- Config specific to the platform
- Auth IDs linking to the credentials
- Segment ID (for exports)
Step 7: Confirmation Gate
Present the complete integration setup:
- Auth provider details (type, not credentials)
- Connection configuration
- Job settings (workflow, schedule, segment)
- Raw API payloads for each resource to create
Step 8: Execute on Approval
Create resources in order:
- Auth (if new)
- Connection (if new)
- Job
Report success with links to each created resource.
Common Integration Patterns
Audience Export
- User selects/creates a segment
- Configure export job with segment_id
- Set schedule (continuous, daily, etc.)
Data Import
- Configure connection to data source
- Scan connection to discover available data
- Create import job with field mappings
Conversion API (CAPI)
- Configure auth for the ad platform
- Create conversion export job
- Map Lytics events to platform conversion events
Error Handling
- Missing credentials: Guide user on where to find them in the target platform
- Invalid auth: Suggest re-creating credentials
- Workflow not found: List available workflows for the platform
- Segment not found: Help create the segment first using audience-builder
Dependencies
- Composes:
connection-manager skill,job-manager skill,../references/confirmation-gate.md - References:
../references/auth.md - Related:
audience-builder skill(for creating segments to export)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

