AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

Ingest Triage (conflict classification)

A ktx-internal skill that classifies and resolves ingest-time conflicts: duplicates, definitional contradictions, re-ingest changes, and evictions.

Data & AnalyticsAdvanced★ 1,626⑂ 110AI score 5/10Last updated: Oct 22, 2026

What it does

  • Gives a decision tree to run before any write that could collide with an existing semantic-layer (SL) artifact.
  • Classifies conflicts into four kinds: identical duplicate (skip), expression-only re-ingest (silent replace), structural/semantic break (replace + flag for human), and same-ingest definitional contradiction (rename every variant + write a unified wiki page).
  • Specifies canonical election rules for structural and near-duplicate clusters: highest inbound-ref count, then lexicographic unit key, then source name.
  • Defines how to honor a <canonical_pins> block as a prior user decision, and the Stage 4 eviction procedure with emit_eviction_decision.
  • Includes explicit "silence rules" for when to flag versus when to resolve quietly, plus naming-disambiguation guidance (domain suffixes, never numeric ones).

Who it's for

  • Developers running the ktx (Kaelio) memory_agent and its Stage 3/4 ingest pipeline.
  • Data platform engineers who want a reference design for auto-resolving duplicate and contradictory metric definitions in a semantic layer.
  • Anyone drafting their own conflict-resolution ruleset who wants a well-structured model to copy.

Examples

  1. Two different churn_risk_score definitions (engagement-based vs billing-based) → rename both to churn_risk_engagement_based / churn_risk_billing_based, write churn-risk-definitions.md, and flag for human review.
  2. A previously ingested bundle is re-uploaded with only the sql: body changed → replace silently via sl_edit_source, no flag.
  3. A re-ingest where grain or columns changed → replace and record it in the IngestReport's conflicts_resolved with flagged_for_human: true.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/Kaelio/ktx/HEAD/packages/cli/src/skills/ingest_triage/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the packages/cli/src/skills/ingest_triage folder from the GitHub repo Kaelio/ktx into my ~/.claude/skills/ingest-triage/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/Kaelio/ktx.git && mkdir -p ~/.claude/skills && cp -r ktx/packages/cli/src/skills/ingest_triage ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/Kaelio/ktx.git
  3. Create the skills directory: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r ktx/packages/cli/src/skills/ingest_triage ~/.claude/skills/
  5. Verify that ~/.claude/skills/ingest_triage/SKILL.md exists.
  6. Restart Claude Code and confirm the skill appears in your skill list.
  7. Note: the skill assumes ktx-internal tools (sl_discover, sl_edit_source, emit_conflict_resolution). Without the ktx pipeline, treat it as a reference document only.
View source on GitHub ↗License: Apache-2.0