Agent skill

Update Cloudflare Agent Stack

by Consensys in Consensys/c0

Review and upgrade c0's Cloudflare agent stack packages: agents, @cloudflare/think, @cloudflare/codemode, and @cloudflare/shell.

LGPL-3.0Auto-check passedDevelopment

Install Update Cloudflare Agent Stack

skills CLI
$ npx skills add Consensys/c0 --skill update-cloudflare-agent-stack -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Consensys/c0 update-cloudflare-agent-stack --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Consensys/c0.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/update-cloudflare-agent-stack .claude/skills/update-cloudflare-agent-stack && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
update-cloudflare-agent-stack
GitHub stars
105
Token cost
~1.2k tokens
SKILL.md length
536 words
Files
2
Skills in repo
11
Repo updated
First seen
Licence
LGPL-3.0

At a glance

Review and upgrade c0's Cloudflare agent stack packages: agents, @cloudflare/think, @cloudflare/codemode, and @cloudflare/shell.

  • Works in 5 steps: Read the current package usage in → Query installed and latest versions with… → Fetch current upstream docs and release… → …
  • Asked to update
  • SKILL.md covers Scope, Start With Evidence, Report Before Updating and Implementation Rules, plus 2 more sections
  • Calls npm; reaches developers.cloudflare.com

What it does

Update Cloudflare Agent Stack is an agent skill from Consensys/c0. Review and upgrade c0's Cloudflare agent stack packages: agents, @cloudflare/think, @cloudflare/codemode, and @cloudflare/shell. Use when asked to update, audit, modernize, or plan upgrades for the Agents SDK, Think, Code Mode, Shell, agent runtime, @callable usage, Agent Skills, MCP agent support, or related Cloudflare agent libraries in this repo.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Development. It works with Cloudflare, Model Context Protocol and npm. The repository describes itself as: c0 is an open-source AI platform built for organizational work, tools, and context. A single deployment to Cloudflare to get started. The licence is LGPL-3.0.

When your agent uses it

  • Asked to update
  • Plan upgrades for the Agents SDK
  • @callable usage
  • MCP agent support

Example prompts

  • “/update-cloudflare-agent-stack”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Read the current package usage in
  2. Query installed and latest versions with nub, npm view, and lockfile inspection.
  3. Fetch current upstream docs and release notes before making claims
  4. Inspect the installed and latest package tarballs when release notes are incomplete
  5. Compare exported types and runtime entrypoints before deciding whether code changes are benign or require refactors.

What it can do on your machine

Read from SKILL.md and the folder at commit e7a1810. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • developers.cloudflare.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Update Cloudflare Agent Stack loads about 1.2k tokens when it runs. Until then it costs about 95 tokens; SKILL.md has 536 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~95
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Consensys/c0 at commit e7a1810, republished under its LGPL-3.0 licence (© Consensys). 536 words, ~1,245 tokens.

Download SKILL.mdSave it as .claude/skills/update-cloudflare-agent-stack/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
update-cloudflare-agent-stack
description
Review and upgrade c0's Cloudflare agent stack packages: agents, @cloudflare/think, @cloudflare/codemode, and @cloudflare/shell. Use when asked to update, audit, modernize, or plan upgrades for the Agents SDK, Think, Code Mode, Shell, agent runtime, @callable usage, Agent Skills, MCP agent support, or related Cloudflare agent libraries in this repo.

Update Cloudflare Agent Stack

Review version and API changes before editing. Start with an executive summary and recommended update path, then implement only after the user asks to proceed.

Scope

Primary packages:

  • agents
  • @cloudflare/think
  • @cloudflare/codemode
  • @cloudflare/shell

Also inspect dependent or peer packages when the upgrade requires it:

  • ai
  • chat
  • @modelcontextprotocol/sdk
  • @cloudflare/sandbox
  • @cloudflare/dynamic-workflows
  • @cloudflare/containers

Start With Evidence

  1. Read the current package usage in:
    • apps/api/package.json
    • packages/api/package.json
    • packages/sandbox/Dockerfile
    • nub.lock
    • packages/api/src/server/background/isolate/agent.ts
    • packages/api/src/server/background/isolate/runtime.ts
    • packages/api/src/server/background/isolate/mcp.ts
    • packages/api/src/server/mcp/**/*.ts
  2. Query installed and latest versions with nub, npm view, and lockfile inspection.
  3. Fetch current upstream docs and release notes before making claims:
    • Cloudflare Agents docs: https://developers.cloudflare.com/agents/
    • Cloudflare Agents changelog: https://developers.cloudflare.com/changelog/product/agents/
    • GitHub source/release notes for cloudflare/agents
    • npm metadata for each package
  4. Inspect the installed and latest package tarballs when release notes are incomplete:
    • npm pack agents@<version>
    • npm pack @cloudflare/think@<version>
    • npm pack @cloudflare/codemode@<version>
    • npm pack @cloudflare/shell@<version>
  5. Compare exported types and runtime entrypoints before deciding whether code changes are benign or require refactors.

