SkillsReviewed · fcakyon

Gateway Workers

Gateway Workers is an AI assistant skill for developers integrating Cloudflare Workers with Gateway HTTP policies, and it depends on external documentation for setup and API details. It explains the GatewayMiddleware entrypoint, request continuation, identity handling and traffic limitations. The folder supplies instructions rather than a deployable Worker; runtime compatibility and operating costs are unknown.

Researched 17 Nov 2026

In short.

Gateway Workers is an AI assistant skill for developers building Cloudflare Gateway integrations, with additional documentation and project-specific validation required. Its strongest details concern the named RPC entrypoint, original-request context, continuation constraints and inspection boundaries. The supplied folder contains instructions and a feedback reference, with no Worker implementation or execution results. Exact dependencies, platform pricing and agreement with current external documentation are unknown.

Researched and written by an AI model and checked by a second AI model. How it works

The supplied snapshot covers the complete selected folder, plugins/cloudflare-skills/skills/gateway-workers: SKILL.md and references/skill-feedback.md, plus the repository-level LICENSE notice. The rest of the repository, sibling skills, linked Cloudflare documentation and templates are outside this coverage. No installation, Worker execution, deployment or Gateway traffic behavior was tested.

The overview

Resource identity

Gateway Workers is the gateway-workers skill folder in fcakyon/claude-codex-settings. It contains SKILL.md and references/skill-feedback.md. Its purpose is to guide an assistant when building, debugging or reviewing Workers invoked by the Forward action in Cloudflare Gateway HTTP policies.

