Cloudflare 标志

Cloudflare

社区
Lynricsy
cloudflare

Builds on Cloudflare Workers, Durable Objects, KV, R2, D1, Queues and the Wrangler CLI. Use when writing or reviewing Worker code, wrangler.jsonc or wrangler.toml, or Durable Object classes, a deploy is rejected, production differs from wrangler dev, migrating off Cloudflare Pages, or configuring Cloudflare Access or Tunnel.

概览

发布者Lynricsy
代码仓库HyperSkills
技能名称cloudflare
星标数
26
复刻数
0
附带文件
47
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 47 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Lynricsy 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Cloudflare AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Lynricsy/HyperSkills/tree/main/skills/cloudflare
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Lynricsy/HyperSkills.git /tmp/HyperSkills
mkdir -p .claude/skills
cp -r /tmp/HyperSkills/skills/cloudflare .claude/skills/cloudflare
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Cloudflare,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Cloudflare。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Cloudflare 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

cloudflare

Scope

Covers the Cloudflare developer platform as a control plane and a runtime: the Workers isolate model and its limits, wrangler configuration and CLI and when a project uses the Cloudflare CLI (cf) instead, bindings, Durable Objects (runtime semantics and class lifecycle), the storage products and how to choose between them on consistency and quota grounds, Workers static assets and the migration off Pages, Cloudflare's own observability surface, Workers testing, and Cloudflare One — Access, Gateway, the device client and Tunnel.

