Build AI agents on Cloudflare Workers with MCP integration, tool use, and LLM providers.
Builds AI agents on Cloudflare Workers with tool integration, MCP support, and LLM providers.
npx claudepluginhub secondsky/claude-skillsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
references/advanced-features.mdreferences/agent-api.mdreferences/configuration-guide.mdreferences/error-catalog.mdreferences/http-sse-guide.mdreferences/mcp-integration.mdreferences/patterns-concepts.mdreferences/state-management.mdreferences/websockets-guide.mdtemplates/basic-agent.tstemplates/browser-agent.tstemplates/calling-agents-worker.tstemplates/chat-agent-streaming.tstemplates/hitl-agent.tstemplates/mcp-server-basic.tstemplates/rag-agent.tstemplates/react-useagent-client.tsxtemplates/scheduled-agent.tstemplates/state-sync-agent.tstemplates/websocket-agent.tsLast Updated: 2025-11-21
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()));
}
};
const agent = {
tools: [...],
systemPrompt: 'You are a helpful assistant',
model: 'gpt-4o',
async run(input) {
// Process with LLM
}
};
references/patterns-concepts.md (317 lines) - What is Cloudflare Agents, patterns & concepts, critical rules, known issues preventionreferences/configuration-guide.md (152 lines) - Complete configuration deep divereferences/agent-api.md (115 lines) - Complete Agent Class API referencereferences/http-sse-guide.md (74 lines) - HTTP & Server-Sent Eventsreferences/websockets-guide.md (110 lines) - WebSocket integrationreferences/state-management.md (388 lines) - State management, scheduled tasks, workflowsreferences/mcp-integration.md (130 lines) - Model Context Protocol integrationreferences/advanced-features.md (637 lines) - Browser automation, RAG, AI model integration, calling agents, client APIsreferences/error-catalog.md (10 lines) - Common errors and solutionstemplates/basic-agent.ts - Basic agent setuptemplates/browser-agent.ts - Browser automationtemplates/calling-agents-worker.ts - Calling other agentstemplates/chat-agent-streaming.ts - Streaming chat agenttemplates/hitl-agent.ts - Human-in-the-looptemplates/mcp-server-basic.ts - MCP server integrationtemplates/rag-agent.ts - RAG implementationtemplates/react-useagent-client.tsx - React client integrationtemplates/scheduled-agent.ts - Scheduled taskstemplates/state-sync-agent.ts - State synchronizationtemplates/websocket-agent.ts - WebSocket agenttemplates/workflow-agent.ts - Workflows integrationtemplates/wrangler-agents-config.jsonc - Wrangler configurationOfficial Docs: https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-agents/
Expert guidance for Next.js Cache Components and Partial Prerendering (PPR). **PROACTIVE ACTIVATION**: Use this skill automatically when working in Next.js projects that have `cacheComponents: true` in their next.config.ts/next.config.js. When this config is detected, proactively apply Cache Components patterns and best practices to all React Server Component implementations. **DETECTION**: At the start of a session in a Next.js project, check for `cacheComponents: true` in next.config. If enabled, this skill's patterns should guide all component authoring, data fetching, and caching decisions. **USE CASES**: Implementing 'use cache' directive, configuring cache lifetimes with cacheLife(), tagging cached data with cacheTag(), invalidating caches with updateTag()/revalidateTag(), optimizing static vs dynamic content boundaries, debugging cache issues, and reviewing Cache Component implementations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.