synaptiai/agent-capability-standard/integrate
Claude Code and agent skill by synaptiai/agent-capability-standard
- community
Checking that the SKILL.md file is still in the repository.
Combine heterogeneous data sources into a unified model with conflict resolution, schema alignment, and provenance tracking. Use when merging data from multiple systems, consolidating information, or building comprehensive views.
Install
npx vskill@latest install synaptiai/agent-capability-standard/integrateSKILL.md
Intent
Perform data integration to combine information from multiple heterogeneous sources into a unified, coherent model. This handles schema differences, resolves conflicts, and preserves provenance.
Success criteria:
- All sources are incorporated or explicitly excluded
- Schema mismatches are resolved consistently
- Conflicts are documented with resolution rationale
- Provenance traces every value to its source
- Information loss is minimized and documented
World Modeling Context: Integrate is essential for building comprehensive world-state from multiple observation sources. It combines outputs from retrieve, search, and inspect into unified models, and depends on identity-resolution for entity deduplication.
Hard dependencies:
- Requires
identity-resolutionwhen sources contain overlapping entities
Compatible schemas:
schemas/output_schema.yaml
Inputs
| Parameter | Required | Type | Description | |
|---|---|---|---|---|
sources | Yes | array | Data sources to integrate (files, API outputs, retrieved data) | |
strategy | No | string | Merge strategy | |
conflict_resolution | No | string | How to handle conflicts |
Inputs not listed here are outside the capability's contract: a workflow step that binds them gets W604 (STANDARD v1.1 §5.5).
Procedure
1) Analyze sources: Understand what each source contains
- Inventory entities and attributes per source
- Identify source schemas (explicit or inferred)
- Note data freshness and authority
- Detect overlapping vs. unique content
2) Align schemas: Map source schemas to target
- Identify equivalent fields (same meaning, different names)
- Map types (handle type conversions)
- Handle missing fields (default values, nulls)
- Document unmappable fields (information loss)
3) Resolve entity identity: Determine which records refer to same entity
- Apply
identity-resolutionfor overlapping entities - Assign canonical IDs
- Track all source IDs as aliases
4) Merge attributes: For each entity, combine attributes from sources
- Non-overlapping: Simply include from source
- Overlapping, matching: Confirm consistency
- Overlapping, conflicting: Apply conflict strategy
5) Apply conflict strategy (conflict_resolution):
For prefer_recent:
- Use the most recently updated value
- Requires reliable timestamps
For prefer_authoritative:
- Rank sources by authority
- Use value from most authoritative source
For merge:
- Combine values where possible (lists, sets)
- For scalars, may require manual resolution
For manual:
- Flag all conflicts for human review
- Do not auto-resolve
6) Validate integrated data: Check against target schema
- Required fields present
- Type constraints satisfied
- Relationship integrity maintained
- Custom invariants hold
7) Document integration: Record what happened
- Per-field provenance (which source)
- Conflict resolutions with rationale
- Information loss (unmapped fields)
- Transformation applied
8) Produce output: Generate integrated model
- Conforms to target schema
- Includes provenance metadata
- Documents confidence levels
Output Contract
Return a structured object:
Field Definitions
| Field | Type | Description | |
|---|---|---|---|
merged | object | The unified data model (entities, relationships; observations and meta.world_id when merging observation streams into a world model) | |
merged.entities[].source_map | object | Per-attribute source tracking | |
integration_report | object | Sources used/excluded, entity counts, field mapping, information loss, validation | |
integration_report.information_loss | array | Data that couldn't be integrated | |
conflicts | array | All conflicts found and how each was resolved | |
provenance | object | Source metadata and integration timestamp | |
confidence | number | 0.0-1.0 overall integration confidence | |
evidence_anchors | array | References to each source consulted | |
assumptions | array | Assumptions made while integrating |
Examples
Example 1: Integrating Service Data from Multiple Sources
Input:
Target schema: microservices_v1.
Output:
Evidence pattern: Mapped fields from three sources to unified schema, resolved status conflict using recency.
Example 2: Integrating Documentation with Code Analysis
Input:
Target schema: api_documentation.
Output:
Verification
- [ ] All source entities are accounted for (integrated or documented as excluded)
- [ ] Conflicts have documented resolutions
- [ ] Output validates against target schema
- [ ] Provenance traces every attribute to source
- [ ] Information loss is documented
Verification tools: Schema validators, provenance checkers
Safety Constraints
mutation: falserequires_checkpoint: falserequires_approval: falserisk: low
Capability-specific rules:
- Never silently drop data - document all information loss
- When confidence < 0.5 on a merge, flag for review
- Preserve source identifiers for traceability
- Apply
identity-resolutionbefore merging overlapping entities
Composition Patterns
Commonly follows:
retrieve- Get data from sources before integratingsearch- Discover relevant sources to integrateidentity-resolution- Resolve entity identity before merge
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/integrate/SKILL.md
Popularity
- Repository stars
- 6
- Repository forks
- 2
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/synaptiai/agent-capability-standard/integrate)