The source folder is [https://github.com/fcakyon/claude-codex-settings/tree/main/plugins/cloudflare-skills/skills/gateway-workers]. The supplied snapshot is pinned to revision b4876aac9566bfd66378237c244a285e09310d2f. The evidence identifies this repository copy; it does not establish official Cloudflare authorship or endorsement.

Practical assessment

The skill is a useful fit when an assistant needs precise guidance about how Gateway invokes a Worker and how that Worker continues a request. It addresses concrete integration mistakes, including relying on a default fetch handler, confusing context objects, calling continuation more than once and assuming a separate fetch inherits Gateway protections.

It requires the developer to consult current guides and templates before implementation. The supplied text supports assessing its instructional specificity, but not claims that it improves coding accuracy, reduces development time or produces working deployments.

Intended users

The intended users are developers using an AI coding assistant to implement, troubleshoot or review Cloudflare Gateway integrations. Experienced Workers developers may find the Gateway-specific entrypoint and traffic rules especially relevant.

Beginners receive a focused outline, but need additional material on Workers, Gateway policies, deployment and RPC, the mechanism Gateway uses to call the named Worker method. Supported assistant products, versions and loading procedures are not specified.

What it covers

The instructions cover selecting a Worker template, implementing GatewayMiddleware, using Gateway identity and device posture, continuing requests, returning synthetic responses and checking streaming behavior. They also distinguish local entrypoint validation from a request that actually passes through a Gateway Forward policy.

The companion reference describes submitting feedback about the skill to cloudflare/skills. It calls for removing sensitive details and obtaining approval of the exact title and body before posting a public issue. This is guidance contained in the resource, not an automated reporting capability.

Using it

Requirements and dependencies

Applying the skill requires an assistant that can use its instructions and a Cloudflare setup capable of forwarding permitted HTTP traffic to a Worker. The source says HTTPS traffic requires decryption. TypeScript projects need the Gateway packages and type imports specified by the chosen current template.

The skill links to separate guidance for Gateway policy design, Workers practices and CLI selection. Those companion skills and external documents are outside the supplied folder. Exact package versions, account entitlements, installation commands and supported assistant versions are unknown.

How the integration works

The skill specifies a named GatewayMiddleware class extending WorkerEntrypoint from cloudflare:workers. Gateway calls handle(request, context, next) through RPC, and the method returns a Response. A default fetch handler alone does not satisfy this contract.

The second argument describes the original request and remains unchanged when the Worker modifies that request. It is distinct from this.ctx, the Workers execution context, and this.env, the bindings. Identity and device-posture lookups are asynchronous and can reject; missing values and lookup failures need separate handling.

According to the skill, next(request) may be called at most once and always continues toward the original destination. Destination URL or host changes are ignored. A separate fetch can contact another destination, but creates an independent subrequest that does not inherit the user's Gateway policies or egress configuration.

Getting started

The documented starting point is the current Forward guide [https://developers.cloudflare.com/cloudflare-one/traffic-controls/integrate-workers/forward-traffic/index.md], followed by a suitable Worker template [https://developers.cloudflare.com/cloudflare-one/traffic-controls/integrate-workers/worker-templates/index.md]. The template supplies the installation and type-import details omitted from this skill.

Keep SKILL.md with references/skill-feedback.md to preserve its local feedback link. Other relative links lead to sibling skills outside this folder. The supplied files do not explain how to register the skill with a particular assistant or provide a complete project configuration.

Illustrative use

One possible application is an identity-dependent check on a permitted HTTP request. The Worker could obtain Gateway-provided identity, return a synthetic 403 response when identity is absent, and otherwise call next(request) once. Lookup rejection would need an explicit error path rather than being treated automatically as missing identity.

This example illustrates the documented primitives; it is not an included implementation or an observed result. Client-supplied identity headers would not substitute for Gateway-provided identity under the skill's guidance.

Assessment & evidence

Traffic and validation limits

The skill states that only the first matching Forward policy invokes a Worker, WebSockets bypass it, matching Workers VPC traffic is dropped and Worker invocation failures fail closed. These constraints affect which traffic is suitable for an integration.

It also states that final responses, including synthetic responses, undergo Gateway inspection, while modified request bytes are not inspected again before reaching the origin. Worker invocation alone therefore does not establish successful body inspection.

Its response rules require final statuses from 200 through 599, no body for HEAD requests or statuses 204, 205 and 304, and streamed bodies rather than buffering. These rules are presented by the skill; agreement with current Cloudflare documentation was not assessed.

Why the details matter

The entrypoint distinction explains why a Worker can respond to a direct request without demonstrating that Gateway can invoke it correctly. Separating original-request context from modified request data also helps prevent identity or routing decisions from relying on the wrong information.

The distinction between next and fetch has a security consequence: contacting another destination through fetch does not retain the Gateway policy and egress behavior described for the user's request. These are concrete reasons to consult the skill during design and review, although their effect on generated implementations remains unmeasured.

Related approaches

Developers can work directly from the linked Cloudflare Forward guide and Worker templates instead of loading this assistant skill. Those documents are the setup and API references the skill itself relies on; their contents were not supplied for comparison.

The named companion skills address adjacent needs: cloudflare-one covers policy design and traffic paths, workers-best-practices covers runtime practices, and CLI guidance selects cf-cli or wrangler. They are presented as complementary resources. Their contents and relative completeness are unknown.

Evidence and confidence

The supplied source consists of the main skill, its feedback reference and the repository license. The immutable main file is available at [https://raw.githubusercontent.com/fcakyon/claude-codex-settings/b4876aac9566bfd66378237c244a285e09310d2f/plugins/cloudflare-skills/skills/gateway-workers/SKILL.md].

These files establish the instruction content and license terms. The selected folder contains no executable Worker, package manifest, runtime test output or benchmark results. Nothing was executed; installation, deployment and end-to-end Gateway behavior were not assessed.

Access & freshness

Costs

Apache-2.0 grants reuse rights without a license charge. That does not establish the cost of using an assistant or operating Cloudflare services.

The files contain no Gateway or Workers prices, account-plan requirements, assistant subscription costs, usage estimates or billing examples. Total operating cost is unknown.

License and reuse

SKILL.md declares Apache-2.0, and the repository LICENSE supplies the corresponding terms. These permit use, modification and redistribution, including commercial reuse, subject to the license conditions.

Redistribution requires supplying the license and retaining applicable notices. Modified files must carry prominent change notices, and applicable NOTICE attributions must be preserved when present. The license does not grant general trademark rights and provides no warranty. It does not establish reuse rights for the linked Cloudflare documentation.

Version and freshness

The supplied snapshot was captured on 17 November 2026 at 02:41:44 UTC from commit b4876aac9566bfd66378237c244a285e09310d2f. The files do not state a skill release version or authoring date.

The instructions explicitly depend on current external guides for setup, types and limits. Those linked pages were not supplied, so present-day compatibility and any changes after the captured revision are unknown.

Before using it

Confirm how your assistant loads the skill, read the current Forward guide and choose a template suited to the intended traffic transformation or response. Check current account eligibility, pricing and required Gateway types before implementation.

For validation, the skill recommends type-checking and testing the named RPC entrypoint, continuation count and context values, followed by a permitted request through a scoped Gateway Forward policy. A direct request to a default fetch handler does not establish that the Gateway path works. Include missing identity, lookup failure and applicable response-body rules in that validation.

Evidence for this report

LICENSEnotice · checked 2026-11-17