Verified against wrangler 4.131.0 with workerd 1.20260910.1. Rules that need a newer tool than the 4.x line carry a gate such as (Wrangler 4.107+). Limits and defaults were re-read from the official documentation rather than recalled; every claim is marked [verified] (reproduced locally, see ## Environment), [official] (documentation only) or [community]. The cf CLI (beta) was not run locally; its guidance follows the cf documentation of 2026-09-30 and is [official].

Not covered:

  • General web performance, Core Web Vitals and visual design. Use the frontend-design skill. This skill covers only the Cloudflare-side levers (asset caching headers, Workers placement, cacheTtl).
  • React and Next.js themselves. Use the react skill. On Cloudflare, Next.js deploys as a Worker with static assets through an adapter, not to Pages; the adapter is the only part of that which belongs here.
  • Node.js server frameworks (Express, Fastify, Hono routing design). Use the nodejs-backend skill. The nodejs_compat flag and what it does to imports belongs here.
  • AWS, Azure and Google Cloud. Use the aws, azure and gcp skills. Cross-cloud comparison gets a sentence at most.
  • OpenTelemetry instrumentation, semantic conventions, Collector configuration, RED/USE metrics, SLOs and alert design. Use the observability skill. What belongs here is the Cloudflare product surface: Workers Logs, traces, Tail Workers, Logpush, wrangler tail and their quotas and configuration fields.
  • HCL, Terraform modules and state. Use the terraform skill. Cloudflare's native declarations (wrangler.jsonc, the exports map, the Access and Gateway APIs) belong here.
  • Dockerfiles, Compose, Kubernetes manifests and Helm. Use the containers skill.
  • The Cloudflare Agents SDK, Workers AI, AI Gateway, Vectorize and building MCP servers on Workers. No skill in this library covers them yet; say so rather than improvising.
  • The network and security product surface — CDN cache rules, WAF, DDoS, Bot Management, Turnstile, Stream, Zaraz. Not covered here either.

Paths below are relative to this skill's directory.

Read first

references/limits-and-versions.md is the quota and version-gate index. Read it before quoting any number or any "since version X" claim — most Cloudflare regressions in agent output are a stale limit or a retired plan name, not a wrong API call.

Core rules

  1. Establish the toolchain before quoting anything. A project with wrangler.jsonc, wrangler.json or wrangler.toml and no cloudflare.config.ts is a Wrangler project: read its own wrangler version (npx wrangler --version), its compatibility_date and compatibility_flags, and node_modules/wrangler/config-schema.json — a field that is not in the installed schema does not exist for this project, whatever the docs say. A new project, one with no Cloudflare configuration, or one with cloudflare.config.ts uses the Cloudflare CLI cf (beta), per Cloudflare's guidance for coding agents: do not add Wrangler to it, and find each command with cf cli search instead of translating this skill's wrangler commands from memory. Never run cf dev/build/deploy in an unmigrated Wrangler project — they ignore wrangler.jsonc and rewrite package.json (references/cf-cli.md).
  2. Prefer retrieval over recall for API surface and limits. Cloudflare ships runtime changes several times a week; the installed wrangler --help and the generated worker-configuration.d.ts are the project's truth, and developers.cloudflare.com is the platform's.
  3. Nothing request-scoped may live in module scope. Isolates are reused across requests from different users, so a module-level let assigned inside a handler leaks one user's data to the next and, if it holds an I/O object, fails outright: Cannot perform I/O on behalf of a different request [verified] (references/workers-runtime.md).
  4. Every promise is awaited, returned, or handed to ctx.waitUntil(). A floating promise is cancelled when the response completes and its rejection is swallowed. waitUntil extends execution for up to 30 seconds after the response or a client disconnect [official].
  5. Never destructure ctx. const { waitUntil } = ctx loses the receiver and throws Illegal invocation at call time [verified].
  6. CPU time is not wall time, and the numbers are: Workers Free is fixed at 10 ms; Workers Paid defaults to 30 s and can be raised to 5 minutes with limits.cpu_ms: 300000. Time spent waiting on fetch, KV, D1 or R2 does not count. Wall time is unlimited for HTTP requests and 15 minutes for Cron Triggers, Queue consumers and Durable Object alarms [official]. The retired Bundled/Unbound usage-model names are not an answer.
  7. Memory is 128 MB per isolate, not per request. Buffering an unbounded body with await response.text() or request.arrayBuffer() is how Workers OOM; pass response.body through or use a TransformStream [official].
  8. Reach for the binding, never the Cloudflare REST API, for anything a binding exposes. A binding is in-process, needs no token, and does not consume the account-level credential that an API call would have to carry.
  9. Six connections may be waiting for response headers at once. A seventh queues. Fan-out past six concurrent fetch/KV/R2/Queues calls serialises silently rather than erroring [official].
  10. Keep compatibility_date current on new Workers and treat advancing it on an existing Worker as a behaviour change: read the intervening compatibility flags and test. A Worker uploaded through the API without a date defaults to 2021-11-02, before any flag took effect [official].
  11. Secrets never appear in vars. Configuration files are committed and vars are plaintext on the deployed Worker. Use wrangler secret put, a Secrets Store binding, or --secrets-file; local values go in .dev.vars or .env, both gitignored. A leaked value is rotated, not edited out (references/wrangler.md).
  12. wrangler secret put and secret delete create a version and deploy it immediately. When a change must be staged, use wrangler versions secret put and then wrangler versions deploy [official].
  13. Bindings and vars are non-inheritable: an environment that does not redeclare them does not have them. An environment also deploys a separate Worker named <name>-<environment>, so a service binding aimed at an environment must name <target>-<environment> [official].
  14. Generate Env with wrangler types, never by hand. It writes worker-configuration.d.ts from the configuration plus the runtime types for the configured compatibility date and flags, and re-running it is how a renamed binding becomes a type error instead of a runtime undefined [verified].
  15. Declare resource ids explicitly. An omitted id can trigger automatic provisioning, which creates a new empty resource instead of binding the existing one [official].
  16. wrangler dev is local by default (--remote defaults to false) and needs no account: workerd serves the Worker and KV, D1, R2, Durable Object and Cache state persists as SQLite under .wrangler/state/v3/ [verified]. Local KV is read-after-write consistent, so an eventual-consistency bug cannot reproduce there — that is a property of the simulator, not evidence the code is correct.
  17. Choose storage by consistency requirement, not by familiarity. KV is an eventually consistent read cache: a write is usually visible immediately where it was made but takes up to 60 seconds or more elsewhere, negative lookups are cached the same way, and the same key accepts 1 write per second. It cannot implement a counter, a lock or a queue (references/storage-selection.md).
  18. Anything needing atomicity or ordering goes to a Durable Object, sharded by the entity it coordinates. One object is single-threaded and serialises its own requests; it has a soft limit of about 1,000 requests per second and returns overloaded beyond that, so the shard key decides whether the design scales.
  19. In a Durable Object, persist before caching: write to ctx.storage and only then update the in-memory copy. Use blockConcurrencyWhile() for constructor-time schema setup only — holding it across a fetch or per request destroys throughput.
  20. One alarm per object. setAlarm() replaces any pending alarm, and the handler is retried on failure, so it must be idempotent and must record its own progress in the same storage write (references/durable-objects.md).
  21. Declare Durable Object class lifecycle with the exports map (Wrangler 4.107+): state: "created" | "deleted" | "renamed" | "transferred" | "expecting-transfer". exports and the legacy migrations array are mutually exclusive — a configuration with both is rejected at validation [verified] — and once a Worker has deployed with exports it cannot go back (references/do-lifecycle.md).
  22. A rename is a rename. Deleting a class destroys its namespace and every object's data permanently, with no trash; expressing a rename as delete-plus-create is data loss that deploys cleanly. Rename over three deploys so the class pointer and the code never disagree.
  23. New Durable Object namespaces are SQLite-backed (storage: "sqlite"). The key-value backend is unavailable to accounts without an existing key-value namespace, storage type is immutable once provisioned, and storage_type_mismatch is the error for trying [official].
  24. Workers serves static assets before the Worker script; Pages ran Functions first. An authentication check that ran as Pages middleware stops running on asset paths after the migration unless assets.run_worker_first is set, and not_found_handling must be declared because Workers infers nothing from index.html or 404.html (references/static-assets.md).
  25. _headers and _redirects do not apply to responses generated by Worker code. Under SSR or run_worker_first, security headers and redirects have to be set in the Worker as well, or the migration drops them silently [official].
  26. A rollback replaces code, not data: connected resources are untouched, only the 100 most recent versions are reachable, and a rollback cannot cross a Durable Object lifecycle change. Design the schema change to be backward compatible instead of relying on rollback.
  27. Enable observability before the incident: observability.enabled does not enable traces — observability.traces.enabled is a separate field — and log as structured JSON so the entries are queryable (references/observability.md).
  28. Test in the runtime, not in Node: @cloudflare/vitest-plugin (v1; it replaces @cloudflare/vitest-pool-workers) runs tests inside workerd with real bindings, and createTestHarness() exercises whole Workers [official] (references/testing.md).
  29. Deploy credentials scope to a single Worker. Workers permissions are now roles at a scope, and the legacy account-wide Workers Scripts: Edit is Editor on every current and future Worker. A CI token for one Worker is an account-owned API token with Editor on that Worker: it deploys, uploads and deploys versions, rolls back and sets secrets. Product-level Admin is only for creating or deleting Workers, bound KV/D1/Queues need no permission to deploy, and wrangler login OAuth cannot express any of this [official] (references/wrangler.md).

Workflows

review-a-worker-for-production

  • Read the configuration first: compatibility_date and flags, limits, observability, whether secrets sit in vars, whether every env.X in the code has a binding and every binding is declared per environment (references/wrangler.md).
  • Scan module scope. Any mutable let/var assigned inside a handler is a cross-request leak; any cached stream, Request, Response or socket is a Cannot perform I/O on behalf of a different request waiting to happen.
  • Trace every promise to an await, a return, or ctx.waitUntil(), and check ctx is never destructured.
  • Check the byte paths: unbounded text()/json()/arrayBuffer() against the 128 MB isolate limit, and value sizes against the target store's limit (references/limits-and-versions.md).
  • Check the boundaries: REST API calls that a binding would do better, more than six concurrent subrequests, Math.random() for anything security-bearing, secret comparison without crypto.subtle.timingSafeEqual over equal-length digests.
  • Check the failure posture: passThroughOnException() is fail-open to the origin and hides the bug being investigated; errors should be caught and returned structured.
  • Gate — the change type-checks against generated types and packages: npx wrangler types then the project's typecheck, and npx wrangler deploy --dry-run --outdir=dist exits 0 and prints the expected binding table. A dry run proves the bundle and the configuration, not the runtime.

choose-a-storage-product

  • Write down the access pattern in numbers: writes per second to the same key, reads per second, value size, total size, and whether a reader may see a stale value (references/storage-selection.md).
  • Eliminate on consistency first. Read-modify-write, counters, locks, leases and ordering rule out KV and R2 regardless of volume; they need a Durable Object.
  • Eliminate on quota second: KV value 25 MiB, D1 database 10 GB and one query at a time, Durable Object 10 GB per object with key+value ≤ 2 MB, R2 object 5 TiB but 1 write per second to the same key, Queues message 128 KB.
  • Pick the shard key before the product. "One Durable Object per team" and "one D1 per tenant" are the designs that scale; one global instance of either is the design that returns overloaded.
  • Keep the read-heavy configuration lookups in KV where it is genuinely the right tool, and raise cacheTtl above its 60-second default for values that change rarely.
  • Gate — the design states its staleness budget: for each read path, say how stale a value may be and which product's documented guarantee provides it. An unstated staleness budget is how a KV counter gets shipped.

add-or-change-a-durable-object-class

  • Identify the coordination atom and make it the object: a room, a match, a tenant, a user. Not a service (references/durable-objects.md).
  • Decide the lifecycle route explicitly. A Worker already on migrations either stays there or converts the whole map to exports — the conversion needs no data migration but is one-way (references/do-lifecycle.md).
  • Write the exports entry and the binding together. A class exported by the code but absent from exports is never provisioned, and storage: "sqlite" is required on live entries.
  • For a rename, sequence three deploys: alias the old name to the new class, apply the renamed tombstone while the alias is live, then remove the alias.
  • Make alarms idempotent and re-arm them in one place. Re-arming on every incoming request pushes the deadline out forever, because setAlarm() replaces rather than adds.
  • For WebSockets, use the Hibernation API (ctx.acceptWebSocket(), ctx.getWebSockets(), serializeAttachment) so an idle room stops accruing duration charges, and keep the constructor cheap because hibernation re-runs it.
  • Gate — lifecycle changes go out alone: wrangler deploy (not wrangler versions upload, which refuses lifecycle changes), one lifecycle change per deploy, and the reconciliation block in the output says what you intended.

migrate-pages-to-workers-static-assets

  • Count the build output against the hard limits first, because they fail a deploy rather than throttle it: 20,000 asset files per Worker version on Free and 100,000 on Paid, 25 MiB per individual file (references/static-assets.md).
  • Replace pages_build_output_dir with assets.directory, add a compatibility_date (carrying over the Pages Functions date if one was set), and turn on observability in the same edit — observability.enabled plus observability.traces.enabled, per environment.
  • Declare serving behaviour that Pages used to infer: not_found_handling as single-page-application or 404-page, and run_worker_first if anything must run before assets are served.
  • Convert the Functions directory: wrangler pages functions build --outdir=... to compile it, or rewrite it as a Worker entry. _routes.json has no equivalent — run_worker_first is the replacement.
  • Re-apply _headers and _redirects inside the Worker for every path the Worker itself answers, and keep both files in the asset directory for the paths it does not.
  • Add .assetsignore for anything that must not be uploaded — a _worker.js inside the asset directory, plus the node_modules, .git and .DS_Store entries Pages excluded for you.
  • Re-declare bindings and vars for every environment: they do not inherit, so a Pages project that only set env.preview.vars loses its other bindings in preview.
  • Gate — the acceptance criteria are exercised, not assumed: run wrangler dev and curl an asset path, a deep SPA route, each redirect, and a protected path with and without credentials, asserting the headers and status codes you claimed.

diagnose-a-production-only-failure

  • Separate "not reproducible locally" from "works locally". Local KV is read-after-write consistent, local D1 and Durable Objects are single-process, and there is no global propagation — so consistency, contention and quota failures cannot appear there [verified].
  • Get the invocation outcome before theorising: exceededCpu, exceededMemory, scriptNotFound, canceled, exception. It is in Workers Logs, in the Trace Events Logpush dataset, and in the dashboard's Invocation Statuses (references/observability.md).
  • Match the outcome to a limit rather than to the code: exceededCpu against limits.cpu_ms, exceededMemory against buffering, 1027 against the Free daily request cap, 429 from a store against its per-key write rate.
  • Check what changed in the deployment, not only in the code: a gradual deployment serving two versions, a dashboard edit that wrangler deploy overwrote or is about to overwrite, a secret that deployed itself when it was set.
  • Where only production signals exist, stay in the signals: wrangler tail for a live stream, Workers Logs for the query, a Tail Worker or the OTel export for retention. Use the debugging skill once there is a local reproduction, and the observability skill for the instrumentation and alerting pipeline itself.
  • Gate — the diagnosis names a signal: every conclusion cites a log field, an invocation outcome, or a documented limit with its number. "Probably the isolate" is not a diagnosis.

Topic router

TopicRead whenFile
Every quota, default and version gate in one table: CPU and wall time, memory, subrequests, asset and store limits, the wrangler/compat-date gates, retired namesBefore quoting any number or any "since version X" claimreferences/limits-and-versions.md
Isolate lifecycle, request-scoped I/O, waitUntil and passThroughOnException, streaming, crypto, service bindings and RPC, placement (region hints and Smart Placement), Cron Triggers, nodejs_compatWriting or reviewing Worker code, or explaining a runtime errorreferences/workers-runtime.md
Wrangler or cf for this project, cf setup and login, what changes (modes, IDs, remote-by-default data), why cf dev/build/deploy must not run before cf migrate, the migration stepsStarting a new project, a project with cloudflare.config.ts, or a request to use or switch to cfreferences/cf-cli.md
Configuration shape and schema, compatibility dates and flags, binding declarations, environments and non-inheritable keys, secrets and .dev.vars/.env, limits, observability, wrangler types, auto-provisioningEditing wrangler.jsonc/wrangler.toml or adding a bindingreferences/wrangler.md
Local versus remote dev and where state lives, data commands, deploy --dry-run, versions and gradual deployments, rollback constraints, secret commands, Workers roles and API token scope for deploys, diagnosticsRunning wrangler, deploying, setting up CI credentials, or recovering a deploymentreferences/wrangler.md
Durable Object modelling and sharding, stub creation, SQLite and key-value storage APIs, input/output gates and blockConcurrencyWhile, alarms, WebSocket hibernation, RPCWriting or reviewing Durable Object codereferences/durable-objects.md
The exports lifecycle map, each state and its required fields, safe rename and transfer sequences, storage backends, reconciliation output, legacy migrations and converting off itAdding, renaming, deleting or moving a Durable Object classreferences/do-lifecycle.md
KV, R2, D1, Durable Object storage, Queues and Hyperdrive side by side: consistency guarantee, per-key write rate, size ceilings, failure mode, and the decision tableChoosing a store, or explaining why the current one cannot workreferences/storage-selection.md
assets configuration, routing modes, _headers and _redirects semantics and limits, .assetsignore, default asset headers, Pages-to-Workers migration and the compatibility matrixServing static assets, or migrating off Pagesreferences/static-assets.md
Workers Logs and traces configuration and sampling, invocation outcomes, wrangler tail, Tail Workers, Logpush datasets, the OTel export, and where the boundary with the observability skill fallsInstrumenting a Worker, or diagnosing from production signalsreferences/observability.md
@cloudflare/vitest-plugin setup and the rename from vitest-pool-workers, isolated storage, testing Durable Objects and queues, mocking outbound requests, createTestHarness()Writing or fixing tests for a Workerreferences/testing.md
Access applications and policies, Gateway policy types and order of enforcement, device profiles and split tunnel, service tokens, cloudflared quick and named tunnels, log surfacesConfiguring or troubleshooting Zero Trust access or a tunnelreferences/cloudflare-one.md

Output format

When reviewing Worker code or configuration, group findings by file and lead with the consequence, not the rule name:

src/index.ts:10 - cross-request leak - `let cachedUser` is module scope, so the isolate
  serves the first user's session to every later request it handles. Measured locally:
  /cache?u=alice then ?u=bob both return {"id":"alice"}. Move it inside fetch().

wrangler.toml:11 - throughput - limits.cpu_ms = 50 caps CPU at 50 ms against a Paid default
  of 30000 ms, so /report terminates with exceededCpu (Error 1102) as the table grows.
  Remove the override or raise it; the 5 min ceiling is 300000.

Order findings by blast radius: data leaks and credential exposure first, then anything that already returns 5xx, then quota ceilings that will be hit, then maintainability. Quote the evidence — the exact runtime error string, the invocation outcome, the documented limit with its number — rather than asserting it. When a number is involved, give the number.

Say explicitly when something is fine as written. wrangler.toml versus wrangler.jsonc, a for await versus pipeTo, getByName() versus idFromName() plus get() — these are two spellings of the same thing, and reporting them buries the findings that matter.

Environment

  • In a Wrangler project, npx wrangler --version is the first command of any diagnosis; pin wrangler in devDependencies and run it through the project's package manager so CI and the laptop agree. A cf project pins cf the same way, and the global cf runs the project's copy (references/cf-cli.md).
  • Local development needs no Cloudflare account and no real resource ids. wrangler dev simulates KV, R2, D1, Durable Objects and the Cache in workerd and persists them under .wrangler/state/v3/, which must be gitignored. --persist-to moves that directory.
  • wrangler deploy --dry-run --outdir=dist builds, validates the configuration, prints Total Upload and the binding table, and never contacts the API — this is the check a pull request can run.
  • npx wrangler types writes worker-configuration.d.ts containing both the binding interface and the runtime types for the configured compatibility date and flags. It is generated output: re-run it after any binding change instead of editing it.
  • wrangler kv, wrangler d1 and wrangler r2 data commands take --local and --remote. Pass the one you mean: with no flag and no login they operate on the local state directory, which looks like success while touching nothing real.
  • cloudflared is a separate binary from wrangler and is required for Tunnel work; check for it with cloudflared --version before writing tunnel instructions.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Cloudflare AI 技能有什么作用?

Builds on Cloudflare Workers, Durable Objects, KV, R2, D1, Queues and the Wrangler CLI. Use when writing or reviewing Worker code, wrangler.jsonc or wrangler.toml, or Durable Object classes, a deploy is rejected, production differs from wrangler dev, migrating off Cloudflare Pages, or configuring Cloudflare Access or Tunnel.

为什么在 TypingMind 中使用 Cloudflare?

因为您只需安装一次,就能搭配任何模型使用。Cloudflare 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Cloudflare?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Lynricsy/HyperSkills/tree/main/skills/cloudflare。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Cloudflare?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Cloudflare 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Cloudflare 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Cloudflare AI 技能免费吗?

是的。Lynricsy 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