doc-consolidation
Merge report and analysis artifacts into permanent docs, then delete source files
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/athola/nm-sanctum-doc-consolidationNight 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.mdor*_ANALYSIS.mdfiles 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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-athola-nm-sanctum-doc-consolidation": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
extract
Analyze a codebase and build a knowledge base of business logic, architecture, data flow, and engineering patterns. The foundation for gauntlet challenges and agent integration
discourse
>- Scan community discussion channels (HN, Lobsters, Reddit, tech blogs) for experience reports and opinions on a topic
synthesize
>- Merge, deduplicate, rank, and format research findings from multiple channels into a coherent report. Use after research agents return their results
workflow-monitor
Detect workflow failures and inefficient patterns, then create GitHub issues for improvement via /fix-workflow
architecture-paradigm-hexagonal
Hexagonal (Ports and Adapters) architecture isolating domain logic from infrastructure