Skip to content
cccskills
FreePublished on GitHub

agents-sdk

Build stateful Agents on Cloudflare Workers with current, source-verified SDK APIs. Covers durable state, RPC, chat, schedules, queues, fibers, Workflows, MCP, and channels while keeping authorization and external effects application-owned. NOT for assuming SDK helpers grant application authorization or effect approval.

The English summary is being prepared. Showing the original description.

Works withCloudflare
See how to install

Files included (21)

  • SKILL.md4.6 KB
  • references/browse-the-web.md5.7 KB
  • references/callable.md3.3 KB
  • references/client-sdk.md8.9 KB
  • references/codemode.md3.3 KB
  • references/configuration.md4.4 KB
  • references/durable-execution.md4.4 KB
  • references/email.md10.4 KB
  • references/evidence-scope.md1.3 KB
  • references/human-in-the-loop.md3.1 KB
  • references/mcp.md12.9 KB
  • references/observability.md2.2 KB
  • references/queue-retries.md3.8 KB
  • references/routing.md7.6 KB
  • references/server-driven-messages.md10.7 KB
  • references/state-scheduling.md13.8 KB
  • references/streaming-chat.md15.8 KB
  • references/think.md5.8 KB
  • references/voice.md1.7 KB
  • references/webhooks-push.md4.7 KB
  • references/workflows.md5.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Cloudflare Agents SDK

Prefer the installed package and current Cloudflare Agents documentation over remembered signatures. This bundle was reconciled on 2026-09-24; examples are illustrative and were not package-typechecked or deployed.

Runtime and effect boundary

Cloudflare Agents provides Durable Object-backed identity, local SQLite state, connections, scheduling, and durable execution primitives. The application must configure principal authentication and resource authorization, make provider retries safe, and verify external outcomes separately from transcript/event persistence. Durable Object instance identity does not establish user authority.

flowchart LR
  I[Authorized input] --> A[Agent runtime]
  A --> S[(Durable state or work record)]
  A --> P[Scoped application operation]
  P --> X[External provider]
  X --> R[Readback or effect receipt]
  R --> S

Pick a primitive

NeedStart hereRequired application boundary
Stateful real-time instancestate, routing, client SDKauthenticate and authorize instance access
Browser commandcallable methodsvalidate input, idempotency, outcome status
Scheduled/queued callbackstate scheduling, queuesduplicate, retry, and late-delivery behavior
Recovery from DO evictiondurable executioncomplete checkpoint and recovery/compensation policy
Long-running multi-step work or approvalWorkflowsbind request/action/approval and repeated progress
Chat/server turnstreaming chat, server-driven messagestranscript persistence differs from effect completion
External webhook/pushwebhooks/pushverify source, dedupe, current consent, effect receipt
sequenceDiagram
  participant C as caller
  participant A as Agent
  participant D as durable record
  participant X as external system
  C->>A: authorized request and operation key
  A->>D: record accepted intent
  A->>X: attempted operation
  Note over A,X: timeout, disconnect, or eviction can leave outcome unknown
  A->>X: query by original operation identity when supported
  X-->>A: definitive outcome or unknown
  A->>D: inspect receipt or retain unknown
  alt independently confirmed
    A->>D: record completed effect
  else not confirmed
    A->>D: pending reconciliation under original identity
  end

Navigation

Core runtime

Durable/background execution

  • Queues and retries: FIFO queue, retry classification, unknown result handling.
  • Fibers: checkpoints, recovery, startFiber, cooperative cancellation.
  • Workflows: durable steps, external waits, approval and progress.
  • Observability: diagnostics, Tail Workers, correlation.

Channels and harnesses

Source and validation limit

The diagrams show a design boundary, not a runtime trace. Each reference names the official sources and the date it was checked; evidence scope describes the validation boundary. No installation, typecheck, Worker, Durable Object, Cloudflare service, provider, approval, notification, or browser action was run.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Expert in 2000s-era music visualization (Milkdrop, AVS, Geiss) and modern WebGL implementations. Specializes in Butterchurn integration, Web Audio API AnalyserNode FFT data, GLSL shaders for audio-reactive visuals, and psychedelic generative art. Activate on "Milkdrop", "music visualization", "WebGL visualizer", "Butterchurn", "audio reactive", "FFT visualization", "spectrum analyzer". NOT for simple bar charts/waveforms (use basic canvas), video editing, or non-audio visuals.

The English summary is being prepared. Showing the original description.

curiositech/port-daddy3Updated Oct 19, 2026

Expert legal research agent for finding and scraping expungement data state by state. Knows authoritative sources, URL patterns, Firecrawl configuration, and 2026 legal landscape.

The English summary is being prepared. Showing the original description.

curiositech/port-daddy3Updated Oct 19, 2026

Expert in 3D computer vision labeling tools, workflows, and AI-assisted annotation for LiDAR, point clouds, and sensor fusion. Covers SAM4D/Point-SAM, human-in-the-loop architectures, and vertical-specific training strategies. Activate on '3D labeling', 'point cloud annotation', 'LiDAR labeling', 'SAM 3D', 'SAM4D', 'sensor fusion annotation', '3D bounding box', 'semantic segmentation point cloud'. NOT for 2D image labeling (use clip-aware-embeddings), general ML training (use ml-engineer), video annotation without 3D (use computer-vision-pipeline), or VLM prompt engineering (use prompt-engineer).

The English summary is being prepared. Showing the original description.

curiositech/port-daddy3Updated Oct 19, 2026

Apply crisis decision-making research to agent routing, uncertainty triage, and coordination failure analysis in time-pressured systems. Use when diagnosing handoff failures, analytical paralysis, or expert judgment under incomplete information. NOT for routine coding, simple CRUD design, or static single-agent tasks with complete information.

The English summary is being prepared. Showing the original description.

curiositech/port-daddy3Updated Oct 19, 2026

Use for insight, reframing, contradiction, impasse, and anomaly-driven problem solving when execution effort no longer helps. NOT for routine optimization, error correction, or well-specified tasks with known solution paths.

The English summary is being prepared. Showing the original description.

curiositech/port-daddy3Updated Oct 19, 2026

Apply cognitive task analysis to expert work that depends on perceptual cues, branching judgment, and recurring monitoring loops. Use when decomposing expert capability into agent structure, simulation design, or validation interviews. NOT for ordinary step-by-step SOP capture or simple pipelines with no tacit cue layer.

The English summary is being prepared. Showing the original description.

curiositech/port-daddy3Updated Oct 19, 2026

See all skills by curiositech

Report a problem with this skill