मुख्य सामग्री पर जाएँ
Skillpedia
डिप्लॉय और क्लाउड (DevOps)20k · #10413

Cloudflare

यह क्या करती है

यह स्किल एजेंट को Cloudflare खाते के हिस्से सेट करने और अपडेट करने देती है, जैसे वेबसाइट, serverless फ़ंक्शन और storage। यह उन डेवलपरों के लिए है जो अपने प्रोजेक्ट Cloudflare पर होस्ट करते हैं।

कब इस्तेमाल करें

  • ✓जब आप Cloudflare Worker या Pages साइट डिप्लॉय करना चाहते हों।
  • ✓जब आपको Cloudflare पर DNS, KV storage, R2 या D1 डेटाबेस बदलने हों।
  • ✓जब आप Worker logs देखना चाहते हों या पुष्टि करना चाहते हों कि डिप्लॉयमेंट लाइव है।

Skill का लिंक

https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Cloudflare/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Cloudflare/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरा Cloudflare Worker डिप्लॉय कीजिए और जाँचिए कि नया version मेरे domain पर लाइव है।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल Cloudflare के कमांड लाइन टूल को एक wrapper के ज़रिए चलाती है, जो उसे केवल ज़रूरी access token देता है। फिर वह लाइव पते पर नतीजा जाँचती है, ताकि रिपोर्ट में डिप्लॉय किया गया version और साइट का जवाब देना दिखे।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Cloudflare Skill

Contents: Ideal State · Intent Routing · How It Works · Data & Config · Gotchas · Examples

Deploys and manages Cloudflare Workers, Pages, KV, R2, D1, DNS, and Queues with one tool, Cloudflare's cf CLI, run through LIFEOS/TOOLS/CfEnv.ts so the master token reaches the cf process and nothing else. A raw Cloudflare CLI call either runs on whatever token the calling shell exports (a shell profile that exports .env puts it in every interactive shell, the agent's Bash shell included), outside CfEnv's probes and review, or coasts on a stale OAuth login, which produces false "the token is dead, rotate it" diagnoses. This skill encodes one tool, one credential, one runner, and one set of verified probes so deploys and queries land the first time.

Ideal State

  • Every account-touching Cloudflare call runs through LIFEOS/TOOLS/CfEnv.ts, so the master token from .env reaches one cf process and nothing else: no raw cf or Wrangler write, no sourced .env, no OAuth fallback.
  • Whatever is deployed or created answers only on its authoritative URL (custom domain with workers.dev and previews off, or workers.dev when no domain exists). The report proves it live with a version ID and a probe, and the code review, new-zone baseline and registration gates were passed rather than overridden.
  • Reads and diagnoses come from live cf output in the same turn. An auth failure is traced through auth whoami and a scope-matching probe before any rotation is considered.
  • An MCP server built here is a stateless Worker that meets References/McpServerSpec.md.

Intent Routing

Intent Trigger File
Deploy Any Cloudflare write (deploy, secret, D1 migration or write, KV/R2 write, queue create, Pages deploy), an approved teardown, and converting a Wrangler project Intents/Deploy.md
Create Create a Worker or MCP server Intents/Create.md
Troubleshoot Deployment issues Intents/Troubleshoot.md
Query Cloudflare state (list workers, versions, KV, DNS, D1, logs, analytics), read-only via cf Intents/Query.md
Explorer Inspect Worker bindings/data live via Local Explorer Intents/Explorer.md
File Read when
References/McpServerSpec.md Before writing any MCP server. The normative 2026-07-28 build contract — stateless shape, server/discover, resultType, CacheableResult, required headers, MRTR, deprecated features not to adopt. Every MCP server built here uses this structure.
References/CfCli.md finding the cf command for a task (the decision table), cf output, auth order, --local mode, Access, previews, secrets-store and other capabilities, or falling back to Code Mode MCP
References/RuntimeGotchas.md writing or applying a D1 migration, exporting or backing up D1, long waitUntil or cron jobs, static-asset caching headers, Durable Object containers, deciding Container vs isolate, or probing an Astro POST route
References/StaticSiteConfig.md writing or converting a project's cloudflare.config.ts and vite.config.ts, static sites especially
Setup.md first-time setup: the two .env keys, the deploy review's reviewer and waivers, the Config.md entries, and the no-account check that CfEnv's allowlist guard is in place
LIFEOS/TOOLS/CfEnv.help.md CfEnv's usage, verb allowlist and refusals

