agentleFS
AWSKnown publisherawslabs/agent-plugins/AGENTS.md

agent-plugins

AGENTS.md910 starsChanged 9 months agoApache-2.0View on GitHub

Note: CLAUDE.md is a symlink to this file. Only edit AGENTS.md — changes apply to both automatically. This repository supports plugins - bundles of skills, MCP servers, and agent configurations that extend capabilities. The awslabs/agent-plugins marketplace includes plugins like deploy-on-aws (architecture recommendations, cost estimates, and working IaC), amazon-location-service (maps, geocoding, routing, and geospatial features), and databases-on-aws (database guidance for the AWS portfolio, starting with Aurora DSQL). Skills are NOT slash commands. The agent determines when to use a skill based…

The file

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

10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Generate: - Write IaC code (CDK by default)

    line 124
  2. Distinctive:

    Default to dev sizing unless user says "production".

    line 134
  3. Very specific:

    ALWAYS use git worktrees for new work.

    line 178
  4. Very specific:

    All worktrees live under .tmp/ (already in .gitignore).

    line 195
  5. Very specific:

    ALWAYS use git worktree add .tmp/<name> for new work.

    line 199
  6. Distinctive:

    ONLY fast-forward main (git pull --ff-only).

    line 200
  7. Distinctive:

    ALWAYS Use mise commands to interact with the codebase.

    line 201
  8. Distinctive:

    NEVER add new dependencies without asking first.

    line 202
  9. Distinctive:

    ALWAYS run a full build when done with a task, this is to ensure all required files are generated before commit.

    line 203
  10. Distinctive:

    ALWAYS Ask first before modifying existing files in a major way.

    line 204

≈ “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

Agent Plugins for AWS

Note: CLAUDE.md is a symlink to this file. Only edit AGENTS.md — changes apply to both automatically.

TL;DR Pitch

This repository supports plugins - bundles of skills, MCP servers, and agent configurations that extend capabilities. The awslabs/agent-plugins marketplace includes plugins like deploy-on-aws (architecture recommendations, cost estimates, and working IaC), amazon-location-service (maps, geocoding, routing, and geospatial features), and databases-on-aws (database guidance for the AWS portfolio, starting with Aurora DSQL).

Core Concepts

Plugins vs Skills vs MCP Servers

ConceptWhat It IsExample
PluginA distributable bundle (skills + MCP servers + agents)deploy-on-aws
SkillInstructions that auto-trigger based on user intent (YAML frontmatter description)"deploy to AWS" triggers the deploy skill
MCP ServerExternal tool integration via Model Context Protocolawspricing for cost estimates
MarketplaceRegistry of plugins users can installawslabs/agent-plugins

Key Design Decision: Skills Auto-Trigger

Skills are NOT slash commands. The agent determines when to use a skill based on the description field in YAML frontmatter. If user says "host this on AWS", the agent matches that intent to the deploy skill's description and invokes it.

Directory Structure

agent-plugins/
├── .claude-plugin/
│   └── marketplace.json          # Marketplace registry
├── .github/
│   ├── workflows/                # CI (build, lint, security, etc.)
│   ├── ISSUE_TEMPLATE/
│   └── ...
├── docs/                         # Role-specific guides
│   ├── DESIGN_GUIDELINES.md      # Plugin design best practices
│   ├── DEVELOPMENT_GUIDE.md      # Contributor setup and workflow
│   ├── MAINTAINERS_GUIDE.md      # Reviewer/maintainer processes
│   └── TROUBLESHOOTING.md        # Plugin troubleshooting
├── plugins/
│   ├── deploy-on-aws/
│   │   ├── .claude-plugin/
│   │   │   └── plugin.json       # Plugin manifest
│   │   ├── .mcp.json             # MCP server definitions
│   │   └── skills/
│   │       └── deploy/
│   │           ├── SKILL.md     # Main skill (auto-triggers)
│   │           └── references/
│   │               ├── defaults.md
│   │               ├── cost-estimation.md
│   │               └── security.md
│   ├── amazon-location-service/
│   │   ├── .claude-plugin/
│   │   │   └── plugin.json
│   │   ├── .mcp.json
│   │   └── skills/
│   │       └── amazon-location-service/
│   │           ├── SKILL.md
│   │           └── references/
│   ├── databases-on-aws/
│   │   ├── .claude-plugin/
│   │   │   └── plugin.json
│   │   ├── .mcp.json
│   │   ├── hooks/
│   │   │   └── hooks.json
│   │   ├── scripts/
│   │   └── skills/
│   │       └── dsql/
│   │           ├── SKILL.md
│   │           ├── mcp/
│   │           └── references/
├── schemas/                      # JSON schemas for manifests
│   ├── marketplace.schema.json
│   ├── plugin.schema.json
│   ├── mcp.schema.json
│   └── skill-frontmatter.schema.json
├── tools/                        # Lint, validation, and eval scripts
│   ├── evals/                    # Eval suites for plugins, kept separate from plugin clients
│   │   └── databases-on-aws/
│   │       ├── README.md
│   │       └── dsql/
│   │           ├── evals.json
│   │           ├── trigger_evals.json
│   │           ├── query_explainability_evals.json
│   │           ├── safe_query_evals.json
│   │           └── scripts/
│   │               └── run_functional_evals.py
│   ├── validate-cross-refs.cjs
│   └── ...
├── mise.toml                     # Tool versions and tasks
├── dprint.json
├── .markdownlint-cli2.yaml
├── .pre-commit-config.yaml
└── README.md

