Skills Explorer Add Skills

setup-security-agent

An agent skill by aws, from aws/agent-toolkit-for-aws. Tags: automation, cloud, mcp, security, setup.

What it does

Configure AWS Security Agent for the current workspace — provision or reuse an agent space, IAM service role, and S3 bucket. Use when the user asks to "set up security agent", "configure security scanner", "is security agent configured", or on first-time use before any scan or pentest.

Install

With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:

npx skills add aws/agent-toolkit-for-aws --skill setup-security-agent

Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):

git clone --depth 1 https://github.com/aws/agent-toolkit-for-aws
cp -r agent-toolkit-for-aws/plugins/aws-agents-for-devsecops/skills/setup-security-agent ~/.claude/skills/setup-security-agent

Safety box score

Grade C, moderate risk: 30 of 100 risk points, rated 2026-10-20. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.

This skill provisions AWS Security Agent prerequisites: an agent space, an IAM service role, and an S3 bucket, while also writing workspace state under `.security-agent/`. The main risks are automatic AWS-side mutations through the AWS CLI and use of the caller’s active AWS credentials to create or update cloud resources.

Category levels, from 0 (none) to 3 (high)
CategoryLevelWhy
Code & shell execution2 (moderate)It directs the agent to run shell commands such as `aws sts get-caller-identity`, `aws iam create-role`, and `aws s3api create-bucket`, so setup executes local commands rather than being read-only.
Network access2 (moderate)The workflow talks to AWS services (`sts`, `securityagent`, `iam`, `s3api`) and sends account/resource data over the network as part of setup.
Filesystem reach1 (low)It writes workspace state to `.security-agent/config.json` and `.security-agent/.gitignore`, and also creates temporary files under `/tmp/sa-*.json` and `/tmp/sa-*.err`.
Secrets & credentials1 (low)It relies on the user’s ambient AWS CLI credentials via commands like `aws sts get-caller-identity`, so the skill uses whatever logged-in AWS identity is active.
Privilege & persistence0 (none)It does not request sudo, install system-wide software, register services, or change shell/OS settings on the machine.
Instruction hijack surface0 (none)No prompt-injection patterns or remote instruction-following are present; the file only contains setup steps and guardrails.
Irreversible actions2 (moderate)It can automatically create or update AWS resources (`create-agent-space`, `create-role`, `create-bucket`, `update-agent-space`) with only limited user confirmation when multiple agent spaces already exist.
Transparency0 (none)There are no binaries, minified blobs, or remotely fetched scripts; the skill content is fully readable Markdown.

Before installing

Rated 2026-10-20 by an automated review of 1 file from the skill's repository.

Source

Repository
aws/agent-toolkit-for-aws (all skills from this repository)
Path
plugins/aws-agents-for-devsecops/skills/setup-security-agent/SKILL.md
Branch
main
Collection
aws-agents-for-devsecops
Updated
2026-09-19