integrate
Skill6 starsChanged 14 days agoApache-2.0View on GitHub
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.
11 other projects use a version of this.
Adopted by
Most recently taken up by
- BANKSapi/claude-plugintheir own version, first seen Nov 1, 2026
- masseater/skillstheir own version, first seen Oct 25, 2026
- modeled-information-format/mnemonictheir own version, first seen Oct 13, 2026
- VoTruongDanh/Skills-Agenttheir own version, first seen Oct 13, 2026
- ykeezy/skillstheir own version, first seen Oct 9, 2026
- DanMcInerney/architect-looptheir own version, first seen Oct 8, 2026
Used with
Projects with it also use review.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SentrySkillreview
Fixture review skill.
Also in 3 projects that use this
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- suboss87/FDEOps★ 940same name
- DanMcInerney/architect-loop★ 626same name
- yha9806/academic-writing-toolkit★ 54same name
- Dan-Cleary/fdestack★ 40same name
- dfrysinger/qrspi-plus★ 37same name
- modeled-information-format/mnemonic★ 23same name
- VoTruongDanh/Skills-Agent★ 4same name
- masseater/skills★ 2same name
- BANKSapi/claude-plugin★ 1same name
- ykeezy/skills★ 1same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository42 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- attributeSkill
- auditSkill
- gap-analysis-workflowSkill
- checkpointSkill
- classifySkill
- compareSkill
- constrainSkill
- critiqueSkill
- debug-workflowSkill
- decomposeSkill
- delegateSkill
- detectSkill
- digital-twin-bootstrapSkill
- digital-twin-sync-workflowSkill
- discover-capabilitiesSkill
- discoverSkill
- executeSkill
- explainSkill
- generateSkill
- groundSkill
- inquireSkill
- invokeSkill
- measureSkill
- mutateSkill
- observeSkill
- persistSkill
- perspective-validationSkill
- planSkill
- predictSkill
- recallSkill
- receiveSkill
- retrieveSkill
- rollbackSkill
- searchSkill
- sendSkill
- simulateSkill
- stateSkill
- synchronizeSkill
- transformSkill
- transitionSkill
- verifySkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 9 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
All sources are incorporated or explicitly excluded
- Distinctive: line 54
Document unmappable fields (information loss)
- Distinctive: line 69
Use the most recently updated value
- Distinctive: line 74
Use value from most authoritative source
- Distinctive: line 84
Validate integrated data: Check against target schema
- Distinctive: line 400
Never silently drop data - document all information loss
- Distinctive: line 401
When confidence < 0.5 on a merge, flag for review
- Distinctive: line 418
Never integrate without understanding source schemas
- Distinctive: line 419
Avoid ignoring conflicts - always resolve or flag
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
- 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
- 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)
- Resolve entity identity: Determine which records refer to same entity
- Apply
identity-resolutionfor overlapping entities - Assign canonical IDs
- Track all source IDs as aliases
- Apply
- Merge attributes: For each entity, combine attributes from sources
- Non-overlapping: Simply include from source
- Overlapping, matching: Confirm consistency
- Overlapping, conflicting: Apply conflict strategy
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
- Validate integrated data: Check against target schema
- Required fields present
- Type constraints satisfied
- Relationship integrity maintained
- Custom invariants hold
- Document integration: Record what happened
- Per-field provenance (which source)
- Conflict resolutions with rationale
- Information loss (unmapped fields)
- Transformation applied
- Produce output: Generate integrated model
- Conforms to target schema
- Includes provenance metadata
- Documents confidence levels
Output Contract
Return a structured object:
merged:
schema: string | object # Target schema reference or inline
entities:
- id: string # Canonical ID
type: string # Entity type
attributes: object # Integrated attributes
source_map: # Where each attribute came from
attribute_name:
source: string
original_value: any | null # If transformed
confidence: number
relationships:
- source: string
target: string
type: string
provenance: string
observations: array # Merged observations, when the sources are observation streams
meta:
world_id: string # World model identifier, when integrating into a world model
integration_report:
sources_used: array[string]
sources_excluded: array[string]
entity_count:
total: integer
from_single_source: integer
merged: integer
field_mapping:
- source_field: string
target_field: string
transformation: string | null
information_loss:
- source: string
field: string
reason: string # unmappable, filtered, etc.
impact: low | medium | high
validation_results:
passed: boolean
errors: array[string]
warnings: array[string]
conflicts:
- entity_id: string
field: string
values:
- source: string
value: any
resolution: string
resolved_value: any
confidence: number
provenance:
sources: array[object] # Source metadata
integration_timestamp: string
confidence: number
confidence: number # 0.0-1.0 overall
evidence_anchors: array[string]
assumptions: array[string]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:
sources:
- name: "kubernetes"
type: "api"
data:
- id: "api-gateway-deployment"
status: "Running"
replicas: 3
last_updated: "2025-01-24T10:00:00Z"
- name: "datadog"
type: "api"
data:
- service_name: "api-gateway"
health: "healthy"
latency_p99: 45
last_updated: "2025-01-24T10:05:00Z"
- name: "package.json"
type: "file"
data:
- name: "api-gateway"
version: "2.3.1"
dependencies: ["express", "cors"]
conflict_resolution: prefer_recentTarget schema: microservices_v1.
Output:
merged:
schema: "microservices_v1"
entities:
- id: "api-gateway"
type: "Service"
attributes:
name: "api-gateway"
version: "2.3.1"
status: "healthy"
replicas: 3
latency_p99: 45
dependencies: ["express", "cors"]
source_map:
name:
source: "package.json"
original_value: null
confidence: 1.0
version:
source: "package.json"
original_value: null
confidence: 1.0
status:
source: "datadog"
original_value: "healthy"
confidence: 0.9
replicas:
source: "kubernetes"
original_value: null
confidence: 1.0
latency_p99:
source: "datadog"
original_value: null
confidence: 0.95
dependencies:
source: "package.json"
original_value: null
confidence: 1.0
relationships: []
integration_report:
sources_used: ["kubernetes", "datadog", "package.json"]
sources_excluded: []
entity_count:
total: 1
from_single_source: 0
merged: 1
field_mapping:
- source_field: "kubernetes.status"
target_field: "status"
transformation: "Mapped 'Running' to 'healthy'"
- source_field: "datadog.service_name"
target_field: "name"
transformation: null
information_loss:
- source: "kubernetes"
field: "labels"
reason: "No target schema field for Kubernetes labels"
impact: low
validation_results:
passed: true
errors: []
warnings:
- "Service has no APIs defined"
conflicts:
- entity_id: "api-gateway"
field: "status"
values:
- source: "kubernetes"
value: "Running"
- source: "datadog"
value: "healthy"
resolution: "prefer_recent (datadog more recent)"
resolved_value: "healthy"
confidence: 0.85
provenance:
sources:
- name: "kubernetes"
authority: high
freshness: "2025-01-24T10:00:00Z"
- name: "datadog"
authority: medium
freshness: "2025-01-24T10:05:00Z"
- name: "package.json"
authority: high
freshness: "2025-01-20T00:00:00Z"
integration_timestamp: "2025-01-24T12:00:00Z"
confidence: 0.9
confidence: 0.9
evidence_anchors:
- "kubernetes_api:deployments/api-gateway-deployment"
- "datadog:services/api-gateway"
- "package.json:1-20"
assumptions:
- "All sources refer to the same service"
- "Datadog health status more accurate than K8s Running state"Evidence pattern: Mapped fields from three sources to unified schema, resolved status conflict using recency.
Example 2: Integrating Documentation with Code Analysis
Input:
sources:
- name: "code_analysis"
data:
functions:
- name: "processOrder"
file: "src/orders.ts"
parameters: ["orderId", "options"]
- name: "api_docs"
data:
endpoints:
- path: "/orders/process"
method: "POST"
description: "Process a pending order"
parameters:
- name: "order_id"
required: true
conflict_resolution: mergeTarget schema: api_documentation.
Output:
merged:
schema: "api_documentation"
entities:
- id: "endpoint_process_order"
type: "Endpoint"
attributes:
path: "/orders/process"
method: "POST"
description: "Process a pending order"
implementation: "src/orders.ts:processOrder"
parameters:
- name: "order_id"
code_name: "orderId"
required: true
source: "body"
source_map:
path: { source: "api_docs" }
method: { source: "api_docs" }
description: { source: "api_docs" }
implementation: { source: "code_analysis" }
parameters: { source: "merged" }
integration_report:
sources_used: ["code_analysis", "api_docs"]
entity_count:
total: 1
merged: 1
information_loss: []
conflicts:
- entity_id: "endpoint_process_order"
field: "parameters[0].name"
values:
- source: "code_analysis"
value: "orderId"
- source: "api_docs"
value: "order_id"
resolution: "merge - both names preserved (code vs API)"
resolved_value: { name: "order_id", code_name: "orderId" }
confidence: 0.95
confidence: 0.95
evidence_anchors:
- "src/orders.ts:processOrder"
- "api_docs:endpoints/process"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
Commonly precedes:
world-state- Integration produces unified stategrounding- Integrated data needs groundingdiff-world-state- Compare integrated states over time
Anti-patterns:
- Never integrate without understanding source schemas
- Avoid ignoring conflicts - always resolve or flag
Workflow references:
- See
reference/composition_patterns.md#world-model-buildfor integration in model construction - See
reference/composition_patterns.md#digital-twin-sync-loopfor ongoing integration
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.