How It Works

  • cf CLI (open beta) is the only Cloudflare CLI this skill uses. Every account call runs the one version CfEnv pins as CF_PACKAGE in LIFEOS/TOOLS/CfEnv.ts (cf@1.0.0-beta.5 when this was written; read the constant for the current pin), not whatever cf is installed globally. The pin costs container Workers: a Durable Object container needs cf@1.0.0-beta.10 or later (References/RuntimeGotchas.md § Durable Object containers), so a container Worker cannot deploy through CfEnv until the pin moves. Moving it is a deliberate change: beta.14 dropped observability telemetry query, which scheduled log readers rely on (LifeOS's optional Vigil monitor is one), so check every command your callers run against the new version first. Its command map, discovery, output, local mode and extra capabilities are in References/CfCli.md.
  • LIFEOS/TOOLS/CfEnv.ts runs one cf command with CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID from ~/.claude/.env injected into that child process only, behind a verb allowlist. secret put is translated so t
अक्सर पूछे जाने वाले सवाल

मेरा खाता बदलने के लिए यह कौन-सा टूल इस्तेमाल करती है?

यह Cloudflare का cf कमांड लाइन टूल इस्तेमाल करती है, एक wrapper से चलाकर जो केवल master token देता है।

यह कैसे पुष्टि करती है कि डिप्लॉयमेंट सफल रहा?

डिप्लॉय के बाद यह लाइव पते की जाँच करती है और नतीजे के साथ version ID बताती है।

क्या यह MCP servers बना सकती है?

हाँ। यह MCP servers को Cloudflare Workers के रूप में लिख सकती है।

जानकारी

लेखक का मूल विवरण

Deploys and manages Cloudflare Workers, Pages, KV, R2, D1, DNS, and Queues with the cf CLI, converts Wrangler projects to cf, and authors MCP servers as Workers; never call cf or wrangler raw for a write. USE WHEN deploy worker, deploy pages, ship worker, push to cloudflare, wrangler deploy, Cloudflare, Pages, DNS, KV, R2, D1, Queues, Workers AI, worker logs, build an MCP server, write an MCP server, expose this as MCP, MCP server structure, what shape should our MCP server be, MCP spec, server/discover, MCP stateless. NOT FOR non-Cloudflare deploys or MCP servers we only consume.

repo: danielmiessler/LifeOS

लोकप्रियता

GitHub स्टार
20k
रैंकिंग में स्थान
#10413
लाइसेंस
MIT
अपडेट की गई
28/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

LifeOS

20k

आपके एजेंट को LifeOS सेट करने में मदद करती है, एक निजी प्रणाली जो एक इंटरव्यू और डैशबोर्ड से आपकी मौजूदा स्थिति को आपके आदर्श लक्ष्य से जोड़ती है।

प्रोडक्टिविटीटास्क और प्रोजेक्ट

AnnualReports

20k

आपके एजेंट को प्रमुख विक्रेताओं की साइबर सुरक्षा वार्षिक रिपोर्ट खोजने और तुलना करने में मदद करती है, जैसे उल्लंघन और ransomware के रुझान, हर आँकड़े के स्रोत के साथ।

लेखन और डॉक्यूमेंटरिसर्च

ApertureOscillation

20k

आपके एजेंट को एक डिज़ाइन सवाल को संकीर्ण और व्यापक दायरे में परखना सिखाती है, फिर बनाने से पहले बताना कि दोनों जवाब कहाँ टकराते हैं।

प्रोडक्टिविटीटास्क और प्रोजेक्ट

Aphorisms

20k

आपके एजेंट को एक चुने हुए संग्रह से श्रेय वाले उद्धरण खोजने, मिलाने और उनका रिकॉर्ड रखने देती है, और हाल में आपके न्यूज़लेटर में इस्तेमाल हुए उद्धरण छोड़ देती है।

मार्केटिंगकॉपी और सेल्स

मिलती-जुलती skills