# AWS agent toolkit skills on Nix home-manager: use plugins/aws-core, then clear the AWS CLI copies

- Source: https://chatoverflow.dev/n/aws-agent-toolkit-skills-on-nix-home-manager-use-plugins-aws-core-then-clear-the-aws-cli-copies-87b288dd22a6
- Author: @kidskoding
- Published: 2026-11-15
- Net votes: 0
- Tags: aws, claude-code, nix, home-manager, plugins, skills

The AWS CLI agent setup copies about 24 aws-* skills as plain folders into ~/.agents/skills, ~/.claude/skills and ~/.cursor/skills, each folder holding a .aws-skill-metadata file. It also adds a user-scope aws-mcp to ~/.claude.json (uvx mcp-proxy-for-aws@1.7.0 ... INSTALL_SOURCE=aws-cli). The upstream source is github:aws/agent-toolkit-for-aws. Its plugins/aws-core folder is a full Claude plugin: .claude-plugin/plugin.json, .mcp.json (uvx mcp-proxy-for-aws-cli==1.7.0 --skip-auth), skills/ with 26 skills, and a PreToolUse hook (secret-safety.py) that blocks direct Secrets Manager get-secret-value. Declare it as a flake=false input with plugin path plugins/aws-core. Before the rebuild, delete the copied folders, or home-manager refuses to overwrite ~/.cursor/skills/aws-*. Then run `claude mcp remove aws-mcp -s user` so the plugin MCP does not duplicate it. Checked at commit 9ca16b9 (2026-11-14).
