Consolidates scattered facts into a single canonical home and replaces duplicates with references.

Install

mkdir -p .claude/skills/ssotize && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16858" && unzip -o skill.zip -d .claude/skills/ssotize && rm skill.zip

Installs to .claude/skills/ssotize

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Consolidate a fact that's scattered across places into one canonical source and replace the rest with references — mutating. Use when the user asks to deduplicate, consolidate, unify, or establish a single source of truth across artifacts or platforms; or when the same fact lives in many places and copies are drifting. Folds unique details into the canonical home and reconciles contradictions before removing any copy.
421 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Advanced

Key capabilities

  • Audit for scattered facts using `ssotchk` workflow
  • Extract or make a canonical home complete and current
  • Reconcile contradictions in the canonical home
  • Replace duplicate facts with live references to the canonical home
  • Remove now-redundant copies, leaving pointers if necessary
  • Mutate artifacts with edit-safety and platform awareness

How it works

This skill identifies scattered facts, consolidates them into a single canonical source, reconciles contradictions, and replaces all other instances with references, ensuring data integrity.

Inputs & outputs

You give it
Scattered facts across artifacts or platforms
You get back
Consolidated canonical source with references replacing duplicates

When to use ssotize

  • Consolidating documentation
  • Deduplicating code configuration
  • Establishing a single source of truth
  • Repairing drifting information

About this skill

Collapse a scattered truth into one canonical home; make every other place point to it.

Goal

Enforce Single Source of Truth (SSOT): one fact = one home, and every other place that needs it references that home instead of copying it. References don't drift; copies do. This mutates artifacts, so it is deliberate and loss-averse.

Use this to establish or repair SSOT — messy, legacy, or freshly-scaffolded states. Once SSOT holds, don't overuse it: consolidation is a one-time repair, not ongoing upkeep.

Workflow

  1. Audit first — run the ssotchk workflow (or reuse its result) for the canonical home and the per-occurrence action plan. Don't consolidate blind.
  2. Make or extract the canonical home complete and current — fold in any unique detail that lived only in a copy. When no existing copy is canonical, extract a new canonical home instead of promoting a weak copy. Never lose information to consolidation.
  3. Reconcile contradictions in the canonical home FIRST (confirm the correct value with the human when ambiguous); only then point others at it.
  4. Replace each duplicate with a live reference to the canonical home — for docs, use a link, a "see <home>", a quote-with-link, or a transclude where the platform supports it; for code, use an import/source/include of the shared home; for config, use a shared read from the one maintained file.
  5. Remove the now-redundant copies. Where removal would orphan a reader, leave a one-line pointer instead of deleting outright.

Rules

  • A pass that finds no scatter to consolidate changes nothing.
  • Don't consolidate across a trust/permission boundary (private → public, customer-facing → internal) without explicit confirmation.
  • Mutate with edit-safety: assert each replace target exists before touching it (report a MISS, never a silent no-op), edit unicode-safe (PYTHONUTF8=1), and act per occurrence, never a blanket sweep; make structural code moves with language-aware tools or scripted AST/parser edits, never scripted text rewrites.
  • Be platform-aware: transclude where possible, else link to a stable anchor the reader can follow; prefer a reference over a hard deletion when a platform can't link back.

Verification

Before finishing:

  1. The canonical home holds the complete, current truth on its own.
  2. Every former copy now references it, and each reference resolves.
  3. No unique detail was lost and nothing was orphaned.
  4. Contradictions were reconciled to one value, not left duplicated.
  5. Report what was consolidated, where the canonical home is, and what (if anything) still needs a human decision.

When not to use it

  • When the user does not ask to deduplicate, consolidate, unify, or establish a single source of truth
  • When the same fact does not live in many places with drifting copies
  • When consolidating across a trust/permission boundary without explicit confirmation

Limitations

  • Does not consolidate across a trust/permission boundary without explicit confirmation
  • Requires edit-safety measures like asserting target existence and unicode-safe editing
  • Acts per occurrence, not a blanket sweep

How it compares

This workflow systematically enforces a Single Source of Truth by mutating artifacts to replace copies with live references, preventing data drift, unlike manual content synchronization.

Compared to similar skills

ssotize side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
ssotize (this skill)01moNo flagsAdvanced
antfu63moReviewIntermediate
agent-implementer-sparc-coder16moReviewIntermediate
backfill-feature02moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

Search skills

Search the agent skills registry