lessons-consolidate

Analyze lessons.json for stale, overlapping, or conflicting lessons.

18|Updated Apr 5, 2026
One-click install
npx skills add https://github.com/walm00/business-context-os --skill lessons-consolidate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lessons-consolidate
Source: https://github.com/walm00/business-context-os/tree/main/.claude/skills/lessons-consolidate
Command: npx skills add https://github.com/walm00/business-context-os --skill lessons-consolidate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires .claude/scripts/consolidate_lessons.py, and includes scripts (resource) components.

What problem does it solve?

It helps keep your institutional knowledge organized by detecting outdated, overlapping, and conflicting lessons, ensuring your lessons.json remains accurate and useful.

Core Features & Use Cases

  • Analyze the current lessons for staleness, overlaps, and contradictions.
  • Consolidate by archiving stale lessons and merging duplicates after review.
  • Generate reports on lessons health, tag distributions, and improvement recommendations.
  • Use case: Regularly reviewing lessons to prevent clutter and maintain clarity across sessions, especially when updating or expanding your knowledge base.

Quick Start

Run the script to analyze lessons.json for outdated or duplicate lessons and review the suggested consolidations.

Frequently Asked Questions about lessons-consolidate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I consolidate overlapping or conflicting lessons in a JSON knowledge base?

You can consolidate a JSON knowledge base by running an analysis script to identify stale, overlapping, or conflicting lessons, then archiving and merging duplicates after review to maintain accurate institutional knowledge.

What is the best way to detect outdated lessons in a knowledge management system?

Detecting outdated lessons in a knowledge management system requires periodic analysis of your lessons.json file to flag staleness, identify contradictions, and generate health reports for curation.

How do I clean up duplicate entries in lessons.json?

To clean up duplicate entries in lessons.json, use a consolidation script to analyze the file for overlaps, review the suggested merges, and archive the redundant lessons to prevent clutter.

Can I generate reports on knowledge base health and tag distributions?

Yes, you can generate reports on knowledge base health and tag distributions by analyzing the lessons file, which provides insights into staleness, overlaps, and recommendations for improving institutional knowledge.

Do I need a specific script to maintain my lessons.json file?

Yes, maintaining a lessons.json file requires the consolidate_lessons.py script to perform the necessary analysis and merging operations for identifying and resolving stale, overlapping, or conflicting lessons.

When should I review and curate lessons recorded from sessions?

You should review and curate lessons recorded from sessions periodically, especially when updating or expanding your knowledge base, to prevent clutter and maintain clarity across overlapping or conflicting entries.