agents-md

Create and maintain AGENTS.md, CLAUDE.md, and LLMs.md context files with non-discoverable constraints.

16|9|Updated Nov 6, 2013
One-click install
npx skills add https://github.com/erikstmartin/dotfiles --skill agents-md-erikstmartin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agents-md
Source: https://github.com/erikstmartin/dotfiles/tree/main/skills/global/.agents/skills/agents-md
Command: npx skills add https://github.com/erikstmartin/dotfiles --skill agents-md-erikstmartin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides guidance and a standardized framework to create, review, and trim AGENTS.md, CLAUDE.md, and LLMs.md context files, ensuring non-discoverable constraints are clearly defined and maintained.

Core Features & Use Cases

  • Minimal AGENTS.md guidance focused on non-discoverable constraints.
  • Clear instructions on what to include (non-obvious test/lint/build commands, tooling/environment constraints, hard safety rules) and what to exclude (repo structure overviews).
  • Simple workflow to create or update context files for AI agents, ensuring consistency across projects.

Quick Start

Create or update AGENTS.md to encode the necessary non-obvious constraints and safety rules for your agent's context.

Frequently Asked Questions about agents-md

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

FAQPage Schema
What are AI agent context files and why do I need them?

AI agent context files like AGENTS.md, CLAUDE.md, and LLMs.md enforce non-discoverable constraints on agent behavior. You need them to provide explicit guardrails around prompts, tool usage, and hard safety rules that cannot be inferred directly from your code or data.

How do I create an AGENTS.md file to enforce safety rules for my AI agent?

To create an AGENTS.md file, define non-obvious test or lint commands, required tooling constraints, and hard safety rules. Avoid unrelated documentation like repo structure overviews to maintain minimal, focused guardrails for your AI agent.

What should I exclude from my CLAUDE.md or LLMs.md context files?

You should exclude repo structure overviews and unrelated documentation from CLAUDE.md and LLMs.md files. These context files should focus strictly on non-discoverable constraints, avoiding information that agents can easily infer from the codebase.

Can I use agent context files to specify non-obvious test and lint commands?

Yes, agent context files should include non-obvious test, lint, and build commands. Specifying these required tooling and environment constraints ensures the AI agent executes the correct validation steps that cannot be inferred from the code.

What is the best way to maintain consistency across multiple AI agent context files?

The best way to maintain consistency is applying a standardized framework to create, review, and trim AGENTS.md, CLAUDE.md, and LLMs.md files. This workflow ensures non-discoverable constraints are clearly defined and maintained across projects.

Why does my AI agent ignore safety requirements when generating code?

Your AI agent ignores safety requirements because they are non-discoverable constraints not present in the code. Defining hard safety rules and tool usage guardrails explicitly in an AGENTS.md context file enforces these required behaviors.