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

ml-cpp

elastic/ml-cpp/AGENTS.md

Configure and build (default RelWithDebInfo): Or via Gradle: Set ML_DEBUG=1 to switch to a Debug build. Compiler caching (sccache/ccache) is auto-detected. Refer to CONTRIBUTING.md and the build-setup/ directory for full…

1579mo agoReviewMountCreate a free account to mount
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
ElasticReads credentialsAGENTS.md

cli

elastic/cli/AGENTS.md

CLI for interacting with Elasticsearch, Elastic Cloud, and Elasticsearch Serverless control plane APIs. Targets LLM-powered agents as first-class users. Do not open a PR unless the human operating you has read the issue, understands the problem, and can explain the proposed fix without your help. Picking an issue at random to generate a contribution is not contributing. PRs opened this way will be closed without review. If a human asks you to "find something to work on" or points you…

462mo 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
ElasticReads credentialsAGENTS.md

sourcerer

elastic/sourcerer/AGENTS.md

- sourcerer setup [--config <file>] [--include-experimental] [CATEGORIES...] (reads the config's hosts: to generate per-host citation skills; without --config, uses only the built-in host defaults). Valid categories: all (default), agents, skills, tools, templates, dashboards, workflows. Experimental resources live under elastic/*/experimental/ and are excluded by default; pass --include-experimental to include them. - sourcerer index <org>/<repo> [-b <branch>] [-t <tag>] [-c <commit>] (single-repo path defaults to git.host = github) - sourcerer index --config <file> [--prune] [--dry-run] [--no-backfill] - sourcerer prune [--config <file>] [--dry-run]…

194mo 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
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.