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,593⑂ 104AI score 5/10Last updated: Sep 11, 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 withemit_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
- Two different
churn_risk_scoredefinitions (engagement-based vs billing-based) → rename both tochurn_risk_engagement_based/churn_risk_billing_based, writechurn-risk-definitions.md, and flag for human review. - A previously ingested bundle is re-uploaded with only the
sql:body changed → replace silently viasl_edit_source, no flag. - A re-ingest where grain or columns changed → replace and record it in the IngestReport's
conflicts_resolvedwithflagged_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)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude 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.
- Open a terminal.
- Clone the repo:
git clone https://github.com/Kaelio/ktx.git - Create the skills directory:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r ktx/packages/cli/src/skills/ingest_triage ~/.claude/skills/ - Verify that
~/.claude/skills/ingest_triage/SKILL.mdexists. - Restart Claude Code and confirm the skill appears in your skill list.
- 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