[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79A6T2GNT8KXR8BZQJ05P3G":3,"skill-same:01M79A6T2GNT8KXR8BZQJ05P3G":164},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":71,"commitSha":72,"skillDirectory":73,"forksCount":14,"repositoryHtmlUrl":74,"repositoryHomepageUrl":6,"ownerHtmlUrl":75,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":76,"install":77,"resources":89},"01M79A6T2GNT8KXR8BZQJ05P3G","cloudflare-zero-trust-access",null,"Cloudflare Zero Trust Access authentication for Workers. Use for JWT validation, service tokens, CORS, or encountering preflight blocking, cache race conditions, missing JWT headers.","Elogic360\u002Fsoftware-factory","Elogic360","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F156535519?v=4","01M74NH3F0RB13PWB7JZDE2V80","elogic360","01M74NH3FPC65082MDZVMFHDM3",0,"MIT","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fcloudflare-zero-trust-access\u002Fskills\u002Fcloudflare-zero-trust-access\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cloudflare-zero-trust-access\ndescription: \"Cloudflare Zero Trust Access authentication for Workers. Use for JWT validation, service tokens, CORS, or encountering preflight blocking, cache race conditions, missing JWT headers.\"\nlicense: MIT\nallowed-tools:\n  - Read\n  - Write\n  - Edit\n  - Bash\nmetadata:\n  version: \"1.0.0\"\n  category: authentication\n  framework: hono\n  platform: cloudflare-workers\n  package_versions:\n    \"@hono\u002Fcloudflare-access\": \"0.3.1\"\n    \"hono\": \"4.10.3\"\n    \"@cloudflare\u002Fworkers-types\": \"4.20251014.0\"\n  errors_prevented: 8\n  token_savings: \"58%\"\n  time_savings: \"2.5 hours\"\n  production_tested: true\n  last_verified: \"2025-10-28\"\n  keywords:\n    - Cloudflare Access\n    - Zero Trust\n    - Cloudflare Zero Trust Access\n    - Access authentication\n    - JWT validation\n    - access jwt\n    - service tokens\n    - hono cloudflare access\n    - hono-cloudflare-access middleware\n    - workers authentication\n    - protect worker routes\n    - admin authentication\n    - access policy\n    - identity providers\n    - azure ad access\n    - google workspace access\n    - okta access\n    - github access\n    - rbac cloudflare\n    - geographic restrictions\n    - multi-tenant access\n    - cors access\n    - CORS preflight blocked\n    - JWT header missing\n    - access key cache\n    - team mismatch\n    - access claims\n---\n# Cloudflare Zero Trust Access Skill\n\nIntegrate Cloudflare Zero Trust Access authentication with Cloudflare Workers applications using proven patterns and templates.\n\n---\n\n## Overview\n\nThis skill provides complete integration patterns for Cloudflare Access, enabling application-level authentication for Workers without managing your own auth infrastructure.\n\n**What is Cloudflare Access?**\nCloudflare 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.\n\n**Key Benefits**:\n- No auth infrastructure to maintain\n- Integrates with identity providers (Azure AD, Google, Okta, GitHub)\n- Service tokens for machine-to-machine auth\n- Built-in MFA and session management\n- Comprehensive audit logs\n\n---\n\n## When to Use This Skill\n\nTrigger this skill when tasks involve:\n\n- **Authentication**: Protecting Worker routes, securing admin dashboards, API authentication\n- **Access Control**: Role-based access (RBAC), group-based permissions, geographic restrictions\n- **Service Auth**: Backend services calling Worker APIs, CI\u002FCD pipelines, cron jobs\n- **Multi-Tenant**: SaaS apps with organization-level authentication\n- **CORS + Auth**: Single-page applications calling protected APIs\n\n**Keywords to Trigger**:\ncloudflare access, zero trust, access authentication, JWT validation, service tokens, cloudflare auth, hono access, workers authentication, protect worker routes, admin authentication\n\n---\n\n## Integration Patterns\n\n📖 **New to Cloudflare Access?** Load `references\u002Fquick-start.md` for step-by-step setup instructions (15-20 minutes).\n\n### Pattern 1: Hono Middleware (Recommended)\n\nUse `@hono\u002Fcloudflare-access` for one-line Access integration.\n\n**When to Use**:\n- Building with Hono framework\n- Need quick, production-ready setup\n- Want automatic JWT validation and key caching\n\n**Template**: `templates\u002Fhono-basic-setup.ts`\n\n**Setup**:\n```typescript\nimport { Hono } from 'hono'\nimport { cloudflareAccess } from '@hono\u002Fcloudflare-access'\n\nconst app = new Hono\u003C{ Bindings: Env }>()\n\n\u002F\u002F Public routes\napp.get('\u002F', (c) => c.text('Public page'))\n\n\u002F\u002F Protected routes\napp.use(\n  '\u002Fadmin\u002F*',\n  cloudflareAccess({\n    domain: (c) => c.env.ACCESS_TEAM_DOMAIN,\n  })\n)\n\napp.get('\u002Fadmin\u002Fdashboard', (c) => {\n  const { email } = c.get('accessPayload')\n  return c.text(`Welcome, ${email}!`)\n})\n```\n\n**Configuration** (`wrangler.jsonc`):\n```jsonc\n{\n  \"vars\": {\n    \"ACCESS_TEAM_DOMAIN\": \"your-team.cloudflareaccess.com\",\n    \"ACCESS_AUD\": \"your-app-aud-tag\"\n  }\n}\n```\n\n**Benefits**:\n- ✅ Automatic JWT validation\n- ✅ Public key caching (1-hour TTL)\n- ✅ Type-safe with TypeScript\n- ✅ Production-tested and maintained\n\n---\n\n### Pattern 2: Manual JWT Validation\n\n**When to Use**: Not using Hono, need custom validation logic\n\n**Template**: `templates\u002Fjwt-validation-manual.ts` (~100 lines, uses Web Crypto API)\n\n---\n\n### Pattern 3: Service Token Authentication\n\n**When to Use**: CI\u002FCD pipelines, backend services, cron jobs (no interactive login)\n\n**Client**: Send `CF-Access-Client-Id` + `CF-Access-Client-Secret` headers\n\n**Server**: Same middleware handles both - detect via `!payload.email && payload.common_name`\n\n📄 **Full guide**: `references\u002Fservice-tokens-guide.md`\n\n---\n\n### Pattern 4: CORS + Access\n\n**When to Use**: SPA (React\u002FVue\u002FAngular) calling protected API\n\n**⚠️ CRITICAL**: CORS middleware MUST come BEFORE Access middleware!\n```typescript\n\u002F\u002F ✅ CORRECT ORDER\napp.use('*', cors({ origin: 'https:\u002F\u002Fapp.example.com', credentials: true }))\napp.use('\u002Fapi\u002F*', cloudflareAccess({ domain: (c) => c.env.ACCESS_TEAM_DOMAIN }))\n```\n**Why**: OPTIONS preflight has no auth headers → Access blocks with 401\n\n📄 **Full pattern**: `templates\u002Fcors-access.ts`\n\n---\n\n### Pattern 5: Multi-Tenant\n\n**When to Use**: SaaS with per-org authentication, white-label apps\n\n**Architecture**: Tenant config in D1\u002FKV → Dynamic middleware per request\n\n📄 **Full pattern**: `templates\u002Fmulti-tenant.ts` and `references\u002Fuse-cases.md`\n\n---\n\n## Common Errors Prevented\n\nThis skill prevents 8 documented errors. Full details: `references\u002Fcommon-errors.md`\n\n### Error #1: CORS Preflight Blocked (45 min saved)\n\n**Problem**: OPTIONS requests return 401, breaking CORS\n\n**Solution**: CORS middleware BEFORE Access middleware\n```typescript\n\u002F\u002F ✅ Correct\napp.use('*', cors())\napp.use('\u002Fapi\u002F*', cloudflareAccess({ domain: '...' }))\n```\n\n---\n\n### Error #2: Missing JWT Header (30 min saved)\n\n**Problem**: Request not going through Access, no JWT header\n\n**Solution**: Access Worker through Access URL, not direct `*.workers.dev`\n```\n✅ https:\u002F\u002Fteam.cloudflareaccess.com\u002F...\n❌ https:\u002F\u002Fworker.workers.dev\n```\n\n---\n\n### Error #3: Invalid Team Name (15 min saved)\n\n**Problem**: Hardcoded or wrong team name causes \"Invalid issuer\"\n\n**Solution**: Use environment variables\n```typescript\n\u002F\u002F ✅ Correct\ncloudflareAccess({ domain: (c) => c.env.ACCESS_TEAM_DOMAIN })\n\n\u002F\u002F ❌ Wrong\ncloudflareAccess({ domain: 'my-team.cloudflareaccess.com' })\n```\n\n---\n\n### Errors #4-8 (Quick Reference)\n\n| # | Error | Solution |\n|---|-------|----------|\n| 4 | Key cache race | Use `@hono\u002Fcloudflare-access` (auto-caches) |\n| 5 | Wrong service token headers | Use `CF-Access-Client-Id\u002FSecret` (not `Authorization`) |\n| 6 | Token expiration (401 after 1 hr) | Handle gracefully, redirect to login |\n| 7 | Overlapping policies | Use most specific paths |\n| 8 | Dev\u002Fprod mismatch | Use environment-specific configs |\n\n📄 **Full error details**: `references\u002Fcommon-errors.md` (~2.5 hours saved per implementation)\n\n---\n\n## Templates\n\n| Template | Purpose |\n|----------|---------|\n| `hono-basic-setup.ts` | Standard Hono + Access integration |\n| `jwt-validation-manual.ts` | Manual JWT verification with Web Crypto |\n| `service-token-auth.ts` | Service token patterns |\n| `cors-access.ts` | CORS + Access (correct ordering) |\n| `multi-tenant.ts` | Multi-tenant architecture |\n| `wrangler.jsonc` | Complete Wrangler configuration |\n| `.env.example` | Environment variable template |\n| `types.ts` | TypeScript definitions |\n\n## Scripts\n\n| Script | Usage |\n|--------|-------|\n| `test-access-jwt.sh` | `.\u002Ftest-access-jwt.sh \u003Cjwt-token>` - Decode and validate JWT |\n| `create-service-token.sh` | `.\u002Fcreate-service-token.sh [name]` - Service token setup guide |\n\n---\n\n## Use Cases\n\n| Use Case | Template | Key Point |\n|----------|----------|-----------|\n| Admin Dashboard | `hono-basic-setup.ts` | Email domain policy |\n| API Authentication | `hono-basic-setup.ts` | Mixed user\u002Fservice policy |\n| SPA + API | `cors-access.ts` | CORS before Access! |\n| CI\u002FCD Pipeline | `service-token-auth.ts` | Service token in secrets |\n| Multi-Tenant SaaS | `multi-tenant.ts` | D1 tenant config |\n\n📄 **Detailed use cases**: `references\u002Fuse-cases.md`\n\n---\n\n## When to Load References\n\n| Reference File | Load When... |\n|----------------|--------------|\n| `references\u002Fquick-start.md` | Step-by-step setup for new users, first-time integration |\n| `references\u002Fcommon-errors.md` | Debugging auth issues, prevention patterns (includes all 8 errors) |\n| `references\u002Fjwt-payload-structure.md` | Accessing JWT claims, user vs service token |\n| `references\u002Fservice-tokens-guide.md` | Setting up machine-to-machine auth |\n| `references\u002Faccess-policy-setup.md` | Dashboard configuration, policy creation |\n| `references\u002Fuse-cases.md` | Detailed implementation for specific scenarios |\n| `references\u002Fvalue-proposition.md` | Token efficiency metrics, workflow guidance, production validation |\n\n---\n\n## Package Versions\n\n| Package | Version |\n|---------|---------|\n| @hono\u002Fcloudflare-access | 0.3.1 |\n| hono | 4.10.7 |\n| @cloudflare\u002Fworkers-types | 4.20251126.0 |\n\n**Verified**: 2025-12-14 | **Token Savings**: ~58% | **Production Tested**: ✅\n\n---\n\n## When NOT to Use\n\nThis skill is for **Cloudflare Workers** with **Cloudflare Access**. Do not use for:\n\n- ❌ Cloudflare Pages (use `@cloudflare\u002Fpages-plugin-cloudflare-access` instead)\n- ❌ Non-Cloudflare platforms\n- ❌ Custom JWT auth (not Access)\n- ❌ Auth.js or other auth libraries\n- ❌ Self-hosted authentication\n\nFor those, use appropriate skills or libraries.\n\n---\n\n## Additional Resources\n\n**Cloudflare Documentation**:\n- [Access Overview](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fcloudflare-one\u002Fidentity\u002Fauthorization-cookie\u002F)\n- [JWT Validation](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fcloudflare-one\u002Fidentity\u002Fauthorization-cookie\u002Fvalidating-json\u002F)\n- [Service Tokens](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fcloudflare-one\u002Fidentity\u002Fservice-tokens\u002F)\n\n**Packages**:\n- [@hono\u002Fcloudflare-access](https:\u002F\u002Fgithub.com\u002Fhonojs\u002Fmiddleware\u002Ftree\u002Fmain\u002Fpackages\u002Fcloudflare-access)\n- [Hono Framework](https:\u002F\u002Fhono.dev\u002F)\n\n**Dashboard**:\n- [Zero Trust Dashboard](https:\u002F\u002Fone.dash.cloudflare.com\u002F)\n\n---\n\n**Skill Version**: 1.0.0\n**Last Updated**: 2025-10-28\n**Errors Prevented**: 8\n**Token Savings**: 58%\n**Time Savings**: 2.5 hours\n**Production Tested**: ✅\n","# Cloudflare Zero Trust Access Skill\n\nIntegrate Cloudflare Zero Trust Access authentication with Cloudflare Workers applications using proven patterns and templates.\n\n---\n\n## Overview\n\nThis skill provides complete integration patterns for Cloudflare Access, enabling application-level authentication for Workers without managing your own auth infrastructure.\n\n**What is Cloudflare Access?**\nCloudflare 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.\n\n**Key Benefits**:\n- No auth infrastructure to maintain\n- Integrates with identity providers (Azure AD, Google, Okta, GitHub)\n- Service tokens for machine-to-machine auth\n- Built-in MFA and session management\n- Comprehensive audit logs\n\n---\n\n## When to Use This Skill\n\nTrigger this skill when tasks involve:\n\n- **Authentication**: Protecting Worker routes, securing admin dashboards, API authentication\n- **Access Control**: Role-based access (RBAC), group-based permissions, geographic restrictions\n- **Service Auth**: Backend services calling Worker APIs, CI\u002FCD pipelines, cron jobs\n- **Multi-Tenant**: SaaS apps with organization-level authentication\n- **CORS + Auth**: Single-page applications calling protected APIs\n\n**Keywords to Trigger**:\ncloudflare access, zero trust, access authentication, JWT validation, service tokens, cloudflare auth, hono access, workers authentication, protect worker routes, admin authentication\n\n---\n\n## Integration Patterns\n\n📖 **New to Cloudflare Access?** Load `references\u002Fquick-start.md` for step-by-step setup instructions (15-20 minutes).\n\n### Pattern 1: Hono Middleware (Recommended)\n\nUse `@hono\u002Fcloudflare-access` for one-line Access integration.\n\n**When to Use**:\n- Building with Hono framework\n- Need quick, production-ready setup\n- Want automatic JWT validation and key caching\n\n**Template**: `templates\u002Fhono-basic-setup.ts`\n\n**Setup**:\n```typescript\nimport { Hono } from 'hono'\nimport { cloudflareAccess } from '@hono\u002Fcloudflare-access'\n\nconst app = new Hono\u003C{ Bindings: Env }>()\n\n\u002F\u002F Public routes\napp.get('\u002F', (c) => c.text('Public page'))\n\n\u002F\u002F Protected routes\napp.use(\n  '\u002Fadmin\u002F*',\n  cloudflareAccess({\n    domain: (c) => c.env.ACCESS_TEAM_DOMAIN,\n  })\n)\n\napp.get('\u002Fadmin\u002Fdashboard', (c) => {\n  const { email } = c.get('accessPayload')\n  return c.text(`Welcome, ${email}!`)\n})\n```\n\n**Configuration** (`wrangler.jsonc`):\n```jsonc\n{\n  \"vars\": {\n    \"ACCESS_TEAM_DOMAIN\": \"your-team.cloudflareaccess.com\",\n    \"ACCESS_AUD\": \"your-app-aud-tag\"\n  }\n}\n```\n\n**Benefits**:\n- ✅ Automatic JWT validation\n- ✅ Public key caching (1-hour TTL)\n- ✅ Type-safe with TypeScript\n- ✅ Production-tested and maintained\n\n---\n\n### Pattern 2: Manual JWT Validation\n\n**When to Use**: Not using Hono, need custom validation logic\n\n**Template**: `templates\u002Fjwt-validation-manual.ts` (~100 lines, uses Web Crypto API)\n\n---\n\n### Pattern 3: Service Token Authentication\n\n**When to Use**: CI\u002FCD pipelines, backend services, cron jobs (no interactive login)\n\n**Client**: Send `CF-Access-Client-Id` + `CF-Access-Client-Secret` headers\n\n**Server**: Same middleware handles both - detect via `!payload.email && payload.common_name`\n\n📄 **Full guide**: `references\u002Fservice-tokens-guide.md`\n\n---\n\n### Pattern 4: CORS + Access\n\n**When to Use**: SPA (React\u002FVue\u002FAngular) calling protected API\n\n**⚠️ CRITICAL**: CORS middleware MUST come BEFORE Access middleware!\n```typescript\n\u002F\u002F ✅ CORRECT ORDER\napp.use('*', cors({ origin: 'https:\u002F\u002Fapp.example.com', credentials: true }))\napp.use('\u002Fapi\u002F*', cloudflareAccess({ domain: (c) => c.env.ACCESS_TEAM_DOMAIN }))\n```\n**Why**: OPTIONS preflight has no auth headers → Access blocks with 401\n\n📄 **Full pattern**: `templates\u002Fcors-access.ts`\n\n---\n\n### Pattern 5: Multi-Tenant\n\n**When to Use**: SaaS with per-org authentication, white-label apps\n\n**Architecture**: Tenant config in D1\u002FKV → Dynamic middleware per request\n\n📄 **Full pattern**: `templates\u002Fmulti-tenant.ts` and `references\u002Fuse-cases.md`\n\n---\n\n## Common Errors Prevented\n\nThis skill prevents 8 documented errors. Full details: `references\u002Fcommon-errors.md`\n\n### Error #1: CORS Preflight Blocked (45 min saved)\n\n**Problem**: OPTIONS requests return 401, breaking CORS\n\n**Solution**: CORS middleware BEFORE Access middleware\n```typescript\n\u002F\u002F ✅ Correct\napp.use('*', cors())\napp.use('\u002Fapi\u002F*', cloudflareAccess({ domain: '...' }))\n```\n\n---\n\n### Error #2: Missing JWT Header (30 min saved)\n\n**Problem**: Request not going through Access, no JWT header\n\n**Solution**: Access Worker through Access URL, not direct `*.workers.dev`\n```\n✅ https:\u002F\u002Fteam.cloudflareaccess.com\u002F...\n❌ https:\u002F\u002Fworker.workers.dev\n```\n\n---\n\n### Error #3: Invalid Team Name (15 min saved)\n\n**Problem**: Hardcoded or wrong team name causes \"Invalid issuer\"\n\n**Solution**: Use environment variables\n```typescript\n\u002F\u002F ✅ Correct\ncloudflareAccess({ domain: (c) => c.env.ACCESS_TEAM_DOMAIN })\n\n\u002F\u002F ❌ Wrong\ncloudflareAccess({ domain: 'my-team.cloudflareaccess.com' })\n```\n\n---\n\n### Errors #4-8 (Quick Reference)\n\n| # | Error | Solution |\n|---|-------|----------|\n| 4 | Key cache race | Use `@hono\u002Fcloudflare-access` (auto-caches) |\n| 5 | Wrong service token headers | Use `CF-Access-Client-Id\u002FSecret` (not `Authorization`) |\n| 6 | Token expiration (401 after 1 hr) | Handle gracefully, redirect to login |\n| 7 | Overlapping policies | Use most specific paths |\n| 8 | Dev\u002Fprod mismatch | Use environment-specific configs |\n\n📄 **Full error details**: `references\u002Fcommon-errors.md` (~2.5 hours saved per implementation)\n\n---\n\n## Templates\n\n| Template | Purpose |\n|----------|---------|\n| `hono-basic-setup.ts` | Standard Hono + Access integration |\n| `jwt-validation-manual.ts` | Manual JWT verification with Web Crypto |\n| `service-token-auth.ts` | Service token patterns |\n| `cors-access.ts` | CORS + Access (correct ordering) |\n| `multi-tenant.ts` | Multi-tenant architecture |\n| `wrangler.jsonc` | Complete Wrangler configuration |\n| `.env.example` | Environment variable template |\n| `types.ts` | TypeScript definitions |\n\n## Scripts\n\n| Script | Usage |\n|--------|-------|\n| `test-access-jwt.sh` | `.\u002Ftest-access-jwt.sh \u003Cjwt-token>` - Decode and validate JWT |\n| `create-service-token.sh` | `.\u002Fcreate-service-token.sh [name]` - Service token setup guide |\n\n---\n\n## Use Cases\n\n| Use Case | Template | Key Point |\n|----------|----------|-----------|\n| Admin Dashboard | `hono-basic-setup.ts` | Email domain policy |\n| API Authentication | `hono-basic-setup.ts` | Mixed user\u002Fservice policy |\n| SPA + API | `cors-access.ts` | CORS before Access! |\n| CI\u002FCD Pipeline | `service-token-auth.ts` | Service token in secrets |\n| Multi-Tenant SaaS | `multi-tenant.ts` | D1 tenant config |\n\n📄 **Detailed use cases**: `references\u002Fuse-cases.md`\n\n---\n\n## When to Load References\n\n| Reference File | Load When... |\n|----------------|--------------|\n| `references\u002Fquick-start.md` | Step-by-step setup for new users, first-time integration |\n| `references\u002Fcommon-errors.md` | Debugging auth issues, prevention patterns (includes all 8 errors) |\n| `references\u002Fjwt-payload-structure.md` | Accessing JWT claims, user vs service token |\n| `references\u002Fservice-tokens-guide.md` | Setting up machine-to-machine auth |\n| `references\u002Faccess-policy-setup.md` | Dashboard configuration, policy creation |\n| `references\u002Fuse-cases.md` | Detailed implementation for specific scenarios |\n| `references\u002Fvalue-proposition.md` | Token efficiency metrics, workflow guidance, production validation |\n\n---\n\n## Package Versions\n\n| Package | Version |\n|---------|---------|\n| @hono\u002Fcloudflare-access | 0.3.1 |\n| hono | 4.10.7 |\n| @cloudflare\u002Fworkers-types | 4.20251126.0 |\n\n**Verified**: 2025-12-14 | **Token Savings**: ~58% | **Production Tested**: ✅\n\n---\n\n## When NOT to Use\n\nThis skill is for **Cloudflare Workers** with **Cloudflare Access**. Do not use for:\n\n- ❌ Cloudflare Pages (use `@cloudflare\u002Fpages-plugin-cloudflare-access` instead)\n- ❌ Non-Cloudflare platforms\n- ❌ Custom JWT auth (not Access)\n- ❌ Auth.js or other auth libraries\n- ❌ Self-hosted authentication\n\nFor those, use appropriate skills or libraries.\n\n---\n\n## Additional Resources\n\n**Cloudflare Documentation**:\n- [Access Overview](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fcloudflare-one\u002Fidentity\u002Fauthorization-cookie\u002F)\n- [JWT Validation](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fcloudflare-one\u002Fidentity\u002Fauthorization-cookie\u002Fvalidating-json\u002F)\n- [Service Tokens](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fcloudflare-one\u002Fidentity\u002Fservice-tokens\u002F)\n\n**Packages**:\n- [@hono\u002Fcloudflare-access](https:\u002F\u002Fgithub.com\u002Fhonojs\u002Fmiddleware\u002Ftree\u002Fmain\u002Fpackages\u002Fcloudflare-access)\n- [Hono Framework](https:\u002F\u002Fhono.dev\u002F)\n\n**Dashboard**:\n- [Zero Trust Dashboard](https:\u002F\u002Fone.dash.cloudflare.com\u002F)\n\n---\n\n**Skill Version**: 1.0.0\n**Last Updated**: 2025-10-28\n**Errors Prevented**: 8\n**Token Savings**: 58%\n**Time Savings**: 2.5 hours\n**Production Tested**: ✅\n",{"name":5,"license":15,"metadata":24,"description":7,"allowed-tools":66},{"version":25,"category":26,"keywords":27,"platform":55,"framework":56,"time_savings":57,"last_verified":58,"token_savings":59,"errors_prevented":60,"package_versions":61,"production_tested":65},"1.0.0","authentication",[28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54],"Cloudflare Access","Zero Trust","Cloudflare Zero Trust Access","Access authentication","JWT validation","access jwt","service tokens","hono cloudflare access","hono-cloudflare-access middleware","workers authentication","protect worker routes","admin authentication","access policy","identity providers","azure ad access","google workspace access","okta access","github access","rbac cloudflare","geographic restrictions","multi-tenant access","cors access","CORS preflight blocked","JWT header missing","access key cache","team mismatch","access claims","cloudflare-workers","hono","2.5 hours","2025-10-28","58%",8,{"hono":62,"@hono\u002Fcloudflare-access":63,"@cloudflare\u002Fworkers-types":64},"4.10.3","0.3.1","4.20251014.0",true,[67,68,69,70],"Read","Write","Edit","Bash","main","c475fc64e94e803b50d14a791dfee8853fbb2c5c","integrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fcloudflare-zero-trust-access\u002Fskills\u002Fcloudflare-zero-trust-access","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory","https:\u002F\u002Fgithub.com\u002FElogic360","2026-11-08 22:21:22",{"source":8,"skillName":5,"commands":78,"prompt":88,"zipAvailable":65},[79,82,85],{"tool":80,"command":81},"npx","npx skills add Elogic360\u002Fsoftware-factory --skill cloudflare-zero-trust-access",{"tool":83,"command":84},"bunx","bunx skills add Elogic360\u002Fsoftware-factory --skill cloudflare-zero-trust-access",{"tool":86,"command":87},"pnpm","pnpm dlx skills add Elogic360\u002Fsoftware-factory --skill cloudflare-zero-trust-access","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fcloudflare-zero-trust-access\u002Fskills\u002Fcloudflare-zero-trust-access\u002FSKILL.md",[90,96,100,104,108,112,116,120,126,130,136,140,144,148,152,156,160],{"path":91,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Faccess-policy-setup.md","REFERENCE","参考文档",13845,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fcloudflare-zero-trust-access\u002Fskills\u002Fcloudflare-zero-trust-access\u002Freferences\u002Faccess-policy-setup.md",{"path":97,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fcommon-errors.md",15495,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fcloudflare-zero-trust-access\u002Fskills\u002Fcloudflare-zero-trust-access\u002Freferences\u002Fcommon-errors.md",{"path":101,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Fjwt-payload-structure.md",13066,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fcloudflare-zero-trust-access\u002Fskills\u002Fcloudflare-zero-trust-access\u002Freferences\u002Fjwt-payload-structure.md",{"path":105,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Fquick-start.md",1821,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fcloudflare-zero-trust-access\u002Fskills\u002Fcloudflare-zero-trust-access\u002Freferences\u002Fquick-start.md",{"path":109,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":110,"sourceHtmlUrl":111},"references\u002Fservice-tokens-guide.md",15656,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fcloudflare-zero-trust-access\u002Fskills\u002Fcloudflare-zero-trust-access\u002Freferences\u002Fservice-tokens-guide.md",{"path":113,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":114,"sourceHtmlUrl":115},"references\u002Fuse-cases.md",8258,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fcloudflare-zero-trust-access\u002Fskills\u002Fcloudflare-zero-trust-access\u002Freferences\u002Fuse-cases.md",{"path":117,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":118,"sourceHtmlUrl":119},"references\u002Fvalue-proposition.md",1596,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fcloudflare-zero-trust-access\u002Fskills\u002Fcloudflare-zero-trust-access\u002Freferences\u002Fvalue-proposition.md",{"path":121,"resourceType":122,"resourceTypeDesc":123,"sizeBytes":124,"sourceHtmlUrl":125},"scripts\u002Fcreate-service-token.sh","SCRIPT","脚本",8468,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fcloudflare-zero-trust-access\u002Fskills\u002Fcloudflare-zero-trust-access\u002Fscripts\u002Fcreate-service-token.sh",{"path":127,"resourceType":122,"resourceTypeDesc":123,"sizeBytes":128,"sourceHtmlUrl":129},"scripts\u002Ftest-access-jwt.sh",7622,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fcloudflare-zero-trust-access\u002Fskills\u002Fcloudflare-zero-trust-access\u002Fscripts\u002Ftest-access-jwt.sh",{"path":131,"resourceType":132,"resourceTypeDesc":133,"sizeBytes":134,"sourceHtmlUrl":135},"templates\u002F.env.example","OTHER","其他",4333,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fcloudflare-zero-trust-access\u002Fskills\u002Fcloudflare-zero-trust-access\u002Ftemplates\u002F.env.example",{"path":137,"resourceType":122,"resourceTypeDesc":123,"sizeBytes":138,"sourceHtmlUrl":139},"templates\u002Fcors-access.ts",8278,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fcloudflare-zero-trust-access\u002Fskills\u002Fcloudflare-zero-trust-access\u002Ftemplates\u002Fcors-access.ts",{"path":141,"resourceType":122,"resourceTypeDesc":123,"sizeBytes":142,"sourceHtmlUrl":143},"templates\u002Fhono-basic-setup.ts",3942,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fcloudflare-zero-trust-access\u002Fskills\u002Fcloudflare-zero-trust-access\u002Ftemplates\u002Fhono-basic-setup.ts",{"path":145,"resourceType":122,"resourceTypeDesc":123,"sizeBytes":146,"sourceHtmlUrl":147},"templates\u002Fjwt-validation-manual.ts",6731,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fcloudflare-zero-trust-access\u002Fskills\u002Fcloudflare-zero-trust-access\u002Ftemplates\u002Fjwt-validation-manual.ts",{"path":149,"resourceType":122,"resourceTypeDesc":123,"sizeBytes":150,"sourceHtmlUrl":151},"templates\u002Fmulti-tenant.ts",10367,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fcloudflare-zero-trust-access\u002Fskills\u002Fcloudflare-zero-trust-access\u002Ftemplates\u002Fmulti-tenant.ts",{"path":153,"resourceType":122,"resourceTypeDesc":123,"sizeBytes":154,"sourceHtmlUrl":155},"templates\u002Fservice-token-auth.ts",7652,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fcloudflare-zero-trust-access\u002Fskills\u002Fcloudflare-zero-trust-access\u002Ftemplates\u002Fservice-token-auth.ts",{"path":157,"resourceType":122,"resourceTypeDesc":123,"sizeBytes":158,"sourceHtmlUrl":159},"templates\u002Ftypes.ts",8701,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fcloudflare-zero-trust-access\u002Fskills\u002Fcloudflare-zero-trust-access\u002Ftemplates\u002Ftypes.ts",{"path":161,"resourceType":132,"resourceTypeDesc":133,"sizeBytes":162,"sourceHtmlUrl":163},"templates\u002Fwrangler.jsonc",3963,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fcloudflare-zero-trust-access\u002Fskills\u002Fcloudflare-zero-trust-access\u002Ftemplates\u002Fwrangler.jsonc",[165,173,180,187,194,201],{"skillNo":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":169,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":19},"01M79G206MT3J6S0GY3C45P2KV","vss-summarize-video","Use to summarize a recorded video via the LVS summarization microservice (HITL-gated) with a VLM fallback. Not for report generation or live RTSP captioning.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-summarize-video\u002FSKILL.md",[],[],{"skillNo":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":169,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":19},"01M79G1WN63PGRE8CKD47WEBQ5","vss-setup-video-analytics-api","Use to deploy the vss-video-analytics-api REST service standalone (config-source, data-log bind, Elasticsearch, optional Kafka). Not for full warehouse deploy.","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-setup-video-analytics-api\u002FSKILL.md",[],[],{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":169,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":19},"01M79G1S9F7VY3EF6H53PRP5AN","vss-setup-behavior-analytics","Use to deploy the vss-behavior-analytics service standalone (entrypoint, config-source, optional calibration). Not for the full warehouse deploy.","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-setup-behavior-analytics\u002FSKILL.md",[],[],{"skillNo":188,"name":189,"nameZh":6,"description":190,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":169,"licenseFileUrl":6,"sourceHtmlUrl":191,"categories":192,"keywords":193,"publishedAt":19},"01M79G1N1S1Y27PFZPYMNK1MTQ","vss-search-archive","Use this skill to run top-level VSS fusion search on archived video, or to ingest video files \u002F RTSP streams for search. Do NOT use for ad-hoc visual Q&A (use vss-ask-video), live captioning (use vss-deploy-dense-captioning), or video summarization and reports (use vss-summarize-video).","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-search-archive\u002FSKILL.md",[],[],{"skillNo":195,"name":196,"nameZh":6,"description":197,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":169,"licenseFileUrl":6,"sourceHtmlUrl":198,"categories":199,"keywords":200,"publishedAt":19},"01M79G1H6WN0Q6C0VCAXCZX6B7","vss-query-analytics","Use this skill when reading video-analytics metrics, incidents, alerts, and sensor data via the VA-MCP server (port 9901). Not for live VLM or incident-range narrative reports.","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-query-analytics\u002FSKILL.md",[],[],{"skillNo":202,"name":203,"nameZh":6,"description":204,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":169,"licenseFileUrl":6,"sourceHtmlUrl":205,"categories":206,"keywords":207,"publishedAt":19},"01M79G1DYPNXQS7QHZ0AAF5FX5","vss-manage-video-io-storage","Use to call the VIOS REST API (sensor list, timelines, clip extraction, snapshots, add\u002Fdelete sensors and streams). Not for VLM inference or search.","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-manage-video-io-storage\u002FSKILL.md",[],[]]