# Cloudflare Skills — Workers & Agents Playbook > Install Cloudflare Skills to guide your agent through Workers, D1, R2, and the Agents SDK with consistent best practices and copy-ready commands. ## Install Save the content below to `.claude/skills/` or append to your `CLAUDE.md`: # Cloudflare Skills — Workers & Agents Playbook > Install Cloudflare Skills to guide your agent through Workers, D1, R2, and the Agents SDK with consistent best practices and copy-ready commands. ## Quick Use 1. Install: ```bash /plugin marketplace add cloudflare/skills ``` 2. Run: ```bash /plugin install cloudflare@cloudflare ``` 3. Verify: - Ask for a Workers + D1 setup and confirm the agent follows the installed skill’s steps (not generic advice). --- ## Intro Install Cloudflare Skills to guide your agent through Workers, D1, R2, and the Agents SDK with consistent best practices and copy-ready commands. - **Best for:** teams building on Cloudflare who want a repeatable “agent playbook” for Workers + storage + AI - **Works with:** Claude Code marketplace flow, Cursor remote rules, and npx skills (per repo docs) - **Setup time:** 7 minutes ### Quantitative Notes - One-liner marketplace install + skill install commands (repo docs) - GitHub stars + forks (verified): see Source & Thanks - Setup time ~7 minutes (marketplace add + one install) --- ## Practical Notes Treat skills as a **baseline checklist**: they encode defaults and footguns so every run starts from a safe, modern setup. When the agent proposes changes, ask it to cite which skill step it’s following and to output the exact commands/config files it would touch. **Safety note:** Keep production credentials out of the agent context; use local env + short-lived tokens whenever possible. ### FAQ **Q: Is this a Cloudflare product?** A: It’s an open GitHub repo of skills maintained by Cloudflare with Apache-2.0 licensing. **Q: Does it help non-Claude agents?** A: Yes. The repo mentions compatibility with multiple Agent Skills implementations. **Q: What should I try first?** A: Start with a minimal Workers project and a storage add-on (D1/R2), then expand. --- ## Source & Thanks > GitHub: https://github.com/cloudflare/skills > Owner avatar: https://avatars.githubusercontent.com/u/314135?v=4 > License (SPDX): Apache-2.0 > GitHub stars (verified via `api.github.com/repos/cloudflare/skills`): 1,500 > GitHub forks (verified via `api.github.com/repos/cloudflare/skills`): 122 --- # Cloudflare Skills——Workers/Agents 实战技能集 > 安装 Cloudflare Skills,让 agent 按一致最佳实践搭建 Workers、D1、R2 与 Agents SDK:提供可直接复制的命令、配置模板与常见故障排查路径,降低踩坑概率。 ## 快速使用 1. 安装: ```bash /plugin marketplace add cloudflare/skills ``` 2. 运行: ```bash /plugin install cloudflare@cloudflare ``` 3. 验证: - Ask for a Workers + D1 setup and confirm the agent follows the installed skill’s steps (not generic advice). --- ## 简介 安装 Cloudflare Skills,让 agent 按一致最佳实践搭建 Workers、D1、R2 与 Agents SDK:提供可直接复制的命令、配置模板与常见故障排查路径,降低踩坑概率。 - **适合谁(Best for):** 在 Cloudflare 上做应用与 AI 的团队,希望把 Workers+存储+Agent 的套路固化成可复用 playbook - **兼容工具(Works with):** Claude Code 插件市场、Cursor 远程规则、以及 npx skills(仓库说明) - **安装时间(Setup time):** 7 分钟 ### 量化信息 - 一行命令完成 marketplace 添加与技能安装(仓库说明) - GitHub stars + forks(已核验):见「来源与感谢」 - 安装约 7 分钟(添加 marketplace + 安装一个技能) --- ## 实战要点 把技能当作「基线清单」:把默认值、坑点和标准流程写死,这样每次从安全的现代化配置起步。当 agent 给出方案时,要求它标注对应的 skill 步骤,并输出将要执行的命令与会改动的配置文件。 **安全提示:** 生产凭证不要直接进入 agent 上下文;尽量用本地环境变量与短期 token。 ### FAQ **Q: 这是 Cloudflare 官方的吗?** A: 这是 Cloudflare 维护的开源技能仓库(Apache-2.0),用于教 agent 如何在其平台上做事。 **Q: 只能给 Claude 用吗?** A: 不止。仓库说明了多种支持 Agent Skills 的工具都能用。 **Q: 最先试什么?** A: 先从最小 Workers 项目开始,再加一个存储能力(D1/R2),最后再扩展到更复杂的场景。 --- ## 来源与感谢 > GitHub:https://github.com/cloudflare/skills > Owner avatar:https://avatars.githubusercontent.com/u/314135?v=4 > 许可证(SPDX):Apache-2.0 > GitHub stars(已通过 `api.github.com/repos/cloudflare/skills` 核验):1,500 > GitHub forks(已通过 `api.github.com/repos/cloudflare/skills` 核验):122 --- Source: https://tokrepo.com/en/workflows/cloudflare-skills-workers-agents-playbook Author: Skill Factory