agentleFS
aws-samplesaws-samples/sample-apex-skills/rules/AGENTS.md

sample-apex-skills / rules

AGENTS.md82 starsChanged 3 months agoMIT-0View on GitHub

- Prefer the AWS MCP Server for AWS interactions — it provides scoped IAM access and CloudTrail-compatible audit logging. If unavailable, use the AWS CLI directly. - Before starting a task, check whether a relevant AWS skill is available. Prefer skill guidance over general knowledge. - Prefer the EKS MCP Server for live cluster interactions — it provides Kubernetes API access (read by default, write if configured), upgrade insights, and cluster discovery. If unavailable, use kubectl and AWS CLI directly.…

The file

We split this AGENTS.md into the rules it gives an agent

12 rules. About 1 is common, 9 are distinctive, and 2 are very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Prefer the AWS MCP Server for AWS interactions — it provides scoped IAM access and CloudTrail-compatible audit logging.

    line 3
  2. Distinctive:

    Before starting a task, check whether a relevant AWS skill is available.

    line 6
  3. Distinctive:

    Prefer skill guidance over general knowledge.

    line 7
  4. Distinctive:

    Prefer the EKS MCP Server for live cluster interactions — it provides Kubernetes API access (read by default, write if configured), upgrade …

    line 8
  5. Very specific:

    Before starting an EKS task, check whether a relevant APEX skill is available.

    line 12
  6. Distinctive:

    When uncertain about specific AWS details (API parameters, permissions, limits, error codes), verify against documentation rather than …

    line 16
  7. Distinctive:

    When uncertain about specific EKS details (add-on versions, API parameters, Karpenter behavior, VPC CNI settings), verify against upstream …

    line 19
  8. Very specific:

    When creating infrastructure, prefer infrastructure-as-code (Terraform with terraform-aws-modules/terraform-aws-eks, AWS CDK, or …

    line 29
  9. Distinctive:

    When working with infrastructure, follow AWS Well-Architected Framework principles.

    line 32
  10. Distinctive:

    Never execute destructive operations (node drain, cluster delete, force eviction) without explicit user confirmation.

    line 34
  11. Common:

    Never output secrets, credentials, or kubeconfig contents in responses.

    line 36
  12. Distinctive:

    Avoid non-ASCII characters (including em dashes) in AWS resource names and descriptions.

    line 37

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AWS & EKS Guidance

  • Prefer the AWS MCP Server for AWS interactions — it provides scoped IAM access and CloudTrail-compatible audit logging. If unavailable, use the AWS CLI directly.
  • Before starting a task, check whether a relevant AWS skill is available. Prefer skill guidance over general knowledge.
  • Prefer the EKS MCP Server for live cluster interactions — it provides Kubernetes API access (read by default, write if configured), upgrade insights, and cluster discovery. If unavailable, use kubectl and AWS CLI directly.
  • Before starting an EKS task, check whether a relevant APEX skill is available. Skills are installed at ~/.claude/skills/ (Claude Code) or ~/.kiro/skills/ (Kiro). Prefer skill guidance over general knowledge.
  • When uncertain about specific AWS details (API parameters, permissions, limits, error codes), verify against documentation rather than guessing. State uncertainty explicitly if you cannot confirm.
  • When uncertain about specific EKS details (add-on versions, API parameters, Karpenter behavior, VPC CNI settings), verify against upstream source repos rather than guessing. Cross-reference the upstream repo to confirm the behavior still holds in the current release:
    • Karpenter: github.com/aws/karpenter-provider-aws
    • VPC CNI: github.com/aws/amazon-vpc-cni-k8s
    • AWS Load Balancer Controller: github.com/kubernetes-sigs/aws-load-balancer-controller
    • CoreDNS: github.com/coredns/coredns
    • EKS AMI: github.com/awslabs/amazon-eks-ami
    • EKS Terraform module: github.com/terraform-aws-modules/terraform-aws-eks
  • When creating infrastructure, prefer infrastructure-as-code (Terraform with terraform-aws-modules/terraform-aws-eks, AWS CDK, or CloudFormation) over direct CLI commands.
  • When working with infrastructure, follow AWS Well-Architected Framework principles.
  • Never execute destructive operations (node drain, cluster delete, force eviction) without explicit user confirmation.
  • Never output secrets, credentials, or kubeconfig contents in responses.
  • Avoid non-ASCII characters (including em dashes) in AWS resource names and descriptions. Use hyphens instead.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.