agents-maintenance

Validate and repair CLAUDE.md and AGENTS.md files across monorepos.

1|2|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/parisgroup-ai/imersao-ia-setup --skill agents-maintenance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agents-maintenance
Source: https://github.com/parisgroup-ai/imersao-ia-setup/tree/main/skills/agents-maintenance
Command: npx skills add https://github.com/parisgroup-ai/imersao-ia-setup --skill agents-maintenance

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Maintains consistency and correctness of agent instruction files (CLAUDE.md and AGENTS.md) across monorepos by detecting broken links, redundant or conflicting instructions, missing coverage, and outdated documentation that cause onboarding friction and runtime confusion.

Core Features & Use Cases

  • Repository discovery: Finds candidate apps/packages that should have AGENTS.md based on package.json, tsconfig, src/, tests/, Dockerfile, and common monorepo paths.
  • Pair & link validation: Verifies CLAUDE.md ↔ AGENTS.md pairs, enforces bidirectional links, and fixes or flags missing links.
  • Content quality checks: Compares timestamps, detects redundancy vs conflicts, and evaluates instructions for clarity, completeness, and actionability.
  • Interactive correction mode: Presents prompts to create templates, remove duplicates, add @override notes, and show diffs before saving.
  • Use cases: Run after refactors, when adding/moving apps, during onboarding, or before releases to ensure agent docs are accurate and standardized.

Quick Start

Run agents-maintenance to scan the repository for missing or inconsistent CLAUDE.md and AGENTS.md files and receive an interactive report with suggested fixes.

Frequently Asked Questions about agents-maintenance

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

FAQPage Schema
How do I validate CLAUDE.md and AGENTS.md instruction files across a monorepo?

To validate CLAUDE.md and AGENTS.md files across a monorepo, run a scan to discover candidate directories and check bidirectional links, timestamp consistency, and content quality. The scan outputs an interactive report flagging broken links, redundancies, and missing coverage.

What is the best way to fix broken links and conflicting instructions in agent documentation?

Fixing broken links and conflicting agent documentation uses interactive correction templates that detect redundancies and outdated guidance. The tool presents prompts to remove duplicates, add override notes, and show diffs before saving the repaired files.

How do I find missing AGENTS.md files when moving apps or packages in a monorepo?

To find missing AGENTS.md files during monorepo refactors, scan for candidate apps and packages using indicators like package.json, tsconfig, src/, tests/, and Dockerfile. The scan identifies directories lacking instruction files and suggests templates to ensure complete coverage.

Does monorepo agent documentation validation work for release preparation and onboarding?

Monorepo agent documentation validation works for release preparation and onboarding by ensuring per-package documentation is accurate and standardized. It detects missing coverage, mislinked instructions, and outdated guidance that cause runtime confusion and onboarding friction.

Why does CLAUDE.md and AGENTS.md validation check timestamps and content quality?

Timestamp checks and content quality validation detect outdated guidance and evaluate instructions for clarity, completeness, and actionability. This ensures agent documentation remains synchronized with code changes and provides consistent, reliable instructions across all packages.