Report Before Updating

Before editing package versions, respond with:

  • Current versions and latest versions.
  • Relevant release-note highlights between those versions.
  • Breaking or risky API differences found by source/tarball inspection.
  • Repo surfaces affected.
  • Recommended path, choosing one:
    • Conservative bump: minimal package updates and compatibility fixes.
    • Targeted refactor: remove or simplify c0 custom code that the newer library replaces.
    • Larger modernization: adopt new library features such as Agent Skills, newer MCP helpers, scheduling, resumable streaming, or changed Think runtime patterns.
  • Validation plan and known risks.

Do not treat release-note summaries as sufficient when c0 uses internals or experimental APIs. Read source/types for those surfaces.

Show full SKILL.md (279 more words)Show less

Implementation Rules

  • Work on a separate branch for this upgrade, normally codex/update-cloudflare-agent-stack, unless the user requests a different branch name.
  • Use nub for dependency changes.
  • Keep package versions aligned where peer ranges imply a stack upgrade.
  • Prefer deleting obsolete c0 glue code over preserving compatibility shims when the new library has an idiomatic replacement.
  • Reassess @callable() and agents/vite usage. @callable() is for external Agent RPC; same-worker Durable Object RPC should not need the decorators or Agents Vite plugin.
  • If agents/vite is still required, confirm whether it returns a single plugin or a plugin array in the target version, and wire it without nested plugin arrays.
  • If package upgrades change MCP server/client APIs, update c0's MCP handlers and isolate MCP manager integration against current types.
  • If @cloudflare/shell or sandbox-facing packages change workspace, git, filesystem, or process APIs, update the runtime provider code rather than adapting with broad casts.
  • If @cloudflare/codemode changes agent/tool interfaces, update Code Mode integration and tests around the new contracts.

Validation

Run the repo's required checks before handoff:

  • nub run typecheck
  • nub run lint
  • nub run format

Run focused checks based on changed surfaces:

  • nub run --filter @c0/background-api typecheck
  • nub run --filter @c0/api typecheck
  • nub run test:alchemy
  • Relevant MCP, isolate, workflow, sandbox, or e2e tests if touched.

If a validation command fails because of an unrelated pre-existing issue, run the narrowest check that still validates the upgraded surface and report both results.

Final Response

Include:

  • Packages updated and exact version movement.
  • Release-note/API changes that mattered.
  • Files changed.
  • Tests run with pass/fail status.
  • Remaining risks or follow-up refactors.

Keep the final concise, but include enough evidence that the user can judge whether the upgrade was conservative or modernization-oriented.

© Consensys, LGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .agents/skills/update-cloudflare-agent-stack of Consensys/c0.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit e7a1810

Compare with similar skills

Update Cloudflare Agent Stack next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Update Cloudflare Agent Stack compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Update Cloudflare Agent Stack this skillConsensys/c0105—~1.2kAutomated safety check: PassLGPL-3.0
Browser SearchJohell1NS/browser-search529—~2.5kAutomated safety check: PassMIT
Changelogratel-ai/ratel4691 repos~1.6kAutomated safety check: PassMIT
Tsed CLItsedio/tsed3.1k—~2.7kAutomated safety check: PassMIT
Figma Typings Auditawdr74100/figwright982—~3.3kAutomated safety check: PassMIT
Remotion Bits Releaseav/remotion-bits487—~1.2kAutomated safety check: PassNone

Similar skills

  • Browser Search

    Johell1NS/browser-search

    Multi-engine web search (SearXNG) + browsing/scraping (Camofox, CloakBrowser).

    529 GitHub stars~2.5k tokensUpdated 1 mo ago
    Productivity & AutomationAuto-check passed
  • Changelog

    ratel-ai/ratel

    Update per-package CHANGELOG.md files for a Ratel release. An agent skill from ratel-ai/ratel.

    469 GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Tsed CLI

    tsedio/tsed

    Scaffolds Ts.ED v8 projects and generates files with the Ts.ED CLI v7, through its MCP server (tools set-workspace, init-project, list-templates, get-template, generate-file) or the tsed binary…

    3.1k GitHub stars~2.7k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Figma Typings Audit

    awdr74100/figwright

    Upgrade @figma/plugin-typings and absorb what the new version exposes.

    982 GitHub stars~3.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Remotion Bits Release

    av/remotion-bits

    Runs the full release of the remotion-bits package: version bump, changelog, registry build, release commit, GitHub release, docs deploy and npm publish.

    487 GitHub stars~1.2k tokensUpdated 22 days ago
    DevelopmentAuto-check passed
  • Octocode Code Research

    bgauryy/octocode

    Researches code with evidence: traces callers, imports and cross-repo links, diagnoses failures and reports findings with exact file and line references and a confidence label.

    949 GitHub stars~1.5k tokensUpdated 4 days ago
    DevelopmentAuto-check passed

