Agents md improver

From diegosouzapw/awesome-omni-skill · View interactive version

Agents md improver is an AI agent skill from the GitHub repository diegosouzapw/awesome-omni-skill. Keeps repo-local agent instructions consistent by proposing updates to AGENTS.md when a user corrects the coding agent or asks to change AGENTS.md, CLAUDE.md, .claude/CLAUDE.md, or GEMINI.md.

How to use this skill

Skill file

AGENTS.md improver

This skill helps keep repository instructions accurate and consistent. When a user corrects the coding agent's behavior, treat it as a potential update to the repo's instruction files and propose a clean, integrated edit to AGENTS.md.

Usage

Use this skill anytime the user:

Requirements

What It Does

How It Works

Scope

This skill is repo-specific.

Propose-first workflow (do not auto-edit)

  1. Read AGENTS.md.
  2. Identify the user's correction and translate it into a durable, repo-specific instruction.
  3. Decide where it belongs:
  1. Draft the exact text change(s) as a small patch/snippet.
  2. Ask for confirmation before applying:

Only apply edits after the user confirms.

Seamless integration rules

Contradiction checks

Before proposing a patch:

  1. Scan AGENTS.md for conflicts with the new correction.
  2. If a conflict exists, include conflict resolution in the proposed patch by rewriting/removing the conflicting lines.
  3. If resolution is ambiguous, ask a single targeted question before proposing a patch.

Then scan repo-local guidance (if present):

Consolidation flow for CLAUDE.md files (if present)

If CLAUDE.md and/or .claude/CLAUDE.md exists in the repo:

  1. Propose a consolidation patch to AGENTS.md.
  2. After the user approves the AGENTS.md patch, propose what to do for each CLAUDE file:
  1. Confirm destructive actions (deletes) in a separate prompt.

Symlink directions (when chosen):

Notes for multi-instruction environments

Some harnesses merge multiple instruction sources and may apply conflicting rules non-deterministically. Prefer a single canonical source (AGENTS.md) and reduce parallel instruction files via consolidation + delete/symlink/stub.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.