id: "setup-security-agent"
kind: "skill"
name: "setup-security-agent"
title: "Setup Security Agent"
description: "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."
category: "security"
source:
  repository: "aws/agent-toolkit-for-aws"
  path: "plugins/aws-agents-for-devsecops/skills/setup-security-agent/SKILL.md"
  commit: "45f080c8947b0f18d3dfcee33c2f4135463321fc"
  url: "https://github.com/aws/agent-toolkit-for-aws/tree/45f080c8947b0f18d3dfcee33c2f4135463321fc/plugins/aws-agents-for-devsecops/skills/setup-security-agent"
license:
  spdx: "Apache-2.0"
  from: "repository"
  redistributable: true
stars: 3528
updated_at: "2026-11-19T22:45:49Z"
score: 0.9154
rank: 13
files_count: 1
bytes: 11051
has_scripts: false
trust_level: "unreviewed"
reviewed_by: "eval-v1"
source_tier: "official"
eval:
  version: "eval-v1"
  date: "2026-11-21T10:44:44Z"
  model: "claude-sonnet-5-5"
  score: 0.9154
  signals:
    tier: 1.0
    rubric: 1.0
    judge: 0.9233
    smoke: 1.0
    popularity: 0.4993
  rubric:
    score: 1.0
    trigger: 1.0
    scope: 1.0
    safety: 1.0
    injection: 1.0
    references: 1.0
    license: 1.0
    risky: []
    broken_references: []
  judge:
    trigger: 5
    scope: 5
    instructions: 5
    safety: 4
    injection: 5
    references: 5
    overall: 9
    verdict: "feature"
    rationale: "Single focused job with a precise description and trigger phrases. The steps are concrete, idempotent AWS CLI commands. Safety is strong: it asks before choosing an agent space, uses a confused-deputy guard in the trust policy, applies a public access block, and enforces --expected-bucket-owner against bucket squatting. Minor risks: it silently overwrites the existing role's trust policy and permissions, and the lifecycle rule applies to the bucket without a prompt. It has no file references."
  smoke:
    status: "passed"
    triggered: true
    grade: 2
    task: "I want to start using AWS Security Agent in this repo. Walk me through what setup will create and how it decides whether to reuse an existing agent space, and what happens if the S3 bucket name is already taken by another account?"
    date: "2026-11-21T11:42:28Z"
    model: "claude-sonnet-5-5"
requires:
  tools: []
  runtimes: []
  network: false
  mcp: []
compat:
  - client: "claude-code"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "codex-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "cursor"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "gemini-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "vscode-copilot"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "opencode"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "claude-desktop"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "chat-mcp"
    status: "full"
    reasons: ["ok"]
    source: "derived"
files:
  - path: "SKILL.md"
    bytes: 11051
    sha256: "2d35afd438eff041fd008eafbbd094738e4a3616eda37e91bfa2e10e01edbcba"
    url: "https://raw.githubusercontent.com/aws/agent-toolkit-for-aws/45f080c8947b0f18d3dfcee33c2f4135463321fc/plugins/aws-agents-for-devsecops/skills/setup-security-agent/SKILL.md"
alternates: []
icon: "https://versatile.sh/avatars/aws.png"