More from Consensys/c0

All 11 skills in this repo
  • Debug deployed Cloudflare Workers using the cfobservability MCP, Wrangler, D1/R2 state, repo evidence, and safe live reproduction.

    105 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check: notes
  • Deslop Typescript

    Consensys/c0

    Run a final de-slopping pass on nearly finished JavaScript or TypeScript work before commit or PR.

    105 GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed
  • A skill your agent uses when adding, changing, or reviewing Workflow Nodes in the c0 agent repo, including shared node catalog metadata, Workflow Node options and ports, runtime node Adapters…

    105 GitHub stars~943 tokensUpdated 1 mo ago
    Auto-check passed
  • Guidance for safely changing the c0 Workflow runtime ABI, manifest ABI, runtime kernels, manifest migrations, workflow artifact compatibility, and audit/backfill tooling.

    105 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Agent Eval Loop

    Consensys/c0

    Run and improve the c0 agent evaluation loop using the local and remote Cloudflare MCP harness, versioned history notes, and current Cloudflare product updates.

    105 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Alchemy Env Types

    Consensys/c0

    Derive Cloudflare worker env types from Alchemy resource Env types instead of hand-writing env shapes.

    105 GitHub stars~707 tokensUpdated 1 mo ago
    Auto-check passed

Categories

Questions about Update Cloudflare Agent Stack

What does Update Cloudflare Agent Stack do?

Review and upgrade c0's Cloudflare agent stack packages: agents, @cloudflare/think, @cloudflare/codemode, and @cloudflare/shell. Update Cloudflare Agent Stack is an agent skill from Consensys/c0. Review and upgrade c0's Cloudflare agent stack packages: agents, @cloudflare/think, @cloudflare/codemode, and @cloudflare/shell.

When should I use Update Cloudflare Agent Stack?

Update Cloudflare Agent Stack fits situations like: asked to update; plan upgrades for the Agents SDK; @callable usage; MCP agent support.

How do I install Update Cloudflare Agent Stack in Claude Code?

Run `npx skills add Consensys/c0 --skill update-cloudflare-agent-stack -a claude-code`. Or copy the skill folder (.agents/skills/update-cloudflare-agent-stack in Consensys/c0) into .claude/skills/update-cloudflare-agent-stack in your project. Claude Code loads it when a task matches its description.

How do I install Update Cloudflare Agent Stack in Codex?

Run `npx skills add Consensys/c0 --skill update-cloudflare-agent-stack -a codex`. Or copy the skill folder (.agents/skills/update-cloudflare-agent-stack in Consensys/c0) into .agents/skills/update-cloudflare-agent-stack in your project. Codex loads it when a task matches its description.

Can I use Update Cloudflare Agent Stack in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Consensys/c0 --skill update-cloudflare-agent-stack -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/update-cloudflare-agent-stack, .gemini/skills/update-cloudflare-agent-stack, .github/skills/update-cloudflare-agent-stack and .opencode/skills/update-cloudflare-agent-stack in your project.

What does Update Cloudflare Agent Stack need to run?

Going by SKILL.md and its folder, Update Cloudflare Agent Stack needs the command-line tools its instructions call (npm).

Does Update Cloudflare Agent Stack access the network?

SKILL.md names 1 domain. In commands or code: developers.cloudflare.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Update Cloudflare Agent Stack safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Update Cloudflare Agent Stack use?

Update Cloudflare Agent Stack is published under the LGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Update Cloudflare Agent Stack use?

About 1.2k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Update Cloudflare Agent Stack?

Skills that share tags, products or a category with Update Cloudflare Agent Stack: Browser Search (Johell1NS/browser-search, 529 stars), Changelog (ratel-ai/ratel, 469 stars), Tsed CLI (tsedio/tsed, 3.1k stars) and Figma Typings Audit (awdr74100/figwright, 982 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Update Cloudflare Agent Stack?

Consensys (a GitHub organization) maintains it in Consensys/c0, which has 105 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on August 18, 2026.

Source: Consensys/c0 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.