meta-skill-consolidate

Deduplicates, revalidates, and prunes skill content under token budgets with regression gating.

2|1|Updated Jun 29, 2026
One-click install
npx skills add https://github.com/frederico-kluser/newsletter-crawler --skill meta-skill-consolidate-frederico-kluser
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: meta-skill-consolidate
Source: https://github.com/frederico-kluser/newsletter-crawler/tree/main/.agents/skills/meta-skill-consolidate
Command: npx skills add https://github.com/frederico-kluser/newsletter-crawler --skill meta-skill-consolidate-frederico-kluser

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Over time a skill library accumulates duplicated passages, contradictory guidance, stale references to changed source files, and bloated bodies that waste context tokens. This Skill performs periodic garbage collection across all skills so the library stays consistent, current, and within budget. ## Core Features & Use Cases - Dedup and conflict resolution: Merges duplicated content by pattern-key into the single best location and resolves contradictions by replacing stale passages. - Staleness detection by provenance: Tracks file:line@hash citations and flags passages for revalidation when the cited source changes. - Token budget enforcement: Keeps each skill body under 500 lines / ~5k tokens, moving long material into references/. - Safe deletion with gating: Runs skill-lint.mjs --all and skill-eval.mjs --all as regression gates, and requires a second-opinion subagent review before any deletion. - Use Case: After a quarter of skill growth, run this Skill on a schedule to merge overlapping guidance, retire obsolete passages, and emit a reviewable diff without breaking existing evaluations. ## Quick Start Run the meta-skill-consolidate garbage collection over all skills and show me the diff for review before promoting any changes.

Frequently Asked Questions about meta-skill-consolidate

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

FAQPage Schema
How do I deduplicate content across multiple AI skills?

Run the consolidation procedure, which scans all skills and merges duplicated content by pattern-key into the single best location. It then re-runs conflict detection and replaces stale contradictory passages.

How to detect stale skill content when source files change?

The Skill tracks provenance as file:line@hash citations. When a cited file's commit or hash changes, the passage is marked to revalidate, then checked against the current source or retired.

When should skill consolidation run?

Run it periodically on a schedule or when skills grow or overlap, never inline with a feature task. Reversible edits are free, but deletions require a second-opinion subagent review and remain rollbackable via git.

What is the token budget for a skill body?

Each skill body must stay under 500 lines or roughly 5k tokens. Longer material is moved into the skill's references/ directory so the entry point stays compact.

Why does consolidation require skill-lint and skill-eval to pass?

They act as regression gates after edits. Changes are promoted only if both run green across all skills, and a diff is emitted for review so nothing degrades silently.