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…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository36 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- amazon-location-serviceSkill
- amplify-workflowSkill
- api-gatewaySkill
- aws-lambda-durable-functionsSkill
- aws-lambda-managed-instancesSkill
- aws-lambda-microvmsSkill
- aws-lambdaSkill
- aws-serverless-deploymentSkill
- aws-step-functionsSkill
- aws-transformSkill
- document-serviceSkill
- dsqlSkill
- aws-architecture-diagramSkill
- deploySkill
- elastic-beanstalkSkill
- dataset-evaluationSkill
- dataset-transformationSkill
- directory-managementSkill
- finetuningSkill
- finetuning-techniqueSkill
- hyperpod-cluster-debuggerSkill
- hyperpod-issue-reportSkill
- hyperpod-ncclSkill
- hyperpod-node-debuggerSkill
- hyperpod-performance-debuggerSkill
- hyperpod-slurm-debuggerSkill
- hyperpod-ssmSkill
- hyperpod-version-checkerSkill
- model-deploymentSkill
- model-evaluationSkill
- model-selectionSkill
- planningSkill
- sdk-getting-startedSkill
- use-case-specificationSkill
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
- Distinctive: line 124
Generate: - Write IaC code (CDK by default)
- Distinctive: line 134
Default to dev sizing unless user says "production".
- Very specific: line 178
ALWAYS use git worktrees for new work.
- Very specific: line 195
All worktrees live under .tmp/ (already in .gitignore).
- Very specific: line 199
ALWAYS use git worktree add .tmp/<name> for new work.
- Distinctive: line 200
ONLY fast-forward main (git pull --ff-only).
- Distinctive: line 201
ALWAYS Use mise commands to interact with the codebase.
- Distinctive: line 202
NEVER add new dependencies without asking first.
- Distinctive: line 203
ALWAYS run a full build when done with a task, this is to ensure all required files are generated before commit.
- Distinctive: line 204
ALWAYS Ask first before modifying existing files in a major way.
≈ “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.
Files
Agent Plugins for AWS
Note:
CLAUDE.mdis a symlink to this file. Only editAGENTS.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
| Concept | What It Is | Example |
| Plugin | A distributable bundle (skills + MCP servers + agents) | deploy-on-aws |
| Skill | Instructions that auto-trigger based on user intent (YAML frontmatter description) | "deploy to AWS" triggers the deploy skill |
| MCP Server | External tool integration via Model Context Protocol | awspricing for cost estimates |
| Marketplace | Registry of plugins users can install | awslabs/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.mdMCP Servers
deploy-on-aws
| Server | Type | Purpose |
awsknowledge | HTTP | AWS documentation, architecture guidance |
awspricing | stdio | Real-time cost estimates |
awsiac | stdio | IaC best practices (CDK/CloudFormation/Terraform) |
amazon-location-service
| Server | Type | Purpose |
aws-mcp | stdio | AWS documentation and service guidance |
databases-on-aws
| Server | Type | Purpose |
awsknowledge | HTTP | AWS documentation, architecture guidance, and best practices |
aurora-dsql | stdio | Direct database operations — queries, schema, transactions (disabled by default) |
Workflow: Deploy Skill
- Analyze - Scan codebase for framework, database, dependencies
- Recommend - Select AWS services with concise rationale
- Estimate - Show monthly cost before proceeding (always!)
- Generate - Write IaC code (CDK by default)
- 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 + securitySee 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-awsGit 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.
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
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.

