Delegating to AWS Agent
БесплатноБез исполняемых скриптовНе проверенRecognize AWS queries and delegate to specialized sub-agent to avoid context pollution
Об этом скилле
Delegating to AWS Agent
Core Principle
Never handle AWS operations directly. Always delegate to a specialized sub-agent to keep your context clean and costs low.
Recognition Patterns
Delegate when user says:
- "list ec2 instances"
- "show s3 buckets"
- "what access keys does user X have?"
- "deploy SERVICE to production"
- "show running instances"
- "what's in bucket X?"
- Any mention of: aws, ec2, s3, iam, ecs, lambda, cloudwatch, rds, bucket, instance
How to Delegate
Use the Task tool with a specialized prompt:
Task(
subagent_type: "general-purpose",
description: "Query AWS infrastructure",
prompt: "<full agent instructions from AGENT-INSTRUCTIONS.md>"
)
Agent Prompt Template
When delegating, include:
- The complete agent instructions (see AGENT-INSTRUCTIONS.md)
- The user's specific request
- Clear output format requirements
Example:
You are an AWS infrastructure specialist. Your job is to query AWS using shell wrappers and return clean results.
<AGENT INSTRUCTIONS HERE>
USER REQUEST: List all running EC2 instances
Return a clean summary with:
- Instance IDs
- Names
- States
- Instance types
- IP addresses
After Agent Returns
- Present results cleanly to user
- Offer follow-up if relevant (e.g., "Would you like details on instance i-abc123?")
- Don't expose mechanics (aws commands, authentication, profiles) to user
Benefits
- ✅ Main context stays clean
- ✅ Cheaper queries (sub-agent uses less expensive model)
- ✅ Specialized knowledge isolated
- ✅ Scalable pattern for other services
Example Flow
User: "list running ec2 instances"
Main Assistant: [Recognizes AWS query]
→ Invokes Task tool with agent instructions
→ Agent runs cloud-ec2-list --state running
→ Agent returns formatted results
Main Assistant: "Found 22 running instances:
- i-0abc123 (production-web) [running] t3.medium
- i-0def456 (staging-api) [running] t3.small
..."
Red Flags
DON'T:
- ❌ Try to run cloud-* scripts yourself
- ❌ Construct aws CLI commands in main session
- ❌ Load detailed AWS API knowledge
- ❌ Handle authentication/profiles directly
DO:
- ✅ Immediately delegate on AWS keywords
- ✅ Trust the sub-agent's results
- ✅ Present clean summaries to user
Version History
- 1.0.0 (2025-10-14): Initial delegation skill created to reduce context pollution
Установить Delegating to AWS Agent в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл Delegating to AWS Agent?
Recognize AWS queries and delegate to specialized sub-agent to avoid context pollution
Как установить скилл Delegating to AWS Agent?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Delegating to AWS Agent запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic