indykite-ciq-create-relationship

Installation
SKILL.md

IndyKite ContX IQ - create a new relationship

A CIQ relationship-create policy declares an allowed_upserts.relationships.relationship_types whitelist of {type, source_node_label, target_node_label} triples; the Knowledge Query's upsert_relationships array names the new relationship and references variables from the policy's cypher as source and target. The two endpoint nodes are matched in the policy's cypher - they must already exist in the IKG. The new relationship is what's created.

This skill covers exactly that - relationship creation between two pre-existing nodes. Other paths are deliberately out of scope:

  • Creating a new node uses allowed_upserts.nodes.node_types and upsert_nodes - see indykite-ciq-create-node.
  • Creating a relationship to a brand-new node combines both: an upsert_nodes entry for the new node plus an upsert_relationships entry that points its source or target at the fresh name. The schema supports this; this skill keeps the example tight to two existing endpoints for clarity. See "Adapting for a fresh endpoint" near the bottom.
  • Updating an existing relationship's properties uses allowed_upserts.relationships.existing_relationships.
  • Deletes use allowed_deletes.relationships.

For reads, see indykite-ciq-read.

When to use

Activate this skill when the user:

Installs
27
Repository
indykite/skills
First Seen
May 19, 2026
indykite-ciq-create-relationship — indykite/skills