MCP Servers

deploy-on-aws

ServerTypePurpose
awsknowledgeHTTPAWS documentation, architecture guidance
awspricingstdioReal-time cost estimates
awsiacstdioIaC best practices (CDK/CloudFormation/Terraform)

amazon-location-service

ServerTypePurpose
aws-mcpstdioAWS documentation and service guidance

databases-on-aws

ServerTypePurpose
awsknowledgeHTTPAWS documentation, architecture guidance, and best practices
aurora-dsqlstdioDirect database operations — queries, schema, transactions (disabled by default)

Workflow: Deploy Skill

  1. Analyze - Scan codebase for framework, database, dependencies
  2. Recommend - Select AWS services with concise rationale
  3. Estimate - Show monthly cost before proceeding (always!)
  4. Generate - Write IaC code (CDK by default)
  5. Deploy - Execute with user confirmation

Default Service Selections

  • Web frameworks → Fargate + ALB (not Lambda - cold starts break WSGI frameworks)
  • Static sites/SPAs → Amplify Hosting (not S3+CloudFront - too much config)
  • Databases → Aurora Serverless v2 (scales to near-zero in dev)
  • IaC → CDK TypeScript (most expressive, best IDE support)

Default to dev sizing unless user says "production".

Development commands (mise)

The project uses mise for tool versions and tasks. Ensure mise is installed, then from the repo root:

# Install tools (Node, markdownlint, pre-commit, security scanners, etc.)
mise install

# Run common tasks
mise run pre-commit    # Pre-commit hooks on all files
mise run fmt           # Format with dprint
mise run fmt:check     # Check formatting (CI)
mise run lint:md       # Lint Markdown (incl. SKILL.md)
mise run lint:md:fix   # Lint Markdown with auto-fix
mise run lint:manifests   # Validate JSON manifests (marketplace, plugin, MCP)
mise run lint:cross-refs  # Validate cross-references between manifests
mise run lint          # All linters
mise run test          # Run unit tests (pytest for Python; npm/jest when a package.json defines tests)
mise run security      # All security scans (Bandit, SemGrep, Gitleaks, Checkov, Grype, zizmor)
mise run build         # Full build: lint + fmt:check + validate + test + security

See mise.toml for the full task list and tool versions.

Plugin commands (Claude)

Project-level plugin settings are in .claude/settings.json (enabledPlugins). Contributors must first add the marketplace before these take effect.

# Add marketplace
/plugin marketplace add awslabs/agent-plugins

# Install plugin
/plugin install deploy-on-aws@agent-plugins-for-aws

# Test locally
claude --plugin-dir ./plugins/deploy-on-aws

Git Worktree Workflow

ALWAYS use git worktrees for new work. The main worktree stays on its current branch and is never switched. Each piece of work gets its own worktree under .tmp/, branching off the latest origin/main. This enables multiple agents to work in parallel without conflicts.

# Fast-forward main first, then branch new work off the latest remote
git pull --ff-only origin main
git worktree add .tmp/<short-name> -b <branch-name> origin/main

# Create a worktree for an existing branch
git worktree add .tmp/<short-name> <branch-name>

# List worktrees
git worktree list

# Remove a worktree after the branch is merged
git worktree remove .tmp/<short-name>

All worktrees live under .tmp/ (already in .gitignore).

Boundaries

  • ALWAYS use git worktree add .tmp/<name> for new work. NEVER switch branches in the main worktree.
  • ONLY fast-forward main (git pull --ff-only); never commit, merge, or rebase it locally.
  • ALWAYS Use mise commands to interact with the codebase. If a command is not available, add it.
  • NEVER add new dependencies without asking first.
  • ALWAYS run a full build when done with a task, this is to ensure all required files are generated before commit.
  • ALWAYS Ask first before modifying existing files in a major way.

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.