本文へ移動
cccskills
無料GitHub で公開

cloudflare-agents

Build AI agents on Cloudflare Workers with MCP integration, tool use, and LLM providers.

インストール方法を見る

含まれるファイル(23)

  • SKILL.md2.7 KB
  • references/advanced-features.md13.5 KB
  • references/agent-api.md2.9 KB
  • references/configuration-guide.md3.1 KB
  • references/error-catalog.md275 B
  • references/http-sse-guide.md2.0 KB
  • references/mcp-integration.md2.7 KB
  • references/patterns-concepts.md11.0 KB
  • references/state-management.md9.5 KB
  • references/websockets-guide.md3.0 KB
  • templates/basic-agent.ts383 B
  • templates/browser-agent.ts4.9 KB
  • templates/calling-agents-worker.ts3.7 KB
  • templates/chat-agent-streaming.ts1.5 KB
  • templates/hitl-agent.ts6.6 KB
  • templates/mcp-server-basic.ts4.0 KB
  • templates/rag-agent.ts4.8 KB
  • templates/react-useagent-client.tsx5.5 KB
  • templates/scheduled-agent.ts4.5 KB
  • templates/state-sync-agent.ts3.9 KB
  • templates/websocket-agent.ts4.1 KB
  • templates/workflow-agent.ts3.8 KB
  • templates/wrangler-agents-config.jsonc1.9 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Cloudflare Agents

Last Updated: 2025-11-21

Quick Start

export default {
  async fetch(request, env, ctx) {
    const agent = {
      tools: [
        { name: 'getTodo', handler: async ({id}) => ({id, title: 'Task'}) }
      ],
      async run(input) {
        return await processWithLLM(input, this.tools);
      }
    };
    
    return Response.json(await agent.run(await request.text()));
  }
};

Core Features

  • Tool Integration: Register and execute tools
  • LLM Providers: OpenAI, Anthropic, Google Gemini
  • MCP Protocol: Model Context Protocol support
  • Cloudflare Bindings: D1, KV, R2, Durable Objects

Agent Pattern

const agent = {
  tools: [...],
  systemPrompt: 'You are a helpful assistant',
  model: 'gpt-4o',
  async run(input) {
    // Process with LLM
  }
};

Resources

Core Documentation

  • references/patterns-concepts.md (317 lines) - What is Cloudflare Agents, patterns & concepts, critical rules, known issues prevention
  • references/configuration-guide.md (152 lines) - Complete configuration deep dive
  • references/agent-api.md (115 lines) - Complete Agent Class API reference

Integration Guides

  • references/http-sse-guide.md (74 lines) - HTTP & Server-Sent Events
  • references/websockets-guide.md (110 lines) - WebSocket integration
  • references/state-management.md (388 lines) - State management, scheduled tasks, workflows
  • references/mcp-integration.md (130 lines) - Model Context Protocol integration

Advanced Features

  • references/advanced-features.md (637 lines) - Browser automation, RAG, AI model integration, calling agents, client APIs

Error Reference

  • references/error-catalog.md (10 lines) - Common errors and solutions

Templates

  • templates/basic-agent.ts - Basic agent setup
  • templates/browser-agent.ts - Browser automation
  • templates/calling-agents-worker.ts - Calling other agents
  • templates/chat-agent-streaming.ts - Streaming chat agent
  • templates/hitl-agent.ts - Human-in-the-loop
  • templates/mcp-server-basic.ts - MCP server integration
  • templates/rag-agent.ts - RAG implementation
  • templates/react-useagent-client.tsx - React client integration
  • templates/scheduled-agent.ts - Scheduled tasks
  • templates/state-sync-agent.ts - State synchronization
  • templates/websocket-agent.ts - WebSocket agent
  • templates/workflow-agent.ts - Workflows integration
  • templates/wrangler-agents-config.jsonc - Wrangler configuration

Official Docs: https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-agents/

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

100+ animated React components (Aceternity UI) for Next.js with Tailwind. Use for hero sections, parallax, 3D effects, or encountering animation, shadcn CLI integration errors.

日本語の概要は準備中です。原文の説明を表示しています。

secondsky/claude-skills2272026年9月28日 更新

Secure API authentication with JWT, OAuth 2.0, API keys. Use for authentication systems, third-party integrations, service-to-service communication, or encountering token management, security headers, auth flow errors.

日本語の概要は準備中です。原文の説明を表示しています。

secondsky/claude-skills2272026年9月28日 更新

Creates comprehensive API changelogs documenting breaking changes, deprecations, and migration strategies for API consumers. Use when managing API versions, communicating breaking changes, or creating upgrade guides.

日本語の概要は準備中です。原文の説明を表示しています。

secondsky/claude-skills2272026年9月28日 更新

Verifies API contracts between services using consumer-driven contracts, schema validation, and tools like Pact. Use when testing microservices communication, preventing breaking changes, or validating OpenAPI specifications.

日本語の概要は準備中です。原文の説明を表示しています。

secondsky/claude-skills2272026年9月28日 更新

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.

日本語の概要は準備中です。原文の説明を表示しています。

secondsky/claude-skills2272026年9月28日 更新

Implements standardized API error responses with proper status codes, logging, and user-friendly messages. Use when building production APIs, implementing error recovery patterns, or integrating error monitoring services.

日本語の概要は準備中です。原文の説明を表示しています。

secondsky/claude-skills2272026年9月28日 更新

secondsky のスキルをすべて見る

このスキルの問題を報告する