1. Habit
  2. Skills
  3. Agents SDK skill
cloudflare · 103K installs

Agents SDK skill
Runs by itself, every time agent code changes.

Setup mistakes are caught on every change.

Install the Agents SDK skill and make it a habit: follow https://gethabit.dev/skills/cloudflare/agents-sdk.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

103K installs3K starsApache-2.0 licenceSource on GitHub ↗

Agents SDK

by cloudflare · 103K installs

The skill

Helps your agent build and check Cloudflare agent apps.

Only when you ask.

Fewer bugs

Setup mistakes are caught on every change. Fewer bugs reach your live app.

↻ Runs by itselfevery time agent code changes

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleOne pull request per run, no retries.

  1. 01

    Fetch current docs

    Pull the matching pages from developers.cloudflare.com/agents instead of relying on old knowledge.

  2. 02

    Verify the install

    Run npm ls agents and note if the package is missing.

  3. 03

    Check the config

    Compare wrangler.jsonc against the gotchas: nodejs_compat, one binding and migration per class, no edited old migrations.

  4. 04

    Review the code

    Check state, routing, callable methods and scheduling against the matching files in references/.

  5. 05

    Run the tests

    Run the project's test suite and record the result.

  6. 06

    Update the board

    Add new findings and close the ones the change fixed.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the Agents SDK skill helps.

Use it when

  • ✓ You build an agent on Cloudflare
  • ✓ You add scheduling or workflows
  • ✓ You connect or build MCP servers

Skip it when

  • – You do not deploy on Cloudflare Workers
  • – You only need a stateless Worker

Questions

Agents SDK skill, answered.

Why fetch docs every time?

The skill says model knowledge of the Agents SDK may be outdated and prefers retrieval.

Why check experimentalDecorators?

The skill says turning it on breaks @callable.

Does the loop deploy?

No. It reviews and tests only.

How do I install the Agents SDK skill?

Copy the prompt at the top into your agent. It installs the skill from cloudflare/skills and sets up the habit. Or run npx skills add cloudflare/skills --skill agents-sdk.

Is the Agents SDK skill free?

Yes. It is published under Apache-2.0. Habit is free too.

Agents SDK. Now as a habit.

Install the Agents SDK skill and make it a habit: follow https://gethabit.dev/skills/cloudflare/agents-sdk.md

  • Free
  • No account
  • Undo in one line

All cloudflare skills →More code skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by cloudflare, published under Apache-2.0. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.