Agent skill
aws-sso-login
Authenticate to AWS using Single Sign-On (SSO). Use when AWS CLI operations require SSO authentication or when SSO session has expired.
Install this agent skill to your Project
npx add-skill https://github.com/aiskillstore/marketplace/tree/main/skills/daisuke897/aws-sso-login
SKILL.md
AWS SSO Login
A skill to authenticate to AWS using Single Sign-On (SSO) for a specified profile.
Purpose
Perform SSO authentication before executing AWS CLI operations. SSO sessions typically expire after 8-12 hours, requiring re-authentication.
Input Parameters
profile: AWS CLI profile name configured for SSO (default: defined by project, e.g.,web-hosting)- If the profile name is not known/available from project docs or prior context, ask the user which AWS CLI profile to use before running this skill.
Execution Steps
- Execute
aws sso logincommand with the specified profile - Open browser automatically (or provide a URL to open manually)
- Complete authentication in the browser
- Confirm successful authentication
Command Example
# Login with SSO using specified profile
aws sso login --profile <profile-name>
Project Configuration
- Document the default profile name (e.g.,
web-hosting) in a separate project guide such as.github/skills/README.mdor a skill configuration file. - Refer to that document when invoking this Skill so the same definition can be reused across repositories without editing the Skill itself.
Output
After successful authentication:
- SSO session is established and cached locally
- AWS CLI commands can be executed using the specified profile
- Session remains valid for the configured duration (typically 8-12 hours)
Usage Examples
After executing this skill, AWS CLI commands with the profile become available:
# Verify authentication
aws sts get-caller-identity --profile web-hosting
# Assume a role (often used after SSO login)
aws sts assume-role --role-arn <role-arn> --role-session-name <session-name> --profile web-hosting
Prerequisites
- AWS CLI v2 installed (SSO support requires v2 or later)
- SSO configuration set up in
~/.aws/configfor the specified profile - Web browser available for authentication
- Network access to the SSO authentication endpoint
Notes
- SSO sessions expire after a configured duration (typically 8-12 hours)
- When the session expires, re-execute this skill to re-authenticate
- Browser-based authentication is required; this cannot be fully automated
- For headless environments, consider using
--no-browserflag and manually opening the provided URL - This skill should be executed before the
assume-cloudformation-roleskill if role assumption requires SSO authentication
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
perigon-backend
Perigon ASP.NET Core + EF Core + Aspire conventions
perigon-agent
Pointers for Copilot/agents to apply Perigon conventions
perigon-angular
Angular 21+ standalone/Material/signal conventions for Perigon WebApp
fastapi-mastery
Comprehensive FastAPI development skill covering REST API creation, routing, request/response handling, validation, authentication, database integration, middleware, and deployment. Use when working with FastAPI projects, building APIs, implementing CRUD operations, setting up authentication/authorization, integrating databases (SQL/NoSQL), adding middleware, handling WebSockets, or deploying FastAPI applications. Triggered by requests involving .py files with FastAPI code, API endpoint creation, Pydantic models, or FastAPI-specific features.
context7-efficient
Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.
browser-use
Browser automation using Playwright MCP. Navigate websites, fill forms, click elements, take screenshots, and extract data. Use when tasks require web browsing, form submission, web scraping, UI testing, or any browser interaction.
Didn't find tool you were looking for?