tools-for-devops-agent
CLAUDE.md94 starsChanged 3 months agoApache-2.0View on GitHub
This repository consolidates open-source tools for AWS DevOps Agent — skills, custom agents, and MCP servers, plus supporting infrastructure templates. Follow these conventions when contributing. See CONTRIBUTING.md for the full contribution workflow. Skills live under skills/ and should follow both the Agent Skills spec best practices and AWS DevOps Agent best practices. Skills are the most common contribution type; the guidance below is the most detailed for that reason.
In this repository30 other files it gives its agents.
- llms.txtllms.txt
- agentcore-observability-setupSkill
- agentcore-ops-reviewSkill
- aiml-access-diagnosticsSkill
- analytics-opensearch-expertiseSkill
- aws-backup-coverage-reviewSkill
- aws-eks-operations-reviewSkill
- aws-health-eventsSkill
- aws-routingSkill
- aws-vpc-dns-investigationSkill
- bedrock-adoption-readinessSkill
- bedrock-operation-reviewSkill
- crm-production-investigation-guidelinesSkill
- database-migration-service-expertiseSkill
- database-rds-devopsSkill
- devops-agent-cost-insightsSkill
- ecs-operation-reviewSkill
- eks-upgrade-readinessSkill
- enrich-with-aws-security-agentSkill
- investigation-cost-guardrailSkill
- msk-operationsSkill
- rds-operation-reviewSkill
- redshift-support-specialistSkill
- sagemaker-ai-ops-reviewSkill
- service-quota-checkSkill
- skip-scheduled-maintenanceSkill
- storage-fsx-windows-sla-optimizerSkill
- storage-s3-resiliency-expertiseSkill
- support-casesSkill
- wiz-security-contextSkill
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
20 rules. About 0 are common, 11 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 55
Must include valid frontmatter with name and description fields.
- Distinctive: line 61
Use tables for structured data (e.g., filtering strategies, relevance scoring).
- Very specific: line 94
Every skill must include a CHANGELOG.md tracking version history.
- Distinctive: line 143
Only the last version of each test type belongs in git.
- Distinctive: line 155
Run evaluations locally and test with DevOps Agent before submitting changes
- Distinctive: line 167
Test the agent by running relevant scenarios with and without it, multiple times, and compare output quality and consistency against asking …
- Distinctive: line 178
Prefer running standard, pinned upstream server packages over forked code where possible, and enforce least-privilege IAM and read-only …
- Very specific: line 182
Only these extensions are permitted inside skill directories (enforced by skills/.gitignore and the DevOps Agent upload validator).
- Very specific: line 195
Create a new directory under skills/ with the skill name.
- Very specific: line 196
Add a SKILL.md with frontmatter and step-by-step instructions following the writing guidelines above.
- Distinctive: line 197
Add a README.md following the structure described above.
- Very specific: line 198
Add a CHANGELOG.md starting at version 1.0.0.
- Very specific: line 199
Add evaluation tests (evals/ directory).
- Distinctive: line 200
Test the skill with DevOps Agent before submitting.
- Distinctive: line 201
Update the root README.md skills table with the new skill's name, agent types, author, and docs link.
- Very specific: line 202
Update the llms.txt file at the repo root — add the new skill to the "Available Skills" section following the existing format: - Skill …
- Very specific: line 203
If the skill requires IAM permissions beyond the AIDevOpsAgentAccessPolicy managed policy, add a new parameter, condition, and inline …
- Distinctive: line 207
Only skills are uploaded to DevOps Agent as zips (custom agents are created via the web app.
- Distinctive: line 217
Commit messages should be concise and descriptive.
- Distinctive: line 218
Do not commit zip files (they are gitignored).
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.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
Project Conventions
This repository consolidates open-source tools for AWS DevOps Agent — skills, custom agents, and MCP servers, plus supporting infrastructure templates. Follow these conventions when contributing. See CONTRIBUTING.md for the full contribution workflow.
Key References
- Agent Skills spec — the open standard this project follows for skill structure
- AWS DevOps Agent Skills documentation — official AWS docs on creating and uploading skills
- AWS DevOps Agent custom agents documentation — official AWS docs on custom agents
- AGENTS.md specification — the open standard for custom agent definitions
- Model Context Protocol — the open standard for MCP servers
- Connecting MCP servers to DevOps Agent — official AWS docs on registering MCP servers
Repository Structure
tools-for-devops-agent/
├── README.md # Project overview with skills/agents/MCP tables
├── CONTRIBUTING.md # Contribution guidelines
├── llms.txt # Structured repo overview for AI tools
├── .gitignore # Root-level ignores
├── cloudformation/
│ └── devops-agent-skill-policies.yaml # IAM policies skills require
├── docs/ # GitHub Pages (mkdocs) documentation site
├── skills/
│ ├── .gitignore # Allowlist for DevOps Agent supported extensions only
│ └── <skill-name>/
│ ├── SKILL.md # Required: main skill instructions with frontmatter
│ ├── README.md # Skill documentation (purpose, prompts, upload instructions)
│ ├── CHANGELOG.md # Version history
│ ├── evals/ # Required: skill evaluation tool output (generated)
│ │ ├── evals.json
│ │ ├── structure/ # structure-tests-results-v<N>.json
│ │ ├── best-practices/ # v<N>/benchmark.json, v<N>/iteration-<n>/
│ │ └── functional/ # v<N>/benchmark.json, v<N>/iteration-<n>/
│ ├── assets/ # Optional: images, diagrams, data files
│ └── references/ # Optional: supplementary reference docs
├── custom-agents/
│ └── <agent-name>/
│ ├── SYSTEM_PROMPT.md # Required: the agent's system prompt
│ ├── README.md # Agent documentation
│ └── CHANGELOG.md # Version history
└── mcp/
└── <server-name>/
├── README.md # Server documentation and deployment steps
└── ... # Server implementation and deployment assetsWriting Skills
Skills live under skills/ and should follow both the Agent Skills spec best practices and AWS DevOps Agent best practices. Skills are the most common contribution type; the guidance below is the most detailed for that reason.
SKILL.md Requirements
- Must include valid frontmatter with
nameanddescriptionfields. name: lowercase letters, numbers, and hyphens only (max 64 characters, no leading/trailing hyphens).description: written from the agent's perspective, specifying when and why the skill should activate. Be specific about scenarios, services, error types, or symptoms that should trigger the skill. Minimum 100 characters recommended.- Instructions should be step-by-step, actionable, and include decision trees for different scenarios.
- Include expected outputs and success criteria.
- Reference specific AWS APIs, CLI commands, or tools the agent should use.
- Use tables for structured data (e.g., filtering strategies, relevance scoring).
SKILL.md Frontmatter Example
---
name: my-skill-name
description: Use this skill when investigating [specific scenarios].
Activate when you observe [specific symptoms, error patterns, or conditions].
This skill [what it does] by [how it does it] to [outcome].
metadata:
author: github-username
version: "1.0.0"
---The metadata block with author and version fields is required. Initial version should be "1.0.0".
Skill README.md Structure
Each skill must have a README.md following this structure (see skills/support-cases/README.md as reference):
- Title — skill name as heading
- Purpose — what the skill does and why it's useful
- Key Capabilities — bullet list of what the skill enables
- Prerequisites — what's needed before using the skill (IAM permissions, service plans, etc.)
- Limitations — known constraints or boundaries
- Agent Types — which DevOps Agent types use this skill
- Uploading to AWS DevOps Agent — zip command and upload steps
- How to Use This Skill — sample prompts organized by agent type/use-case
Changelog
Every skill must include a CHANGELOG.md tracking version history. Use semantic versioning:
# Changelog
## 1.1.0
- Added backfill logic for missing data
- Improved error handling for API timeouts
## 1.0.0
- Initial versionEvaluation Tests
Every skill should include evaluation test results using our skill evaluation tool. This tool isn't published in this repo yet — see the "Test Your Skill" section in CONTRIBUTING.md for how to get a skill evaluated (AWS employees follow the internal guidelines; external contributors tag @aws/tools-for-devops-agent-admins on the issue or PR).
The only hand-written file under evals/ is the top-level evals.json (the skill's eval definitions). Everything else is generated by the skill evaluation tool — contributors run the tool and commit its output. Each run is a new version (v<N>, one or more digits), and it's enough to commit the last version of each test type. The full shape the tool produces:
skills/<name>/evals/
├── evals.json # hand-written: eval definitions
├── exemptions.json # hand-written, optional: test-type exemptions
├── structure/
│ └── structure-tests-results-v<N>.json # one file per run
├── best-practices/
│ └── v<N>/
│ ├── benchmark.json # scores for the run
│ ├── iteration-<n>/
│ │ └── best-practices-tests-results.json
│ └── cli_debug/ # gitignored
└── functional/
└── v<N>/
├── benchmark.json # scores for the run
├── evals.json # the evals this run executed
├── _metadata.json # run metadata
└── iteration-<n>/
└── <scenario-name>/ # named from evals.json
├── with_skill/
│ ├── functional-tests-results.json
│ ├── outputs/journal_records.json # committed: the run's agent journal
│ ├── outputs/{classified_output,metadata}.json # gitignored
│ └── sdk_debug/ # gitignored
└── without_skill/ # same shape, skill disabledskills/.gitignoreexcludescli_debug/andsdk_debug/wholesale (debug traces from the eval tool and its SDK), plusoutputs/classified_output.jsonandoutputs/metadata.json(intermediate per-iteration artifacts). Don't add them back.outputs/journal_records.jsonis intentionally kept — it's the DevOps Agent journal for the run and serves as evidence of what the evaluation produced- Only the last version of each test type belongs in git. The tool retains every run locally, which can reach tens of thousands of files and over a GB for a single skill
.github/workflows/validate-skill-evals.yml(via.github/scripts/validate_skill_evals.py) checks, for each skill a PR touches:evals/evals.json; at least oneevals/structure/structure-tests-results-v<N>.json; at least one completeevals/best-practices/v<N>/(benchmark.json+ aniteration-<n>/best-practices-tests-results.json); and at least one completeevals/functional/v<N>/(benchmark.json,evals.json, and oneiteration-<n>/<scenario>/holding bothwith_skill/andwithout_skill/functional-tests-results.json). Iteration numbers and scenario names are wildcards; the with/without pair must come from the same scenario directory- Validation stops at that depth on purpose.
outputs/*,_metadata.json, iteration counts, and scenario names vary by run and tool version and are deliberately unchecked — don't tighten them without re-checking recent runs of the eval tool first - A skill that genuinely cannot produce one test type's results can commit
evals/exemptions.json—{"<test type>": {"reason": "..."}}, keysstructure/best-practices/functional. That type is then not checked but reported as a warning, so the check passes while staying visible.evals.jsonis never exemptable. The parser fails closed (bad JSON, unknown type, or emptyreasongrants nothing and is reported), and because the file is in the PR diff, exemptions go through normal review. Typical uses: limitations in accessing the skill evaluation tool, or an agent type its functional tests don't support yet. An exemption excuses the tool's results, not the testing — the PR should still carry manual with-skill / without-skill evidence for a maintainer to judge - The
enforce-evalslabel withdraws every exemption claimed by the PR's skills: each exempted type is checked as though the file were absent, and the claimed reason is reported as withdrawn so the log names what was rejected. This is what makes the label a complete lever — forcing the mode alone can't reach a PR that exempts all three types, because an exemption removes the violations whose severity the mode decides.--strictdeliberately still honors exemptions; withdrawing is a per-PR judgement on a stated reason, not a repo-wide migration push - Withdrawal is all-or-nothing per PR, by design:
withdraw_exemptionsis computed once from the label and passed to every skill in the run, so one label application refuses every exempted type on every touched skill — including a legitimate exemption sitting beside an unfounded one. There is no per-skill or per-type granularity; say so when a maintainer asks, rather than implying the label targets a single claim - Contributors can run the check locally:
python3 .github/scripts/validate_skill_evals.py --skill <skill-name> - "At least one complete" version means an aborted run committed next to a good one is harmless, while a lone aborted run (e.g. one that never wrote
benchmark.json) fails the check - Enforcement is gradual. A skill is enforced if any of: its dir is absent on the base branch (the PR adds it); the base branch already has
evals/structure|best-practices|functionalfor it; or the PR's own tree introduces one of those markers (so a migration can't land half-finished and fail the next person to touch the skill). Otherwise it's legacy — warnings only. Derived from the merge base plus the working tree, so a skill promotes itself to enforced as its migration lands; nothing to maintain by hand - Two per-PR overrides sit in front of that, in order: the
enforce-evalslabel forces enforcement on every skill the PR touches and withdraws their exemptions (a maintainer-only, per-PR--strictthat also outranksexemptions.json; only triage/write can label, and automation never touches it), thenPRS_PREDATING_CHECK— PRs already open when the check landed — makes every skill they touch legacy. A listed PR is still held towas_migratedandnow_migrated: predating the check waives producing results, not deleting existing ones or landing half a migration. Don't reuseneeds-evalsas the enforce label; the labeler clears it on success, which would drop the decision --strictadditionally enforces on unmigrated skills, making every PR that touches one a blocker, and overridesPRS_PREDATING_CHECK. It's a lever for forcing migration, not a cleanup step for afterwards — once all skills are migrated it does nothing. It does not withdraw exemptions- Skills should achieve a passing score before being merged
- Run evaluations locally and test with DevOps Agent before submitting changes
Writing Custom Agents
Custom agents live under custom-agents/<agent-name>/ and pair a system prompt with the tools and skills the agent uses. See the DevOps Agent custom agents documentation and the AGENTS.md specification.
Each custom agent directory must contain:
SYSTEM_PROMPT.md— the agent's system prompt. Structure it with clear sections (e.g., Goal, Approach, Constraints, Output). Reference any skills the agent relies on by name so it loads them at runtime.README.md— documents the agent's purpose, key capabilities, prerequisites (IAM permissions, support plans, required skills), step-by-step instructions for creating the agent in the DevOps Agent web app, how to execute it, and related links.CHANGELOG.md— version history using semantic versioning (same format as skills).
Test the agent by running relevant scenarios with and without it, multiple times, and compare output quality and consistency against asking DevOps Agent the same question via chat.
Writing MCP Servers
MCP servers live under mcp/<server-name>/ and connect the agent to external systems and data sources over the Model Context Protocol. Review the process for connecting MCP servers to DevOps Agent before you build.
Server implementations vary (SAM applications, Lambda deployments, source packages, deploy scripts), so this directory is not held to a fixed file layout. At minimum, each MCP server directory must contain:
README.md— documents what the server does, its tools, prerequisites and IAM scoping, and step-by-step deployment and registration instructions.CHANGELOG.md— version history (recommended, same format as skills).
Prefer running standard, pinned upstream server packages over forked code where possible, and enforce least-privilege IAM and read-only access by default. There is no MCP-specific evaluation tool yet — test the server manually and document how you validated it.
Allowed File Extensions
Only these extensions are permitted inside skill directories (enforced by skills/.gitignore and the DevOps Agent upload validator). This constraint applies to skills because they are uploaded to DevOps Agent as zips; custom-agents/ and mcp/ are not subject to it:
.md, .txt, .json, .yaml, .yml, .xml, .csv, .tsv, .html, .htm, .png, .jpg, .jpeg, .gif, .svg, .webp, .pdf
Disallowed Content
scripts/directories are not supported by DevOps Agent..claude/directories should not be committed (except CLAUDE.md)..kiro/directories should not be committed..DS_Storeand other OS files should not be committed.
Adding a New Skill
- Create a new directory under
skills/with the skill name. - Add a
SKILL.mdwith frontmatter and step-by-step instructions following the writing guidelines above. - Add a
README.mdfollowing the structure described above. - Add a
CHANGELOG.mdstarting at version 1.0.0. - Add evaluation tests (
evals/directory). - Test the skill with DevOps Agent before submitting.
- Update the root
README.mdskills table with the new skill's name, agent types, author, and docs link. - Update the
llms.txtfile at the repo root — add the new skill to the "Available Skills" section following the existing format:- [Skill Name](skills/<name>/SKILL.md): One-line description. - If the skill requires IAM permissions beyond the
AIDevOpsAgentAccessPolicymanaged policy, add a new parameter, condition, and inline policy resource tocloudformation/devops-agent-skill-policies.yaml, and update theSkillPolicySummaryoutput.
Zipping for Upload
Only skills are uploaded to DevOps Agent as zips (custom agents are created via the web app; MCP servers are deployed and registered as endpoints). When zipping a skill for upload, include only allowed extensions and exclude non-skill files:
cd skills
zip -r <skill-name>.zip <skill-name>/ -i '*.md' '*.txt' '*.json' '*.yaml' '*.yml' '*.xml' '*.csv' '*.tsv' '*.html' '*.htm' '*.png' '*.jpg' '*.jpeg' '*.gif' '*.svg' '*.webp' '*.pdf' -x '*/.claude/*' '*/scripts/*' '*/README.md' '*/.skilleval.yaml' '*/.skilleval.yml' '*/CHANGELOG.md' '*/evals/*'Git Conventions
- Push to a new branch for changes; open a pull request for review.
- Commit messages should be concise and descriptive.
- Do not commit zip files (they are gitignored).
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.

