agentleFS

AGENTS.md examples from real projects

How real projects brief Codex, Cursor and every other agent that reads AGENTS.md.

Worked for most · soon
ElasticAGENTS.md

fleet-server

elastic/fleet-server/AGENTS.md

This file guides AI agents working in this repository. For hands-on local setup (Docker, benchmarking, cloud), see docs/developers-guide.md. Fleet Server is the control plane for Elastic Agent management — it…

11311mo agoReviewMountCreate a free account to mount
ElasticAGENTS.md

elastic-package

elastic/elastic-package/AGENTS.md

Run tests for specific packages: Run integration tests with test packages: Important: Linting before giving the task for complete. The import graph must be acyclic. The established layering is: elastic-package…

732mo agoReviewMountCreate a free account to mount
ElasticAGENTS.md

homebrew-tap

elastic/homebrew-tap/AGENTS.md

See README.md for why this repository exists, who or what uses it, and its responsibility boundary. For every AI tool that materially contributes to code, tests, documentation, configuration, or the substance of a change: For a squash merge, verify that the final squash commit message contains every attribution trailer. GitHub may populate that message from the pull-request description, commit information, or only the pull-request title depending on repository settings, so putting attribution in the PR description improves preservation but does…

712mo agoReviewMountCreate a free account to mount
ElasticAGENTS.md

workflows

elastic/workflows/AGENTS.md

This repository holds the Workflow Template Library content published to the CDN consumed by Kibana's Workflows app, plus a library of plain workflow examples.

604mo agoReviewMountCreate a free account to mount
ElasticAGENTS.md

ecctl

elastic/ecctl/AGENTS.md

No summary in the file. Open it to read it.

5817mo agoReviewMountCreate a free account to mount
ElasticAGENTS.md

package-registry

elastic/package-registry/AGENTS.md

This project uses Mage as its build tool. Run mage without arguments to see all available targets. Package Registry is an HTTP service that serves Elastic integration packages to Kibana/Fleet.…

522mo agoReviewMountCreate a free account to mount
ElasticAGENTS.md

docs-content

elastic/docs-content/AGENTS.md

This is the shared baseline for AI agents working in this repository. Claude Code reads it through CLAUDE.md, a symlink to this file. Cursor, Codex, and Copilot read AGENTS.md directly.…

498mo agoReviewMountCreate a free account to mount
ElasticAGENTS.md

esdiag

elastic/esdiag/AGENTS.md

For deeper repository structure see docs/repository/organization.md - Update nearby docs when behavior changes - Update CHANGELOG.md for user-visible changes with .agents/skills/changelog/SKILL.md - Never introduce Python scripts into this repository. Do…

303mo agoReviewMountCreate a free account to mount
ElasticAGENTS.md

docs-builder

elastic/docs-builder/AGENTS.md

Elastic's documentation build toolchain. Processes Markdown from multiple repos into a unified documentation site, validates cross-repo references, serves with live reload, and ships as native AOT binaries for CI. CLI changes: after editing src/tooling/docs-builder/Commands/, regenerate docs/cli-schema.json: See CONTRIBUTING.md for supplemental CLI docs under docs/schema-support/cli-schema/. Tests live in tests/ (unit) and tests-integration/ (integration). Use the /test skill to pick the right test project automatically. A change to product code should land with a test that exercises it — the mapping from…

253mo agoReviewMountCreate a free account to mount
ElasticAGENTS.md

go-licence-detector

elastic/go-licence-detector/AGENTS.md

See README.md for why this repository exists, who or what uses it, and its responsibility boundary. For every AI tool that materially contributes to code, tests, documentation, configuration, or the substance of a change: For a squash merge, verify that the final squash commit message contains every attribution trailer. GitHub may populate that message from the pull-request description, commit information, or only the pull-request title depending on repository settings, so putting attribution in the PR description improves preservation but does…

235mo agoReviewMountCreate a free account to mount
ElasticAGENTS.md

package-spec

elastic/package-spec/AGENTS.md

