ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

doc-consolidation

Merge report and analysis artifacts into permanent docs, then delete source files

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/athola/nm-sanctum-doc-consolidation
Or

Night Market Skill — ported from claude-night-market/sanctum. For the full experience with agents, hooks, and commands, install the Claude Code plugin.

Table of Contents

  • When to Use
  • Quick Start
  • Two-Phase Workflow
  • Phase 1: Triage (Fast Model)
  • Phase 2: Execute (Main Model)
  • Workflow Details
  • Step 1: Candidate Detection
  • Step 2: Content Analysis
  • Step 3: Destination Routing
  • Step 4: Generate Plan
  • Source: API_REVIEW_REPORT.md
  • Post-Consolidation
  • Step 5: Execute Merges
  • Fast Model Delegation
  • Content Categories
  • Merge Strategies
  • Intelligent Weave
  • Replace Section
  • Append with Context
  • Create New File
  • Integration
  • Example Session
  • Troubleshooting
  • No candidates found
  • Low-quality extractions
  • Merge conflicts
  • Related Skills

Doc Consolidation

Extracts valuable knowledge from ephemeral LLM outputs and merges it into permanent documentation.

When To Use

Use this skill when:

  • You have untracked *_REPORT.md or *_ANALYSIS.md files from Claude sessions
  • Git status shows markdown files that shouldn't be committed but contain useful content
  • You want to preserve insights from code reviews, refactoring reports, or API audits
  • Preparing a PR and need to clean up working artifacts

Do NOT use when:

  • Files are already in proper documentation locations (docs/, skills/)
  • Files are intentionally temporary scratch notes
  • User explicitly wants to preserve the original report format
  • Source files have no extractable value (pure log output)

Formatting

When merging content into permanent documentation, follow Skill(leyline:markdown-formatting) conventions: wrap prose at 80 chars (prefer sentence/clause boundaries), blank lines around headings, ATX headings only, blank line before lists, and reference-style links for long URLs.

Quick Start

/consolidate-docs

Or invoke directly:

I have some report files that need consolidating into permanent docs.

Two-Phase Workflow

Phase 1: Triage (Fast Model)

Read-only analysis to generate a consolidation plan:

Metadata

Author@athola
Stars4473
Views1
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-athola-nm-sanctum-doc-consolidation": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.