Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Writing and trimming AGENTS.md files v1.0.0

Use this resource to decide whether an instruction belongs in AGENTS.md or CLAUDE.md, then write it

New

  • 410 downloads
  • 157 likes
  • 213 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install agents-md-instruction-review

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent first checks that a rule is worth loading into every session, looks for six configuration smells, then rewrites the instruction as an invariant with an enforcement tag. It also checks the file's size before a commit. You get a short, checkable instruction or a trimmed file.

Mostly picked by

Updated November 2, 2026

Card for the “Writing and trimming AGENTS.md files” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: criteria for adding a rule, six smells to check and the size budget
  • SKILL.md: [lint] and [review] tags that mark what enforces a rule

Good fit for

  • A convention keeps being broken and someone proposes documenting it
  • The instruction file has grown too long and needs trimming

Not for

    Tags

    • agents.md
    • claude.md
    • instructions
    • context
    • configuration

    About

    You say

    “Review our CLAUDE.md and keep only the rules worth loading into every session.”

    Card for the “Writing and trimming AGENTS.md files” skill

    Skill published by posthog under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to decide whether an instruction belongs in AGENTS.md or CLAUDE.md, then write it
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1.5 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • SKILL.md8.1 KB

    Origin and licence

    Listed unmodified

    Author
    posthog
    Source
    github.com/posthog/posthog/tree/fcb362bb439b15171da4dfba401bff03ea98bd2b/.agents/skills/editing-agents-md
    Licence
    MIT

    Notice

    « editing-agents-md » (posthog, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.