auth-tls-patterns Skill
Use when a service needs auth that stays frictionless locally but secures remote access, or automatic TLS. Covers token-based auth with auto-generation, localhost bypass, and certificate setup. Published by microsoft in amplifier-bundle-skills.
Decision snapshot
Is this a fit?
Design and media, Includes SKILL.md, Reusable instructions
Compatibility not yet detected.
Permission behavior not yet detected.
Copy skill directory
2 months ago · MIT license
No specific cautions were detected. Review the source and requested permissions before installing.
What is auth-tls-patterns Skill?
Use when a service needs auth that stays frictionless locally but secures remote access, or automatic TLS. Covers token-based auth with auto-generation, localhost bypass, and certificate setup. Published by microsoft in amplifier-bundle-skills. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement. See how SkillIndex evaluates profiles.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Design and media
- Design and media use cases
Declared skill metadata
- Source file: skills/auth-tls-patterns/SKILL.md
These fields retain source and confidence evidence from the indexed SKILL.md.
Compatibility and setup
- Install or run with Copy skill directory
When to use auth-tls-patterns Skill
- Use it for design and media.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/amplifier-bundle-skills
- Skill file: skills/auth-tls-patterns/SKILL.md
What it does
Use when a service needs auth that stays frictionless locally but secures remote access, or automatic TLS. Covers token-based auth with auto-generation, localhost bypass, and certificate setup.
Skill instructions
Authentication & TLS The Pattern Problem: Your tool serves a web UI. Locally it should just work — no passwords, no login screens. Remotely it needs real authentication and HTTPS. You don't want to configure either manually. Approach: Socket-level localhost bypass (unforgeable), cascading auth strategies with auto-generation, and a TLS setup cascade that picks the best available method automatically. Pattern proven in production across multiple Python CLI tools and web services. Key Design Decisions 1. Localhost bypass — socket-level IP, not headers The single most important auth decision: localhost connections skip all auth checks. But you MUST use the socket-level client IP, not HTTP headers: python LOCALHOSTADDRS = {"127.0.0.1", "::1"} async def dispatch(self, request: Request, callnext) - Response: client.host is the socket-level IP — cannot be forged by the client clienthost = request.client.host if request.client else "" if clienthost in LOCALHOSTADDRS: return await callnext(requ
Verified compatibility and discovery
Frequently asked questions
What is auth-tls-patterns?
auth-tls-patterns is a open-source AI agent skill with Copy skill directory. Use when a service needs auth that stays frictionless locally but secures remote access, or automatic TLS. Covers token-based auth with auto-generation, localhost bypass, and certificate setup.
Who is auth-tls-patterns best for?
auth-tls-patterns is best for reusing agent instructions, scripts, and references, design and media workflows.
How do I install auth-tls-patterns?
Install or run auth-tls-patterns using Copy skill directory. Check auth-tls-patterns for the latest setup command.
Is auth-tls-patterns actively maintained?
auth-tls-patterns may need a closer maintenance check before production use.
Project health auto-fetched from the source repository.
Maintain this resource?
Review this source-backed profile, send a correction with evidence, or link to it from your documentation. Claims verify your relationship to the project; profile facts still require source evidence and editorial review.