This document contains important information learned while working on the package-spec repository to help future AI agents working on this codebase. Maintainers preparing a versioned release (prepare-release-X.Y.Z, changelog finalization, compliance…

207mo agoReviewMountCreate a free account to mount
ElasticAGENTS.md

elastic-ramen

elastic/elastic-ramen/AGENTS.md

Prefer single word names for variables and functions. Only use multiple words if necessary. THIS RULE IS MANDATORY FOR AGENT WRITTEN CODE. Reduce total variable count by inlining when a value is only used once. Avoid unnecessary destructuring. Use dot notation to preserve context. Prefer const over let. Use ternaries or early returns instead of reassignment. Avoid else statements. Prefer early returns. Use snake_case for field names so column names don't need to be redefined as strings.

1910mo agoReviewMountCreate a free account to mount
ElasticAGENTS.md

example-mcp-dashbuilder

elastic/example-mcp-dashbuilder/AGENTS.md

MCP app that lets AI assistants build Kibana dashboards using ES|QL and Elastic Charts. Monorepo with four workspaces: shared, setup, server, preview. A pre-commit hook runs lint-staged (format + lint…

175mo agoReviewMountCreate a free account to mount
ElasticAGENTS.md

elastic-transport-go

elastic/elastic-transport-go/AGENTS.md

CLAUDE.md is a symlink to this file. elastic-transport-go is the shared HTTP transport layer for Elastic Go clients (e.g. go-elasticsearch). It provides connection pooling, node discovery, retry logic, request compression, OpenTelemetry instrumentation, interceptors, and logging. All code lives in a single package: elastictransport. Everything is in the elastictransport package. There is no cmd/, internal/, or multi-package structure. Client (elastictransport.go) — The Client struct implements Interface (the Perform(*http.Request) method). It owns the retry loop, request decoration (auth, headers, compression), and delegates…

142mo agoReviewMountCreate a free account to mount
ElasticAGENTS.md

esql-js

elastic/esql-js/AGENTS.md

packages/pretty-printer/ (@elastic/pretty-printer) is a standalone, dependency-free Wadler-Lindig document algebra and layout engine. @elastic/esql depends on it. packages/esql-types/ (@elastic/esql-types) holds all public TypeScript type definitions for the ES|QL and PromQL ASTs.…

145mo agoReviewMountCreate a free account to mount
ElasticAGENTS.md

ai-github-actions

elastic/ai-github-actions/AGENTS.md

@README.md @DEVELOPING.md @docs/upgrading.md Runs are executed in non-interactive CI and state is ephemeral between runs. Persist outcomes through safe outputs (comments/issues/PRs), because uncaptured local state is lost after the run.

119mo agoReviewMountCreate a free account to mount
ElasticAGENTS.md

elastic-transport-js

elastic/elastic-transport-js/AGENTS.md

Always use npm commands, not yarn, pnpm or any other third-party packaging tool. The entire test suite (npm test) must pass and exit cleanly before you commit code. All code in src/ and test/, and any scripts run by npm that are defined in package.json, must be runnable with equivalent results on Linux, MacOS and Windows. For example, running the following scripts using npm run: All markdown instructions authored for other agents must be as concise as possible. If a…

811mo agoReviewMountCreate a free account to mount
ElasticAGENTS.md

gradle-plugins

elastic/gradle-plugins/AGENTS.md

See README.md for why this repository exists, who or what uses it, and its responsibility boundary. When a change breaks backward compatibility, update version-next to the appropriate next major version as part of the same change. If version-next already targets that major release, keep it; multiple breaking changes in one unreleased version do not each require another major bump. Preserve compatibility between the Develocity Gradle plugin and the deployed Develocity server. The server observed during the 2.0.0 release was 2025.3.3,…

83mo agoReviewMountCreate a free account to mount
CLAUDE.md vs AGENTS.md

About AGENTS.md

What is AGENTS.md?

An open format for instructions to coding agents, read by Codex, Cursor and others. Think of it as a README written for agents.

Where does it go?

At the repository root, with more specific files in subdirectories. Agents read the one closest to the file they're editing.

What should it contain?

Setup and test commands, code style, and the rules a new contributor would need to know.

Does Claude Code read it?

Claude Code reads CLAUDE.md. A one-line CLAUDE.md that points at AGENTS.md covers both.