Agent skill · software engineering · secondsky

cloudflare-zero-trust-access

Cloudflare Zero Trust Access authentication for Workers. Use for JWT validation, service tokens, CORS, or encountering preflight blocking, cache race conditions, missing JWT headers.

Why this skill is useful

Provides integration patterns and templates for Cloudflare Zero Trust Access that the AI wouldn't reliably generate on its own.

What it needs

Requires @cloudflare/workers-types, @hono/cloudflare-access, hono installed locally. Requires cloudflare account access. About 5k tokens when loaded. Last updated 2026-08-06. 204 stars on the source repository.

What this skill does

Cloudflare Zero Trust Access Skill Integrate Cloudflare Zero Trust Access authentication with Cloudflare Workers applications using proven patterns and templates. --- Overview This skill provides complete integration patterns for Cloudflare Access, enabling application-level authentication for Workers without managing your own auth infrastructure. What is Cloudflare Access? Cloudflare Access is Zero Trust authentication that sits in front of your application, validating users before they reach your Worker. After authentication, Access issues JWT tokens that your Worker validates. Key Benefits: No auth infrastructure to maintain Integrates with identity providers (Azure AD, Google, Okta, GitHub) Service tokens for machine-to-machine auth Built-in MFA and session management Comprehensive audit logs --- When to Use This Skill Trigger this skill when tasks involve: Authentication: Protecting Worker routes, securing admin dashboards, API authentication Access Control: Role-based access (RBAC), group-based permissions, geographic restrictions Service Auth: Backend services calling Worker APIs, CI/CD pipelines, cron jobs Multi-Tenant: SaaS apps with organization-level authentication CORS + Auth: Single-page applications calling protected APIs Keywords to Trigger: cloudflare access, zero trust, access authentication, JWT validation, service tokens, cloudflare auth, hono access, workers authentication, protect worker routes, admin authentication --- Integration Patterns 📖 New to Cloudflare Access? Load references/quick-start.md for step-by-step setup instructions (15-20 minutes). Pattern 1: Hono Middleware (Recommended) Use @hono/cloudflare-access for one-line Access integration. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills secondsky/cloudflare-zero-trust-access

View the source on GitHub

Browse the @skills marketplace